/* ============================================================
   CMS Base — Site (Public) Stylesheet
   Modern SaaS landing theme: announcement bar, light gradient
   split hero, product-media frame, trust strip, soft rounded
   cards, gradient CTA buttons, highlighted pricing.
   Override --accent via header.php <style>:root{--accent:X}</style>
   ============================================================ */

:root {
    --accent:       #0f4c81;   /* Pantone Classic Blue */
    --accent-dark:  #0a3a66;   /* deeper classic blue */
    --accent-soft:  #e6eef7;   /* soft chambray tint */
    --ink:          #16223a;   /* Dark Navy — headings */
    --text:         #384a63;   /* body */
    --text-muted:   #64758b;   /* Blue Mirage — secondary */
    --bg:           #ffffff;
    --soft:         #f1f6fb;   /* tinted section bg */
    --surface:      #ffffff;
    --line:         #dde5f0;   /* Lilac Hint line */
    --dark:         #16223a;   /* Dark Navy — footer / dark blocks */
    --dark-2:       #1f3052;   /* Estate/Pageant Blue */
    --radius:       18px;
    --radius-sm:    12px;
    --shadow:       0 10px 30px rgba(22, 34, 58, .07);
    --shadow-lg:    0 24px 60px rgba(22, 34, 58, .14);
    --shadow-accent:0 8px 20px rgba(22, 34, 58, .10);
    --transition:   .22s cubic-bezier(.4,0,.2,1);
    --max-w:        1180px;
    --font-body:    "Segoe UI", system-ui, -apple-system, "Poppins", Arial, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; }

/* ── Container ───────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .2px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-accent);
    font-family: var(--font-body);
}
.btn-primary:hover { color: #fff; text-decoration: none; background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ink);
    padding: 13px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    border: 1.5px solid var(--line);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
    box-shadow: 0 2px 6px rgba(16,24,40,.04);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-2px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ink);
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
    box-shadow: var(--shadow);
}
.btn-secondary:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-lg); }

/* ── Announcement bar ────────────────────────────────────── */
.announce-bar {
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 9px 16px;
}
.announce-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 74px;
}
.site-logo {
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.4px;
    white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--accent); }
.site-logo img { height: 62px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav a {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 9px 14px;
    border-radius: 12px;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a.active { color: var(--accent); }
.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 11px 22px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-accent);
    margin-left: 8px;
}
.nav-cta:hover { color: #fff !important; background: var(--accent) !important; transform: translateY(-1px); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--transition); }

/* ── Hero (light split: text left, media right) ──────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: var(--ink);
}
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
    padding-top: 84px;
    padding-bottom: 84px;
}
.hero-content { max-width: 620px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: none;
    color: var(--accent-dark);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(16,24,40,.05);
    padding: 7px 15px;
    border-radius: 12px;
    margin-bottom: 22px;
}
.hero-eyebrow::before { content: "\2726"; color: var(--accent); }
.hero-content h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; margin-bottom: 20px; color: var(--ink); }
.hero-sub { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 520px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Hero media frame (holds the admin hero image/video) */
.hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #fff;
}
.hero-media img, .hero-media video { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.hero-media-empty {
    aspect-ratio: 4/3;
    background: var(--soft);
}

/* Alignment fallbacks (admin toggles) — for a single-column hero */
.hero-align-center .hero-content { margin: 0 auto; text-align: center; }
.hero-align-center .hero-actions { justify-content: center; }
.hero-align-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-align-center .container,
.hero-align-none .container { grid-template-columns: 1fr; }
.hero-align-none .hero-media { display: none; }
.hero-align-center .hero-content { max-width: 760px; }
.hero-overlay, .hero-video { display: none; } /* legacy full-bleed elements not used in split layout */

/* ── Trust / highlights strip ────────────────────────────── */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 26px 24px; }
.trust-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
    font-size: 14px; font-weight: 600; color: var(--ink);
}
.trust-item .trust-ico {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-dark); font-size: 16px; flex-shrink: 0;
}

