/* Grúas IGS */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Logo colours: petrol navy ground, sky-blue lettering, turquoise glow */
  --navy: #033047;
  --navy-2: #0b4a66;
  --ink: #0a2230;
  --muted: #41606e;
  --sky: #89d7fd;
  --sky-2: #a9e3fe;
  --sky-soft: #e3f5fd;
  --teal: #26c4c7;
  --teal-ink: #0f8f93;
  --sign: #0a4f80;
  --sign-2: #0d5d94;
  --on-navy-text: #cfe7f2;
  --star: #fbbc04;
  --wa: #25d366;
  --wa-2: #1ebe5b;
  --paper: #eaf6fa;
  --line: #cfe3ea;
  --white: #ffffff;

  --r-control: 10px;
  --r-media: 16px;
  --shadow: 0 18px 40px -18px rgba(0, 20, 32, 0.55);

  --display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-color: var(--navy) var(--paper); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--navy);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sky); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--sky); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--navy); line-height: 1.05; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.4rem; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sky); color: var(--navy); padding: 10px 14px; border-radius: var(--r-control); font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: var(--r-control); border: 2px solid transparent;
  font-family: var(--text); font-weight: 700; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--navy); color: var(--white); }
.btn--call .icon { color: var(--sky); }
.btn--call:hover { background: var(--navy-2); color: var(--white); }
.on-navy .btn--call { background: var(--sky); color: var(--navy); }
.on-navy .btn--call .icon { color: var(--navy); }
.on-navy .btn--call:hover { background: var(--sky-2); color: var(--navy); }
.btn--wa { background: var(--wa); color: var(--navy); }
.btn--wa:hover { background: var(--wa-2); color: var(--navy); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--sky-soft); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(137, 215, 253, .14); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav__links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__links a:hover { color: var(--white); border-bottom-color: var(--sky); }
.langs { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.langs a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 36px; min-height: 44px; padding: 0 5px; border-radius: 6px; color: var(--white); text-decoration: none; opacity: .62; transition: opacity .15s ease; }
.langs a:hover, .langs a[aria-current="true"] { opacity: 1; }
.langs a[aria-current="true"] .flag { box-shadow: 0 0 0 2px var(--sky); }
.flag { width: 24px; height: 16px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.lang-name { display: none; }
.header-call { min-height: 44px; padding: 0 16px; font-size: 1rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; border-radius: var(--r-control); cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .icon-close { display: none; }

/* Below this width the links, flags and call button no longer fit on one line */
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-call { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--navy); border-top: 1px solid rgba(137, 215, 253, .25); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px var(--gutter) 18px; box-shadow: 0 18px 30px -18px rgba(0, 20, 32, .6); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid rgba(137, 215, 253, .18); }
  .langs { flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; }
  .langs a { justify-content: flex-start; padding: 0 2px; opacity: .8; }
  .lang-name { display: inline; font-weight: 600; }
  .langs a[aria-current="true"] .lang-name { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 4px; }
  .site-header.is-open .nav { display: flex; }
  .site-header.is-open .icon-open { display: none; }
  .site-header.is-open .icon-close { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  .header-call { display: none; }
  .menu-toggle { margin-left: auto; }
}
@media (max-width: 380px) { .brand img { height: 34px; } }

html[lang="de"] .hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.5vw, 3.4rem); }

