:root {
    --primary: #3c7f72;
    --primary-dark: #2f6358;
    --accent: #f4f0e8;
    --text: #253029;
    --muted: #6b7b73;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(37, 48, 41, 0.12);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: #faf9f6;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90vw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}

.room-grid,
.location-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
}

.room-copy h2,
.location-copy h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.room-copy p,
.location-copy p {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 34rem;
    margin-bottom: 1rem;
}

.location-actions {
    margin-top: 2rem;
}

.room-image img,
.location-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.room-image img,
.location-image img {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.room-image img:hover,
.location-image img:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 55px rgba(37, 48, 41, 0.22);
}


.hero {
    position: relative;
    background: linear-gradient(145deg, rgba(60, 127, 114, 0.92), rgba(60, 127, 114, 0.75)), url('20251020_043707.webp') center/cover no-repeat;
    color: var(--white);
    padding: clamp(4.5rem, 12vw, 6rem) 0 clamp(3rem, 10vw, 5rem);
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(37, 48, 41, 0.35);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    display: grid;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    flex-direction: column;      /* stack lines */
    align-items: flex-start;     /* left-align text inside the pill */
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Top line – keeps your default size */
.hero-badge-main {
    line-height: 1.2;
}

/* Second line, same font size but a touch more relaxed */
.hero-badge-rating {
    margin-top: 0.15rem;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.hero-rating-separator {
    margin: 0 0.45rem;
    font-size: 1.3em;   /* makes the dot larger than the text */
    opacity: 0.85;      /* slightly softer than pure white */
}

/* Gold star */
.hero-rating-star {
    color: #f7b500;        /* gold */
    margin: 0 0.2rem;
    font-size: 1.3em;      /* bigger star */
    vertical-align: -0.1em;/* small nudge so it lines up nicely */
}

.hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.6rem);
    line-height: 1.1;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 2.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-description {
    font-size: clamp(1rem, 2.6vw, 1.08rem);
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn.primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(37, 48, 41, 0.18);
    background: #f7fff4;
}

.btn.secondary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn.secondary:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.btn.outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
}

.btn.outline:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonials-grid {
    align-items: stretch;
}

.benefit-grid,
.method-grid,
.enhancements-grid,
.testimonials-grid,
.process-steps {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    display: grid;
    gap: 0.75rem;
}

.enhancements-grid .card,
.benefit-grid .card,
.method-grid .card,
.testimonials-grid .review-card,
.featured-grid .mini-review {
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.enhancements-grid .card::after,
.benefit-grid .card::after,
.method-grid .card::after,
.testimonials-grid .review-card::after,
.featured-grid .mini-review::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(60, 127, 114, 0.18), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
}

.enhancements-grid .card > *,
.benefit-grid .card > *,
.method-grid .card > *,
.testimonials-grid .review-card > *,
.featured-grid .mini-review > * {
    position: relative;
    z-index: 1;
}

.enhancements-grid .card:hover,
.benefit-grid .card:hover,
.method-grid .card:hover,
.testimonials-grid .review-card:hover,
.featured-grid .mini-review:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 55px rgba(37, 48, 41, 0.22);
}

.enhancements-grid .card:hover::after,
.benefit-grid .card:hover::after,
.method-grid .card:hover::after,
.testimonials-grid .review-card:hover::after,
.featured-grid .mini-review:hover::after {
    opacity: 1;
}

.featured-grid .mini-review {
    text-align: left;
}


.card h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.card p {
    color: var(--muted);
}

.method {
    background: #fffdf9;
}

.testimonials {
    background: var(--accent);
}

.reviews-summary {
    display: flex;
    justify-content: center;
}

.rating-highlight {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.35rem;
    max-width: 650px;
    text-align: center;
    justify-items: center;
    position: relative; /* NEW: so the logo can be absolutely positioned */
}


.google-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
}

.google-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: #ffffff;
    padding: 0.2rem;
    box-shadow: var(--shadow);
    position: absolute;
    top: 0.9rem;
    left: 1rem;
}


.rating-text {
    font-size: 1.05rem;
}

.rating-subtext {
    color: var(--muted);
    font-size: 0.98rem;
}

