/* ============================================================
   Accrion Accountants — site stylesheet (v2)
   Light, minimal, photo-driven style in the manner of
   fergusonandco.co.uk — Poppins, white space, navy + gold brand
   ============================================================ */

:root {
  --navy: #16305e;
  --navy-deep: #0f2347;
  --navy-soft: #24437c;
  --gold: #c39a3b;
  --gold-light: #e0c076;
  --pale: #eef3fa;
  --pale-border: #cfdff2;
  --ink: #1b2740;
  --muted: #63708a;
  --line: #e6eaf2;
  --bg: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(15, 35, 71, 0.08);
  --shadow-lg: 0 18px 44px rgba(15, 35, 71, 0.12);
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-body); color: var(--ink); line-height: 1.3; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.section { padding: 4.5rem 0; }
section[id] { scroll-margin-top: 105px; }
.section.soft { background: #fbfcfe; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; margin-bottom: 0.7rem; }
.section-head p { color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar {
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--navy); font-weight: 700; }
.topbar a:hover { color: var(--navy); }
.topbar-items { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar svg { width: 13px; height: 13px; fill: var(--navy); flex: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 72px; width: auto; }
.brand img.brand-word { height: 46px; }
@media (max-width: 1180px) { .brand img.brand-word { display: none; } }
.brand-text { line-height: 1.2; }
.brand-text .brand-name {
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  font-weight: 700;
}
.brand-text .brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > ul { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav a.nav-link {
  font-weight: 400;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 0.5rem 0;
  position: relative;
}
.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width 0.25s ease;
}
.nav a.nav-link:hover::after, .nav li.active > a.nav-link::after { width: 100%; }
.nav li.active > a.nav-link { color: var(--navy); font-weight: 500; }

/* dropdown */
.has-drop { position: relative; }
.has-drop > a.nav-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.has-drop .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  min-width: 280px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 0.55rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.dropdown a:hover { background: var(--pale); color: var(--navy); }
.dropdown a span { display: block; font-size: 0.77rem; color: var(--muted); font-weight: 400; }

/* buttons — rectangular, Ferguson-style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}
.btn-gold { background: var(--navy); color: #fff; }
.btn-gold:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold::before { content: "→"; font-weight: 400; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* header CTA — outlined pill like "Get A Call" */
.nav > .btn, .nav > .btn-gold {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 0.62rem 1.6rem;
}
.nav > .btn:hover { background: var(--gold); color: #fff; transform: none; box-shadow: none; }
.nav > .btn-gold::before { content: none; }

/* burger */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 25px; height: 2.4px; background: var(--navy); margin: 5.5px 0; border-radius: 3px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (light, full-bleed photo right) ---------- */
.hero { background: #fff; position: relative; overflow: hidden; }
.hero-inner { padding: 4.6rem 0 5rem; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 3.5rem; align-items: center; }
.hero-inner > div:first-child { position: relative; z-index: 2; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 600; line-height: 1.22; margin-bottom: 1.2rem; }
.hero h1 .gold { color: var(--navy); }
.hero p.lead { color: var(--muted); font-size: 1rem; max-width: 520px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: #25d366; color: #1da851; }
.hero-cta .btn-outline:hover { background: #25d366; border-color: #25d366; color: #fff; }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.hero-badges .badge b { display: block; font-size: 1.2rem; color: var(--navy); font-weight: 700; }
.hero-badges .badge small { color: var(--muted); font-size: 0.76rem; line-height: 1.4; display: block; }

/* photo bleeds to the page edge and fills the hero — no card, no shadow */
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: clamp(420px, 48%, 860px);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}
.hero-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 42% center; }
/* clean edge — no wash, no blur */

/* page hero (inner pages) — light and simple */
.page-hero {
  background: linear-gradient(180deg, #f7fafd, #ffffff);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 3.2rem 0;
  text-align: left;
}
.page-hero h1 { color: var(--ink); font-size: clamp(1.8rem, 3.8vw, 2.5rem); font-weight: 600; margin-bottom: 0.5rem; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.crumbs { margin-top: 1rem; font-size: 0.83rem; color: var(--muted); }
.crumbs a { color: var(--navy); }

/* ---------- Credentials / trust bar ---------- */
.trust-bar { background: var(--navy-deep); padding: 1.6rem 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.85rem; }
.trust-item .t-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(224, 192, 118, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.trust-item .t-icon svg { width: 22px; height: 22px; fill: var(--gold-light); }
.trust-item b { display: block; color: #fff; font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.trust-item span { display: block; color: #9fb0cf; font-size: 0.8rem; }
@media (max-width: 900px) { .trust-items { gap: 1.6rem; } .trust-item { width: 100%; max-width: 300px; } }

/* ---------- Software logo strip ---------- */
.logo-strip-section { border-bottom: 1px solid var(--line); padding: 2.4rem 0 2.6rem; background: #fff; }
.logo-strip-section .eyebrow { display: block; text-align: center; margin-bottom: 1.4rem; }
.logo-strip { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.logo-strip svg { height: 42px; width: auto; display: block; }
@media (max-width: 760px) { .logo-strip { gap: 2rem; } .logo-strip svg { height: 32px; } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card .icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.card .icon svg { width: 30px; height: 30px; fill: var(--navy); }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.9rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-weight: 500; font-size: 0.88rem; color: var(--navy); }
.card .card-link:hover { color: var(--gold); }

/* highlighted invite card (replaces old dark card) */
.card-cta { background: var(--pale); border-color: var(--pale-border); }
.card-cta h3 { color: var(--ink); }
.card-cta p { color: var(--muted); }

/* checklist */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 2rem; list-style: none; }
.check-grid li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); font-size: 0.93rem; }
.check-grid .tick, .stack-list .tick {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: var(--pale);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 4px;
}
.check-grid .tick svg, .stack-list .tick svg { width: 11px; height: 11px; fill: var(--navy); }

.stack-list { list-style: none; display: grid; gap: 0.8rem; }
.stack-list li { display: flex; gap: 0.7rem; align-items: flex-start; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 600; margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }

.split-photo { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

.figure-panel {
  background: var(--pale);
  border: 1px solid var(--pale-border);
  border-radius: var(--radius);
  padding: 2.3rem;
  color: var(--ink);
}
.figure-panel h3 { color: var(--navy); font-size: 1.15rem; font-weight: 600; margin-bottom: 1.2rem; }
.figure-panel .stat-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--pale-border); font-size: 0.92rem; color: var(--muted); }
.figure-panel .stat-row:last-child { border-bottom: 0; }
.figure-panel .stat-row b { color: var(--navy); font-weight: 600; text-align: right; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem 1.7rem; border: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pale-border);
  position: absolute;
  top: 0.8rem; right: 1.1rem;
  line-height: 1;
}
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.45rem; }
.step p { color: var(--muted); font-size: 0.87rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--pale);
  border: 1px solid var(--pale-border);
  border-radius: 14px;
  color: var(--ink);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 600; margin-bottom: 0.4rem; }
.cta-band p { color: var(--muted); max-width: 520px; }
.cta-band .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-outline { background: transparent; }

/* ---------- Value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-item { text-align: center; padding: 1.5rem 1.2rem; }
.value-item .icon {
  width: 70px; height: 70px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--pale);
  display: flex; align-items: center; justify-content: center;
}
.value-item .icon svg { width: 30px; height: 30px; fill: var(--navy); }
.value-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.value-item p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Service detail layout ---------- */
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.service-body h2 { font-size: 1.45rem; font-weight: 600; margin: 2.1rem 0 0.8rem; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { color: var(--muted); margin-bottom: 1rem; }

.side-card {
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  position: sticky;
  top: 100px;
}
.side-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.9rem; }
.side-card ul { list-style: none; }
.side-card li { border-bottom: 1px solid var(--line); }
.side-card li:last-child { border-bottom: 0; }
.side-card a { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0.2rem; font-size: 0.9rem; font-weight: 400; color: var(--ink); }
.side-card a:hover { color: var(--navy); }
.side-card li.current a { color: var(--navy); font-weight: 600; }
.side-cta {
  margin-top: 1.4rem;
  background: var(--pale);
  border: 1px solid var(--pale-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--ink);
  text-align: center;
}
.side-cta h4 { color: var(--ink); font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.side-cta p { color: var(--muted); font-size: 0.84rem; margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: flex-start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; }
.contact-card h3 { margin-bottom: 1.3rem; font-size: 1.25rem; font-weight: 600; }
.contact-rows { display: grid; gap: 1.2rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--pale); display: flex; align-items: center; justify-content: center; }
.contact-row .icon svg { width: 20px; height: 20px; fill: var(--navy); }
.contact-row b { display: block; color: var(--ink); font-size: 0.93rem; font-weight: 600; }
.contact-row span, .contact-row a { color: var(--muted); font-size: 0.89rem; }
.contact-row a:hover { color: var(--navy); }

form.contact-form { display: grid; gap: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field label { display: block; font-size: 0.83rem; font-weight: 500; color: var(--ink); margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 48, 94, 0.10);
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 3rem; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 0.85rem; overflow: hidden; }
.faq details[open] { background: var(--pale); border-color: var(--pale-border); }
.faq summary {
  cursor: pointer;
  padding: 1.05rem 1.4rem;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; font-weight: 300; color: var(--navy); transition: transform 0.25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b7c2d9; margin-top: 4rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.6rem 0 2.8rem; }
.footer-top h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.05em; margin-bottom: 1.1rem; font-weight: 600; text-transform: uppercase; }
.footer-top h4::after { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: 0.5rem; }
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 0.5rem; }
.footer-top a { color: #b7c2d9; font-size: 0.89rem; }
.footer-top a:hover { color: var(--gold-light); }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; letter-spacing: 0.12em; font-weight: 700; }
.footer-brand .brand-sub { font-size: 0.58rem; letter-spacing: 0.4em; color: var(--gold-light); text-transform: uppercase; font-weight: 500; }
.footer-brand p { font-size: 0.87rem; margin-top: 1rem; max-width: 300px; }
.footer-creds { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.5rem; }
.footer-creds li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.83rem; font-weight: 600; color: #fff; margin: 0;
}
.footer-creds li::before {
  content: "✓";
  flex: none;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.89rem; }