/* Hero trust line: Google rating and years of experience */
.hero__trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; color: var(--on-navy-text); font-size: 1rem; }
.hero__trust li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.hero__trust a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.hero__trust a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hero__trust strong { color: var(--white); font-weight: 700; }
.hero__trust .stars .icon { width: 18px; height: 18px; }
.hero__trust .icon-exp { width: 24px; height: 24px; color: var(--sky); }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); background: var(--navy); color: var(--white); }
.hero h1, .zone-hero h1 { color: var(--white); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; align-items: center; }
.hero__copy { grid-column: 1 / 6; grid-row: 1; align-self: start; padding-top: clamp(8px, 3vw, 44px); }
.hero__copy p.lead { margin-top: 20px; font-size: 1.1875rem; color: var(--on-navy-text); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__media { grid-column: 6 / 13; grid-row: 1; margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); animation: settle 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero .sign { grid-column: 6 / 13; grid-row: 2; margin: -110px 0 0 -56px; position: relative; z-index: 2; }
@keyframes settle { from { transform: scale(1.035); filter: saturate(.85); } to { transform: none; filter: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy, .hero__media, .hero .sign { grid-column: 1; }
  .hero__copy { padding-top: 0; }
  .hero__copy p.lead { max-width: none; font-size: 1.125rem; }
  .hero__media { grid-row: 2; margin-top: 28px; }
  .hero .sign { grid-row: 3; margin: -44px 10px 0; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* Road sign */
.sign { background: var(--sign); color: var(--white); border-radius: 14px; padding: 9px; box-shadow: var(--shadow); }
.sign__inner { border: 3px solid var(--white); border-radius: 8px; }
.sign__row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 16px;
  padding: 14px 20px; color: var(--white); text-decoration: none;
  transition: background-color .15s ease;
}
.sign__row + .sign__row { border-top: 2px solid var(--white); }
.sign__row:first-child { border-radius: 5px 5px 0 0; }
.sign__row:last-child { border-radius: 0 0 5px 5px; }
.sign__row:hover { background: var(--sign-2); color: var(--white); }
.sign__pict { width: 40px; height: 40px; border-radius: 5px; background: var(--white); color: var(--sign); display: grid; place-items: center; }
.sign__pict .icon { width: 28px; height: 28px; }
.sign__pict--empty { background: transparent; }
.sign__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; letter-spacing: .005em; }
.sign__addr { display: block; margin-top: 5px; font-size: .9375rem; font-weight: 500; color: var(--sky); line-height: 1.3; }
.sign__arrow { width: 34px; height: 34px; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.sign__row:hover .sign__arrow { transform: translateX(4px); }
@media (max-width: 520px) {
  .sign__row { padding: 12px 14px; column-gap: 12px; }
  .sign__pict { width: 34px; height: 34px; }
  .sign__pict .icon { width: 24px; height: 24px; }
  .sign__arrow { width: 28px; height: 28px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section__head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 1.125rem; }

/* Services */
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; align-items: center; }
.service + .service { margin-top: clamp(56px, 8vw, 96px); }
.service__media { grid-column: 1 / 8; margin: 0; }
.service__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-media); }
.service__body { grid-column: 8 / 13; }
.service--flip .service__media { grid-column: 6 / 13; grid-row: 1; }
.service--flip .service__body { grid-column: 1 / 6; grid-row: 1; }
.service__body > p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.ticks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--navy); background: var(--teal); border-radius: 50%; padding: 3px; }
.service__body .btn { margin-top: 28px; }
@media (max-width: 900px) {
  .service, .service--flip { grid-template-columns: 1fr; row-gap: 24px; }
  .service__media, .service__body, .service--flip .service__media, .service--flip .service__body { grid-column: 1; grid-row: auto; }
}

/* Classics */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.bento figure { margin: 0; min-width: 0; }
.bento img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-media); }
.bento__big { grid-column: span 2; grid-row: span 2; }
.bento img[src*="coche-epoca-grua-plataforma"] { object-position: 22% 50%; }
@media (max-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 10px; }
}