.rating-subheading {
    margin-top: 0.35rem;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.symptom-tags {
    list-style: none;
    padding: 0;
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    justify-content: center;   /* NEW */
}

.symptom-tags li {
    font-size: 0.85rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    white-space: nowrap;
}

.rating-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.rating-context {
    font-size: 0.9rem;
    color: var(--muted);
}

.featured-grid .mini-review:last-child .pull-quote {
    font-size: 0.98rem;        /* slightly smaller for the body */
    line-height: 1.7;
}

.featured-grid .mini-review:last-child .pull-quote strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.06rem;        /* a bit larger than the rest */
}


.featured-experiences {
    margin: 2rem auto 2.5rem;
    max-width: 900px;
    text-align: center;
    display: grid;
    gap: 1rem;
}

.featured-experiences h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.featured-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mini-review {
    background: #ffffff;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.5rem;
}

.featured-grid .mini-review:last-child {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 1.5rem auto 0;
    margin-top: 1.25rem;
}

.featured-grid .mini-review p {
    line-height: 1.7;
}

.pull-quote {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.02rem;
}

.testimonial-carousel {
    position: relative;
}

.carousel-window {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.55s ease;
    will-change: transform;
}

.testimonial-carousel .review-card {
    min-width: min(400px, 80vw);
    box-shadow: none;
    border: 1px solid rgba(37, 48, 41, 0.06);
}

.carousel-btn {
    border: none;
    background: var(--white);
    color: var(--primary-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: grid;
    place-items: center;
}

.carousel-btn .carousel-icon {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover {
    transform: translateY(calc(-50% - 2px));
    background: #f7fff4;
    box-shadow: 0 16px 40px rgba(37, 48, 41, 0.16);
}

.carousel-btn.prev {
    left: -22px;   /* half the width of the 44px button */
}

.carousel-btn.next {
    right: -22px;
}

.reviews-cta {
    margin-top: 2rem;
    text-align: center;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.reviews-cta p {
    font-weight: 600;
    color: var(--primary-dark);
}

.reviews-disclaimer {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.stars {
    color: #f7b500;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 127, 114, 0.12);
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
}

.google-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.reviewer {
    color: var(--primary-dark);
    font-weight: 600;
}

.enhancements-cta,
.cta-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta {
    background: linear-gradient(135deg, rgba(60, 127, 114, 0.95), rgba(47, 99, 88, 0.85));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
}


.footer {
    background: #131a16;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Force 2-column layout between 900px and 1111px */
@media (min-width: 565px) and (max-width: 1111px) {
    .benefit-grid,
    .method-grid,
    .enhancements-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 3-card sections: third card spans both columns */
    .testimonials-grid > *:nth-child(3),
    .enhancements-grid > *:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        justify-items: center;
    }

    .hero-actions {
        width: 100%;
        max-width: 420px;
        flex-direction: column;
        margin: 0 auto;
        align-items: center;   /* <-- add this */
    }

    .hero-note {
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .card,
    .review-card {
        padding: 2rem 1.75rem;
    }

    .carousel-btn.prev {
        left: -22px;
    }

    .carousel-btn.next {
        right: -22px;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .room-grid,
    .location-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .room-copy,
    .location-copy {
        justify-self: center;
    }

    .room-image,
    .location-image {
        justify-self: center;
        max-width: 380px;
    }

    .room-copy p,
    .location-copy p {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4.25rem 0 3.25rem;
    }

    .hero-badge {
        text-align: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .benefit-grid,
    .method-grid,
    .testimonials-grid,
    .enhancements-grid {
        gap: 1.25rem;
    }

    .card,
    .review-card {
        padding: 1.75rem 1.5rem;
    }

    /* Keep the rating pill centered on small screens */
    .rating-highlight {
        text-align: center;
        justify-items: center;
        padding-top: 1.75rem; /* a bit more top space for the logo */
    }

    /* Let the logo sit above the text, centered */
    .google-logo {
        position: static;        /* no absolute positioning on small screens */
        margin-bottom: 0.4rem;
    }

    .featured-experiences {
        margin: 1.5rem auto 2rem;
    }

    .cta {
        padding: 3rem 0;
    }

    .cta-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.1rem;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .section-heading h2 {
        font-size: 1.85rem;
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    .review-header {
        gap: 0.5rem;
    }

}