/* ================================================================
   SERENITY HELPLINE — Warm Earth (#2) Design Style
   Architecture: Single Page Scroll + Subpages (#3)
   Shared Stylesheet for index.html, about.html, privacy.html
   ================================================================ */

/* ===========================
   1. VARIABLES & BASE RESET
   =========================== */
:root {
    --primary: #8B5A2B;
    --primary-dark: #6B3F1A;
    --primary-light: #A8724A;
    --secondary: #C4A77D;
    --secondary-light: #D9C4A5;
    --accent: #E07B53;
    --accent-dark: #C55E36;
    --text: #3D2914;
    --text-light: #6B5744;
    --bg: #FDF8F3;
    --bg-alt: #F7F0E8;
    --bg-white: #FFFFFF;
    --border: #E8DDD0;
    --shadow: 0 2px 12px rgba(139, 90, 43, 0.10);
    --shadow-md: 0 4px 20px rgba(139, 90, 43, 0.12);
    --shadow-lg: 0 8px 40px rgba(139, 90, 43, 0.15);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 0.3s ease;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}


/* ===========================
   2. SKIP NAVIGATION
   =========================== */
.skip-nav,
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: left 0.2s;
}

.skip-nav:focus,
.skip-link:focus {
    left: 16px;
    color: #fff;
}


/* ===========================
   3. PROGRESS BAR (index.html)
   =========================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}

.progress-bar__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.15s linear;
}


/* ===========================
   4. HEADER — All Variants
   =========================== */

/* Shared header base (used by all 3 pages) */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.compact {
    box-shadow: var(--shadow-md);
}

/* index.html header layout */
.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px;
}

/* about.html header layout */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px;
}

/* privacy.html header layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px;
}

/* Logo — all variants */
.site-header__logo,
.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

.site-header__logo:hover,
.logo:hover {
    color: var(--accent);
}

.site-header__logo-text,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: inherit;
}

/* Navigation containers */
.site-header__nav,
.main-nav {
    display: flex;
    align-items: center;
}

/* Navigation lists — all variants */
.site-header__nav-list,
.nav-list,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Navigation links — all variants */
.site-header__nav-link,
.nav-list a,
.nav-menu a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}

.site-header__nav-link:hover,
.site-header__nav-link.active,
.nav-list a:hover,
.nav-list a.active,
.nav-menu a:hover,
.nav-menu a.active {
    background: var(--bg);
    color: var(--accent);
}

.site-header__nav-link[aria-current="page"],
.nav-list .active,
.nav-menu .active {
    color: var(--accent);
    background: var(--bg);
}

/* Header CTA (phone button) */
.site-header__cta,
.header-cta {
    display: flex;
    align-items: center;
}

.site-header__phone,
.phone-link,
.header-cta a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius);
    background: rgba(224, 123, 83, 0.08);
    transition: all var(--transition);
    text-decoration: none;
}

.site-header__phone:hover,
.phone-link:hover,
.header-cta a:hover {
    background: var(--accent);
    color: #fff;
}

.icon-phone,
.phone-icon {
    flex-shrink: 0;
}

/* Mobile toggle — all variants */
.site-header__menu-toggle,
.mobile-menu-toggle,
.mobile-toggle,
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line,
.site-header__menu-toggle span,
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Nav CTA button style (for pages that use it in nav) */
.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: #fff !important;
}


/* ===========================
   5. DOT NAVIGATION (index.html)
   =========================== */
.dot-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
}

.dot-nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.dot-nav__dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.5;
    transition: all 0.3s;
    position: relative;
}

.dot-nav__dot:hover,
.dot-nav__dot.active {
    opacity: 1;
    background: var(--accent);
    transform: scale(1.3);
}

.dot-nav__tooltip {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

.dot-nav__dot:hover .dot-nav__tooltip {
    opacity: 1;
    visibility: visible;
    right: 28px;
}


/* ===========================
   6. BUTTONS — All Variants
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary,
.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover,
.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn--secondary,
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--secondary:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn--outline,
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn--outline:hover,
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn--warm {
    background: var(--primary);
    color: #fff;
}

.btn--warm:hover {
    background: var(--primary-dark);
    color: #fff;
}


/* ===========================
   7. SECTION LABELS & TITLES
   =========================== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-label--light {
    color: var(--secondary-light);
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.7;
}

.section-intro {
    font-size: 1.08rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.7;
}


/* ===========================
   8. BREADCRUMBS
   =========================== */
.breadcrumbs {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li + li::before,
.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    margin-right: 8px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumb-item.active,
.breadcrumbs [aria-current="page"] {
    color: var(--text-light);
    font-weight: 400;
}


/* ===========================================================
   9. INDEX.HTML — SINGLE PAGE SCROLL SECTIONS
   =========================================================== */

/* Scroll-snap container */
#page-top main {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: calc(100vh - 60px);
}

/* Each full-height section */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    padding: 80px 20px;
    overflow: hidden;
}