/* ── Page Header (inner pages) — light ───────────────────── */
.page-header {
    position: relative;
    background: #ffffff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background-size: cover;
    background-position: center;
}
.page-header .container { padding-top: 66px; padding-bottom: 52px; position: relative; z-index: 2; text-align: center; }
.page-header h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); }
.page-header p { font-size: 17px; color: var(--text-muted); margin-top: 10px; }
.page-header-overlay { display: none; }
.page-header-plain { background: #ffffff; }

/* When an inner page sets a background image, restore readable overlay */
.page-header[style*="background-image"] { color: #fff; }
.page-header[style*="background-image"] h1 { color: #fff; }
.page-header[style*="background-image"] p { color: rgba(255,255,255,.9); }
.page-header[style*="background-image"] .page-header-overlay { display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.35), rgba(11,18,32,.62)); }

/* ── Sections ────────────────────────────────────────────── */
.section-services,
.section-services-list,
.section-plans,
.section-plans-page,
.section-gallery,
.section-album,
.section-videos,
.section-testimonials,
.section-testimonials-page,
.section-facilities,
.section-about,
.section-contact,
.section-legal,
.section-service-detail,
.section-generic { padding: 84px 0; }

.section-services { background: var(--soft); }
.section-testimonials { background: var(--soft); }
.section-plans { background: #fff; }

.section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; text-align: center; margin-bottom: 10px; color: var(--ink); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 44px; font-size: 16px; }
.intro-text { text-align: left; color: var(--text-muted); max-width: 720px; margin: 0 0 36px; font-size: 15px; line-height: 1.8; }
.lead { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.prose { line-height: 1.9; color: var(--text); }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose a { color: var(--accent); }
.no-content { text-align: center; color: var(--text-muted); padding: 48px 0; }
.rounded { border-radius: var(--radius); }

/* ── Services Grid (feature cards) ───────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; margin-top: 12px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(15,76,129,.4); text-decoration: none; }
.service-card-img { height: 200px; background-size: cover; background-position: center; background-color: var(--accent-soft); }
.service-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.service-card-body h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.service-card-body p { color: var(--text-muted); font-size: 14px; flex: 1; }
.card-link { color: var(--accent); font-size: 13px; font-weight: 700; margin-top: 8px; }

/* Service detail */
.service-detail-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; margin-top: 24px; }
.service-detail-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) { .service-detail-layout { grid-template-columns: 1fr; } }

/* ── Plans (SaaS price cards) ────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 26px; margin-top: 12px; align-items: stretch; }
.plan-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(15,76,129,.4); }
/* Middle card = highlighted "popular" plan */
.plans-grid .plan-card:nth-child(2) {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-accent);
}
.plans-grid .plan-card:nth-child(2)::before {
    content: "Most Popular";
    position: absolute; top: 16px; right: -34px;
    background: var(--accent);
    color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px;
    padding: 6px 44px; transform: rotate(45deg);
}
.plan-img img { width: 100%; height: 180px; object-fit: cover; }
.plan-header { padding: 30px 28px 0; }
.plan-service { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.plan-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.plan-price { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -1px; }
.plan-price span { font-size: 14px; color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.plan-duration { font-size: 13px; color: var(--text-muted); margin-top: 8px; font-weight: 500; }
.plan-desc { padding: 12px 28px 0; color: var(--text-muted); font-size: 14px; }
.plan-features { padding: 22px 28px; flex: 1; }
.plan-features li { padding: 9px 0; font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.plan-features li::before {
    content: "\2713"; color: #fff; background: var(--accent);
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px;
}
.plan-cta { margin: 0 28px 28px; text-align: center; display: block; }

/* ── Facilities ──────────────────────────────────────────── */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 24px; margin-top: 12px; }
.facility-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.facility-img img { width: 100%; height: 210px; object-fit: cover; }
.facility-body { padding: 24px; }
.facility-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.facility-body p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── Gallery ─────────────────────────────────────────────── */
.albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 22px; margin-top: 12px; }
.album-card-link { display: block; text-decoration: none; }
.album-thumb { height: 250px; background-size: cover; background-position: center; background-color: var(--accent-soft); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); transition: transform var(--transition); }
.album-card-link:hover .album-thumb { transform: translateY(-4px); }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.78) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; opacity: 0; transition: opacity var(--transition); }
.album-thumb:hover .album-overlay { opacity: 1; }
.album-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.album-overlay span { font-size: 12px; color: rgba(255,255,255,.85); }
.album-no-img { display: flex; align-items: center; justify-content: center; font-size: 40px; height: 100%; }

/* Album photos */
.album-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 12px; margin-top: 24px; }
.album-photo-item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; }
.album-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.album-photo-item:hover img { transform: scale(1.06); }

