/*
 * SPA Express USA - Home page
 * Clean, spacious, American-market layout with SPA Express brand language.
 */

:root {
    --spa-purple: #77509a;
    --spa-purple-deep: #5f3b7f;
    --spa-lilac: #dfccea;
    --spa-lilac-soft: #f2eaf6;
    --spa-orange: #ef7e3f;
    --spa-orange-deep: #dd6d31;
    --spa-ink: #2d2930;
    --spa-muted: #6f6972;
    --spa-white: #ffffff;
    --spa-line: rgba(95, 59, 127, .15);
    --spa-radius: 22px;
    --spa-shadow: 0 18px 50px rgba(55, 35, 66, .09);
    --spa-shell: 1380px;
}

body.home {
    background: var(--spa-white);
    color: var(--spa-ink);
}

@media (max-width: 767px) {
    }

.spa-usa-home {
    overflow: hidden;
    font-family: "Noto Sans Display", "Source Sans Pro", sans-serif;
}

.spa-shell {
    width: min(calc(100% - 72px), var(--spa-shell));
    margin: 0 auto;
}

.spa-section {
    position: relative;
    padding: 104px 0;
}

.spa-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 32px;
    margin-bottom: 38px;
}

.spa-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--spa-orange);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.spa-section h2,
.spa-about h2,
.spa-franchise h2 {
    margin: 0;
    color: var(--spa-purple-deep);
    font-family: "Noto Sans Display", sans-serif;
    font-size: clamp(42px, 4.3vw, 68px);
    font-weight: 450;
    letter-spacing: -.045em;
    line-height: .98;
}

.spa-more-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px 6px;
    border-bottom: 2px solid currentColor;
    color: var(--spa-purple-deep);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .04em;
    text-decoration: none;
}

.spa-more-link:hover {
    color: var(--spa-orange);
}

/* Services */
.spa-services {
    /* Extra breathing room below the header. */
    padding-top: 190px;
    background: var(--spa-white);
}

.spa-carousel-wrap {
    position: relative;
}

.spa-services-carousel .owl-stage,
.spa-testimonials-carousel .owl-stage {
    display: flex;
}

.spa-services-carousel .owl-item,
.spa-testimonials-carousel .owl-item {
    display: flex;
}

.spa-service-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--spa-line);
    border-radius: var(--spa-radius);
    background: var(--spa-white);
    box-shadow: 0 8px 28px rgba(61, 40, 73, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.spa-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--spa-shadow);
}

.spa-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--spa-lilac-soft);
}

.spa-card-image img,
.spa-franchise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.spa-service-card:hover .spa-card-image img {
    transform: scale(1.025);
}

.spa-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.spa-card-body h3 {
    margin: 0 0 9px;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.15;
}

.spa-card-body h3 a {
    color: var(--spa-purple-deep);
    text-decoration: none;
}

.spa-card-body p {
    margin: 0 0 24px;
    color: var(--spa-muted);
    font-size: 14px;
    line-height: 1.58;
}

.spa-service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}


.spa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--spa-purple-deep);
    color: #fff !important;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.spa-button:hover {
    background: var(--spa-orange);
    transform: translateY(-1px);
}

.spa-carousel-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid var(--spa-line);
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: var(--spa-purple-deep);
    box-shadow: 0 8px 24px rgba(50,34,61,.12);
    font-size: 21px;
    cursor: pointer;
}

.spa-carousel-arrow:hover {
    background: var(--spa-purple-deep);
    color: #fff;
}

.spa-services-prev,
.spa-testimonials-prev { left: -24px; }
.spa-services-next,
.spa-testimonials-next { right: -24px; }

.spa-services-carousel .owl-dots,
.spa-testimonials-carousel .owl-dots {
    margin-top: 28px !important;
}

.spa-services-carousel .owl-dot span,
.spa-testimonials-carousel .owl-dot span {
    background: rgba(95,59,127,.18) !important;
}

.spa-services-carousel .owl-dot.active span,
.spa-testimonials-carousel .owl-dot.active span {
    background: var(--spa-purple) !important;
}

/* SPA Express */
.spa-about {
    background: var(--spa-lilac);
}

.spa-about-inner {
    max-width: 1120px;
    text-align: center;
}

.spa-about .spa-eyebrow {
    color: var(--spa-purple-deep);
}

.spa-about-copy {
    display: -webkit-box;
    max-width: 1040px;
    margin: 34px auto 0;
    overflow: hidden;
    color: #45384d;
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 360;
    letter-spacing: -.025em;
    line-height: 1.33;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

/* Franchise */
.spa-franchise {
    background: var(--spa-orange);
}

.spa-franchise-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: stretch;
    gap: 72px;
}