/* --- Hero Section --- */
.section--hero {
    padding: 0;
}

.hero__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 41, 20, 0.70) 0%, rgba(139, 90, 43, 0.55) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.hero__title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 30px;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero__phone {
    margin-top: 10px;
}

.hero__phone-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.hero__phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hero__phone-number:hover {
    color: var(--secondary);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Trust Bar Section --- */
.section--trust-bar {
    background: var(--bg-white);
}

.trust-bar__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
}

.trust-bar__item {
    text-align: center;
    padding: 30px 20px;
}

.trust-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.trust-bar__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.trust-bar__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- About Preview Section --- */
.section--about {
    background: var(--bg);
}

.about-preview__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
}

.about-preview__image-col img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

.about-preview__content-col {
    padding: 20px 0;
}

.about-preview__content-col p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-preview__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.about-preview__value-item {
    text-align: center;
}

.about-preview__value-item strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about-preview__value-item span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* --- Programs Overview Section --- */
.section--programs {
    background: var(--bg-white);
}

.programs-overview__container {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
}

.programs-overview__header {
    text-align: center;
    margin-bottom: 50px;
}

.programs-overview__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Program Cards (shared across index and programs pages) */
.program-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(139, 90, 43, 0.08);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.program-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    margin: 0 auto 20px;
    color: #fff;
}

.program-card__icon svg {
    width: 30px;
    height: 30px;
}

.program-card__title,
.program-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.program-card__description,
.program-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.program-card__link {
    display: inline-block;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

.program-card__link:hover {
    color: var(--primary);
}

/* --- Why Choose Us Section --- */
.section--why-us {
    background: var(--bg);
}

.why-us__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
}

.why-us__content-col p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.why-us__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-us__item-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.why-us__item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-us__item p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us__image-col img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

/* --- Amenities Preview Section --- */
.section--amenities {
    background: var(--bg-white);
}

.amenities-preview__container {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.amenities-preview__header {
    margin-bottom: 50px;
}

.amenities-preview__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.amenities-preview__gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.amenities-preview__gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
}

.amenities-preview__gallery-item:hover img {
    transform: scale(1.05);
}

.amenities-preview__gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(61, 41, 20, 0.85));
    padding: 30px 20px 20px;
    color: #fff;
}

.amenities-preview__gallery-caption h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.amenities-preview__gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.amenities-preview__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.amenities-preview__list span {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- Testimonials Section --- */
.section--testimonials {
    background: var(--bg);
}

.testimonials__container {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 20px;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials__carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials__track {
    overflow: hidden;
}

.testimonial-card {
    display: none;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.testimonial-card.active {
    display: block;
}

.testimonial-card__content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-card__quote-icon {
    color: var(--secondary);
    opacity: 0.4;
    margin-bottom: 16px;
}

.testimonial-card__content p,
.testimonial-card blockquote p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
}

.testimonial-card__author {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-card__author cite,
.testimonial-card cite {
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonials__btn {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: all var(--transition);
}

.testimonials__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    border: none;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s;
    padding: 0;
}

.testimonials__dot.active {
    opacity: 1;
    background: var(--accent);
    transform: scale(1.3);
}

/* --- CTA Section --- */
.section--cta {
    padding: 0;
}

.cta__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 41, 20, 0.75) 0%, rgba(139, 90, 43, 0.60) 100%);
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.cta__title {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 30px;
}

.cta__phone {
    margin-bottom: 24px;
}

.cta__phone-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.cta__phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.cta__phone-number:hover {
    color: var(--secondary);
}

.cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta__privacy {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}


/* ===========================================================
   10. ABOUT.HTML — Subpage Sections
   =========================================================== */

/* About Hero (subpage style) */
.hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
}

.hero--about {
    min-height: 380px;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto;
}

/* Subpage section overrides (no scroll-snap, auto height) */
.section--story,
.section--approach,
.section--team {
    min-height: auto;
    scroll-snap-align: none;
    display: block;
    padding: 70px 0;
}

