/* ==========================================================================
   dealo — site styles (index.html, football.html, review.html)
   Palette: Staffordshire cobalt (the blue-and-white pottery) on white,
   with ink for dark bands. Glaze yellow is kept for the £0 offer only.
   Each service has its own panel colour (as on the Northwood site).
   ========================================================================== */
:root {
  --cobalt: #1736C9;
  --cobalt-dk: #0F2591;
  --cobalt-lt: #E6EBFB;
  --ink: #161C24;
  --ink-2: #3A4350;
  --mist: #EEF1F8;
  --white: #FFFFFF;
  --line: #D9DEEA;
  --glaze: #FFD23F;
  --emerald: #08694A;
  --emerald-dk: #054B35;
  --violet: #5B2BC4;
  --violet-dk: #431F93;

  --f-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.2; padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: var(--cobalt-dk); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-glaze { background: var(--glaze); color: var(--ink); }
.btn-glaze:hover { background: #FFE07A; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { width: 132px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--cobalt); }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--r-sm); }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .site-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .site-nav nav.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--mist); }
  .nav-cta-item { padding-top: 14px; }
  .nav-cta-item .btn { width: 100%; padding: 14px; font-size: 16px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); overflow: hidden; background:
  radial-gradient(ellipse 60% 55% at 85% 45%, var(--cobalt-lt) 0%, rgba(230,235,251,0) 70%), var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 74px); color: var(--ink); max-width: 13ch; }