.spa-franchise-image {
    min-height: 520px;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255,255,255,.2);
}

.spa-franchise-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 0;
}

.spa-franchise .spa-eyebrow,
.spa-franchise h2,
.spa-franchise-copy p {
    color: #fff;
}

.spa-franchise-copy p {
    max-width: 600px;
    margin: 30px 0 34px;
    font-size: 20px;
    line-height: 1.65;
}

.spa-button-light {
    background: #fff;
    color: var(--spa-orange-deep) !important;
}

.spa-button-light:hover {
    background: var(--spa-purple-deep);
    color: #fff !important;
}

/* Contact */
.spa-contact {
    background: #fff;
}

.spa-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.spa-contact-card {
    min-height: 280px;
    padding: 38px;
    border-radius: var(--spa-radius);
    background: var(--spa-lilac-soft);
}

.spa-contact-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--spa-purple-deep);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.spa-contact-card h3 {
    margin: 0 0 12px;
    color: var(--spa-purple-deep);
    font-size: 26px;
    font-weight: 600;
}

.spa-contact-card p {
    min-height: 50px;
    margin: 0 0 26px;
    color: var(--spa-muted);
    line-height: 1.55;
}

.spa-contact-card a {
    color: var(--spa-purple-deep);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.spa-contact-pending {
    color: var(--spa-muted);
    font-size: 13px;
}

/* Testimonials */
.spa-testimonials {
    background: #faf8fb;
}

.spa-testimonial-card {
    display: flex;
    width: 100%;
    min-height: 330px;
    flex-direction: column;
    padding: 34px;
    border: 1px solid var(--spa-line);
    border-radius: var(--spa-radius);
    background: #fff;
}

.spa-stars {
    margin-bottom: 22px;
    color: var(--spa-orange);
    font-size: 17px;
    letter-spacing: .12em;
}

.spa-testimonial-card blockquote {
    flex: 1;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    color: #48414a;
    font-size: 17px;
    font-style: normal;
    line-height: 1.65;
}

.spa-testimonial-person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.spa-testimonial-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.spa-testimonial-person strong,
.spa-testimonial-person span {
    display: block;
}

.spa-testimonial-person strong {
    color: var(--spa-purple-deep);
    font-size: 15px;
}

.spa-testimonial-person span {
    margin-top: 3px;
    color: var(--spa-muted);
    font-size: 12px;
}

.spa-empty-state {
    width: 100%;
    padding: 32px;
    border: 1px dashed var(--spa-line);
    border-radius: var(--spa-radius);
    background: #fff;
    color: var(--spa-muted);
}

.spa-empty-state strong,
.spa-empty-state span {
    display: block;
}

.spa-empty-state strong {
    margin-bottom: 6px;
    color: var(--spa-purple-deep);
}

.spa-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(119,80,154,.18), rgba(239,126,63,.12));
}

.spa-image-placeholder-franchise {
    min-height: 520px;
}

/* Footer - temporary brand base; detailed footer comes next. */
body.home .site-footer {
    margin: 0;
    padding: 46px 0;
    background: var(--spa-purple-deep);
    color: #fff;
}

body.home .site-footer .container {
    width: min(calc(100% - 72px), var(--spa-shell));
    max-width: var(--spa-shell);
}

body.home .site-footer .footer-t {
    border: 0;
}

body.home .site-footer p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 13px;
}

@media (min-width: 1600px) {
    .spa-shell,
    body .site-header .container,
    body .mobile-site-header .container,
    body.home .site-footer .container {
        width: min(calc(100% - 120px), var(--spa-shell));
    }
}

@media (max-width: 1100px) {
    .spa-section { padding: 84px 0; }
    .spa-franchise-grid { gap: 44px; }
    .spa-franchise-image { min-height: 440px; }
    .spa-contact-card { padding: 30px; }
}

