/* ==========================================================================
   ILB Arabic School — site stylesheet
   Palette from the school's logo (royal blue #1e419c, greens #0d6f3e/#46973c)
   on warm cream, with a deep navy for the hero and footer. Cormorant Garamond
   echoes the serif "ILB" wordmark; PT Sans (the old site's body face) for text;
   Amiri for Arabic accents.
   ========================================================================== */

:root {
  --navy: #10214d;
  --navy-2: #172c62;
  --royal: #1e419c;
  --royal-soft: #e9eef9;
  --green: #0d6f3e;
  --leaf: #46973c;
  --green-soft: #e7f2ea;
  --gold: #c8a55a;
  --cream: #faf7f0;
  --sand: #f2ede2;
  --white: #ffffff;
  --ink: #171c2b;
  --text: #363b4b;
  --muted: #6d7283;
  --line: #e4ded1;
  --line-dark: rgba(255,255,255,.14);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-arabic: 'Amiri', 'Scheherazade New', serif;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;
  --pill: 999px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
::selection { background: var(--royal); color: #fff; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow.on-dark { color: #9fd3b2; }
.arabic { font-family: var(--font-arabic); direction: rtl; }
.eyebrow-ar { font-family: var(--font-arabic); font-size: 26px; color: var(--leaf); line-height: 1; margin-bottom: 12px; }
.title { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.005em; }
.title em { font-style: italic; font-weight: 500; color: var(--royal); }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.center { text-align: center; } .center .lede { margin-inline: auto; }
.rule { width: 64px; height: 3px; background: linear-gradient(90deg, var(--royal), var(--leaf)); border-radius: 2px; margin: 20px 0 0; }
.center .rule { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 26px; border-radius: var(--pill); border: 2px solid var(--royal); color: var(--royal); background: transparent; cursor: pointer; transition: all .3s var(--ease); }
.btn:hover { background: var(--royal); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(30,65,156,.8); }
.btn.green { background: var(--green); border-color: var(--green); color: #fff; }
.btn.green:hover { background: #0a5a32; border-color: #0a5a32; box-shadow: 0 12px 26px -14px rgba(13,111,62,.9); }
.btn.on-dark { border-color: rgba(255,255,255,.6); color: #fff; }
.btn.on-dark:hover { background: #fff; color: var(--navy); }
.btn svg { width: 15px; height: 15px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar ul { display: flex; gap: 22px; }
.topbar li { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; stroke: #9fd3b2; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar a:hover { color: #fff; }
.socials { display: flex; gap: 6px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.12); }
.socials svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
@media (max-width: 760px) { .topbar ul li:not(:first-child) { display: none; } }

/* ---------- header ---------- */
.header { background: rgba(250,247,240,.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img.emblem { height: 58px; width: auto; }
.brand img.wordmark { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links > a, .nav-links .has-sub > a { font-weight: 700; font-size: 15px; padding: 10px 13px; border-radius: var(--pill); color: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > a::after, .nav-links .has-sub > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after, .has-sub:hover > a::after, .has-sub > a[aria-current="page"]::after { transform: scaleX(1); }
.has-sub { position: relative; }
.has-sub > a svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 40px -24px rgba(16,33,77,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.sub a:hover { background: var(--royal-soft); color: var(--royal); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 960px) {
  .header .wrap { min-height: 72px; }
  .brand img.emblem { height: 48px; } .brand img.wordmark { height: 34px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 22px; box-shadow: 0 24px 30px -20px rgba(0,0,0,.35); display: none; border-top: 1px solid var(--line); }
  .header.open .nav-links { display: flex; }
  .nav-links > a, .has-sub > a { padding: 12px 8px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; background: transparent; }
  .sub a { padding: 8px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .brand img.wordmark { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 80% 50%, rgba(70,151,60,.28), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(30,65,156,.7), transparent 60%); }
.hero .pattern { position: absolute; inset: 0; z-index: -1; opacity: .12; color: #fff; }
.hero .watermark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); height: 120%; z-index: -1; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }
.hero .wrap { padding: clamp(70px, 10vw, 130px) 0 clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); font-weight: 600; line-height: 1.05; max-width: 14ch; }
.hero h1 em { font-style: italic; color: #b6e0c3; font-weight: 500; }
.hero .lede { color: rgba(255,255,255,.8); margin-top: 22px; font-size: 19px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.notice { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--pill); padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 26px; transition: background .2s; }
.notice:hover { background: rgba(255,255,255,.18); }
.notice b { background: var(--leaf); color: #fff; border-radius: var(--pill); padding: 2px 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 420px); }
.hero-visual .frame { border-radius: 24px 24px 200px 200px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.hero-visual img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.hero-visual .card { position: absolute; left: -36px; bottom: 36px; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); display: flex; gap: 12px; align-items: center; }
.hero-visual .card img { width: 40px; height: 40px; aspect-ratio: auto; object-fit: contain; }
.hero-visual .card b { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.hero-visual .card span { font-size: 12.5px; color: var(--muted); }
.hero [data-stagger] { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero [data-stagger="1"] { animation-delay: .05s } .hero [data-stagger="2"] { animation-delay: .18s } .hero [data-stagger="3"] { animation-delay: .32s } .hero [data-stagger="4"] { animation-delay: .46s } .hero [data-stagger="5"] { animation-delay: .3s }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { justify-self: start; width: min(100%, 380px); } .hero-visual .card { left: 12px; bottom: 16px; } .hero .watermark { opacity: .05; } }

/* page hero (inner) */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 90% at 90% 30%, rgba(70,151,60,.25), transparent 60%); }
.page-hero .pattern { position: absolute; inset: 0; z-index: -1; opacity: .1; color: #fff; }
.page-hero .wrap { padding: clamp(52px, 7vw, 90px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); }
.page-hero .crumbs { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,.78); margin-top: 16px; }

/* ---------- facts strip ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; gap: 16px; align-items: center; padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact + .fact { padding-left: 24px; }
.fact svg { width: 40px; height: 40px; flex: none; stroke: var(--royal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fact b { display: block; font-family: var(--font-display); font-size: 21px; color: var(--ink); line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .facts .wrap { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; } .fact + .fact { padding-left: 0; } .fact:last-child { border-bottom: 0; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.white { background: var(--white); }
.section.sand { background: var(--sand); }
.section.navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.green-soft { background: var(--green-soft); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split .prose p { font-size: 18px; }
.photo { position: relative; }
.photo img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--leaf); border-radius: var(--radius); z-index: -1; }
.photo .stamp { position: absolute; right: -14px; top: -14px; width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
.photo .stamp img { width: 62px; height: 62px; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .photo { margin: 0 18px 18px 0; } }

/* numbered philosophy */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 26px 76px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -30px rgba(16,33,77,.45); }
.step b { position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--royal-soft); color: var(--royal); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.step p { font-size: 16px; color: var(--text); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* programme cards */
.programmes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prog { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prog:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -34px rgba(16,33,77,.5); }
.prog .img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prog .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prog:hover .img img { transform: scale(1.06); }
.prog .img .ar { position: absolute; right: 14px; bottom: 10px; font-family: var(--font-arabic); font-size: 30px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); direction: rtl; }
.prog .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prog h3 { font-size: 24px; margin-bottom: 8px; }
.prog p { font-size: 15px; color: var(--muted); flex: 1; }
.prog .more { margin-top: 16px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); display: inline-flex; align-items: center; gap: 8px; }
.prog .more svg { width: 14px; height: 14px; transition: transform .3s; }
.prog:hover .more svg { transform: translateX(4px); }
@media (max-width: 1000px) { .programmes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .programmes { grid-template-columns: 1fr; } }

/* programme detail (programmes page) */
.prog-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: start; padding: clamp(40px, 6vw, 70px) 0; border-top: 1px solid var(--line); }
.prog-detail:first-of-type { border-top: 0; padding-top: 0; }
.prog-detail img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; position: sticky; top: 100px; }
.prog-detail h2 { font-size: clamp(30px, 3.4vw, 40px); }
.prog-detail .ar { font-family: var(--font-arabic); color: var(--leaf); font-size: 28px; direction: rtl; text-align: left; margin-bottom: 6px; }
.prog-detail .lede { margin: 12px 0 18px; font-size: 18px; }
.checks li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 14px; height: 8px; border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(-45deg); }
@media (max-width: 860px) { .prog-detail { grid-template-columns: 1fr; } .prog-detail img { position: static; } }

/* Islamiya band */
.islamiya { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.chip.green { background: var(--green); color: #fff; border-color: var(--green); }
.timetable { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.timetable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.timetable th, .timetable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.timetable th { background: var(--navy); color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.timetable tr:last-child td { border-bottom: 0; }
.timetable td b { color: var(--ink); }
.timetable td small { display: block; color: var(--muted); font-size: 13.5px; }
.timetable tbody tr:hover td { background: var(--sand); }
@media (max-width: 900px) { .islamiya { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }

/* video */
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: 0 40px 80px -50px rgba(0,0,0,.8); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play span { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.video:hover .play span { transform: scale(1.08); }
.video .play svg { width: 30px; height: 30px; fill: var(--royal); margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* values grid (about page) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.value .ar { font-family: var(--font-arabic); font-size: 30px; color: var(--leaf); direction: rtl; text-align: left; line-height: 1; margin-bottom: 14px; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* prose */
.prose { max-width: 70ch; }
.prose h3 { font-size: 26px; margin: 34px 0 10px; }
.prose h3:first-child { margin-top: 0; }
.prose p { font-size: 17.5px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-top: 26px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 6px 0 0; font-size: 18px; color: var(--ink); }
.contact-info dd small { display: block; font-size: 14.5px; color: var(--muted); }
.contact-info dd a:hover { color: var(--royal); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form h3 { font-size: 26px; margin-bottom: 6px; }
.form .sub-note { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field label i { color: #c0392b; font-style: normal; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); transition: border-color .2s, box-shadow .2s; }
.field input[type="file"] { padding: 9px 12px; font-size: 14px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(30,65,156,.16); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 6px; margin: 0; }
fieldset.field legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; cursor: pointer; }
.radio:last-child { border-bottom: 0; }
.radio input { margin-top: 5px; accent-color: var(--royal); }
.radio b { color: var(--ink); }
.radio span { display: block; color: var(--muted); font-size: 14px; }
.form-section { font-family: var(--font-display); font-size: 22px; color: var(--royal); grid-column: 1 / -1; margin-top: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.form .btn { margin-top: 10px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.map { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* download card */
.download { display: flex; gap: 18px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 26px; }
.download svg { width: 44px; height: 44px; stroke: #9fd3b2; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.download b { display: block; font-family: var(--font-display); font-size: 22px; }
.download span { font-size: 14px; color: rgba(255,255,255,.7); }
.download .btn { margin-left: auto; flex: none; }
@media (max-width: 640px) { .download { flex-wrap: wrap; } .download .btn { margin-left: 0; } }

/* CTA band */
.cta { background: linear-gradient(100deg, var(--green), var(--leaf)); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.cta h3 { color: #fff; font-size: 30px; }
.cta p { color: rgba(255,255,255,.88); font-size: 16px; }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn:hover { background: #fff; color: var(--green); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer .brand img.emblem { height: 64px; opacity: .95; }
.footer .brand img.wordmark { height: 44px; }
.footer p { margin-top: 18px; max-width: 40ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer li { padding: 5px 0; }
.footer li a:hover { color: #fff; }
.footer .socials { margin-top: 14px; }
.footer .socials a { width: 36px; height: 36px; border: 1px solid var(--line-dark); }
.footer .socials svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s } .reveal[data-delay="2"] { transition-delay: .2s } .reveal[data-delay="3"] { transition-delay: .3s } .reveal[data-delay="4"] { transition-delay: .4s }
@media (prefers-reduced-motion: reduce) { .reveal, .hero [data-stagger] { opacity: 1; transform: none; animation: none; transition: none; } html { scroll-behavior: auto; } }
