/* ==============================================================================
   GenIsis Holistic Life — UI Components & Modern Styling
   Ocean Palette: #1A6274, #2F8893, #43B0B1, #87D9D8, #AFE8E9
   Lighter colors on sections/body, darker colors on buttons/interactive elements.
   Zero purple tones. Fully responsive with mobile overflow defenses.
   ============================================================================== */

/* ─── 1. Navigation Bar ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(67, 176, 177, 0.22);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.site-header.scrolled {
    box-shadow: 0 4px 18px rgba(16, 62, 74, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1rem;
    box-sizing: border-box;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.nav-brand-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(26, 98, 116, 0.25);
    display: block;
    transition: transform 0.2s ease;
}

.nav-brand:hover .nav-brand-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

/* Desktop Nav Layout (only when links are visible without the mobile toggle)
   Brand = left | Links = centered on the full bar | Book = right */
@media (min-width: 1101px) {
    .navbar {
        --nav-brand-w: 40px; /* matches .nav-brand-img width */
    }

    .navbar > nav {
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    /* Left spacer — grows equally with the Book item so the middle links stay centered */
    .nav-links::before {
        content: "";
        flex: 1 1 0;
        min-width: 0;
    }

    /* Book item — pinned right. Its basis compensates for the brand logo width
       (+ the nav margin) so the links are centered on the whole header bar. */
    .nav-links > .nav-item:last-child {
        flex: 1 1 calc(var(--nav-brand-w) + 1rem);
        display: flex;
        justify-content: flex-end;
        min-width: max-content;
    }
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #103E4A;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.mobile-toggle:hover {
    background: rgba(67, 176, 177, 0.12);
}

.mobile-toggle svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    display: block;
}