.hero-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero-offer { margin-top: 22px; font-size: 18px; color: var(--ink); max-width: 30em; }
.offer-zero { display: inline-block; font-family: var(--f-display); font-weight: 800; font-size: 1.5em; line-height: 1; background: var(--glaze); padding: 2px 10px 4px; border-radius: 10px; transform: rotate(-3deg); margin-right: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-clients { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 36px; font-size: 14px; color: var(--ink-2); }
.hero-clients img { width: auto; height: 38px; }
.hero-clients a:first-of-type img { height: 30px; }
.hero-clients a, .hero-clients .client-logo { display: inline-flex; }

/* Fanned stack of real client screens */
.hero-stack { position: relative; aspect-ratio: 16 / 12.5; }
.device { position: absolute; margin: 0; background: var(--white); box-shadow: 0 30px 60px -20px rgba(22,28,36,0.35), 0 8px 18px -8px rgba(22,28,36,0.2); overflow: hidden; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser { border-radius: 12px; border: 1px solid rgba(22,28,36,0.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F3F4F7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D7E0; }
.browser-bar span { margin-left: 10px; font-size: 11px; color: #6B7280; background: var(--white); border-radius: 6px; padding: 2px 10px; }
.browser img { height: calc(100% - 30px); }
.stack-back { width: 78%; aspect-ratio: 16 / 10.6; top: 0; right: 0; transform: rotate(3deg); }
.stack-front { width: 84%; aspect-ratio: 16 / 10.6; bottom: 6%; left: 0; transform: rotate(-2deg); }
.phone { width: 25%; aspect-ratio: 9 / 19.5; right: 2%; bottom: 0; border-radius: 26px; border: 6px solid var(--ink); transform: rotate(4deg); }
/* The one orchestrated moment: the screens settle into place on load */
@media (prefers-reduced-motion: no-preference) {
  .stack-back { animation: settle-back 0.9s cubic-bezier(.2,.8,.2,1) both; }
  .stack-front { animation: settle-front 0.9s 0.12s cubic-bezier(.2,.8,.2,1) both; }
  .phone { animation: settle-phone 0.9s 0.24s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle-back { from { opacity: 0; transform: rotate(8deg) translateY(30px); } }
  @keyframes settle-front { from { opacity: 0; transform: rotate(-7deg) translateY(40px); } }
  @keyframes settle-phone { from { opacity: 0; transform: rotate(12deg) translateY(60px); } }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .hero-stack { max-width: 560px; width: 100%; margin: 8px auto 0; }
}

/* ── Home hero: compact swipeable banners (bet365 style) ── */
.hero-cards { padding: clamp(14px, 2.5vw, 32px) 0 clamp(28px, 4vw, 48px); background: var(--white); --rail-pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad); padding: 4px var(--rail-pad) 8px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.hero-rail::-webkit-scrollbar { display: none; }
.hero-rail::after { content: ""; flex: 0 0 1px; }
.hcard { flex: 0 0 min(calc(100vw - 2 * var(--gutter) - 44px), 580px); height: clamp(176px, 22vw, 270px); scroll-snap-align: start; position: relative; overflow: hidden; display: grid; grid-template-columns: 60% 40%; border-radius: 18px; color: var(--white); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.hcard-ink { background: var(--ink); }
.hcard-cobalt { background: var(--cobalt); }
.hcard-emerald { background: var(--emerald); }
.hcard-violet { background: var(--violet); }
.hcard-glaze { background: var(--glaze); color: var(--ink); box-shadow: none; }
.hcard-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 clamp(18px, 2.6vw, 34px); }
.hcard-kicker { font-family: var(--f-display); font-weight: 800; font-size: clamp(12px, 1.1vw, 14px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--glaze); margin-bottom: 6px; }
.hcard-kicker-brand { text-transform: none; letter-spacing: -0.01em; font-size: clamp(15px, 1.4vw, 18px); }
.hcard-glaze .hcard-kicker { color: var(--cobalt); }
.hcard .hcard-title { font-size: clamp(21px, 2.5vw, 33px); line-height: 1.04; letter-spacing: -0.025em; color: inherit; }
.hcard-link { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(13px, 1.1vw, 15px); color: var(--glaze); }
.hcard-glaze .hcard-link { color: var(--cobalt); }
.hcard:hover .hcard-link span { display: inline-block; transform: translateX(3px); transition: transform 0.2s; }

.hcard-media { position: relative; }
.hshot { position: absolute; margin: 0; left: 8%; top: 20%; width: 210%; aspect-ratio: 16 / 10.6; background: var(--white); border-radius: 10px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,0.55); }
.hshot .browser-bar { height: 20px; padding: 0 8px; gap: 4px; }
.hshot .browser-bar i { width: 6px; height: 6px; }
.hshot .browser-bar span { font-size: 9px; padding: 1px 6px; margin-left: 6px; }
.hshot img { display: block; width: 100%; height: calc(100% - 20px); object-fit: cover; object-position: top center; }
.hphone { position: absolute; margin: 0; left: 46%; top: 30%; width: 34%; aspect-ratio: 9 / 19.5; border-radius: 14px; border: 4px solid #000; overflow: hidden; background: var(--white); transform: rotate(6deg); box-shadow: 0 16px 30px -10px rgba(0,0,0,0.6); }
.hphone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hsticker { position: absolute; top: 50%; left: 50%; transform: translate(-54%, -50%) rotate(-6deg); display: flex; flex-direction: column; align-items: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5vw, 66px); line-height: 0.95; letter-spacing: -0.04em; white-space: nowrap; background: var(--white); color: var(--violet); padding: 10px 16px 12px; border-radius: 16px; box-shadow: 0 18px 36px -14px rgba(0,0,0,0.5); }
.hsticker small { font-size: clamp(11px, 1vw, 14px); letter-spacing: 0; margin-top: 4px; color: var(--ink); }
.hcard-glaze .hsticker { background: var(--cobalt); color: var(--white); }
.hcard-glaze .hsticker small { color: var(--glaze); }

.hero-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.hero-dots { display: flex; gap: 7px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width 0.25s, background 0.25s; }
.hero-dot[aria-selected="true"] { width: 22px; background: var(--cobalt); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-size: 17px; cursor: pointer; transition: background 0.2s, color 0.2s, opacity 0.2s; }
.hero-arrow:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.hero-arrow:disabled { opacity: 0.3; cursor: default; }
.hero-cards .hero-clients { margin-top: 22px; }
@media (max-width: 760px) {
  .hero-arrows { display: none; }
  .hphone { left: 40%; top: 34%; width: 44%; }
}
@media (prefers-reduced-motion: reduce) { .hero-dot, .hcard:hover .hcard-link span { transition: none; } }

/* ── Section heads ───────────────────────────────────────── */
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }

/* ── Service panels (Northwood "work with us" style) ─────── */
.services { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.panel { border-radius: var(--r-lg); overflow: hidden; color: var(--white); display: flex; flex-direction: column; }
.panel-cobalt { background: var(--cobalt); }
.panel-emerald { background: var(--emerald); }
.panel-violet { background: var(--violet); }
.panel-copy { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1; }
.panel-copy h3 { font-size: clamp(28px, 3vw, 40px); max-width: 18ch; }
.panel-copy p { font-size: 17px; color: rgba(255,255,255,0.9); max-width: 36em; }
.panel-copy .btn { margin-top: auto; }
.panel-proof { border-left: 3px solid rgba(255,255,255,0.55); padding-left: 14px; font-size: 15px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); }

.panel-wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.panel-wide .panel-copy { justify-content: center; }
.panel-wide .panel-copy .btn { margin-top: 10px; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; gap: 10px; padding: clamp(18px, 2.4vw, 28px); padding-left: 0; }
.collage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.45); }
.collage-main { grid-column: 1 / -1; aspect-ratio: 16 / 9 !important; }

.panel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.panel-pair .panel-media { padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px) 0; }
.panel-pair .panel-media > img { border-radius: 10px 10px 0 0; aspect-ratio: 16 / 9.6; object-fit: cover; object-position: top left; box-shadow: 0 -2px 30px -12px rgba(0,0,0,0.45); }

