/* Haque Accounting — classic
   Traditional UK practice: navy bars, bold uppercase grotesk, white cards, cool stone band. */

:root {
  --navy: #223A5E;
  --navy-deep: #162844;
  --white: #FFFFFF;
  --stone: #E7EBEF;
  --ink: #1A2433;
  --ink-soft: #4A5668;
  --accent: #2F8F9D;
  --accent-hover: #257783;
  --accent-text: #22727E;   /* accent darkened for small text on white (AA) */
  --sky: #A9C7E8;
  --line: #D5DCE4;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(22, 40, 68, .06), 0 8px 24px rgba(22, 40, 68, .09);
  --shadow-lift: 0 2px 4px rgba(22, 40, 68, .08), 0 16px 36px rgba(22, 40, 68, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.nav :focus-visible, .section--navy :focus-visible, .hero :focus-visible,
.pagehead :focus-visible, .foot :focus-visible, .cta-band :focus-visible { outline-color: var(--sky); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Placeholders: visibly marked for Yusuf to fill in */
.ph {
  background: rgba(47, 143, 157, .13);
  border-bottom: 1.5px dashed var(--accent);
  padding: 0 .2em;
  border-radius: 2px;
  font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .ph, .section--navy .ph, .foot .ph, .pagehead .ph, .cta-band .ph {
  background: rgba(169, 199, 232, .16); border-bottom-color: var(--sky);
}

/* ------- Buttons & links ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  padding: 15px 24px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--solid { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); box-shadow: 0 6px 16px rgba(22, 40, 68, .22); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 18px 30px; font-size: 15px; }

.textlink {
  display: inline-flex; align-items: center; gap: .45em;
  font: 700 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-text); text-decoration: none;
}
.textlink span { transition: transform .2s; }
.textlink:hover span { transform: translateX(4px); }
.textlink--light { color: var(--white); }
.textlink--light:hover { color: var(--sky); }

.eyebrow {
  margin: 0 0 14px;
  font: 700 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent-text);
}
.eyebrow--light { color: var(--sky); }

/* ------- Tagline strip ------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.strip p { margin: 0; }
.strip__tag {
  font: 800 12px/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--navy);
}
.strip__contact { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.strip__contact a { color: var(--ink-soft); text-decoration: none; }
.strip__contact a:hover { color: var(--accent-text); }

/* ------- Nav ------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  transition: box-shadow .25s;
}
.nav.is-stuck { box-shadow: 0 6px 22px rgba(10, 20, 36, .35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand__sub { font: 600 10.5px/1 var(--display); text-transform: uppercase; letter-spacing: .34em; color: var(--sky); margin-top: 5px; }

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu ul { display: flex; gap: 30px; }
.nav__menu ul a {
  position: relative; display: block; padding: 8px 0;
  color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px;
}
.nav__menu ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__menu ul a:hover::after, .nav__menu ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu ul a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav__cta { padding: 13px 20px; }

.nav__toggle {
  display: none; width: 46px; height: 46px; margin-right: -8px;
  background: transparent; border: 0; color: var(--white); cursor: pointer; border-radius: var(--radius);
}
.nav__bars { display: grid; gap: 5px; width: 24px; margin: 0 auto; }
.nav__bars span { display: block; height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 560px) { .strip__more { display: none; } }
@media (max-width: 960px) {
  .strip__contact { display: none; }
  .nav__inner { min-height: 68px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px var(--gutter) 24px;
    box-shadow: 0 16px 30px rgba(10, 20, 36, .35);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu ul a { padding: 15px 0; border-bottom: 1px solid rgba(169, 199, 232, .15); font-size: 17px; }
  .nav__menu ul a::after { display: none; }
  .nav__menu ul a[aria-current="page"] { color: var(--sky); }
  .nav__cta { margin-top: 20px; }
}

/* ------- Hero (home) ------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  min-height: clamp(540px, 76vh, 720px);
  display: flex; align-items: center;
}
.scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: blur(1.1px) saturate(.95);
  transform: scale(1.02);
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 40, 68, .95) 0%, rgba(22, 40, 68, .86) 34%, rgba(34, 58, 94, .5) 62%, rgba(34, 58, 94, .28) 100%),
    linear-gradient(0deg, rgba(22, 40, 68, .6) 0%, rgba(22, 40, 68, 0) 30%);
}
.hero__inner { position: relative; padding-top: 72px; padding-bottom: 84px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 800; line-height: .98; letter-spacing: -.025em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 span { display: block; color: var(--sky); }
.hero__lede { max-width: 34em; font-size: clamp(17px, 1.5vw, 19.5px); color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ------- Inner page header ------- */
.pagehead {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--white);
  min-height: 300px; display: flex; align-items: center;
}
.pagehead .hero__shade {
  background:
    linear-gradient(90deg, rgba(22, 40, 68, .96) 0%, rgba(22, 40, 68, .9) 45%, rgba(34, 58, 94, .62) 75%, rgba(34, 58, 94, .5) 100%);
}
.pagehead__inner { position: relative; padding-top: 60px; padding-bottom: 60px; }
.pagehead h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase; margin-bottom: 16px;
}
.pagehead p.lede { max-width: 38em; margin: 0; color: rgba(255, 255, 255, .88); font-size: 18px; }
.crumbs { display: flex; gap: 8px; margin: 0 0 16px; font-size: 14px; color: var(--sky); }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* ------- Trust strip ------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list {
  display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 18px 20px;
  padding-top: 26px; padding-bottom: 26px;
}
.trust__list li > span { max-width: 17em; }
.trust__list li {
  display: flex; align-items: center; gap: 10px;
  font: 600 14.5px/1.35 var(--body); color: var(--navy);
}
.trust__list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) {
  .trust__list { grid-template-columns: repeat(3, auto); justify-content: start; }
}
@media (max-width: 640px) {
  .trust__list { grid-template-columns: 1fr; gap: 14px; }
}

/* ------- Sections ------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, .88); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--rule { border-top: 1px solid var(--line); }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }

.head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.head h2, .h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -.015em; text-transform: uppercase;
}
.head h2::after {
  content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin: 20px auto 0;
}
.head__lede { margin: 22px auto 0; color: var(--ink-soft); font-size: 18px; }
.head--light .head__lede { color: rgba(255, 255, 255, .8); }
.head--left { text-align: left; margin-left: 0; }
.head--left h2::after { margin-left: 0; }

/* ------- Cards (what we do) ------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 32px 32px; border-top: 4px solid var(--navy);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card__icon { width: 44px; height: 44px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 12px; }
.card > p { color: var(--ink-soft); }
.card__list { margin: 4px 0 28px; border-top: 1px solid var(--line); }
.card__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 16px;
}
.card__list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.card .textlink { margin-top: auto; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ------- Steps ------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; position: relative; }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border: 2px solid var(--sky); border-radius: 50%;
  font: 800 22px/1 var(--display); color: var(--white); background: var(--navy-deep);
  position: relative; z-index: 1;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; top: 28px; left: 64px; right: -24px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(169, 199, 232, .45) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; }
.step p { margin: 0; color: rgba(255, 255, 255, .78); }
.section--stone .step__num, .steps--light .step__num { background: var(--white); color: var(--navy); border-color: var(--accent); }
.steps--light .step:not(:last-child)::before { background: repeating-linear-gradient(90deg, rgba(47, 143, 157, .5) 0 6px, transparent 6px 12px); }
.steps--light .step p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .step:not(:last-child)::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
}

.software {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px;
  border-top: 1px solid rgba(169, 199, 232, .2);
  text-align: left;
}
.software svg { width: 48px; height: 40px; flex: none; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.software p { margin: 0; font-size: 19px; color: var(--white); }
.software strong { color: var(--sky); font-weight: 600; }
.software--light { border-top-color: var(--line); }
.software--light svg { stroke: var(--accent); }
.software--light p { color: var(--ink); }
.software--light strong { color: var(--accent-text); }

/* ------- Testimonial ------- */
.quote {
  position: relative; max-width: 860px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 6vw, 72px);
  border-left: 5px solid var(--accent);
}
.quote__mark { width: 44px; height: 33px; fill: var(--sky); margin-bottom: 20px; }
.quote blockquote { margin: 0 0 26px; }
.quote blockquote p { font-size: clamp(19px, 2vw, 23px); font-style: italic; line-height: 1.55; color: var(--ink); margin: 0; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.quote__name { font: 800 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.quote__biz { color: var(--ink-soft); font-size: 15px; }

/* ------- CTA band ------- */
.cta-band { padding: 0 0 clamp(64px, 8vw, 96px); }
.section--stone + .cta-band { padding-top: clamp(64px, 8vw, 96px); }
.cta-band__box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: var(--navy); color: rgba(255, 255, 255, .88);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 60px);
}
.cta-band__box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(169, 199, 232, .06) 0 1px, transparent 1px 26px);
}
.cta-band__box > * { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 36em; }