@media (max-width: 767px) {
    body .site-header .container,
    body .mobile-site-header .container,
    .spa-shell,
    body.home .site-footer .container {
        width: 100%;
        max-width: none;
    }

    .spa-section {
        padding: 68px 0;
    }

    .spa-services {
        padding-top: 105px;
    }

    .spa-services .spa-shell,
    .spa-testimonials .spa-shell {
        padding: 0;
    }

    .spa-section-head,
    .spa-about-inner,
    .spa-contact .spa-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .spa-section-head {
        align-items: center;
        margin-bottom: 28px;
    }

    .spa-section h2,
    .spa-about h2,
    .spa-franchise h2 {
        font-size: clamp(38px, 13vw, 54px);
    }

    .spa-more-link {
        font-size: 12px;
    }

    .spa-services-carousel,
    .spa-testimonials-carousel {
        padding-left: 10px;
        padding-right: 10px;
    }

    .spa-services-carousel .owl-stage-outer,
    .spa-testimonials-carousel .owl-stage-outer {
        overflow: visible;
    }

    .spa-card-body {
        padding: 16px 14px 18px;
    }

    .spa-card-body h3 {
        font-size: 17px;
    }

    .spa-card-body p {
        display: -webkit-box;
        min-height: 58px;
        margin-bottom: 16px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .spa-service-bottom {
        display: block;
    }


    .spa-button {
        width: 100%;
        min-height: 40px;
        padding: 0 10px;
        font-size: 11px;
    }

    .spa-carousel-arrow {
        top: auto;
        bottom: -10px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .spa-services-prev,
    .spa-testimonials-prev { left: 18px; }
    .spa-services-next,
    .spa-testimonials-next { right: 18px; }

    .spa-services-carousel .owl-dots,
    .spa-testimonials-carousel .owl-dots {
        min-height: 44px;
        padding-top: 14px;
    }

    .spa-about-inner {
        padding-left: 22px;
        padding-right: 22px;
    }

    .spa-about-copy {
        margin-top: 28px;
        font-size: 23px;
        line-height: 1.38;
    }

    .spa-franchise {
        padding-top: 0;
    }

    .spa-franchise-grid {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .spa-franchise-image,
    .spa-image-placeholder-franchise {
        min-height: 390px;
        border-radius: 0;
    }

    .spa-franchise-copy {
        padding: 58px 22px 68px;
    }

    .spa-franchise-copy p {
        margin: 26px 0 30px;
        font-size: 17px;
    }

    .spa-franchise-copy .spa-button {
        width: auto;
        padding: 0 22px;
    }

    .spa-contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .spa-contact-card {
        min-height: 0;
        padding: 28px;
    }

    .spa-contact-card p {
        min-height: 0;
    }

    .spa-testimonial-card {
        min-height: 300px;
        padding: 22px 18px;
    }

    .spa-testimonial-card blockquote {
        font-size: 14px;
        line-height: 1.6;
    }

    body.home .site-footer {
        padding: 40px 20px;
    }
}

/* ========================================================================== */
/* Services catalog / category-services.php                                   */
/* ========================================================================== */

body.category-services {
    background: var(--spa-white);
    color: var(--spa-ink);
}

body.category-services .main-navigation ul li a:hover,
body.category-services .main-navigation ul .current-menu-item > a {
    color: var(--spa-orange);
}

.spa-services-archive {
    overflow: hidden;
    background: var(--spa-white);
    color: var(--spa-ink);
    font-family: "Noto Sans Display", "Source Sans Pro", sans-serif;
}

.spa-catalog-hero {
    background: var(--spa-lilac-soft);
    border-bottom: 1px solid var(--spa-line);
}

.spa-catalog-hero-inner {
    padding-top: 150px;
    padding-bottom: 90px;
}

.spa-catalog-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--spa-purple-deep);
    font-family: "Noto Sans Display", sans-serif;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 450;
    letter-spacing: -.05em;
    line-height: .98;
}

.spa-catalog-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--spa-muted);
    font-size: 18px;
    line-height: 1.65;
}

.spa-catalog-section {
    padding: 86px 0 112px;
}

.spa-catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 42px;
}

.spa-catalog-heading h2 {
    margin: 0;
    color: var(--spa-purple-deep);
    font-family: "Noto Sans Display", sans-serif;
    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 450;
    letter-spacing: -.04em;
    line-height: 1.03;
}

.spa-catalog-count {
    flex: 0 0 auto;
    padding-bottom: 7px;
    color: var(--spa-muted);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .03em;
}

.spa-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.spa-services-grid .spa-service-card {
    min-height: 100%;
}

.spa-services-grid .spa-card-image {
    aspect-ratio: 1 / .78;
}

.spa-services-grid .spa-card-body {
    padding: 26px 26px 28px;
}

.spa-services-grid .spa-card-body h3 {
    font-size: 24px;
}

.spa-services-grid .spa-card-body p {
    font-size: 15px;
    line-height: 1.62;
}

.spa-catalog-empty {
    min-height: 220px;
    padding: 48px;
    border: 1px solid var(--spa-line);
    border-radius: var(--spa-radius);
    background: var(--spa-lilac-soft);
}

@media (max-width: 900px) {
    .spa-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }
}

