/*
Theme Name: autorozendaalc
Theme URI: https://autobedrijf-rozendaal.nl
Author: BlueCT Site Factory
Description: Maatwerk classic theme voor Autobedrijf Rozendaal, full-service autobedrijf sinds 1964 in Groot-Ammers. Content via SCF, layout in PHP.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: autorozendaalc
*/

/* Concept: "Engineered trust" — een strak, zelfverzekerd familiebedrijf-gevoel.
   Merkblauw en navy dragen de betrouwbaarheid, oranje is de energieke proefrit/CTA-kleur,
   cream secties geven rust. Sora (display, engineered) tegenover Inter Tight (body, warm-technisch).
   Signature details: oversized index-cijfers op de stappen ("01") en een korte oranje accentmarker
   voor de koppen. Hairline navy rules scheiden de banden. */

/* ---------- Tokens ---------- */
:root {
  /* Brand colours (bestaande merkkleuren, niet vervangen) */
  --blue: #0878C2;
  --blue-dark: #065FA0;
  --blue-tint: #DCEDF8;
  --orange: #E8832A;
  --orange-dark: #C96B18;
  --orange-cream: #FEF3E8;
  --navy: #0D1F3C;
  --navy-2: #162B50;
  --paper: #FAF9F7;
  --green: #1F6B35;

  --ink: #0D1F3C;
  --ink-soft: #3a4a63;
  --white: #ffffff;
  --line: #e2e6ec;
  --line-dark: rgba(255,255,255,.14);

  /* Accessible small-accent text (darkened orange, clears 4.5:1 on paper/white) */
  --accent-text: #9A4D10;
  /* Accent for large headings / fills / borders / icons (only needs 3:1) */
  --accent: #E8832A;

  /* Button tokens */
  --btn-fill: #E8832A;           /* orange CTA */
  --btn-label: #0D1F3C;          /* dark navy label on orange -> ~6:1 */
  --btn-fill-hover: #E28034;
  --btn-blue-fill: #065FA0;      /* secondary solid blue */
  --btn-blue-label: #ffffff;     /* white on blue-dark -> ~6.5:1 */

  /* Surfaces */
  --surface: #DCEDF8;            /* tinted band */
  --surface-cream: #FAF9F7;

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.86rem, .82rem + .2vw, .95rem);
  --step-0: clamp(1.0625rem, 1rem + .25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + .8vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.55rem + 1.3vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.8rem + 2.2vw, 3.25rem);
  --step-5: clamp(2.6rem, 2rem + 3vw, 4.25rem);

  /* Spacing */
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1280px;
  --measure: 760px;
  --shadow: 0 18px 45px -22px rgba(13,31,60,.35);
  --shadow-soft: 0 10px 30px -18px rgba(13,31,60,.28);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img,svg,video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--orange); color: var(--navy); }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: var(--step-5); line-height: 1.05; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