/* ------- Services page ------- */
.group { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); }
.group + .group { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.group__intro { position: sticky; top: 110px; align-self: start; }
.group__intro .card__icon { margin-bottom: 18px; }
.group__intro h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-bottom: 14px; }
.group__intro h2::after { content: ""; display: block; width: 44px; height: 4px; background: var(--accent); margin-top: 16px; }
.group__intro p { color: var(--ink-soft); }
.group__for { font-size: 15px; background: var(--stone); padding: 14px 16px; border-radius: var(--radius); color: var(--ink) !important; }
.group__for strong { display: block; font: 700 12px/1.3 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--navy); margin-bottom: 4px; }
.svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 28px 26px; border-top: 4px solid var(--navy);
}
.svc h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin-bottom: 8px; }
.svc > p { color: var(--ink-soft); margin-bottom: 16px; }
.svc__label { font: 700 12px/1.2 var(--display) !important; text-transform: uppercase; letter-spacing: .12em; color: var(--navy) !important; margin-bottom: 8px !important; }
.ticks li { position: relative; padding: 5px 0 5px 26px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
@media (max-width: 1000px) {
  .group { grid-template-columns: 1fr; }
  .group__intro { position: static; }
}
@media (max-width: 680px) { .svcs { grid-template-columns: 1fr; } }

/* ------- Pricing ------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.plan__head { padding: 32px 30px 26px; border-bottom: 1px solid var(--line); }
.plan h2, .plan h3 { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 14px; }
.plan__price { margin: 0 0 12px; color: var(--ink-soft); font-size: 16px; }
.plan__price strong { font: 800 40px/1 var(--display); color: var(--ink); letter-spacing: -.02em; margin-right: 2px; }
.plan__price strong .ph { font-size: 30px; }
.plan__for { margin: 0; color: var(--ink-soft); font-size: 15.5px; min-height: 3.2em; }
.incl { padding: 12px 30px 8px; flex: 1; }
.incl li {
  position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--stone); font-size: 15.5px;
}
.incl li:last-child { border-bottom: 0; }
.incl li.yes::before {
  content: ""; position: absolute; left: 3px; top: 17px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.incl li.no { color: #8591a1; }
.incl li.no::before { content: ""; position: absolute; left: 3px; top: 22px; width: 12px; height: 2px; background: #b6c0cc; }
.plan .btn { margin: 18px 30px 30px; }
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lift); }
.plan--featured .plan__head { background: var(--navy); border-bottom-color: var(--navy); }
.plan--featured .plan__head h2, .plan--featured .plan__head h3,
.plan--featured .plan__price strong { color: var(--white); }
.plan--featured .plan__price, .plan--featured .plan__for { color: rgba(255, 255, 255, .82); }
.plan--featured .plan__head .ph { background: rgba(169, 199, 232, .18); border-bottom-color: var(--sky); }
.plan__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; z-index: 1;
  background: var(--accent); color: var(--white); white-space: nowrap;
  font: 700 11.5px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; padding: 8px 12px; border-radius: 2px;
}
.plans__note { text-align: center; margin: 36px auto 0; max-width: 760px; color: var(--ink-soft); font-size: 16px; }
.plans__note strong { color: var(--ink); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 36px; }
  .plan__for { min-height: 0; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: var(--white); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 22px; cursor: pointer; list-style: none;
  font: 700 17px/1.35 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-right: 6px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ------- About ------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__art { margin: 0; box-shadow: var(--shadow-lift); border-radius: var(--radius); overflow: hidden; }
.about__art svg { width: 100%; height: auto; }
.about__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.05; margin-bottom: 22px; }
.about__copy h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 20px; }
.about__copy > p { color: var(--ink-soft); font-size: 17.5px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.creds li { position: relative; padding-left: 28px; font-weight: 500; line-height: 1.45; }
.creds li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 360px; }
  .creds { grid-template-columns: 1fr; }
}

.partner {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px); border-left: 5px solid var(--navy);
}
.partner__badge {
  width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--white); border: 3px solid var(--sky);
  font: 800 22px/1 var(--display); letter-spacing: .02em;
}
.partner h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 12px; }
.partner p { color: var(--ink-soft); }
.partner p:last-child { margin: 0; }
@media (max-width: 560px) { .partner { grid-template-columns: 1fr; } }

.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.approach .card { border-top-color: var(--accent); }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ------- Contact ------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.05; margin-bottom: 20px; }
.contact__info h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 18px; }
.contact__info > p { color: var(--ink-soft); }
.details { margin: 28px 0 0; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 10px 28px; }
.details > div { padding: 16px 0; border-bottom: 1px solid rgba(169, 199, 232, .18); }
.details > div:last-child { border-bottom: 0; }
.details dt { font: 700 12px/1.2 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--sky); margin-bottom: 6px; }
.details dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.details a { color: var(--white); }
.details a:hover { color: var(--sky); }
.details .ph { background: rgba(169, 199, 232, .16); border-bottom-color: var(--sky); }
.details :focus-visible { outline-color: var(--sky); }
.next { margin-top: 28px; }
.next h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--navy); }
.next ol { counter-reset: n; }
.next li { counter-increment: n; position: relative; padding: 6px 0 6px 34px; color: var(--ink-soft); font-size: 16px; }
.next li::before {
  content: counter(n); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; display: grid; place-items: center;
  border: 1.5px solid var(--accent); border-radius: 50%; font: 700 12px/1 var(--display); color: var(--accent-text);
}

.form {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--accent);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 15px; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: #F7F9FB; border: 1.5px solid #C6CFD9; border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9DAAB9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background-color: var(--white); box-shadow: 0 0 0 3px rgba(47, 143, 157, .22);
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__note { margin: 0; font-weight: 500; color: var(--accent-text); }
.form__note:not(:empty) { padding: 10px 14px; background: rgba(47, 143, 157, .1); border-left: 3px solid var(--accent); border-radius: 2px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ------- Footer ------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding: clamp(56px, 7vw, 80px) 0 110px; font-size: 15.5px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 40px; }
.foot h2 {
  font: 800 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin: 8px 0 20px;
}
.foot h2::after { content: ""; display: block; width: 32px; height: 3px; background: var(--accent); margin-top: 12px; }
.brand--foot { margin-bottom: 20px; }
.foot p { max-width: 30em; }
.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot__col ul li { margin-bottom: 10px; }
.foot__col ul a[aria-current="page"] { color: var(--sky); }
.foot__contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px !important; }
.foot__contact li > span:first-child { font: 700 11.5px/1.2 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--sky); }
.foot__contact a { overflow-wrap: anywhere; }
.foot .btn { margin-top: 4px; }
.foot .btn:hover { text-decoration: none; }
.foot__art svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(10, 20, 36, .3); }
.foot__base { margin-top: clamp(40px, 5vw, 56px); }
.foot__base p {
  margin: 0; max-width: none; padding-top: 26px; border-top: 1px solid rgba(169, 199, 232, .2);
  text-align: center; font-size: 14px; color: rgba(255, 255, 255, .7); line-height: 2;
}
@media (max-width: 1000px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 32px; } .foot__art { max-width: 300px; } }

/* ------- Reveal on scroll (subtle) ------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 72px; }
  .pagehead { min-height: 240px; }
}

@media (max-width: 700px) {
  .hero .hero__shade { background: linear-gradient(0deg, rgba(22,40,68,.94) 0%, rgba(22,40,68,.78) 55%, rgba(34,58,94,.5) 100%); }
}