@media (max-width: 767px) {
    .spa-services-archive .spa-shell {
        width: 100%;
        max-width: none;
    }

    .spa-catalog-hero-inner {
        padding: 100px 22px 62px;
    }

    .spa-catalog-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .spa-catalog-hero p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.55;
    }

    .spa-catalog-section {
        padding: 58px 0 74px;
    }

    .spa-catalog-section > .spa-shell {
        padding-right: 12px;
        padding-left: 12px;
        box-sizing: border-box;
    }

    .spa-catalog-heading {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .spa-catalog-heading h2 {
        font-size: 34px;
    }

    .spa-catalog-count {
        padding-top: 24px;
        font-size: 12px;
    }

    .spa-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .spa-services-grid .spa-service-card {
        border-radius: 16px;
    }

    .spa-services-grid .spa-card-image {
        aspect-ratio: 1 / .86;
    }

    .spa-services-grid .spa-card-body {
        padding: 15px 13px 16px;
    }

    .spa-services-grid .spa-card-body h3 {
        margin-bottom: 7px;
        font-size: 16px;
        line-height: 1.18;
    }

    .spa-services-grid .spa-card-body p {
        display: -webkit-box;
        margin-bottom: 14px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.48;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .spa-services-grid .spa-button {
        width: 100%;
        min-height: 38px;
        padding: 0 10px;
        font-size: 11px;
    }
}





/* v1.3.7 - Balanced Services offset with no white gap below the header. */
@media (min-width: 1100px) {
    body.home main.spa-usa-home > .spa-services {
        margin-top: 0 !important;
        padding-top: 190px !important;
    }
}


/* v1.3.8 - Service post detail */
.spa-service-single {
    background: var(--spa-white);
    padding: 150px 0 90px;
}

.spa-service-detail {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: start;
}

.spa-service-detail-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 26px;
}

.spa-service-detail-content h1 {
    margin: 10px 0 28px;
    color: var(--spa-purple);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
}

.spa-service-back {
    display: inline-block;
    color: var(--spa-orange);
    font-weight: 700;
    text-decoration: none;
}

.spa-service-full-content {
    color: var(--spa-ink);
    font-size: 18px;
    line-height: 1.75;
}

.spa-service-full-content > :first-child { margin-top: 0; }

@media (max-width: 767px) {
    .spa-service-single {
        padding: 90px 0 60px;
    }

    .spa-service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spa-service-detail-content h1 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .spa-service-full-content {
        font-size: 16px;
    }
}

/* v1.3.9 - one footer across the entire SPA Express USA website. */
body .site-footer.spa-global-footer {
    margin: 0 !important;
    padding: 44px 0 !important;
    background: #7c50a1 !important;
    color: #fff !important;
}

body .site-footer.spa-global-footer .container {
    width: min(calc(100% - 72px), var(--spa-shell));
    max-width: var(--spa-shell);
}

body .site-footer.spa-global-footer .footer-t {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .site-footer.spa-global-footer p {
    margin: 0;
    color: rgba(255,255,255,.92) !important;
}

@media (max-width: 767px) {
    body .site-footer.spa-global-footer {
        padding: 34px 18px !important;
    }

    body .site-footer.spa-global-footer .container {
        width: 100%;
        max-width: none;
    }
}


/* v1.4.3 - Testimonials archive, same catalog language as Services. */
.spa-testimonials-archive .spa-testimonial-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
}

.spa-testimonials-archive .spa-testimonial-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spa-testimonials-archive .spa-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.spa-testimonials-archive blockquote {
    margin: 14px 0 22px;
    color: var(--spa-ink);
    font-size: 16px;
    line-height: 1.65;
}

.spa-testimonials-archive .spa-testimonial-person {
    margin-top: auto;
}

.spa-testimonials-archive .spa-testimonial-person a {
    color: var(--spa-purple);
    text-decoration: none;
}

/* v1.4.7 - Balanced mobile side margins across SPA Express pages. */
@media (max-width: 767px) {
    body .spa-shell,
    body.home .spa-shell,
    body.category-services .spa-shell,
    body.category-testimonials .spa-shell,
    body .spa-service-single .spa-shell,
    body .spa-standard-single .spa-shell {
        width: 100% !important;
        max-width: none !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        box-sizing: border-box;
    }

    body .spa-catalog-hero-inner {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    body .spa-services-grid,
    body .spa-testimonials-grid {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 380px) {
    body .spa-shell,
    body.home .spa-shell,
    body.category-services .spa-shell,
    body.category-testimonials .spa-shell,
    body .spa-service-single .spa-shell,
    body .spa-standard-single .spa-shell {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body .spa-catalog-hero-inner {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}
