/* ==========================================================
   Wania Driving School — global stylesheet
   Restrained black/white base, brand blue + red accents,
   flat surfaces, 1px lines, mobile-first.
   ========================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #45454d;
  --ink-3: #82828b;
  --canvas: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --line: #e2e2e7;
  --brand: #004aad;
  --brand-dark: #003a88;
  --brand-soft: #e8f0fb;
  --accent: #e4223a;
  --link: #0070f0;
  --inverse: #ffffff;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 80px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--inverse); }
.section--ink a:not(.btn) { color: var(--inverse); }
@media (min-width: 768px) { .section { padding: 96px 0; } .section--tight { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section--ink .eyebrow { color: #ff6b7a; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; }
.section-head--row > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; min-height: 48px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--inverse);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--inverse); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--inverse); }
.btn--inverse { background: var(--inverse); border-color: var(--inverse); color: var(--ink); }
.btn--inverse:hover { background: transparent; color: var(--inverse); border-color: var(--inverse); }
.btn--ghost-inverse { background: transparent; border-color: rgba(255,255,255,.6); color: var(--inverse); }
.btn--ghost-inverse:hover { background: var(--inverse); color: var(--ink); border-color: var(--inverse); }
.btn--sm { padding: 10px 16px; min-height: 40px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.text-link { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: none; color: var(--brand); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 64px; height: 64px; flex: none; }
.brand__name { font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; line-height: 1.1; white-space: nowrap; }
.brand .brand__name { flex: 1; min-width: 0; }
@media (max-width: 999px) {
  :root { --header-h: 72px; }
  .brand { gap: 8px; }
  .brand img { width: 52px; height: 52px; }
  .brand__name { font-size: 1rem; white-space: normal; }
}
@media (max-width: 359px) {
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: .92rem; }
  .brand__sub { display: none !important; }
}
.brand__sub { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-block; padding: 10px 13px; border-radius: var(--radius);
  color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { background: var(--surface); text-decoration: none; }
.nav__link.is-active { color: var(--brand); }
.header-actions { display: none; align-items: center; gap: 6px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; padding: 10px 12px; text-decoration: none; font-size: .93rem; }
.header-phone:hover { color: var(--brand); text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--canvas); color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--canvas);
  padding: 16px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; transition: transform .3s var(--ease); }
.mobile-nav a.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1.25rem; font-weight: 700; text-decoration: none;
}
.mobile-nav a.mobile-nav__link.is-active { color: var(--brand); }
.mobile-nav__cta { margin-top: 20px; display: grid; gap: 10px; }
.mobile-nav__meta { margin-top: 28px; color: var(--ink-2); font-size: .9rem; line-height: 1.7; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header-actions { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
body { padding-bottom: 76px; }
@media (min-width: 1000px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--inverse); overflow: hidden;
  min-height: 560px; display: flex; align-items: flex-end;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.82) 100%);
}
.hero__content { position: relative; padding: 96px 0 56px; max-width: 760px; }
.hero__content h1 { color: var(--inverse); margin-bottom: 18px; }
.hero__content .lead { color: rgba(255,255,255,.85); max-width: 560px; }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }
.hero__actions .btn { width: 100%; }
@media (min-width: 560px) { .hero__actions { display: flex; flex-wrap: wrap; } .hero__actions .btn { width: auto; } }
.hero .eyebrow { color: rgba(255,255,255,.8); }
@media (min-width: 768px) { .hero { min-height: 680px; } .hero__content { padding: 140px 0 80px; } }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--canvas);
}
.stat { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat__value { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.stat__value span { color: var(--accent); }
.stat__label { font-size: .85rem; color: var(--ink-2); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 28px; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.trust__item svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--compact { grid-template-columns: 1fr 1fr; gap: 10px; }
.grid > * { min-width: 0; }
@media (min-width: 560px) { .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3, .grid--compact { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 24px; } }

.card {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s var(--ease);
}
.card:hover { border-color: var(--ink); }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 4px 0 0; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card .text-link { margin-top: auto; font-size: .9rem; }

.card--img { padding: 0; overflow: hidden; }
.card--img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card--img .card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ---------- Packages ---------- */
.pkg {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: border-color .2s var(--ease);
}
.pkg:hover { border-color: var(--ink); }
.pkg--featured { border-color: var(--ink); }
.pkg__badge {
  position: absolute; top: -1px; right: 20px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 0 0 var(--radius) var(--radius);
}
.pkg__title { font-size: 1.1rem; margin: 0; }
.pkg__duration { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.pkg__price { display: flex; align-items: baseline; gap: 8px; }
.pkg__price strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pkg__price span { color: var(--ink-2); font-size: .9rem; }
.pkg__list { display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.pkg__list li { display: flex; gap: 10px; align-items: flex-start; }
.pkg__list svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 3px; }
.pkg .btn { margin-top: auto; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split__body h2 { margin-bottom: 16px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
}

.checklist { display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.checklist strong { display: block; }
.checklist span { color: var(--ink-2); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 24px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step__num { font-size: 1.1rem; font-weight: 800; letter-spacing: .08em; color: inherit; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Instructor ---------- */
.instructor {
  display: grid; gap: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--canvas);
}
.instructor__avatar {
  width: 96px; height: 96px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 2.25rem; font-weight: 800; flex: none;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--surface);
}
.badge svg { width: 14px; height: 14px; color: var(--brand); }
@media (min-width: 768px) { .instructor { grid-template-columns: auto 1fr; padding: 40px; gap: 40px; } }

/* ---------- Suburbs ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .9rem; color: var(--ink); background: var(--canvas);
}
.chip--brand { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.suburbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; border-top: 1px solid var(--line); }
.suburbs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
@media (min-width: 640px) { .suburbs { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: var(--inverse); }
.cta-band__inner { display: grid; gap: 28px; padding-top: 64px; padding-bottom: 72px; align-items: center; text-align: center; }
.cta-band h2 { color: var(--inverse); margin-bottom: 10px; font-size: clamp(1.9rem, 7vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 34ch; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: grid; gap: 12px; width: 100%; }
.cta-band__actions .btn { width: 100%; min-height: 56px; font-size: 1.05rem; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; padding-top: 72px; padding-bottom: 72px; text-align: left; }
  .cta-band p { margin-left: 0; max-width: none; }
  .cta-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; width: auto; }
  .cta-band__actions .btn { width: auto; min-height: 48px; font-size: .95rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--inverse); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72)); }
.page-hero__content { position: relative; padding: 72px 0 56px; max-width: 760px; }
.page-hero__content h1 { color: var(--inverse); margin-bottom: 12px; }
.page-hero__content .lead { color: rgba(255,255,255,.85); }
.page-hero .eyebrow { color: rgba(255,255,255,.8); }
.page-hero--plain { color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero--plain .page-hero__content h1 { color: var(--ink); }
.page-hero--plain .page-hero__content .lead { color: var(--ink-2); }
.page-hero--plain .eyebrow { color: var(--brand); }
@media (min-width: 768px) { .page-hero__content { padding: 110px 0 80px; } }

/* ---------- Section index (numbered grid) ---------- */
.index { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.index__item {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 20px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; text-decoration: none;
  transition: background .15s var(--ease);
}
.index__item:hover { background: var(--surface); text-decoration: none; }
.index__item:nth-child(2n) { border-right: 0; }
.index__item:nth-last-child(-n+2) { border-bottom: 0; }
.index__num { font-size: 1rem; font-weight: 800; letter-spacing: .08em; color: var(--ink); }
@media (min-width: 768px) {
  .index { grid-template-columns: repeat(4, 1fr); }
  .index__item { padding: 22px 24px; }
  .index__item:nth-child(2n) { border-right: 1px solid var(--line); }
  .index__item:nth-child(4n) { border-right: 0; }
  .index__item:nth-last-child(-n+4) { border-bottom: 0; }
}

/* ---------- Service detail rows ---------- */
.service-row { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); align-items: center; scroll-margin-top: 90px; }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row__media img { border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-row__idx { font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: .08em; margin-bottom: 8px; }
.service-row h3 { font-size: 1.5rem; }
.service-row p { color: var(--ink-2); }
.service-row ul { display: grid; gap: 6px; margin: 14px 0 20px; color: var(--ink-2); font-size: .95rem; }
.service-row ul li { padding-left: 18px; position: relative; }
.service-row ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--brand); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .service-row--reverse .service-row__media { order: 2; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--canvas);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 48px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.form__note { font-size: .85rem; color: var(--ink-3); }
.form-success {
  display: none; padding: 20px; border: 1px solid var(--brand); background: var(--brand-soft); border-radius: var(--radius-lg); color: var(--brand-dark);
}
.form-success.is-visible { display: block; }

.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 20px; background: var(--canvas); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.contact-line strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.contact-line a { color: var(--ink); font-weight: 600; }
.contact-line a:hover { color: var(--brand); }

.map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (min-width: 768px) { .map iframe { height: 460px; } }

.layout-2 { display: grid; gap: 32px; }
@media (min-width: 960px) { .layout-2 { grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; } }
@media (min-width: 960px) { .sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 20px 0; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 1.05rem;
}
.faq__q svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 0 20px; color: var(--ink-2); max-width: 720px; }
.faq__a.is-open { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); margin-top: auto; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 36px 24px; padding: 56px 0 40px; }
@media (min-width: 480px) and (max-width: 767px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid .footer__col:first-child { grid-column: 1 / -1; } }
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-bottom: 16px; }
.footer__brand img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 2px; }
.footer__brand strong { font-size: 1.1rem; letter-spacing: -0.02em; }
.footer__col h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col p { font-size: .95rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.social a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer__bottom ul { display: flex; gap: 20px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding: 80px 0 56px; } }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.center { text-align: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