/* AI review illustration: a findings card instead of a screenshot */
.ai-report { display: flex; align-items: flex-end; }
.ai-report-card { width: 100%; background: var(--white); color: var(--ink); border-radius: 12px 12px 0 0; padding: 20px 22px 22px; box-shadow: 0 -2px 30px -12px rgba(0,0,0,0.45); }
.ai-report-title { font-weight: 700; font-size: 15px; color: var(--violet-dk); margin-bottom: 8px; }
.ai-report-card li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mist); font-size: 15px; }
.ai-report-card li b { white-space: nowrap; color: var(--violet-dk); }
.ai-report-total { margin-top: 12px; font-size: 15px; display: flex; justify-content: space-between; }
.ai-report-total b { font-family: var(--f-display); font-size: 22px; line-height: 1; background: #EDE6FB; color: var(--violet-dk); padding: 4px 10px; border-radius: 8px; }

@media (max-width: 960px) {
  .panel-wide { grid-template-columns: 1fr; }
  .collage { padding: 0 clamp(18px, 4vw, 28px) clamp(18px, 4vw, 28px); }
  .panel-pair { grid-template-columns: 1fr; }

  /* Stacked cards on phones/tablets: each card pins once you've scrolled
     to its bottom, the next slides over it, and after the third the page
     carries on. site.js adds .is-stacked and sets each card's --stack-top. */
  .services.is-stacked .panel-pair { display: contents; }
  .services.is-stacked .panel { position: sticky; top: var(--stack-top, 85px); transform-origin: 50% 0; }
  .services.is-stacked #systems, .services.is-stacked #ai { margin-top: 20px; }
  .services.is-stacked .panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0B0F19; opacity: var(--stack-dim, 0); pointer-events: none; }
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 120px) 0; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pricing h2 { font-size: clamp(42px, 5.6vw, 76px); max-width: 12ch; }
.price-zero { display: inline-block; color: var(--ink); background: var(--glaze); padding: 0 0.16em 0.04em; border-radius: 0.14em; transform: rotate(-3deg); margin-right: 0.08em; }
.pricing-then { margin-top: 24px; font-size: clamp(19px, 1.8vw, 22px); max-width: 26em; }
.pricing-then strong { color: var(--glaze); }
.pricing-small { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.72); max-width: 34em; }
.pricing-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); }
.pricing-card h3 { font-size: 26px; margin-bottom: 16px; }
.ticks li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--mist); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pricing-card .btn { width: 100%; margin-top: 22px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { padding: clamp(64px, 9vw, 120px) 0; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { background: var(--mist); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 15px; color: var(--ink-2); }
.quote figcaption img { width: auto; height: 40px; }
.quote figcaption b { display: block; color: var(--ink); }

/* ── Steps ───────────────────────────────────────────────── */
.steps { padding: clamp(64px, 9vw, 120px) 0; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step-list li { counter-increment: step; border-top: 3px solid var(--cobalt); padding-top: 18px; }
.step-list li::before { content: counter(step); display: block; font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--cobalt); margin-bottom: 12px; }
.step-list h3 { font-size: 26px; margin-bottom: 8px; }
.step-list p { color: var(--ink-2); }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }

/* ── About ───────────────────────────────────────────────── */
.about { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 18px; }
.about p { color: var(--ink-2); max-width: 36em; }
.about p + p { margin-top: 14px; }
.about-facts { display: grid; gap: 14px; }
.about-facts > div { background: var(--white); border-radius: var(--r-md); padding: 18px 22px; border-left: 5px solid var(--cobalt); }
.about-facts dt { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.about-facts dd { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ── Calculator ──────────────────────────────────────────── */
.calc { padding: clamp(64px, 9vw, 120px) 0; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.calc-form { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.calc-field { border: 0; width: 100%; }
.calc-field legend, .calc-field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.calc-field input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); }
.calc-field input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(23,54,201,0.2); }
.calc-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.calc-toggle-btn { font: inherit; font-weight: 600; font-size: 15px; padding: 8px 22px; border-radius: 999px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.calc-toggle-btn.is-active { background: var(--ink); color: var(--white); }
.calc-result { background: var(--cobalt); color: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.calc-placeholder { font-size: 18px; }
.calc-placeholder.is-hidden { display: none; }
.calc-output { display: none; }
.calc-output.is-visible { display: block; }
.calc-total-label { font-weight: 600; color: rgba(255,255,255,0.85); }
.calc-total { font-family: var(--f-display); font-weight: 800; font-size: clamp(52px, 6vw, 80px); line-height: 1; margin: 6px 0 18px; }
.calc-rows > div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.22); }
.calc-rows dd { font-weight: 700; }
.calc-note { display: none; margin-top: 14px; font-size: 15px; background: rgba(255,255,255,0.12); padding: 10px 14px; border-radius: var(--r-sm); }
.calc-note.is-visible { display: block; }
.calc-disclaimer { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.78); }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }

/* ── Contact ─────────────────────────────────────────────── */
.contact { background: var(--cobalt); color: var(--white); padding: clamp(56px, 8vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 14px; }
.contact p { font-size: 18px; color: rgba(255,255,255,0.9); max-width: 30em; }
.contact-actions { display: grid; gap: 12px; }
.contact-link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; background: var(--white); color: var(--ink); text-decoration: none; border-radius: var(--r-md); padding: 18px 22px; font-weight: 700; font-size: 18px; transition: transform 0.2s; overflow-wrap: anywhere; }
.contact-link span { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--cobalt); }
.contact-link:hover { transform: translateX(4px); }
.contact-link:focus-visible { outline-color: var(--glaze); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .contact-link:hover { transform: none; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { background: var(--white); border-radius: 10px; padding: 8px 12px; width: 150px; margin-bottom: 14px; }
.footer-head { font-family: var(--f-display); font-size: 18px; color: var(--white); margin-bottom: 10px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--glaze); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