.footer-contact svg { width: 14px; height: 14px; fill: var(--gold-light); flex: none; margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; font-size: 0.8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25d366;
  color: #fff;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 23px; height: 23px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0 0; }
  .hero-photo {
    position: relative;
    width: auto;
    margin: 2.4rem calc(-4.35vw) 0;   /* bleed past the container to both edges */
    height: 320px;
  }
  .hero-badges { gap: 1rem; }
  .grid-3, .steps, .value-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .service-layout, .contact-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4, .steps, .value-strip, .check-grid, .form-row { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 95;
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; text-align: center; gap: 1.2rem; }
  .nav a.nav-link { color: var(--ink); font-size: 1.1rem; }
  .nav .btn { margin-top: 1rem; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0.4rem 0 0;
  }
  .dropdown a { color: var(--muted); padding: 0.3rem; font-size: 0.88rem; }
  .dropdown a span { display: none; }
  .dropdown a:hover { background: transparent; color: var(--navy); }
  .burger { z-index: 99; }
  .brand img { height: 52px; }
  .brand img.brand-word { height: 30px; }
  .topbar .container { justify-content: center; }
  .topbar-items { gap: 1rem; justify-content: center; }
  .cta-band { padding: 2rem; }
  .section { padding: 3.2rem 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.95rem; }
}
