/* Self-hosted webfonts (Inter + Space Grotesk variable, latin subset) — no Google Fonts, no cookies */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Next Accountancy — Revolut-inspired design system
 * Brand colors kept (teal + gold).
 * Layout, typography, components follow Revolut's DESIGN.md:
 *   - Aeonik-style geometric grotesque (Space Grotesk) at weight 500
 *   - Aggressive negative tracking on display, positive tracking on body
 *   - Universal pill buttons (9999px) with generous padding
 *   - Flat aesthetic — zero shadows
 *   - Dark + white section alternation
 *   - 12-20px card radii, generous whitespace
 */

:root {
  /* Brand */
  --teal: #134D4E;
  --teal-700: #0e3a3b;
  --teal-600: #134D4E;
  --teal-500: #1f6f70;
  --teal-300: #4d9091;
  --teal-100: #d6e6e6;
  --teal-050: #eef4f4;
  --gold: #ffc444;
  --gold-soft: #ffd659;
  --gold-pale: #fff4c5;

  /* Revolut neutrals — near-black + white binary */
  --dark: #0e3a3b;          /* Brand-tinted "near-black" (teal-700) */
  --ink: #191c1f;           /* Pure Revolut dark for body text */
  --label: #505a63;         /* Mid slate */
  --body: #505a63;
  --muted: #8d969e;          /* Cool gray */
  --line: #e8eaed;
  --line-strong: #c9c9cd;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;        /* Revolut's signature light surface */
  --bg-deep: var(--teal-700);

  /* Radius — Revolut's pill-everything system */
  --r-card-sm: 12px;
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-pill: 9999px;
  --radius: var(--r-card);

  /* Layout */
  --max: 1200px;

  /* Type */
  --font-display: 'Space Grotesk', 'Aeonik Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;

  /* Backwards-compat aliases used by inline HTML styles */
  --navy: var(--teal);
  --blue: var(--teal-500);
  --accent: var(--gold);
  --accent-soft: var(--gold-pale);
  --heading: var(--ink);

  /* Shadow placeholders (kept for backwards-compat — Revolut uses none) */
  --shadow-ambient: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-deep: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.50;
  letter-spacing: 0.012em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "calt", "ss01";
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity .15s ease;
}
a:hover { opacity: 0.7; text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 .5em;
  font-feature-settings: "calt";
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);  /* 40px → 80px (Revolut hero) */
  line-height: 1.00;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);    /* 32px → 48px */
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.5rem;                     /* 24px */
  line-height: 1.20;
  letter-spacing: -0.018em;
  font-weight: 500;
}
h4 {
  font-size: 1.125rem;                   /* 18px */
  line-height: 1.33;
  font-weight: 500;
  letter-spacing: -0.005em;
}
p {
  color: var(--body);
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.50;
  letter-spacing: 0.012em;
}
strong { font-weight: 600; color: var(--ink); }

.lead {
  font-size: 1.125rem;     /* 18px Body Large */
  line-height: 1.56;
  letter-spacing: -0.005em;
  color: var(--body);
  font-weight: 400;
}

