/* ==========================================================
   ABS Bookkeeping & Tax Service — main stylesheet
   Colors pulled from the ABS logo: red #EE1B24, navy #2A3891
   ========================================================== */

:root {
  --red: #de141c;          /* logo red #ee1b24, deepened slightly so white text passes WCAG AA */
  --red-dark: #b80f17;
  --navy: #2a3891;
  --navy-deep: #18215f;
  --navy-ink: #111843;
  --ink: #1d2233;
  --muted: #5a6175;
  --line: #dfe3ee;
  --soft: #f3f5fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 67, .12);
  --shadow-sm: 0 2px 10px rgba(17, 24, 67, .08);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23fff'%3E%3Cpath opacity='.10' d='m40 18 6.2 18.9h19.9L50 48.6l6.2 18.9L40 55.8 23.8 67.5 30 48.6 13.9 36.9h19.9z'/%3E%3Cpath opacity='.07' d='m160 60 4.1 12.6h13.2l-10.7 7.8 4.1 12.6-10.7-7.8-10.7 7.8 4.1-12.6-10.7-7.8h13.2z'/%3E%3Cpath opacity='.08' d='m95 130 5 15.4h16.2l-13.1 9.5 5 15.4L95 160.8l-13.1 9.5 5-15.4-13.1-9.5H90z'/%3E%3Cpath opacity='.06' d='m195 170 3 9.3h9.8l-7.9 5.7 3 9.3-7.9-5.7-7.9 5.7 3-9.3-7.9-5.7h9.8z'/%3E%3Cpath opacity='.05' d='m20 160 2.5 7.6h8l-6.5 4.7 2.5 7.6-6.5-4.7-6.5 4.7 2.5-7.6-6.5-4.7h8z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::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: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy-ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
  line-height: 1.1;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--white { background: #fff; color: var(--red-dark); }
.btn--white:hover { background: var(--soft); color: var(--red-dark); }
.btn--ghost-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: .65em 1.1em; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-ink); color: #dfe4ff; font-size: .9rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding: .45rem 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: #fff; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--red); flex: none; }
.topbar__muted { opacity: .7; }
.topbar a.topbar__item { margin-left: auto; }

/* ---------- header / nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav li { position: relative; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li > a {
  display: block; padding: .6rem .9rem; font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  color: var(--navy-ink); border-radius: 8px;
}
.site-nav > ul > li > a:hover { color: var(--red); }
.site-nav > ul > li > a.is-active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.has-sub { display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); font-weight: 600; }
.sub a:hover { background: var(--soft); color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .brand img { width: 210px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
    width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle__bar { width: 22px; height: 2.5px; background: var(--navy-ink); border-radius: 2px; transition: .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.2rem; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; flex: 1; }
  .site-nav > ul > li > a.is-active { box-shadow: none; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  }
  .sub-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2.5; transition: .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; width: 100%; box-shadow: none; border: 0; padding: .25rem 0 .25rem 1rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover .sub { display: none; }
  .sub.is-open, .has-sub:hover .sub.is-open { display: block; }
  .site-nav__cta { margin-top: 1rem; }
}
@media (max-width: 700px) { .topbar__hide-sm { display: none; } }
@media (max-width: 480px) { .topbar__hide-xs { display: none; } .site-header__inner { min-height: 72px; } .brand img { width: 180px; } }

/* ---------- stripes & swoosh ---------- */
.stripe { height: 6px; background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--navy) 66.6%); }
.swoosh { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--stars) , radial-gradient(1200px 500px at 85% 0%, #3a4bb5 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 4.5rem 0 2rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #ff6b70; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem;
}
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.12); padding: .45em .9em; border-radius: 999px; }
.eyebrow svg { width: 14px; height: 14px; fill: currentColor; }
.hero__lead { font-size: 1.2rem; color: #dfe4ff; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.5rem; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #dfe4ff; font-weight: 600; }
.hero__checks li { display: inline-flex; align-items: center; gap: .45em; }
.hero__checks svg { width: 18px; height: 18px; fill: #fff; background: var(--red); border-radius: 50%; padding: 3px; }
.hero__photo { position: relative; }
.hero__photo picture img { border-radius: 18px; box-shadow: 0 25px 60px rgba(0,0,0,.35); border: 6px solid #fff; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 30%; width: 100%; }
.hero__badge {
  position: absolute; left: -22px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 14px; padding: .8rem 1rem;
  box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; max-width: 270px; font-size: .95rem; line-height: 1.3;
}
.hero__badge strong { display: block; font-family: var(--font-head); color: var(--navy-ink); }
.hero__badge-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.hero__badge-icon svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.2rem; }
  .hero__photo { max-width: 460px; }
  .hero__badge { left: 12px; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { color: #fff; background: var(--stars), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 80%); }
.page-hero__inner { padding: 3.2rem 0 1.2rem; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #dfe4ff; font-size: 1.15rem; max-width: 46em; }
.crumbs { font-size: .9rem; color: #b9c1f0; margin-bottom: .8rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head p { color: var(--muted); font-size: 1.12rem; }

/* trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: .8rem; align-items: center; padding: 1.4rem 1rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { flex: none; width: 38px; height: 38px; fill: var(--red); }
.trust__item strong { display: block; font-family: var(--font-head); color: var(--navy-ink); font-size: 1.02rem; line-height: 1.2; }
.trust__item span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--navy)); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9cfe3; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card__link { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.card__link::after { content: "→"; transition: transform .15s; }
.card:hover .card__link::after { transform: translateX(3px); }
.card__link span { position: absolute; inset: 0; }
@media (max-width: 1020px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* why / features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.feature { display: flex; gap: 1rem; }
.feature__num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: 1rem;
}
.feature:nth-child(even) .feature__num { background: var(--red); }
.feature h3 { margin-bottom: .3em; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.photo-frame { position: relative; }
.photo-frame img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; }
.photo-frame::after {
  content: ""; position: absolute; z-index: -1; right: -16px; bottom: -16px; width: 70%; height: 70%;
  border-radius: 18px; background: repeating-linear-gradient(135deg, var(--red) 0 10px, #fff 10px 20px);
  opacity: .25;
}

/* visit / map */
.visit { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.visit__info { padding: 2.5rem; }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.info-list li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { flex: none; width: 22px; height: 22px; fill: var(--red); margin-top: .2rem; }
.info-list strong { display: block; font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-list a { text-decoration: none; font-weight: 600; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit__info { padding: 1.8rem; } .visit__map iframe { min-height: 300px; } }

/* CTA band */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--stars); opacity: .9; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #fff; font-size: 1.1rem; max-width: 40em; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; flex: none; }
@media (max-width: 900px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- inner page content ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 330px; gap: 3.5rem; align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p { color: #343a4e; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.checklist--cols { grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
@media (max-width: 600px) { .checklist--cols { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat;
}
.checklist li span { display: block; color: var(--muted); font-size: .97rem; }
.callout {
  background: var(--soft); border-left: 5px solid var(--red); border-radius: 0 12px 12px 0; padding: 1.2rem 1.4rem; margin: 1.8rem 0;
}
.callout p:last-child { margin: 0; }
.callout strong { color: var(--navy-ink); }
.box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1rem 0 1.5rem; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; background: #fff; }
.box h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.box .checklist { margin: 0; }
@media (max-width: 640px) { .box-grid { grid-template-columns: 1fr; } }

.sidebar { display: grid; gap: 1.4rem; position: sticky; top: 110px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.05rem; }
.side-card--navy { background: var(--stars), var(--navy); color: #fff; border: 0; }
.side-card--navy h3 { color: #fff; }
.side-card--navy p { color: #dfe4ff; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; justify-content: space-between; padding: .65rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a::after { content: "›"; color: var(--red); font-weight: 700; }
.side-nav a:hover, .side-nav a[aria-current] { color: var(--red); }

/* ---------- contact page / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2.2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--navy) 66.6%); }
@media (max-width: 560px) { .form-card { padding: 1.5rem 1.2rem; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; color: var(--navy-ink); }
.field .req { color: var(--red); }
.field .opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcff;
  border: 1.5px solid #cfd5e6; border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(42,56,145,.15); background: #fff; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); background: #fff7f7; }
.field__error { color: var(--red-dark); font-size: .9rem; font-weight: 600; margin-top: .3rem; }
.field__hint { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.captcha__img { border: 1.5px solid #cfd5e6; border-radius: 10px; background: #fff; width: 200px; height: 64px; }
.captcha__refresh {
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; color: var(--navy);
  font: 600 .92rem var(--font-body); cursor: pointer; padding: .3rem;
}
.captcha__refresh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.captcha__refresh:hover { color: var(--red); }
.captcha input { max-width: 200px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }

.alert { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; display: flex; gap: .8rem; align-items: flex-start; }
.alert svg { flex: none; width: 24px; height: 24px; }
.alert--ok { background: #ecf8f0; border: 1px solid #b6e2c4; color: #14532d; }
.alert--ok svg { fill: #1f8a4c; }
.alert--err { background: #fff2f2; border: 1px solid #f5c2c4; color: #8a1016; }
.alert--err svg { fill: var(--red); }
.alert p { margin: 0; }
.form-note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

/* 404 */
.notfound { text-align: center; padding: 5rem 0; }
.notfound .big { font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--red); line-height: 1; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: #c8cdea; font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer__brand img { width: 210px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 24em; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer h3::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-top: .5rem; border-radius: 2px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ff8a8e; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0 1.6rem; font-size: .88rem; color: #9aa2cf; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- social icons ---------- */
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background .15s, color .15s, transform .15s; }
.social a:hover { transform: translateY(-2px); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social--footer a { background: rgba(255,255,255,.1); color: #fff; }
.social--footer a:hover { background: var(--red); color: #fff; }
.social--card a { background: var(--soft); color: var(--navy); }
.social--card a:hover { background: var(--red); color: #fff; }
.topbar .social--topbar { margin-left: auto; gap: .2rem; }
.topbar .social--topbar a { width: 26px; height: 26px; color: #dfe4ff; }
.topbar .social--topbar a:hover { color: #fff; background: rgba(255,255,255,.12); }
.topbar .social--topbar svg { width: 14px; height: 14px; }
.topbar .social--topbar ~ a.topbar__item, .topbar a.topbar__item:has(+ .social--topbar) { margin-left: auto; }
.topbar a.topbar__item:has(+ .social--topbar) + .social--topbar { margin-left: .4rem; }

/* ---------- accessibility extras ---------- */
.captcha-alt { margin-top: .6rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--red); }
.captcha-q { font-weight: 700; color: var(--navy-ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--red); font: 700 1.2rem/1 var(--font-head); }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary h3 { margin: 0; font-size: 1.02rem; }
.faq__item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); }