/* ── Videos ──────────────────────────────────────────────── */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 30px; margin-top: 12px; }
.video-embed-wrap { position: relative; padding-top: 56.25%; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); }
.video-thumb img { width: 100%; border-radius: var(--radius); }
.video-info { padding: 16px 0; }
.video-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.video-info p { color: var(--text-muted); font-size: 14px; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; margin-top: 12px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-body { color: var(--text); line-height: 1.8; flex: 1; font-size: 15px; }
.testimonial-author strong { display: block; font-size: 15px; color: var(--ink); }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
.stars { color: #f6b73c; font-size: 15px; margin-top: 4px; letter-spacing: 2px; }

/* ── About ───────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-top: 12px; }
.about-layout.has-image .about-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-body h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } }

/* ── CTA Section (light band) ────────────────────────────── */
.section-cta {
    padding: 84px 0;
    text-align: center;
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(11,18,32,.6); }
.cta-content { position: relative; z-index: 2; color: var(--ink); }
.cta-content h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.cta-content p { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-cta .btn-secondary { background: var(--accent); color: #fff; }
.section-cta .btn-secondary:hover { background: var(--accent-dark); color: #fff; }
/* When a CTA section carries a background image, keep text readable over the overlay */
.section-cta[style*="background-image"] .cta-content,
.section-cta[style*="background-image"] .cta-content h2 { color: #fff; }
.section-cta[style*="background-image"] .cta-content p { color: rgba(255,255,255,.85); }

/* Features list (white cards strip) */
.section-features { background: var(--soft); padding: 76px 0; }
.section-features .section-title { text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; margin-top: 40px; }
.feature-item {
    display: flex; align-items: center; gap: 14px;
    font-size: 14.5px; font-weight: 500; color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-3px); }
.feature-check {
    color: #fff; background: var(--accent);
    width: 32px; height: 32px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}

/* Image + text section */
.img-text-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.img-text-grid h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.img-text-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .img-text-grid { grid-template-columns: 1fr; } }

/* ── Contact Page ────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 4px; }
.contact-info-item a { color: var(--text); font-size: 15px; }
.contact-info-item p { color: var(--text); font-size: 15px; margin: 0; }
.contact-map iframe { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.cf-field input, .cf-field select, .cf-field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
    border-radius: 10px; font-size: 14px; color: var(--text);
    background: #fff; font-family: inherit; transition: border-color var(--transition), box-shadow var(--transition);
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.required { color: var(--accent); }
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--soft); color: var(--text-muted); margin-top: 0; border-top: 1px solid var(--line); }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--text-muted); margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; text-decoration: none; transition: background var(--transition), color var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-links { display: flex; flex-direction: row; align-items: center; gap: 22px; }
.footer-links a { color: var(--text-muted); font-size: 13.5px; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 560px) { .footer-bar { flex-direction: column; text-align: center; gap: 14px; } }

/* ── Demo request modal ──────────────────────────────────── */
.demo-modal { position: fixed; inset: 0; z-index: 9500; display: none; align-items: center; justify-content: center; padding: 20px; }
.demo-modal.open { display: flex; }
.demo-modal__overlay { position: absolute; inset: 0; background: rgba(11,18,32,.55); }
.demo-modal__box { position: relative; background: #fff; border-radius: 16px; max-width: 540px; width: 100%; padding: 32px 32px 28px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.demo-modal__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.demo-modal__box h3 { font-size: 23px; margin-bottom: 6px; color: var(--ink); }
.demo-modal__sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; line-height: 1.6; }
.demo-modal .cf-field { margin-bottom: 14px; }
.demo-modal #demoMsg { padding: 11px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.demo-modal #demoMsg.demo-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.demo-modal #demoMsg.demo-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.demo-modal #demoSubmit { width: 100%; justify-content: center; margin-top: 4px; }

/* ── FAQ (accordion, native <details>) ───────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq .section-title, .faq .section-sub { text-align: center; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1; flex-shrink: 0; transition: transform var(--transition); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 22px 20px; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* Legal pages */
.section-legal .container { padding-top: 56px; padding-bottom: 84px; }
.section-legal .prose h2 { color: var(--ink); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
    .hero-content { max-width: 640px; }
    .hero-media { transform: none; max-width: 560px; }
    .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
    .hamburger { display: flex; }
    .site-nav {
        display: none;
        position: fixed;
        inset: 74px 0 0 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 6px;
        z-index: 99;
        overflow-y: auto;
    }
    .site-nav.open { display: flex; }
    .site-nav a { font-size: 15px; padding: 14px 18px; border-radius: 12px; }
    .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 34px; }
    .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; text-align: center; }
    .trust-item { width: 100%; justify-content: center; }
    .section-services, .section-plans, .section-testimonials,
    .section-facilities, .section-about, .section-contact,
    .section-generic, .section-videos, .section-gallery { padding: 56px 0; }
}