.tabular { font-feature-settings: "tnum", "calt"; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: 1; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;            /* 16px (Revolut nav size) */
  padding: 8px 0;
  text-decoration: none;
  position: relative;
}
.nav-links a:hover { opacity: 0.7; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---- Universal pill button (Revolut signature) ---- */
.btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.0;
  letter-spacing: 0;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s ease, background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover, .nav-cta:hover { text-decoration: none; opacity: 0.85; }
.btn:active, .nav-cta:active { transform: scale(0.98); }

/* Primary — dark teal pill (Revolut "Primary Dark") */
.btn-primary, .nav-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover, .nav-cta:hover {
  background: var(--ink);
  color: #fff;
  opacity: 0.85;
}

/* Accent — gold pill */
.btn-accent {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-accent:hover {
  color: var(--ink);
  background: var(--gold);
  opacity: 0.85;
}

/* Outlined — transparent with 2px border */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}

/* Ghost on dark surfaces */
.btn-ghost.dark,
.btn-ghost-light,
.section-dark .btn-ghost,
.cta-strip .btn-ghost,
.page-header .btn-ghost,
.hero-on-dark .btn-ghost {
  background: rgba(244,244,244,0.10);
  color: #f4f4f4;
  border-color: #f4f4f4;
}
.btn-ghost.dark:hover,
.btn-ghost-light:hover,
.section-dark .btn-ghost:hover,
.cta-strip .btn-ghost:hover,
.page-header .btn-ghost:hover {
  background: #f4f4f4;
  color: var(--ink);
  opacity: 1;
}

.btn-sm { padding: 10px 20px; font-size: 0.9375rem; }

/* The .nav-cta phone CTA in header is a primary pill */
.nav-cta::before { content: none; }

.nav-toggle {
  display: none;
  background: none; border: 0;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---- Eyebrow / pill ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;        /* 13px */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-050);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.pill--gold {
  color: var(--ink);
  background: var(--gold);
}

/* ---- Hero (white canvas, billboard headlines) ---- */
.hero {
  position: relative;
  background: #ffffff;
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero::before {
  /* Subtle decorative tile in upper right (Revolut-style minimalism) */
  content: '';
  position: absolute;
  right: -160px; top: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(255,196,68,0.18), transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: -200px; bottom: -200px;
  width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgba(19,77,78,0.10), transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--ink);
  margin-bottom: 24px;
}
.hero .lead {
  color: var(--body);
  max-width: 540px;
  margin-bottom: 36px;
  font-size: 1.25rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card-lg);
  padding: 32px;
  position: relative;
  z-index: 2;
}
.hero-card h3 { color: var(--ink); margin-bottom: 4px; }
.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hero-stat:last-child { border-bottom: 0; }
.hero-stat .num {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  font-feature-settings: "tnum", "calt";
}
.hero-stat .lbl { color: var(--body); font-size: 0.9375rem; }

/* ---- Sections ---- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  right: -160px; top: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(255,196,68,0.15), transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark .lead { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { color: var(--gold); }

.section-title {
  text-align: center;
  margin-bottom: 64px;
}
.section-title .eyebrow { margin-bottom: 16px; }
.section-title h2 {
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-title p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--body);
}

/* ---- Cards / Grids ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.card .icon {
  width: 48px; height: 48px;
  border-radius: var(--r-card-sm);
  display: grid; place-items: center;
  background: var(--teal-050);
  color: var(--teal);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.card .icon.gold { background: var(--gold); color: var(--ink); }
.card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  letter-spacing: -0.018em;
}
.card p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.card a.more {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.9375rem;
}
.card a.more:hover { opacity: 0.7; }
.card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.card.featured h3, .card.featured p { color: #fff; }
.card.featured .icon { background: var(--gold); color: var(--ink); }
.card.featured a.more { color: var(--gold); }
.card.featured p { color: rgba(255,255,255,0.78); }
.card.featured strong { color: #fff; }

/* ---- Feature list ---- */
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.feature .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature.gold .check { background: var(--gold); color: var(--ink); }
.feature > div { font-size: 1rem; color: var(--body); line-height: 1.55; }
.feature strong { color: var(--ink); font-weight: 600; }

/* ---- CTA strip ---- */
.cta-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-card-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(255,196,68,0.20), transparent 75%);
  border-radius: 50%;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: 10px; letter-spacing: -0.025em; }
.cta-strip p { color: rgba(255,255,255,0.80); margin: 0; max-width: 580px; font-size: 1.0625rem; }

/* ---- Testimonials ---- */
.testimonial {
  background: #fff;
  padding: 32px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}