/* Work strip */
.strip { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 18px; margin: 0; list-style: none; scrollbar-width: thin; }
.strip li { flex: none; scroll-snap-align: start; }
.strip img { height: clamp(220px, 28vw, 320px); width: auto; border-radius: var(--r-media); }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; margin-bottom: clamp(28px, 4vw, 44px); }
.reviews-head .link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; font-weight: 600; }
.score { display: flex; align-items: center; gap: 14px; }
.score__num { font-family: var(--display); font-weight: 700; font-size: 3.5rem; line-height: .9; color: var(--navy); }
.stars { display: flex; gap: 2px; color: var(--star); }
.stars .icon { width: 22px; height: 22px; }
.stars--sm .icon { width: 17px; height: 17px; }
.score__meta { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.reviews-note { margin: -20px 0 24px; font-size: .875rem; color: var(--muted); }
@media (max-width: 640px) { .reviews-head .link { margin-left: 0; } }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 4px 0 10px; animation: marquee var(--dur, 80s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.rv { flex: none; width: min(410px, 82vw); display: flex; }
.quote { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-media); }
.quote blockquote { margin: 0; flex: 1; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.quote figcaption { font-size: .9375rem; font-weight: 600; color: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { padding-inline: var(--gutter); }
  .rv[aria-hidden="true"] { display: none; }
}

/* Quote form */
.quote-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
.form { grid-column: 1 / 8; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #b3cbd6; border-radius: var(--r-control);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--sky); }
.field input::placeholder, .field textarea::placeholder { color: #5f6f86; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { justify-self: start; display: inline-flex; border: 1.5px solid #b3cbd6; border-radius: var(--r-control); overflow: hidden; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; min-width: 72px; padding: 12px 18px; text-align: center; font-weight: 600; cursor: pointer; }
.seg label + label span { border-left: 1.5px solid #b3cbd6; }
.seg input:checked + span { background: var(--navy); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: -5px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9375rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.form__legal { grid-column: 1 / -1; margin: -6px 0 0; padding-left: 32px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.form__legal a { color: var(--navy-2); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__actions .alt { font-weight: 600; }
.hp { position: absolute; left: -9999px; font-size: 16px; }
.callout { grid-column: 9 / 13; background: var(--navy); color: var(--white); border-radius: var(--r-media); padding: 32px 28px; }
.callout h3 { color: var(--white); font-size: 1.75rem; }
.callout p { margin-top: 12px; color: var(--on-navy-text); }
.callout .btn { margin-top: 22px; width: 100%; }
.callout .btn + .btn { margin-top: 12px; }
.callout .mail { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 20px; color: var(--sky); font-weight: 500; word-break: break-all; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .form, .callout { grid-column: 1; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Zone pages */
.zone-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); background: var(--navy); color: var(--white); }
.crumbs { font-size: .9375rem; color: var(--on-navy-text); margin-bottom: 18px; }
.crumbs a { color: var(--on-navy-text); }
.zone-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
.zone-hero__copy { grid-column: 1 / 7; }
.zone-hero__copy p.lead { margin-top: 18px; font-size: 1.1875rem; color: var(--on-navy-text); max-width: 40ch; }
.zone-hero__side { grid-column: 8 / 13; }
.zone-hero__side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); }
.zone-hero__side .sign { margin: -60px 16px 0; position: relative; }
.zone-hero__side .sign__row { grid-template-columns: auto 1fr; }
@media (max-width: 900px) {
  .zone-hero__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .zone-hero__copy, .zone-hero__side { grid-column: 1; }
}
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fact { padding: 26px 0; border-top: 2px solid var(--navy); }
.fact h3 { margin-bottom: 10px; }
.fact p { color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.map { width: 100%; position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 16 / 7; min-height: 280px; display: grid; place-items: center; text-align: center; }
@media (max-width: 700px) { .map { aspect-ratio: auto; min-height: 380px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { padding: 24px; max-width: 46ch; }
.map__placeholder p { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.map__placeholder .btn { margin-top: 18px; }
.other-bases { max-width: 640px; }

/* CTA band */
.band { background: var(--navy); color: var(--white); padding: clamp(44px, 6vw, 72px) 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { color: var(--white); max-width: 22ch; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-text); padding: 56px 0 32px; border-top: 1px solid rgba(137, 215, 253, .2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 52px; width: auto; }
.site-footer p { margin-top: 16px; max-width: 34ch; font-size: .9375rem; }
.site-footer h2 { font-size: 1.15rem; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.site-footer .addr { display: block; color: #b8d3e8; text-decoration: underline; text-decoration-color: rgba(137, 215, 253, .4); }
.site-footer .addr:hover { color: var(--sky); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(137, 215, 253, .2); font-size: .875rem; color: #a9c4da; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--sky); }
.footer-bottom { align-items: center; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Sticky mobile bar */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -8px 24px -12px rgba(0, 20, 32, .5); }
  .callbar .btn { min-height: 50px; padding: 0 10px; }
  html.js .callbar { transform: translateY(110%); transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
  html.js .callbar.is-visible { transform: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Thanks */
.thanks { padding: clamp(64px, 10vw, 128px) 0; }
.thanks p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.thanks .hero__ctas { margin-top: 28px; }

/* Legal pages */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal__body { max-width: 72ch; overflow-wrap: anywhere; }
.legal__body h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); }
.legal__body h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-top: 40px; }
.legal__body p, .legal__body ul { margin: 14px 0 0; color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.legal__body ul { padding-left: 1.25em; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { color: var(--navy-2); text-underline-offset: 3px; }
.legal__body .legal__updated { margin-top: 12px; font-size: .9375rem; color: var(--muted); }
.legal__body .legal__note { margin-top: 20px; padding: 14px 18px; background: var(--paper); border-left: 4px solid var(--teal); border-radius: var(--r-control); font-size: 1rem; }
.legal__body .legal__id { list-style: none; padding: 18px 20px; background: var(--paper); border-radius: var(--r-control); }

/* Phones held sideways: keep the screen for content, not for two fixed bars */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .site-header { position: static; }
  .callbar .btn { min-height: 44px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