/* about.html uses .section.section--amenities and .section.section--testimonials */
body:not(#page-top) .section {
    min-height: auto;
    scroll-snap-align: none;
    display: block;
    padding: 70px 0;
}

/* Content Grids */
.content-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.content-grid--two-col {
    grid-template-columns: 1fr 1fr;
}

.content-grid--reverse {
    direction: rtl;
}

.content-grid--reverse > * {
    direction: ltr;
}

.content-text {
    padding: 10px 0;
}

.content-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.content-text h2,
.content-text h3 {
    margin-bottom: 16px;
}

.content-text ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 16px;
}

.content-text li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.content-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
}

/* Mission Box */
.mission-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.mission-box h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.mission-box p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Values Grid */
.values-grid {
    margin: 50px 0;
}

.values-grid h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    margin: 50px 0;
}

.stats-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Modalities Grid */
.modalities-section {
    margin: 50px 0;
}

.modalities-section h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.modality-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s;
}

.modality-card:hover {
    transform: translateY(-3px);
}

.modality-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.modality-card p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Continuum / Timeline */
.continuum-section {
    margin: 50px 0;
}

.continuum-section h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.continuum-section > p {
    text-align: center;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 30px;
}

.continuum-section .timeline {
    display: flex;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.continuum-section .timeline-step {
    flex: 1;
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    position: relative;
}

.continuum-section .timeline-step:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.continuum-section .timeline-step:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.continuum-section .timeline-step::after {
    content: '\2192';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
    z-index: 2;
    background: var(--bg);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.continuum-section .timeline-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.continuum-section .timeline-step h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.continuum-section .timeline-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Team Section */
.team-leadership {
    margin: 40px 0;
}

.team-leadership h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card__info {
    padding: 28px 24px;
}

.team-card__info h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card__info p {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Staff Overview */
.staff-overview {
    margin: 50px 0;
}

.staff-overview h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.credentials-list {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
}

.credentials-list li {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.97rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Amenities Details (about.html) */
.amenities-details {
    margin: 30px 0;
}

.amenity-category {
    margin-bottom: 28px;
}

.amenity-category h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.amenity-category p {
    color: var(--text-light);
    line-height: 1.7;
}

.amenities-list-section {
    margin: 30px 0;
}

.amenities-list-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.amenities-checklist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.amenities-checklist li {
    padding: 12px 18px 12px 40px;
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--primary);
}

.amenities-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

/* Testimonials Grid (about.html variant) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

/* When testimonial-card is in a grid (about.html) - show all of them */
.testimonials-grid .testimonial-card {
    display: block;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonials-grid .testimonial-card blockquote {
    margin: 0;
}

.testimonials-grid .testimonial-card blockquote p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonials-grid .testimonial-card cite {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

/* CTA Section (about.html) */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 70px 0;
    text-align: center;
}

.cta-section h2,
.cta-section h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-section--testimonials {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    padding: 50px 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===========================================================
   11. PRIVACY.HTML — Subpage Styles
   =========================================================== */

body.subpage {
    background-color: var(--bg);
}

/* Page Hero */
.page-hero,
.privacy-hero {
    background: linear-gradient(135deg, rgba(61, 41, 20, 0.75), rgba(139, 90, 43, 0.60));
    padding: 60px 20px;
    text-align: center;
}

.page-hero h1,
.privacy-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.page-hero .hero-subtitle,
.privacy-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Privacy Content */
.privacy-content {
    padding: 60px 0;
}

.content-narrow {
    max-width: 860px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.policy-section h3 {
    font-size: 1.15rem;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.policy-section p {
    margin-bottom: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

.policy-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-light);
}

.effective-date {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 12px 18px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.privacy-contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin: 24px 0;
}

.privacy-contact-card p {
    margin-bottom: 6px;
    color: var(--text);
}


/* ===========================================================
   12. FOOTER — All Variants
   =========================================================== */

/* index.html footer (BEM style) */
.site-footer {
    background: #2a1a0a;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 0;
}

.site-footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__info {
    padding-right: 20px;
}

.site-footer__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    margin-bottom: 14px;
}

.site-footer__logo:hover {
    color: var(--secondary);
}

.site-footer__description {
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__nap address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.93rem;
}

.site-footer__nap a {
    color: var(--secondary);
}

.site-footer__nap a:hover {
    color: #fff;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.site-footer__link-group h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.site-footer__link-group ul {
    list-style: none;
    padding: 0;
}

.site-footer__link-group li {
    margin-bottom: 8px;
}

.site-footer__link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    transition: color 0.2s;
}

.site-footer__link-group a:hover {
    color: var(--secondary);
}

.site-footer__social {
    list-style: none;
    padding: 0;
}

.site-footer__emails {
    margin-top: 16px;
}

.site-footer__emails p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__emails a {
    color: var(--secondary);
}

.site-footer__bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__legal {
    display: inline;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 8px;
}

.site-footer__legal a:hover {
    color: var(--secondary);
}

/* about.html / privacy.html footer (simpler style) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col h4,
.footer-heading {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-col ul,
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--secondary);
}


/* ===========================
   13. BACK TO TOP
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    z-index: 999;
    font-size: 20px;
}

.back-to-top.visible,
.back-to-top:focus {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
}


/* ===========================
   14. ANIMATIONS
   =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero__scroll-indicator {
        animation: none;
    }
}


/* ===========================================================
   15. RESPONSIVE — Tablet
   =========================================================== */
@media (max-width: 1024px) {
    .trust-bar__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .programs-overview__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us__container {
        grid-template-columns: 1fr;
    }

    .why-us__image-col {
        order: -1;
    }

    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .site-footer__links {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===========================================================
   16. RESPONSIVE — Mobile
   =========================================================== */
@media (max-width: 768px) {
    /* Mobile menu toggle visible */
    .site-header__menu-toggle,
    .mobile-menu-toggle,
    .mobile-toggle,
    .hamburger {
        display: flex;
    }

    /* Navigation lists collapse */
    .site-header__nav-list,
    .nav-list,
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 16px;
        gap: 4px;
        z-index: 999;
    }

    .site-header__nav-list.active,
    .site-header__nav-list.open,
    .nav-list.active,
    .nav-list.open,
    .nav-menu.active,
    .nav-menu.open,
    .main-nav.open .nav-menu,
    .main-nav.open .nav-list {
        display: flex;
    }

    /* Make header container relative for dropdown positioning */
    .site-header__container,
    .header-container,
    .header-inner {
        position: relative;
    }

    /* Navigation links on mobile */
    .site-header__nav-link,
    .nav-list a,
    .nav-menu a {
        display: block;
        padding: 12px 14px;
        width: 100%;
    }

    /* Hide CTA on mobile header */
    .site-header__cta,
    .header-cta {
        display: none;
    }

    /* Dot nav hidden on mobile */
    .dot-nav {
        display: none;
    }

    /* Hero sizing */
    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    /* Sections no longer full-height on mobile */
    .section {
        min-height: auto;
        scroll-snap-align: none;
        padding: 60px 20px;
    }

    #page-top main {
        scroll-snap-type: none;
        overflow-y: visible;
        height: auto;
    }

    /* Trust bar */
    .trust-bar__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* About preview */
    .about-preview__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-preview__values {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Programs grid */
    .programs-overview__grid {
        grid-template-columns: 1fr;
    }

    /* Why us */
    .why-us__grid {
        grid-template-columns: 1fr;
    }

    /* Amenities gallery */
    .amenities-preview__gallery {
        grid-template-columns: 1fr;
    }

    /* Content grids */
    .content-grid--two-col {
        grid-template-columns: 1fr;
    }

    /* Values */
    .values-list {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Amenities checklist */
    .amenities-checklist {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline (about.html continuum only) */
    .continuum-section .timeline {
        flex-direction: column;
        gap: 12px;
    }

    .continuum-section .timeline-step {
        border-radius: var(--radius) !important;
    }

    .continuum-section .timeline-step::after {
        display: none;
    }

    /* CTA title */
    .cta__title {
        font-size: 1.6rem;
    }

    .cta-section h2,
    .cta-section h3 {
        font-size: 1.5rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
    }

    /* Privacy */
    .policy-section h2 {
        font-size: 1.3rem;
    }

    .page-hero h1,
    .privacy-hero h1 {
        font-size: 1.7rem;
    }
}


/* ===========================================================
   17. RESPONSIVE — Small Mobile
   =========================================================== */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

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

    .hero__cta-group,
    .cta__buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-header__logo,
    .logo {
        font-size: 18px;
    }
}


/* ===========================================================
   18. PRINT STYLES
   =========================================================== */
@media print {
    .site-header,
    .dot-nav,
    .progress-bar,
    .back-to-top,
    .hero__scroll-indicator {
        display: none !important;
    }

    .section {
        min-height: auto;
        page-break-inside: avoid;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