.testimonial blockquote {
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.testimonial .who {
  display: flex; align-items: center; gap: 14px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.who .name { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.who .role { font-size: 0.875rem; color: var(--body); }

/* ---- Forms ---- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card-lg);
  padding: 36px;
}
.field { margin-bottom: 18px; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0;
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-card-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease;
  font-feature-settings: "calt";
  letter-spacing: 0.012em;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(19,28,31,0.10);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Page header ---- */
.page-header {
  background: var(--ink);
  color: #fff;
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  right: -160px; bottom: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(255,196,68,0.16), transparent 75%);
  border-radius: 50%;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--gold); margin-bottom: 16px; }
.page-header h1 { color: #fff; margin-bottom: 18px; }
.page-header p {
  color: rgba(255,255,255,0.80);
  max-width: 640px;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.70);
  padding: 80px 0 32px;
  margin-top: 96px;
}
.site-footer .brand { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(255,255,255,0.70);
  font-size: 0.9375rem;
}
.footer-grid a:hover { color: #fff; opacity: 1; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 12px;
}

/* ---- Service detail block ---- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block.reverse { grid-template-columns: 1.1fr 1fr; }
.service-block.reverse .service-visual { order: 2; }
.service-block .eyebrow { margin-bottom: 14px; display: inline-block; }
.service-block h2 { letter-spacing: -0.025em; }
.service-visual {
  background: var(--bg-soft);
  border-radius: var(--r-card-lg);
  border: 1px solid var(--line);
  padding: 40px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.service-visual .badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 6px;
  align-self: flex-start;
}
.service-visual h3 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  letter-spacing: -0.022em;
}
.service-visual p {
  margin: 0 0 14px;
  font-size: 1rem;
}

/* ---- Contact info block ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 24px;
  text-align: center;
}
.info-card .icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}
.info-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.info-card p { margin: 0; font-size: 0.9375rem; }
.info-card a { color: var(--ink); font-weight: 600; }
.info-card a:hover { opacity: 0.7; }

/* ---- FAQ accordion ---- */
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  margin-bottom: 8px;
  transition: border-color .15s ease;
}
.faq[open] { border-color: var(--ink); }
.faq summary {
  padding: 18px 56px 18px 22px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.012em;
  user-select: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---- Pricing emphasis ---- */
.price {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-feature-settings: "tnum", "calt";
  letter-spacing: -0.025em;
}

/* ---- Quick-quote widget (above footer on every page) ---- */
.quick-quote {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}
.quick-quote .container { max-width: 1080px; }
.quick-quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.quick-quote h3 {
  color: #fff;
  font-size: 1.625rem;
  margin: 0 0 8px;
  letter-spacing: -0.022em;
}
.quick-quote p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
}
.quick-quote-form {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.quick-quote-form input,
.quick-quote-form select {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  letter-spacing: 0.012em;
}
.quick-quote-form input::placeholder { color: rgba(255,255,255,0.55); }
.quick-quote-form input:focus,
.quick-quote-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 2px rgba(255,196,68,0.18);
}
.quick-quote-form select option { background: var(--ink); color: #fff; }
.quick-quote-form button {
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.quick-quote-form button:hover { opacity: 0.85; }
@media (max-width: 880px) {
  .quick-quote-inner { grid-template-columns: 1fr; gap: 24px; }
  .quick-quote-form { grid-template-columns: 1fr 1fr; }
  .quick-quote-form button { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .quick-quote-form { grid-template-columns: 1fr; }
}

/* ---- Skip-to-content link (a11y) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-card-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  z-index: 9999;
  transition: top .18s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  text-decoration: none;
  color: #fff;
}

/* ---- Whole-card clickable (cards with a .more anchor) ---- */
.card { position: relative; }
.card .more::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer;
}
/* Keep nested links/buttons interactive above the overlay */
.card a:not(.more), .card button { position: relative; z-index: 2; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid, .grid-3, .grid-2, .form-row, .footer-grid, .info-grid,
  .service-block, .service-block.reverse {
    grid-template-columns: 1fr;
  }
  .service-block.reverse .service-visual { order: 0; }
  .footer-grid { gap: 32px; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .page-header { padding: 80px 0 64px; }
  .service-block { gap: 40px; padding: 56px 0; }
}

@media (max-width: 720px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    /* hidden state */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
    box-shadow: 0 12px 24px rgba(11,37,69,0.08);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: none; }
}