ul,ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--tint { background: var(--surface); }
.section--cream { background: var(--paper); }
.section--dark { background: var(--navy); color: #eaf1f8; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--dark a { color: #cfe2f4; }

/* Prose measure — ONLY long-form bodies (post/keyword/service long copy) */
.prose--longform { max-width: var(--measure); margin-inline: auto; text-align: left; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose ul li { margin-bottom: .4em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange);
}
.section--dark .eyebrow { color: #ffb877; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead { color: #cfdcec; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--btn-fill); color: var(--btn-label); }
.btn--primary:hover { background: var(--btn-fill-hover); color: var(--btn-label); }
.btn--secondary { background: var(--btn-blue-fill); color: var(--btn-blue-label); }
.btn--secondary:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--ghost:hover { background: var(--blue-dark); color: #fff; }
/* Ghost on dark bands — reassert light label so it never renders blue-on-navy */
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta-band .btn--ghost,
.price-box .btn--ghost,
.card--dark .btn--ghost { color: #eaf1f8; border-color: rgba(255,255,255,.6); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.price-box .btn--ghost:hover,
.card--dark .btn--ghost:hover { background: #fff; color: var(--navy); }
/* Re-assert filled-button labels inside dark containers (specificity guard) */
.cta-band .btn--primary,
.price-box .btn--primary,
.card--dark .btn--primary { color: var(--btn-label); }
.btn svg { width: 20px; height: 20px; }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.cta-note { font-size: var(--step--1); color: var(--ink-soft); }
.section--dark .cta-note { color: #cfdcec; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--navy); }
.brand-tag { font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-menu { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--blue-dark); }
.nav-menu .sub-menu { display: none; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--navy); color: #fff; border: none; border-radius: 12px; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 5.5rem 1.5rem 2rem;
    box-shadow: -20px 0 60px -30px rgba(13,31,60,.5);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  /* Scope link padding to menu links only — never the .btn CTA */
  .primary-nav .nav-menu a { display: block; padding: .95rem .25rem; }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: 1.25rem; gap: .75rem; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #eaf1f8; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,31,60,.72) 0%, rgba(13,31,60,.82) 55%, rgba(13,31,60,.92) 100%),
              linear-gradient(90deg, rgba(13,31,60,.85) 0%, rgba(13,31,60,.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 12vw, 8rem); min-height: 70vh; display: flex; align-items: center; }
.hero__col { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .lead { color: #d7e3f2; }
.hero__eyebrow { color: #ffb877; }
.hero__area {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .45rem .9rem; border-radius: var(--radius-pill);
  font-size: var(--step--1); margin-bottom: 1.25rem; color: #eaf1f8;
}
.hero__area svg { width: 16px; height: 16px; }
.hero__cta { margin-top: 1.8rem; }
.hero__offer {
  margin-top: 1.5rem; display: inline-flex; gap: .7rem; align-items: flex-start;
  background: var(--orange-cream); color: var(--navy);
  border-radius: var(--radius); padding: .9rem 1.15rem; max-width: 480px;
}
.hero__offer svg { width: 22px; height: 22px; color: var(--orange-dark); flex: 0 0 auto; margin-top: 2px; }
.hero__offer strong { display: block; }
.hero__offer span { font-size: var(--step--1); color: #43526b; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.8rem; }
.hero__badges img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 5px 8px; }

/* Type-led hero (keyword pages, service pages) */
.hero--type { background: var(--navy); }
.hero--type .hero__scrim { background: radial-gradient(120% 90% at 100% 0%, rgba(8,120,194,.35), transparent 60%); }

/* ---------- Generic bits ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: var(--space-m); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-l); box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: .6rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: .3rem;
  background: var(--blue-tint); color: var(--blue-dark);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0; font-size: var(--step-1); }
.card p { margin: 0; color: var(--ink-soft); }
.card__link {
  margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--blue-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem;
}
.card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(3px); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split__media { position: relative; }
.frame-offset::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  border: 2px solid var(--orange); border-radius: var(--radius-lg); z-index: -1;
}

/* Steps with oversized numerals (signature detail) */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-l); counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; color: var(--blue-tint); letter-spacing: -0.03em;
}
.section--dark .step__num { color: rgba(255,255,255,.18); }
.step h3 { margin: .35rem 0 .4rem; }
.step p { color: var(--ink-soft); margin: 0; }
.section--dark .step p { color: #c4d3e6; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-m); }
.stat { text-align: left; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); color: #fff; line-height: 1; }
.stat__label { color: #c4d3e6; font-size: var(--step--1); margin-top: .35rem; }

/* USP list */
.usp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.usp-list li { display: flex; gap: .7rem; align-items: flex-start; }
.usp-list svg { width: 24px; height: 24px; color: var(--green); flex: 0 0 auto; margin-top: 1px; }

/* Trust badges (registrations) */
.reg-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.reg-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: #fff; font-weight: 600; font-size: .82rem;
  padding: .4rem .8rem; border-radius: var(--radius-pill);
}
.reg-chip svg { width: 15px; height: 15px; }

/* Testimonials grid */
.reviews { display: grid; gap: var(--space-m); grid-template-columns: repeat(2, 1fr); }
.review {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: var(--space-l); box-shadow: var(--shadow-soft);
}
.review__quote { font-size: var(--step-1); line-height: 1.5; color: var(--ink); margin: 0 0 1rem; }
.review__meta { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.review__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: .6rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-dark); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--blue-dark); }
.faq__body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.cta-band .reg-chips { margin-top: .3rem; }

/* Offer band */
.offer-band { background: var(--orange-cream); }
.offer-band .container { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.offer-band__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: var(--orange); color: var(--navy); flex: 0 0 auto; }
.offer-band__icon svg { width: 30px; height: 30px; }
.offer-band h2 { margin: 0 0 .2rem; font-size: var(--step-2); }
.offer-band p { margin: 0; color: #5a4327; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.contact-details { display: grid; gap: 1.1rem; }
.contact-row { display: flex; gap: .8rem; align-items: flex-start; }
.contact-row svg { width: 22px; height: 22px; color: var(--blue-dark); flex: 0 0 auto; margin-top: 2px; }
.contact-row a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-row a:hover { color: var(--orange-dark); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.form-promise {
  background: var(--blue-tint); color: var(--navy); border-radius: var(--radius);
  padding: 1rem 1.2rem; margin-bottom: 1.25rem; font-weight: 500;
  display: flex; gap: .6rem; align-items: flex-start;
}
.form-promise svg { width: 22px; height: 22px; color: var(--blue-dark); flex: 0 0 auto; }
.form-placeholder { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--ink-soft); }

/* ---------- Occasions ---------- */
.occ-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.occ-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1.5px solid var(--line); color: var(--navy);
  padding: .45rem .95rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 600; font-size: .9rem;
}
.occ-chip:hover, .occ-chip.is-active { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.occ-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-m); }
.occ-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.occ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occ-card__media { aspect-ratio: 4/3; background: var(--blue-tint); position: relative; }
.occ-card__media img { width: 100%; height: 100%; object-fit: cover; }
.occ-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--blue); }
.occ-card__ph svg { width: 64px; height: 64px; }
.occ-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.occ-card__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); margin: 0; color: var(--navy); }
.occ-card__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .85rem; color: var(--ink-soft); }
.occ-card__specs li { display: inline-flex; align-items: center; gap: .3rem; }
.occ-card__price { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--navy); }
.occ-card__price del { font-size: 1rem; color: var(--ink-soft); font-weight: 500; margin-right: .4rem; }
.occ-card__link { color: var(--blue-dark); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }

