/* ==========================================================================
   Cyberbullying Prevention Mauritius — Public Stylesheet
   Formal, institutional design: deep navy, teal accents, serif headings
   ========================================================================== */

:root {
    --navy: #14335c;
    --navy-dark: #0c2340;
    --navy-light: #1e4a7f;
    --accent: #0e7490;
    --accent-dark: #155e75;
    --ink: #1a2433;
    --slate: #45536a;
    --muted: #6b7890;
    --line: #dde3ec;
    --bg: #ffffff;
    --bg-soft: #f4f6fa;
    --bg-alt: #f8fafc;
    --danger: #b91c1c;
    --success: #0f766e;
    --radius: 10px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(12, 35, 64, .08), 0 6px 18px rgba(12, 35, 64, .06);
    --shadow-lg: 0 4px 12px rgba(12, 35, 64, .12), 0 16px 40px rgba(12, 35, 64, .10);
    --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-head: Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #eef2f7; padding: .1em .4em; border-radius: 4px; }
svg.ic { width: 1em; height: 1em; vertical-align: -0.12em; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container-narrow { width: min(760px, 92%); }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; letter-spacing: 0; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.12rem; }

.text-accent { color: var(--accent); }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-block;
    padding: .8rem 1.7rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
    text-decoration: none !important;
    font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #e8eef6; }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { padding: .95rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------------- Header / Nav ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none !important; }
.brand-logo { height: 52px; width: auto; object-fit: contain; }
.brand-text { font-size: .9rem; color: var(--slate); line-height: 1.25; }
.brand-text strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; }
.nav-menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.nav-menu a { color: var(--slate); font-weight: 600; font-size: .9rem; text-decoration: none; }
.nav-menu a:hover { color: var(--navy); }
.nav-menu a.active { color: var(--navy); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.btn-nav { color: #fff !important; padding: .5rem 1.15rem; font-size: .85rem !important; }
.btn-nav:hover { background: var(--navy-light); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    background:
        linear-gradient(120deg, rgba(20, 51, 92, .97) 0%, rgba(12, 35, 64, .97) 100%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px),
        var(--navy-dark);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--accent);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #cfe3f5;
    padding: .4rem 1rem; border-radius: 999px;
    font-weight: 600; font-size: .82rem; letter-spacing: .04em;
    text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-badge svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: .4rem; }
.hero-title { color: #fff; margin-bottom: 1.2rem; }
.hero-title .text-accent { color: #7dd3fc; }
.hero-subtitle { font-size: 1.1rem; color: #b8c6da; max-width: 34rem; margin-bottom: 2.1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #dce8f5; }
.hero .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

/* Hero emblem — formal shield composition */
.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-emblem {
    width: 200px; height: 200px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero-emblem svg { width: 96px; height: 96px; color: #7dd3fc; }
.hero-note {
    position: absolute;
    background: #fff; color: var(--ink);
    border-radius: var(--radius); padding: .8rem 1.1rem;
    font-size: .85rem; font-weight: 600; line-height: 1.4;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: .6rem;
}
.hero-note svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.hero-note.hn-1 { top: 8%; left: 0; }
.hero-note.hn-2 { bottom: 10%; right: 0; }
.hero-note small { display: block; color: var(--muted); font-weight: 500; }

/* ---------------- Strip ---------------- */
.strip { padding: 0; background: var(--navy-dark); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item {
    text-align: center; padding: 1.6rem 1rem;
    background: var(--bg); border-right: 1px solid var(--line);
}
.strip-item:first-child { border-left: 1px solid var(--line); }
.strip-item strong { display: block; margin: .5rem 0 .15rem; color: var(--navy); font-family: var(--font-head); }
.strip-item p { font-size: .84rem; color: var(--muted); }
.strip-icon {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy);
}
.strip-icon svg { width: 20px; height: 20px; }

/* ---------------- Sections ---------------- */
.section { padding: 4.2rem 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.6rem; }
.section-head h2 { position: relative; display: inline-block; padding-bottom: .7rem; }
.section-head h2::after {
    content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 56px; height: 3px; background: var(--accent);
}
.section-head p { color: var(--slate); margin-top: 1rem; font-size: 1.02rem; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .section-head h2 { color: #fff; }
.section-navy .section-head h2::after { background: #7dd3fc; }
.section-navy .section-head p { color: #b8c6da; }
.section-cta { background: var(--bg-soft); border-top: 1px solid var(--line); }
.section-cta p { color: var(--slate); margin: .8rem 0 1.6rem; }

.page-hero {
    padding: 3.6rem 0 3rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    border-top: 4px solid var(--navy);
}
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--slate); margin-top: .8rem; font-size: 1.05rem; }

/* ---------------- Cards ---------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.cards-grid { display: grid; gap: 1.3rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem 1.4rem; box-shadow: var(--shadow);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.info-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-lg); }
.info-card h3 { color: var(--navy); }
.info-card p { color: var(--slate); font-size: .92rem; margin-top: .5rem; }
.card-icon {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px;
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius-sm); color: var(--navy);
    margin-bottom: .9rem;
}
.card-icon svg { width: 24px; height: 24px; }
.section-navy .info-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.section-navy .info-card h3 { color: #fff; }
.section-navy .info-card p { color: #b8c6da; }
.section-navy .info-card .card-icon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #7dd3fc; }

/* Mauritius cards */
.mu-card { border-top: 4px solid var(--accent); }
.mu-card .mu-number { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-top: .6rem; font-family: var(--font-head); }
.mu-link { font-weight: 700; }

/* Sign cards */
.sign-card {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm); padding: 1rem 1.15rem;
    font-weight: 600; font-size: .93rem; color: var(--slate); box-shadow: var(--shadow);
    display: flex; align-items: center; gap: .7rem;
}
.sign-card svg { width: 19px; height: 19px; color: var(--accent); flex: 0 0 auto; }

/* Callouts */
.callout {
    margin-top: 2.2rem; padding: 1.3rem 1.7rem;
    border-radius: var(--radius); font-size: 1rem;
    border-left: 4px solid;
}
.callout-warm { background: #fdf6ec; border-color: #b45309; color: #7c4a03; }
.callout-info { background: #eef4fb; border-color: var(--navy); color: var(--navy-dark); }
.disclaimer {
    margin-top: 2rem; text-align: center; font-weight: 600; color: var(--danger);
    border: 1px solid #f0c9c9; background: #fdf2f2; border-radius: var(--radius);
    padding: 1rem 1.4rem;
}
.edit-note { margin-top: .8rem; text-align: center; font-size: .8rem; color: var(--muted); }

/* Two-column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.lead { font-size: 1.1rem; color: var(--slate); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.tag-cloud span {
    background: var(--bg-soft); color: var(--navy); font-weight: 600; font-size: .86rem;
    padding: .38rem .9rem; border-radius: 999px; border: 1px solid var(--line);
}
.list-card { background: var(--bg-soft); }
.list-card h3 { color: var(--navy); }
.check-list { list-style: none; margin-top: .8rem; }
.check-list.columns { columns: 2; }
.check-list li { padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--slate); font-size: .95rem; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: .75em;
    width: 8px; height: 8px; background: var(--accent); border-radius: 2px;
}

/* Myth vs Fact flip cards */
.myth-grid { grid-auto-rows: 1fr; }
.flip-card {
    position: relative; border: 0; background: none; cursor: pointer;
    min-height: 180px; perspective: 900px; font-family: inherit; text-align: left;
}
.flip-face {
    position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6rem;
    padding: 1.4rem; border-radius: var(--radius); font-size: .98rem; font-weight: 600;
    backface-visibility: hidden; transition: transform .5s ease;
    align-items: flex-start; justify-content: center; line-height: 1.5;
}
.flip-front { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.flip-back { background: var(--navy); color: #fff; transform: rotateY(180deg); box-shadow: var(--shadow-lg); font-weight: 500; }
.flip-card.flipped .flip-front { transform: rotateY(180deg); }
.flip-card.flipped .flip-back { transform: rotateY(360deg); }
.flip-label { font-size: .72rem; letter-spacing: .14em; padding: .22rem .7rem; border-radius: 3px; font-family: var(--font-body); }
.flip-label.myth { background: #f6e3e3; color: var(--danger); border: 1px solid #e8c5c5; }
.flip-label.fact { background: rgba(255, 255, 255, .14); color: #9fd8f0; border: 1px solid rgba(255,255,255,.25); }

/* Steps timeline */
.steps-timeline { position: relative; max-width: 46rem; margin: 0 auto; }
.steps-timeline::before {
    content: ''; position: absolute; left: 25px; top: 10px; bottom: 10px;
    width: 2px; background: var(--line);
}
.step { display: flex; gap: 1.4rem; padding: 1.05rem 0; position: relative; }
.step-num {
    flex: 0 0 52px; height: 52px; display: grid; place-items: center;
    background: var(--navy); color: #fff;
    border-radius: 50%; font-weight: 700; font-size: 1.15rem; z-index: 1;
    font-family: var(--font-head);
    box-shadow: 0 0 0 6px var(--bg);
}
.section .steps-timeline .step-num { box-shadow: 0 0 0 6px #fff; }
.step h3 { color: var(--navy); margin-bottom: .2rem; letter-spacing: .02em; }
.step p { color: var(--slate); font-size: .95rem; }
.steps-mini {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: .7rem; margin-bottom: 2rem; font-weight: 600; font-size: .98rem;
    counter-reset: step;
}
.steps-mini span:not(.arrow) {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
    padding: .45rem 1rem; border-radius: 999px;
}
.steps-mini span:not(.arrow)::before {
    counter-increment: step; content: counter(step);
    display: inline-grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: #7dd3fc; color: var(--navy-dark);
    font-size: .78rem; font-weight: 800;
}
.steps-mini .arrow { color: #7dd3fc; }

/* Golden rules */
.rules-list { list-style: none; max-width: 50rem; margin: 0 auto; counter-reset: rule; }
.rules-list li {
    display: flex; gap: 1.3rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: .9rem;
    box-shadow: var(--shadow); transition: border-color .2s ease;
    counter-increment: rule;
}
.rules-list li:hover { border-color: var(--navy-light); }
.rule-num {
    flex: 0 0 44px; height: 44px; display: grid; place-items: center;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy);
    border-radius: var(--radius-sm);
    font-weight: 700; font-size: 1.1rem; font-family: var(--font-head);
}
.rules-list h3 { color: var(--navy); }
.rules-list p { color: var(--slate); font-size: .93rem; margin-top: .2rem; }

/* Platform cards */
.platform-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow); transition: border-color .2s ease;
    border-top: 3px solid var(--navy);
}
.platform-card:hover { border-top-color: var(--accent); }
.platform-card h3 { color: var(--navy); }
.platform-card ul { margin: .8rem 0 0 1.1rem; color: var(--slate); font-size: .92rem; }
.platform-card li { margin-bottom: .4rem; }

/* Guide list (parents) */
.guide-list { max-width: 50rem; margin: 0 auto; }
.guide-item {
    display: flex; gap: 1.3rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.guide-icon {
    flex: 0 0 48px; height: 48px; display: grid; place-items: center;
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius-sm); color: var(--navy);
}
.guide-icon svg { width: 24px; height: 24px; }
.guide-item h3 { color: var(--navy); }
.guide-item p { color: var(--slate); margin-top: .3rem; font-size: .95rem; }

/* ---------------- Forms ---------------- */
.form-card { padding: 2.4rem; border-top: 4px solid var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy-dark); }
.req { color: var(--danger); }
.form-group input, .form-group select {
    width: 100%; padding: .8rem 1rem; font-size: .98rem; font-family: inherit;
    border: 1px solid #c4cddb; border-radius: var(--radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #fff; color: var(--ink);
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(20, 51, 92, .14);
}
.field-hint { display: block; margin-top: .35rem; font-size: .79rem; color: var(--muted); }
.captcha-box { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; }
.captcha-question {
    background: var(--bg-soft); border: 1px solid var(--line);
    color: var(--navy); font-weight: 700;
    padding: .5rem 1.1rem; border-radius: var(--radius-sm); font-size: 1rem;
    font-family: var(--font-head);
}
.captcha-refresh {
    border: 1px solid var(--line); background: #fff; border-radius: 50%;
    width: 36px; height: 36px; font-size: 1rem; cursor: pointer; color: var(--slate);
}
.captcha-refresh:hover { border-color: var(--navy); color: var(--navy); }
.checkbox-label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-weight: 500 !important; color: var(--slate) !important; }
.checkbox-label input { width: auto !important; margin-top: .3rem; transform: scale(1.25); accent-color: var(--navy); }
.form-note { margin-top: 1rem; text-align: center; font-size: .83rem; color: var(--muted); }

/* Alerts */
.alert { padding: 1rem 1.3rem; border-radius: var(--radius-sm); margin-bottom: 1.3rem; border-left: 4px solid; }
.alert ul { margin: .4rem 0 0 1.2rem; }
.alert-error { background: #fdf2f2; border-color: var(--danger); color: var(--danger); }
.alert-success { background: #eef7f5; border-color: var(--success); color: var(--success); }
.alert-info { background: #eef4fb; border-color: var(--navy); color: var(--navy-dark); }

/* Success page */
.success-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    border-top: 5px solid var(--success);
    padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg);
}
.success-icon {
    width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
    display: grid; place-items: center;
    background: #eef7f5; border: 1px solid #bfe3dd; color: var(--success);
}
.success-icon svg { width: 36px; height: 36px; }
.success-card h1 { color: var(--navy); }
.success-lead { color: var(--slate); margin: .8rem 0 2rem; }
.success-details { max-width: 26rem; margin: 0 auto 1.6rem; text-align: left; }
.detail-row {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .75rem 0; border-bottom: 1px solid var(--line);
}
.detail-row span { color: var(--muted); }
.reg-number { color: var(--navy); font-size: 1.15rem; font-family: var(--font-head); }
.success-note { font-weight: 600; color: var(--slate); }
.certificate-box {
    background: #eef7f5; border: 1px solid #bfe3dd; color: var(--success);
    border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; margin: 1.4rem auto; max-width: 30rem;
}
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* FAQ accordion */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; overflow: hidden; }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.05rem 1.4rem; background: none; border: 0; cursor: pointer;
    font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--navy-dark); text-align: left;
}
.faq-question:hover { color: var(--navy-light); }
.faq-chevron { transition: transform .3s ease; color: var(--accent); font-size: 1.2rem; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open { border-color: var(--navy-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 1.4rem 1.2rem; color: var(--slate); font-size: .95rem; }

/* Prose pages */
.prose h2 { margin: 2rem 0 .7rem; font-size: 1.3rem; color: var(--navy); }
.prose p, .prose li { color: var(--slate); }
.prose ul { margin: .6rem 0 1rem 1.4rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-dark); color: #b8c6da; margin-top: 2rem; border-top: 4px solid var(--accent); }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2.5rem; padding: 3.2rem 0 2.2rem;
}
.footer-logo { height: 48px; width: auto; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-brand h3 { color: #fff; margin: .8rem 0 .4rem; }
.footer-brand p { font-size: .88rem; color: #8fa3bd; }
.site-footer h4 {
    color: #fff; margin-bottom: .9rem; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #8fa3bd; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-emergency p { font-size: .86rem; color: #8fa3bd; margin-bottom: .7rem; }
.footer-emergency .emergency-number strong { color: #7dd3fc; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0; text-align: center; font-size: .83rem; color: #6b7f9c; }

/* Back to top */
.back-to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
    width: 44px; height: 44px; border-radius: var(--radius-sm); border: 0;
    background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer;
    opacity: 0; pointer-events: none; transition: opacity .3s ease, background .2s ease;
    box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy-light); }

/* ---------------- Video embed ---------------- */
.video-frame {
    position: relative;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: #000;
}
.video-frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}


/* Click-to-play video facade (performance: YouTube loads only on demand) */
.video-facade {
    cursor: pointer;
    background:
        linear-gradient(rgba(12, 35, 64, .82), rgba(12, 35, 64, .82)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px);
    display: grid; place-items: center;
    transition: background .2s ease;
}
.video-facade:hover { background-color: var(--navy-dark); }
.video-play-btn {
    width: 84px; height: 84px; border-radius: 50%; border: 0;
    background: var(--accent); color: #fff; cursor: pointer;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(14, 116, 144, .5);
    transition: transform .2s ease, background .2s ease;
}
.video-play-btn svg { width: 38px; height: 38px; margin-left: 4px; }
.video-facade:hover .video-play-btn { transform: scale(1.08); background: var(--accent-dark); }
.video-facade-label {
    position: absolute; bottom: 1.1rem; left: 0; right: 0;
    text-align: center; color: #b8c6da; font-size: .88rem; font-weight: 600;
    pointer-events: none;
}

/* ---------------- Photo features ---------------- */
.photo-feature {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; align-items: center;
}
.photo-feature img {
    width: 100%; border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.photo-feature.reverse img { order: 2; }
.photo-caption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.gallery-grid img {
    width: 100%; border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---------------- Success modal ---------------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(12, 35, 64, .55);
    display: none; align-items: center; justify-content: center;
    padding: 1.2rem;
}
.modal-overlay.open { display: flex; }
.modal-card {
    background: #fff; border-radius: var(--radius);
    max-width: 30rem; width: 100%;
    padding: 2.4rem 2.2rem; text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--success);
    animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-card .success-icon { margin-bottom: .8rem; }
.modal-card h2 { color: var(--navy); margin-bottom: .6rem; }
.modal-card p { color: var(--slate); font-size: .95rem; }
.modal-reg-number {
    display: inline-block; margin: 1rem 0;
    background: var(--bg-soft); border: 1px dashed var(--accent);
    color: var(--navy); font-family: var(--font-head);
    font-size: 1.25rem; font-weight: 700;
    padding: .55rem 1.4rem; border-radius: var(--radius-sm);
}
.modal-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-item { border-bottom: 1px solid var(--line); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-art { min-height: 300px; order: -1; }
    .hero-note.hn-1 { left: 4%; }
    .hero-note.hn-2 { right: 4%; }
    .two-col { grid-template-columns: 1fr; }
    .photo-feature { grid-template-columns: 1fr; }
    .photo-feature.reverse img { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; inset: 64px 0 auto 0;
        flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: .8rem 5%; gap: 0;
        transform: translateY(-130%); transition: transform .3s ease;
        box-shadow: var(--shadow-lg); max-height: calc(100vh - 64px); overflow-y: auto;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-menu a { display: block; padding: .8rem .4rem; border-bottom: 1px solid var(--bg-alt); }
    .nav-menu a.active { border-bottom: 1px solid var(--bg-alt); color: var(--navy); }
    .btn-nav { text-align: center; margin-top: .6rem; }
    .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .check-list.columns { columns: 1; }
    .form-card { padding: 1.5rem; }
    .success-card { padding: 2rem 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .section { padding: 3rem 0; }
}

@media print {
    .site-header, .site-footer, .back-to-top, .success-actions, .hero { display: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
