/* ==========================================================================
   RIDE Advies & uitvoering — style.css
   Structuur: 1 fonts · 2 variabelen · 3 basis · 4 knoppen & iconen · 5 header
   6 hero · 7 secties · 8 componenten per pagina · 9 contact · 10 footer
   ========================================================================== */

/* 1. Fonts (lokaal gehost) ------------------------------------------------ */
@font-face {
  font-family: 'Allison';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/allison-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Allison';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/allison-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Variabelen ---------------------------------------------------------- */
:root {
  --navy: #0F2E52;
  --navy-rgb: 15, 46, 82;
  --red: #DB1219;
  --red-dark: #B90E14;
  --red-text: #D0121A;
  --error: #C0111A;
  --light: #EDF2F6;
  --lighter: #F5F8FB;
  --border: #DFE6EE;
  --input-border: #C9D3DE;
  --text: #3D4A5C;
  --muted: #5E6A7B;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-btn: 4px;
  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Allison', cursive;
}

/* 3. Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red-text); }
input, select, textarea, button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(219, 18, 25, .45); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-btn); background: var(--navy); color: var(--white); }
.skip-link:focus { left: 8px; color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1000px; }
.container--form { max-width: 1040px; }

/* 4. Knoppen & iconen ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 30px;
  border: 0; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 17px; line-height: 1.2; text-align: center;
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn--lg { min-height: 54px; font-size: 18px; }
.btn--sm { min-height: 48px; padding: 10px 28px; }
.btn--wide { padding-left: 36px; padding-right: 36px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--outline-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, .85); color: var(--white); padding-left: 28px; padding-right: 28px; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.btn--outline { min-height: 48px; padding: 10px 24px; background: var(--white); border: 1.5px solid var(--navy); color: var(--navy); font-size: 16px; }
.btn--outline:hover { background: var(--light); color: var(--navy); }

.icon {
  flex: none; width: 52px; height: 52px;
  fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
  color: var(--navy);
}
.icon--xl { width: 60px; height: 60px; stroke-width: 1.3; }
.icon--lg { width: 54px; height: 54px; }
.icon--md { width: 50px; height: 50px; }
.icon--sm { width: 24px; height: 24px; stroke-width: 1.8; }
.icon--red { color: var(--red-text); }
.icon--fill { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.icon--arrow { width: 18px; height: 18px; stroke-width: 2.2; color: var(--red-text); }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 17px; color: var(--red-text); }

/* 5. Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #E6EBF1; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: clamp(76px, 7.6vw, 104px); }
.site-header__logo { flex: none; margin-right: auto; }
.site-header__logo img { height: clamp(54px, 5.4vw, 78px); width: auto; }

.nav { display: flex; align-items: center; gap: clamp(24px, 2.8vw, 42px); margin-right: clamp(16px, 3.6vw, 56px); }
.nav__link { padding: 9px 0 7px; border-bottom: 2px solid transparent; font-weight: 500; font-size: 17px; line-height: 1; color: var(--navy); }
.nav__link:hover { color: var(--red-text); }
.nav__link.is-active { color: var(--red-text); border-bottom-color: var(--red-text); }

.menu-toggle { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-btn); background: var(--white); color: var(--navy); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; stroke-width: 2; }
.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-nav { display: none; flex-direction: column; padding: 6px var(--gutter) 22px; border-top: 1px solid #E6EBF1; background: var(--white); }
.mobile-nav__link { padding: 15px 0; border-bottom: 1px solid #EEF2F6; font-weight: 600; font-size: 18px; color: var(--navy); }
.mobile-nav__link.is-active { color: var(--red-text); }
.mobile-nav .btn { margin-top: 18px; }

@media (max-width: 979px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav.is-open { display: flex; }
}

/* 6. Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; }
.hero--home .hero__media { width: 58%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(var(--navy-rgb), .86) 14%, rgba(var(--navy-rgb), .4) 30%, rgba(var(--navy-rgb), 0) 48%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(400px, 34vw, 500px);
  padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px);
}
.hero--home .hero__inner { min-height: clamp(480px, 44vw, 640px); padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.hero--overlap .hero__inner { min-height: clamp(440px, 38vw, 560px); padding-bottom: clamp(150px, 13vw, 190px); }
.hero--contact .hero__inner { min-height: clamp(380px, 32vw, 470px); }

.hero__content { max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; }
.hero--home .hero__content { max-width: 620px; }
.hero__title { max-width: 13em; font-weight: 700; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.06; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.hero__title--w12 { max-width: 12em; }
.hero__title--w11 { max-width: 11em; }
.hero--home .hero__title { max-width: none; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.03; text-wrap: wrap; }
.hero__subtitle { margin-top: clamp(10px, 1.2vw, 14px); font-weight: 700; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; color: var(--white); }
.hero__text { margin-top: clamp(16px, 1.8vw, 22px); max-width: 540px; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.5; color: #E2E9F2; text-wrap: pretty; }
.hero__subtitle + .hero__text { margin-top: clamp(14px, 1.6vw, 20px); }
.hero--home .hero__text { margin-top: clamp(18px, 2vw, 26px); max-width: 500px; font-size: clamp(17px, 1.45vw, 20px); }
.hero__actions { margin-top: clamp(26px, 2.8vw, 36px); display: flex; flex-wrap: wrap; gap: 14px; }
.hero__btn { margin-top: clamp(22px, 2.4vw, 30px); }
.hero__note { margin-top: 20px; font-size: 14.5px; line-height: 1.4; color: #CBD6E4; }

@media (max-width: 999px) {
  .hero__media, .hero--home .hero__media { width: 100%; }
  .hero__media::after { background: linear-gradient(90deg, rgba(var(--navy-rgb), .93) 0%, rgba(var(--navy-rgb), .8) 60%, rgba(var(--navy-rgb), .72) 100%); }
}

/* 7. Secties ------------------------------------------------------------- */
.section { padding: clamp(52px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.section--light { background: var(--light); }
.section--even { padding: clamp(48px, 6vw, 80px) 0; }
.section--compact { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.section--about { padding: clamp(56px, 7vw, 96px) 0; }
.section-title { font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.015em; color: var(--navy); text-align: center; text-wrap: balance; }
.section-title--left { text-align: left; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; }

/* Banden (lichte en donkere balk met knop) */
.band { background: var(--light); }
.band--navy { background: var(--navy); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: clamp(30px, 3.8vw, 44px); padding-bottom: clamp(30px, 3.8vw, 44px); }
.band__inner--end { justify-content: flex-end; gap: 16px 36px; }
.band__inner--start { justify-content: flex-start; gap: 20px 28px; }
.band__body { display: flex; flex-direction: column; gap: 6px; }
.band__body--grow { flex: 1 1 320px; }
.band__title { font-weight: 700; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; color: var(--navy); }
.band__text { font-size: 17px; line-height: 1.45; color: var(--text); }
.band__lead { font-weight: 600; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.35; color: var(--navy); }
.band--navy .band__title { font-size: clamp(24px, 2.4vw, 32px); color: var(--white); }
.band--navy .band__text { color: #D8E1EC; }

/* 8. Componenten --------------------------------------------------------- */
/* Home — dienstkaarten */
.services { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.service-card {
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px);
  padding: clamp(24px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(var(--navy-rgb), .04); color: var(--navy);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { border-color: #C3CFDC; box-shadow: 0 18px 36px -22px rgba(var(--navy-rgb), .4); transform: translateY(-2px); color: var(--navy); }
.service-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.service-card__title { font-weight: 700; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.25; }
.service-card__text { max-width: 290px; font-size: 17px; line-height: 1.45; color: var(--text); }
.service-card .more-link { margin-top: 6px; }

/* Home — stappen */
.steps { margin-top: clamp(32px, 3.6vw, 48px); display: flex; flex-wrap: wrap; align-items: flex-start; row-gap: 36px; }
.step { flex: 1 1 260px; display: flex; align-items: flex-start; gap: 20px; padding-right: 24px; }
.step:last-child { padding-right: 0; }
.step__connector { flex: none; width: 56px; height: 2px; margin: 30px 24px 0 0; background: #BFC9D5; }
.step__body { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.step__title { font-weight: 700; font-size: 20px; line-height: 1.3; }
.step__text { max-width: 260px; font-size: 16.5px; line-height: 1.45; color: var(--text); }
.step-number { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 600; font-size: 21px; }
.step-number--sm { width: 56px; height: 56px; font-size: 20px; }
@media (max-width: 1059px) { .step__connector { display: none; } }

/* Home — contactbalk met foto */
.cta-band { position: relative; overflow: hidden; background: var(--navy); }
.cta-band__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; opacity: .32; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 48%, rgba(var(--navy-rgb), .55) 72%, rgba(var(--navy-rgb), .15) 100%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(32px, 10vw, 170px); padding-top: clamp(40px, 4.6vw, 56px); padding-bottom: clamp(40px, 4.6vw, 56px); }
.cta-band__title { font-weight: 700; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.15; letter-spacing: -.01em; color: var(--white); }
.cta-band .btn { padding-left: 34px; padding-right: 34px; }

/* Diensten — tegels die over de hero vallen */
.tiles-section { position: relative; z-index: 2; margin-top: calc(clamp(110px, 10vw, 140px) * -1); padding-bottom: clamp(48px, 6vw, 80px); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: clamp(26px, 2.6vw, 34px) 22px 28px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 20px 40px -26px rgba(var(--navy-rgb), .45); color: var(--navy);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tile:hover { border-color: #C3CFDC; box-shadow: 0 26px 48px -24px rgba(var(--navy-rgb), .5); transform: translateY(-3px); color: var(--navy); }
.tile__title { margin-top: 8px; font-weight: 700; font-size: 20px; line-height: 1.25; }
.tile__text { max-width: 230px; font-size: 16px; line-height: 1.45; color: var(--text); }
.tile .more-link { margin-top: auto; padding-top: 6px; font-size: 16px; }
.tile .icon--arrow { width: 17px; height: 17px; }

/* Kolommen met scheidingslijnen (keuring, fundering, over) */
.features { display: grid; overflow: hidden; }
.feature { box-shadow: -1px 0 0 var(--border); }
.feature--center { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.feature--row { display: flex; align-items: flex-start; gap: 20px; padding: 4px 28px; }
.feature__body { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.feature__title { margin-top: 8px; font-weight: 700; font-size: 19px; line-height: 1.25; }
.feature__text { font-size: 15.5px; line-height: 1.45; color: var(--text); }
.feature--row .feature__title { margin-top: 0; line-height: 1.3; }
.feature--row .feature__text { font-size: 16px; }

.features--checks { margin: clamp(26px, 3vw, 38px) 0 0 -20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); row-gap: 30px; }
.features--checks .feature { padding: 4px 20px; }
.features--steps { margin-left: -28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); row-gap: 32px; }
.features--values { align-self: stretch; margin: clamp(32px, 3.6vw, 48px) 0 0 -1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); row-gap: 36px; }
.features--values .feature { padding: 4px clamp(16px, 3vw, 40px); box-shadow: -1px 0 0 #CDD6E0; }
.features--values .feature__title { margin-top: 10px; font-size: 20px; line-height: 1.3; }
.features--values .feature__text { max-width: 280px; font-size: 16.5px; }

/* Bouwkundige keuring — inspectie + prijs */
.inspection { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 4vw, 56px); }
.inspection__main { flex: 1 1 600px; min-width: 0; }
.price-card { flex: 0 1 360px; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 34px); background: var(--light); border-radius: var(--radius); }
.price-card__label { font-weight: 500; font-size: 19px; line-height: 1.3; }
.price-card__price { margin-top: 6px; display: flex; align-items: baseline; gap: 10px; }
.price-card__amount { font-weight: 800; font-size: clamp(46px, 4.2vw, 58px); line-height: 1; letter-spacing: -.025em; }
.price-card__vat { font-size: 15px; color: var(--text); }
.price-card__note { margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--text); }
.price-card .btn { margin-top: 22px; }

/* MJOP — kaarten */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.info-card { display: flex; align-items: flex-start; gap: 20px; padding: clamp(24px, 2.4vw, 30px) clamp(22px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 30px -22px rgba(var(--navy-rgb), .35); }
.info-card__body { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.info-card__title { font-weight: 700; font-size: 19px; line-height: 1.3; }
.info-card__text { font-size: 16px; line-height: 1.45; color: var(--text); }

/* Bouwkundige expertise — stappenkaarten */
.process { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.process-card { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 30px -24px rgba(var(--navy-rgb), .35); }
.process-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.process-card__title { font-weight: 700; font-size: 20px; line-height: 1.3; }
.process-card__text { font-size: 16.5px; line-height: 1.45; color: var(--text); }
@media (max-width: 560px) { .process-card .icon { display: none; } }

/* Over RIDE */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.about__name { font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.015em; }
.about__lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.about__portrait { justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.values { display: flex; flex-direction: column; align-items: center; }
.values > .btn { margin-top: clamp(36px, 4vw, 52px); }

/* 9. Contact ------------------------------------------------------------- */
.contact-strip { background: var(--lighter); border-bottom: 1px solid #E3E9EF; }
.contact-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(28px, 5vw, 72px); padding-top: 22px; padding-bottom: 22px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--navy); overflow-wrap: anywhere; }
a.contact-item:hover { color: var(--red-text); }

.form-section { padding: clamp(44px, 5.5vw, 76px) 0 clamp(56px, 7vw, 96px); background: var(--light); }
.form { margin-top: clamp(22px, 2.6vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-weight: 600; font-size: 15.5px; color: var(--navy); }
.field__input {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--input-border); border-radius: var(--radius-btn);
  font-size: 16px; color: var(--navy); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.field__input { height: auto; min-height: 160px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field__input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(var(--navy-rgb), .14); }
.field.has-error .field__input { border-color: var(--error); }
.field__error { font-size: 14px; color: var(--error); }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.select select:invalid { color: #7A8697; }
.select option { color: var(--navy); }
.select .icon { position: absolute; top: 50%; right: 14px; width: 20px; height: 20px; stroke-width: 2; transform: translateY(-50%); pointer-events: none; }
.form__submit { grid-column: 1 / -1; margin-top: 6px; min-height: 58px; font-size: 18px; }
.form__privacy { grid-column: 1 / -1; text-align: center; font-size: 14.5px; line-height: 1.4; }
.form__privacy a { text-decoration: underline; text-underline-offset: 3px; }

.form-success { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); outline: none; }
.form-success .icon { stroke-width: 1.5; }
.form-success__body { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form-success__title { font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.form-success__text { font-size: 18px; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.form-success__meta { font-size: 16px; line-height: 1.5; color: var(--muted); }
.form-success__meta strong { font-weight: 600; color: var(--navy); }
.form-success .btn { margin-top: 8px; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer { background: var(--white); border-top: 1px solid #E3E9EF; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; padding-top: 26px; padding-bottom: 26px; }
.site-footer__logo { flex: none; }
.site-footer__logo img { height: 62px; width: auto; }
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 3vw, 40px); }
.site-footer .contact-item { font-size: 16.5px; }
.site-footer .icon--fill { width: 21px; height: 21px; }
.site-footer__divider { width: 1px; height: 40px; background: #D6DEE7; }
.tagline { padding-top: 4px; font-family: var(--font-script); font-size: 38px; line-height: 1; color: #1E3D6B; }
.site-footer__legal { border-top: 1px solid #EDF1F5; }
.site-footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding-top: 16px; padding-bottom: 18px; font-size: 12px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: #6F7B8B; }
.site-footer__legal a { color: #6F7B8B; }
.site-footer__legal a:hover { color: var(--navy); }
@media (max-width: 899px) { .site-footer__divider { display: none; } }