/* Occasion single */
.occ-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; }
.occ-gallery__main { grid-column: 1 / -1; aspect-ratio: 16/9; }
.occ-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.occ-gallery button { padding: 0; border: none; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.occ-gallery button img { aspect-ratio: 4/3; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.spec-table th { width: 45%; font-family: var(--font-display); color: var(--navy); font-weight: 600; }
.price-box {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.price-box__amount { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1; }
.price-box__amount del { font-size: 1.2rem; color: #9fb3cc; font-weight: 500; display: block; }
.price-box .reg-chip { background: var(--green); }
.price-box .btn { width: 100%; }

/* Lightbox dialog */
dialog.lightbox { border: none; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(13,31,60,.88); }
dialog.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: -3rem; right: 0; background: #fff; color: var(--navy);
  border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d3e6; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1rem; }
.site-footer a { color: #c4d3e6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 46px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 1rem; }
.footer-brand p { color: #9fb3cc; max-width: 34ch; }
.footer-nap { font-style: normal; line-height: 1.8; color: #c4d3e6; }
.footer-nap strong { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.footer-badges img { height: 38px; width: auto; background: #fff; padding: 4px 7px; border-radius: 6px; }
.footer-cta .btn { margin-top: .4rem; }
/* Re-assert button label over footer link colour (specificity guard) */
.site-footer .btn--primary { color: var(--btn-label); }
.site-footer .btn--secondary { color: var(--btn-blue-label); }
.footer-bottom {
  border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #9fb3cc;
}
.footer-bottom a { color: #9fb3cc; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call { display: none; }
@media (max-width: 900px) {
  .sticky-call {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--orange); box-shadow: 0 -8px 24px -12px rgba(13,31,60,.5);
  }
  .sticky-call a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem; font-family: var(--font-display); font-weight: 700; color: var(--navy); text-decoration: none;
  }
  .sticky-call a + a { border-left: 1px solid rgba(13,31,60,.2); }
  .sticky-call svg { width: 20px; height: 20px; }
  body { padding-bottom: 56px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease-out, transform .55s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Forminator styling ---------- */
.forminator-custom-form .forminator-field input[type=text],
.forminator-custom-form .forminator-field input[type=email],
.forminator-custom-form .forminator-field input[type=tel],
.forminator-custom-form .forminator-field input[type=url],
.forminator-custom-form .forminator-field input[type=number],
.forminator-custom-form .forminator-field textarea,
.forminator-custom-form .forminator-field select {
  width: 100%; font-family: var(--font-body); font-size: var(--step-0); color: var(--ink);
  background: #fff; border: 1.5px solid #c9d3df; border-radius: var(--radius);
  padding: .8rem 1rem;
}
.forminator-custom-form .forminator-field textarea { min-height: 140px; }
.forminator-custom-form .forminator-field input:focus,
.forminator-custom-form .forminator-field textarea:focus,
.forminator-custom-form .forminator-field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,120,194,.18);
}
.forminator-custom-form label,
.forminator-custom-form .forminator-label { font-weight: 600; color: var(--ink); }
.forminator-custom-form .forminator-button,
.forminator-custom-form button[type=submit] {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  background: var(--btn-fill); color: var(--btn-label);
  border: none; border-radius: var(--radius-pill); padding: .95rem 1.8rem; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.forminator-custom-form .forminator-button:hover,
.forminator-custom-form button[type=submit]:hover { background: var(--btn-fill-hover); color: var(--btn-label); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .occ-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599px) {
  .grid--3, .grid--4, .grid--2, .steps, .reviews, .occ-grid, .stats {
    grid-template-columns: 1fr; align-items: stretch;
  }
  .occ-gallery { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__inner { min-height: 60vh; }
  .cta-band__actions { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .occ-card:hover { transform: none; }
}