/* Responsive Navigation Drawer (Zero Viewport Overflow: display:none when closed) */
@media (max-width: 1100px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 64px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(67, 176, 177, 0.25);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.25rem;
        gap: 0.75rem;
        box-shadow: -8px 0 25px rgba(16, 62, 74, 0.15);
        overflow-y: auto;
        box-sizing: border-box;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
        animation: navDrawerSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes navDrawerSlideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .nav-item {
        width: 100%;
    }

    .nav-link-3d {
        width: 100%;
        font-size: 0.98rem;
        padding: 0.65rem 0.95rem;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .nav-cta-3d {
        width: 100%;
        text-align: center;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
        box-sizing: border-box;
    }
}

/* ─── 2. Hero Section & Waterfall Video ─────────────────────────────── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 0;
    background-color: #103E4A;
}

.hero-media-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #103E4A;
}

.hero-poster,
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-poster {
    z-index: 2;
    transition: opacity 0.8s ease-out;
}

.hero-video {
    z-index: 3;
}

/* High-Contrast Ocean Scrim */
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: radial-gradient(circle at center, rgba(16, 62, 74, 0.32) 0%, rgb(18 115 141 / 72%) 100%), linear-gradient(180deg, rgba(16, 62, 74, 0.45) 0%, transparent 45%, rgba(16, 62, 74, 0.80) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding-top: 50px;
}

/* Bold Cursive Signature Brand Typography (Dancing Script + Emerald Outline) */
.hero-title {
    font-family: 'Dancing Script', 'Great Vibes', cursive, serif;
    font-size: clamp(3.2rem, 8.5vw, 6.4rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 
        0 0 25px rgba(22, 78, 48, 0.85),
        0 4px 18px rgba(16, 62, 74, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 1.8px #164E30;
    margin-bottom: 0.85rem;
}

/* Mobile-Only Hero Title Boldness & Scale */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(3.6rem, 11.5vw, 4.8rem);
        font-weight: 700;
        line-height: 1.18;
        letter-spacing: 0.01em;
        -webkit-text-stroke: 1px #ffffff;
        paint-order: stroke fill;
        text-shadow: 
            -1px -1px 0 #164E30,
             1px -1px 0 #164E30,
            -1px  1px 0 #164E30,
             1px  1px 0 #164E30,
            -1.5px 0 0 #164E30,
             1.5px 0 0 #164E30,
             0 -1.5px 0 #164E30,
             0  1.5px 0 #164E30,
             0 0 20px rgba(22, 78, 48, 0.9),
             0 4px 16px rgba(16, 62, 74, 0.95),
             0 2px 8px rgba(0, 0, 0, 0.9);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(16, 62, 74, 0.85);
    margin-bottom: 2.2rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 28px;
    height: 46px;
    border: 2px solid rgba(175, 232, 233, 0.8);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.mouse-wheel {
    width: 6px;
    height: 9px;
    background: #AFE8E9;
    border-radius: 3px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ─── 3. Section: Greetings & Guide Profile ─────────────────────────── */
.section-greetings {
    background: linear-gradient(180deg, #F4FAF9 0%, #E8F6F6 100%);
}

.bio-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(67, 176, 177, 0.25);
    box-shadow: 0 12px 36px -6px rgba(26, 98, 116, 0.12);
    overflow: hidden;
}

.bio-media {
    position: relative;
    min-height: 380px;
}

.bio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-content {
    padding: clamp(2rem, 4.5vw, 3.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-name {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: #103E4A;
    margin-bottom: 0.4rem;
}

.bio-title-tag {
    color: #1A6274;
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
}

.bio-quote {
    font-style: italic;
    font-size: 1.12rem;
    color: #103E4A;
    border-left: 4px solid #2F8893;
    padding-left: 1.25rem;
    margin: 1.35rem 0;
    line-height: 1.6;
}

/* ─── 4. Section: Philosophy ("A Grounded Path") ─────────────────────── */
.section-philosophy {
    background: linear-gradient(180deg, #103E4A 0%, #1A6274 100%);
    color: #ffffff;
}

.section-philosophy .section-title {
    color: #ffffff;
}

.section-philosophy .section-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 860px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(175, 232, 233, 0.22);
    border-radius: 20px;
    padding: 2.25rem;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: #43B0B1;
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(67, 176, 177, 0.25);
    color: #87D9D8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.philosophy-icon svg {
    width: 26px;
    height: 26px;
}

.philosophy-card h3 {
    font-size: 1.35rem;
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    margin-bottom: 0.75rem;
    color: #AFE8E9;
}

.philosophy-card p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ─── 5. Section: Services ("How I Support You") ────────────────────── */
.section-services {
    background: #FFFFFF;
}

.service-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(67, 176, 177, 0.22);
    box-shadow: 0 4px 16px rgba(26, 98, 116, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -6px rgba(26, 98, 116, 0.16);
    border-color: #43B0B1;
}

.service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(16, 62, 74, 0.85);
    color: #AFE8E9;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(175, 232, 233, 0.3);
}

.service-body {
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: 1.4rem;
    color: #103E4A;
    margin-bottom: 0.7rem;
}

.service-desc {
    color: #1E434D;
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

/* ─── 6. Section: Offerings & Sessions ──────────────────────────────── */
.section-sessions {
    background: linear-gradient(180deg, #E6F5F5 0%, #DCF2F2 100%);
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(26, 98, 116, 0.08);
    border: 2px solid #2F8893;
    position: relative;
    box-sizing: border-box;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFB73E;
    color: #2b1700;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1.3rem;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(255, 183, 62, 0.4);
    white-space: nowrap;
}

.price-display {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: 3rem;
    font-weight: 800;
    color: #103E4A;
    margin: 1.15rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-display span {
    font-size: 1.05rem;
    color: #3F6E78;
    font-family: var(--font-body);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    margin: 1.65rem 0 2.15rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.98rem;
    color: #1E434D;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #2F8893;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ─── 6b. Section: Soft Life Sanctuary Newsletter ───────────────────── */
.section-newsletter {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 183, 62, 0.22) 0%, rgba(255, 183, 62, 0) 60%),
        linear-gradient(180deg, #FFF8EC 0%, #FCE9C8 100%);
    border-top: 1px solid rgba(229, 158, 39, 0.28);
    border-bottom: 1px solid rgba(229, 158, 39, 0.28);
}

.newsletter-card {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(229, 158, 39, 0.3);
    border-radius: 28px;
    padding: clamp(2.25rem, 5vw, 3.75rem);
    box-shadow: 0 16px 40px -12px rgba(150, 95, 10, 0.22);
    box-sizing: border-box;
}

.newsletter-tag {
    background: rgba(255, 183, 62, 0.2);
    color: #8A5A0B;
    border-color: rgba(229, 158, 39, 0.45);
}

.newsletter-title {
    margin-bottom: 1rem;
}

.newsletter-divider {
    display: block;
    width: 72px;
    height: 3px;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #E59E27 0%, #43B0B1 100%);
}

.newsletter-text {
    font-size: clamp(1.05rem, 1.6vw, 1.18rem);
    line-height: 1.75;
    color: #1E434D;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.section-newsletter .btn-group-responsive {
    margin-top: 0;
}

@media (max-width: 640px) {
    .newsletter-card {
        padding: 1.85rem 1.25rem;
        border-radius: 22px;
    }
}

/* ─── 7. Section: Healers Collective Banner ─────────────────────────── */
.collective-banner {
    background: linear-gradient(135deg, rgba(16, 62, 74, 0.94) 0%, rgba(26, 98, 116, 0.90) 100%),
                url('/assets/images/sacred_rest.jpg') center/cover no-repeat;
    border-radius: 28px;
    padding: clamp(2.5rem, 5.5vw, 4.25rem);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 16px 40px -8px rgba(16, 62, 74, 0.28);
    border: 1px solid rgba(175, 232, 233, 0.25);
    box-sizing: border-box;
}

.collective-banner h2 {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.collective-banner p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 650px;
    margin: 0 auto 2rem auto;
    line-height: 1.65;
}

/* ─── 8. Section: Testimonials ──────────────────────────────────────── */
.section-testimonials {
    background: linear-gradient(180deg, #F0F8F8 0%, #E4F3F3 100%);
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.25rem;
    border: 1px solid rgba(67, 176, 177, 0.22);
    box-shadow: 0 4px 16px rgba(26, 98, 116, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.testimonial-card-header .rating-stars {
    margin-bottom: 0;
}

/* Corner badge (image only) — sits above all card content on the top-right corner */
.testimonial-card.has-badge {
    --badge-size: 96px;
    --badge-offset-top: -18px;
    --badge-offset-right: -12px;
}

.testimonial-card.has-badge .testimonial-card-header {
    /* Reserve space so stars/quote never slide beneath the badge */
    min-height: calc(var(--badge-size) + var(--badge-offset-top) - 2.25rem + 4px);
    padding-right: calc(var(--badge-size) + var(--badge-offset-right) - 2.25rem + 8px);
}

.testimonial-badge {
    position: absolute;
    top: var(--badge-offset-top, -18px);
    right: var(--badge-offset-right, -12px);
    z-index: 20;
    width: var(--badge-size, 96px);
    height: var(--badge-size, 96px);
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    line-height: 0;
    pointer-events: auto;
    transition: transform 0.25s ease;
}

.testimonial-badge:hover {
    transform: scale(1.05) rotate(-3deg);
}

.testimonial-badge-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 48%;
    border: 3px solid #E59E27;
    display: block;
    background: #000000;
    box-shadow: 0 6px 18px rgba(16, 62, 74, 0.28), 0 0 0 3px rgba(47, 136, 147, 0.25);
}

@media (max-width: 1024px) {
    .testimonial-card.has-badge {
        --badge-size: 86px;
    }
}

@media (max-width: 768px) {
    .testimonial-card.has-badge {
        --badge-size: 80px;
        --badge-offset-top: -16px;
        --badge-offset-right: -8px;
    }
}

@media (max-width: 440px) {
    .testimonial-card.has-badge {
        --badge-size: 72px;
        --badge-offset-top: -14px;
        --badge-offset-right: -6px;
    }
    .testimonial-badge-img {
        border-width: 2px;
    }
}

.rating-stars {
    color: #FFB73E;
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.rating-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testimonial-quote {
    font-size: 1.02rem;
    font-style: italic;
    color: #103E4A;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1A6274;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.client-name {
    font-weight: 700;
    color: #103E4A;
}

.client-role {
    font-size: 0.85rem;
    color: #3F6E78;
}

/* ─── 9. Section: About Isis & Credo ────────────────────────────────── */
.section-about {
    background: #FFFFFF;
}

.credo-box {
    background: linear-gradient(135deg, #1A6274 0%, #103E4A 100%);
    border-radius: 28px;
    padding: clamp(2.5rem, 5vw, 3.8rem);
    color: #ffffff;
    border: 1px solid rgba(175, 232, 233, 0.25);
    box-shadow: 0 16px 40px -8px rgba(16, 62, 74, 0.28);
    box-sizing: border-box;
}

.credo-lead {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
    line-height: 1.4;
    color: #AFE8E9;
    margin-bottom: 1.35rem;
}

.credo-subtext {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.85rem;
    line-height: 1.65;
}

/* Masonry photo gallery (CSS columns — no JS) */
.credo-gallery {
    column-count: 3;
    column-gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 2.25rem;
}

.credo-gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 1.25rem;
    padding: 0;
}

.credo-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 13px;
    border: 1px solid rgba(175, 232, 233, 0.25);
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.credo-gallery-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 860px) {
    .credo-gallery {
        column-count: 2;
        column-gap: 0.65rem;
    }

    .credo-gallery-item {
        margin-bottom: 0.65rem;
    }
}

@media (max-width: 560px) {
    .credo-gallery {
        column-count: 1;
    }

    .credo-gallery-item {
        margin-bottom: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .credo-gallery-item img,
    .credo-gallery-item img:hover {
        transition: none;
        transform: none;
    }
}

.social-strip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ─── 10. Section: Values & Mission ─────────────────────────────────── */
.section-values {
    background: linear-gradient(180deg, #DCF2F2 0%, #EAF6F6 100%);
}

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

.value-pill-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(67, 176, 177, 0.22);
    box-shadow: 0 4px 14px rgba(26, 98, 116, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-pill-card:hover {
    transform: translateY(-3px);
    border-color: #43B0B1;
}

.value-title {
    font-family: var(--font-heading-serif, 'Playfair Display', Georgia, serif);
    font-size: 1.22rem;
    color: #103E4A;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-title span {
    color: #2F8893;
}

.value-desc {
    font-size: 0.95rem;
    color: #1E434D;
    line-height: 1.55;
}

/* ─── 11. Modal Dialog & Forms ──────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(16, 62, 74, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: 0 20px 50px rgba(16, 62, 74, 0.35);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    border: 1px solid rgba(67, 176, 177, 0.3);
    box-sizing: border-box;
}

.modal-backdrop.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    cursor: pointer;
    color: #3F6E78;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: #E8F6F6;
    color: #103E4A;
}

.modal-close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    display: block;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #103E4A;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    font-size: 0.98rem;
    font-family: inherit;
    border: 1.5px solid rgba(26, 98, 116, 0.22);
    border-radius: 10px;
    background: #ffffff;
    color: #103E4A;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2F8893;
    box-shadow: 0 0 0 3px rgba(67, 176, 177, 0.22);
}

/* Honeypot Fields: Hidden off-screen and invisible to humans */
.hp-field-wrap {
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 90vw;
}

.toast {
    background: #ffffff;
    color: #103E4A;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 62, 74, 0.18);
    border-left: 5px solid #2F8893;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlide 0.3s ease;
}

.toast.toast-error {
    border-left-color: #ef4444;
}

@keyframes toastSlide {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ─── 12. Footer ────────────────────────────────────────────────────── */
.site-footer {
    background: #103E4A;
    color: rgba(255, 255, 255, 0.85);
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(175, 232, 233, 0.15);
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-col-brand {
    min-width: 0;
    max-width: 100%;
}

.footer-col-brand p,
.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.footer-portrait-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.footer-portrait {
    width: 240px;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    border: 3px solid #43B0B1;
    box-shadow: 0 4px 20px rgba(16, 62, 74, 0.45), 0 0 15px rgba(67, 176, 177, 0.35);
    display: block;
}

.footer-col-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 860px) {
    .footer-top-row {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
    }

    .footer-col-brand {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-brand-desc {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }

    .footer-portrait-wrap {
        margin-top: 0.15rem;
        margin-bottom: 0.5rem;
    }

    .footer-col-cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.footer-brand {
    font-family: var(--font-heading-hero, 'Playfair Display', Georgia, serif);
    font-size: 2.2rem;
    font-weight: 800;
    color: #AFE8E9;
    margin-bottom: 0.65rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0;
}

.footer-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.94rem;
    padding-bottom: 3px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #43B0B1, #87D9D8);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-links a:hover::after,
.footer-links a:focus::after,
.footer-links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a:focus-visible {
    color: #AFE8E9;
    outline: none;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
    gap: 1rem;
}

.footer-copyright {
    grid-column: 2;
    text-align: center;
}

.footer-back-top {
    grid-column: 3;
    justify-self: end;
}

@media (max-width: 640px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .footer-copyright,
    .footer-back-top {
        grid-column: 1;
        justify-self: center;
    }
}

/* ─── 13. Responsive Button Group & Zero-Overlap Defense ─────────── */
.btn-group-responsive {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    row-gap: 1.25rem;
    width: 100%;
    margin-top: 1.25rem;
    box-sizing: border-box;
}

.btn-group-responsive > * {
    width: 100% !important;
    margin-bottom: 0.35rem;
    box-sizing: border-box;
}

.btn-group-responsive > *:last-child {
    margin-bottom: 0;
}

@media (min-width: 641px) {
    .btn-group-responsive {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.15rem;
        row-gap: 1.25rem;
    }

    .btn-group-responsive > * {
        width: auto !important;
        margin-bottom: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 640px) {
    .btn-group-responsive {
        flex-direction: column;
        gap: 1.25rem;
        row-gap: 1.25rem;
    }

    .btn-group-responsive > * {
        width: 100% !important;
        flex: 1 1 100% !important;
        box-sizing: border-box;
        margin-bottom: 0.4rem;
    }
    
    .btn-group-responsive > *:last-child {
        margin-bottom: 0;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .bio-content {
        padding: 1.75rem 1.25rem;
    }

    .philosophy-card {
        padding: 1.6rem 1.25rem;
    }

    .credo-box {
        padding: 1.75rem 1.25rem;
    }

    .collective-banner {
        padding: 2rem 1.25rem;
    }

    .modal-card {
        padding: 1.75rem 1.25rem;
    }

    .price-display {
        font-size: 2.4rem;
    }
}
