/* ==========================================================================
   Ibérica de Compresores — hoja de estilos principal
   Paleta extraída del logotipo corporativo publicado en la web actual
   (gris pizarra #5B666F y amarillo #F9D512). Ver docs/IDENTIDAD-VISUAL.md
   ========================================================================== */

:root {
  /* Colores corporativos */
  --c-slate: #5B666F;          /* gris pizarra del logotipo */
  --c-yellow: #F9D512;         /* amarillo del logotipo */

  /* Derivados funcionales (no forman parte del logotipo) */
  --c-slate-950: #1C2125;      /* texto principal */
  --c-slate-800: #2E353B;
  --c-slate-700: #434C54;
  --c-slate-200: #D5DADE;
  --c-slate-100: #E9ECEE;
  --c-slate-50:  #F4F6F7;
  --c-yellow-600: #D9B800;
  --c-yellow-100: #FEF7CC;
  --c-white: #FFFFFF;
  --c-ok: #1E6B3A;
  --c-ok-bg: #E7F4EC;
  --c-error: #A4161A;
  --c-error-bg: #FBEAEA;

  --text: var(--c-slate-950);
  --text-muted: var(--c-slate-700);
  --bg: var(--c-white);
  --bg-soft: var(--c-slate-50);
  --border: var(--c-slate-200);
  --focus: #1A5FB4;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(28, 33, 37, .06), 0 4px 16px rgba(28, 33, 37, .06);
  --wrap: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--c-slate-800); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-slate-950); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; color: var(--c-slate-950); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; vertical-align: -.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.wrap--narrow { max-width: 820px; }

.skip-link { position: absolute; left: .5rem; top: -4rem; background: var(--c-yellow); color: var(--c-slate-950); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { top: .5rem; }
main:focus { outline: none; }

/* Botones ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; }
.btn--primary { background: var(--c-slate-800); color: var(--c-white); }
.btn--primary:hover { background: var(--c-slate-950); color: var(--c-white); }
.btn--accent { background: var(--c-yellow); color: var(--c-slate-950); }
.btn--accent:hover { background: var(--c-yellow-600); color: var(--c-slate-950); }
.btn--secondary { background: transparent; color: var(--c-slate-950); border-color: var(--c-slate-800); }
.btn--secondary:hover { background: var(--c-slate-100); color: var(--c-slate-950); }
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: var(--c-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }
@media (prefers-reduced-motion: no-preference) { .btn, .card, .tile { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; } }

/* Cabecera ----------------------------------------------------------------- */
.topbar { background: var(--c-slate-800); color: var(--c-white); font-size: .875rem; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-top: .4rem; padding-bottom: .4rem; }
.topbar p { margin: 0; }
.topbar a { color: var(--c-white); }
.topbar__phone { font-weight: 700; }
.topbar__sep { opacity: .5; margin: 0 .4rem; }
.topbar .icon { color: var(--c-yellow); }

.site-header { background: var(--c-white); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header__main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--c-slate); padding: .5rem 0; }
.brand__logo { display: block; height: 52px; width: auto; }
@media (max-width: 640px) { .brand__logo { height: 42px; } }
.brand__mark { width: 12px; height: 44px; background: var(--c-yellow); border-radius: 2px; box-shadow: 6px 0 0 var(--c-slate); margin-right: 6px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name { font-weight: 800; font-size: 1.55rem; letter-spacing: .06em; color: var(--c-slate); }
.brand__sub { font-weight: 700; font-size: .72rem; letter-spacing: .2em; color: var(--c-slate-700); margin-top: .3rem; }

.nav { display: flex; align-items: center; gap: 1rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: .6rem .45rem; text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; color: var(--c-slate-800); border-bottom: 3px solid transparent; }
.nav__link:hover, .nav__link[aria-current] { border-bottom-color: var(--c-yellow); color: var(--c-slate-950); }
.nav__sub { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--c-white); border: 1px solid var(--border); border-top: 3px solid var(--c-yellow); box-shadow: var(--shadow); display: none; }
.nav__sub a { display: block; padding: .5rem 1rem; text-decoration: none; font-size: .95rem; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--c-slate-50); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: block; }
.sub-toggle { background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--c-slate-700); }
.nav__cta { min-height: 44px; padding: .55rem 1rem; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; background: var(--c-white); border: 2px solid var(--c-slate-800); border-radius: var(--radius); font-weight: 700; font-size: 1rem; color: var(--c-slate-950); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .header__main { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--c-slate-100); }
  .nav__link { flex: 1; padding: .8rem .25rem; border-bottom: 0; }
  .nav__link[aria-current] { box-shadow: inset 4px 0 0 var(--c-yellow); padding-left: .75rem; }
  .nav__sub { position: static; display: block; width: 100%; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
  .js .nav__sub { display: none; }
  .js .nav__sub.is-open { display: block; }
  .has-sub:hover .nav__sub { display: block; }
  .js .has-sub:hover .nav__sub:not(.is-open), .js .has-sub:focus-within .nav__sub:not(.is-open) { display: none; }
  .js .sub-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__cta { margin-top: .75rem; }
}
@media (min-width: 1181px) { .sub-toggle { display: none !important; } }
@media (min-width: 1181px) and (max-width: 1439px) { .nav__cta { display: none; } }
.nav__sub--right { left: auto; right: 0; }

/* Migas -------------------------------------------------------------------- */
.breadcrumbs { font-size: .875rem; padding-top: .9rem; padding-bottom: .2rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li + li::before { content: "›"; margin: 0 .35rem 0 .1rem; color: var(--c-slate); }
.breadcrumbs a { color: var(--text-muted); }

/* Hero ---------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--c-slate-50), var(--c-white)); border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero__figure { margin: 0; background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.hero__figure figcaption { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }
.hero__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; font-weight: 600; font-size: .95rem; }
.hero__points li { display: flex; gap: .5rem; align-items: flex-start; }
.hero__points .icon, .checks .icon { color: var(--c-slate-800); background: var(--c-yellow); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--c-slate); margin-bottom: .6rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 28px; height: 4px; background: var(--c-yellow); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--c-slate-800); max-width: 62ch; }

.page-hero { background: var(--c-slate-50); border-bottom: 1px solid var(--border); margin-top: .5rem; }
.page-hero__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.page-hero--article .wrap { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2rem; }
.page-hero__inner:not(:has(.facts)) { grid-template-columns: 1fr; }
.facts { background: var(--c-white); border: 1px solid var(--border); border-left: 5px solid var(--c-yellow); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.facts dl { margin: 0; display: grid; gap: .8rem; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 600; }

/* Secciones ----------------------------------------------------------------- */
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section + .section:not(.section--band):not(.section--form) { padding-top: 0; }
.section--band { background: var(--c-slate-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--band + .section { padding-top: clamp(2rem, 5vw, 3.5rem) !important; }
.section__head { max-width: 760px; margin-bottom: 1.75rem; }
.section__head p { color: var(--text-muted); }
.section__more { margin: 1.5rem 0 0; }
.more { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.prose { max-width: 75ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.4em; }
.note { margin-top: 1.25rem; padding: .9rem 1.1rem; background: var(--c-yellow-100); border-left: 4px solid var(--c-yellow-600); border-radius: 0 var(--radius) var(--radius) 0; max-width: 75ch; font-size: .97rem; }
.notice { padding: .8rem 1rem; background: var(--c-yellow-100); border-radius: var(--radius); font-weight: 600; }

.list { max-width: 75ch; }
.list li { margin-bottom: .4rem; }
.list--small { font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; max-width: 75ch; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks--compact { gap: .4rem; font-size: .95rem; margin-bottom: 1rem; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; max-width: 900px; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.75rem; background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-yellow); color: var(--c-slate-950); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-muted); }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none; }

.cols { display: grid; gap: 1.25rem; }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.col { background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.col > :last-child { margin-bottom: 0; }
.col ul { margin: 0; padding-left: 1.1rem; }
.col__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--c-slate-100); color: var(--c-slate-800); margin-bottom: .6rem; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.card { position: relative; background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; border-top: 4px solid var(--c-slate); }
.card:hover { box-shadow: var(--shadow); border-top-color: var(--c-yellow); }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--c-slate-100); color: var(--c-slate-800); margin-bottom: .75rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: 1.1rem; margin-bottom: .4rem; }
.card__title a { text-decoration: none; color: var(--c-slate-950); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card p { margin: 0; color: var(--text-muted); font-size: .97rem; }
.card__meta { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--c-slate) !important; margin-bottom: .4rem !important; }

.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.tile { display: flex; align-items: center; gap: .75rem; padding: .95rem 1rem; background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--c-slate-950); min-height: 64px; }
.tile .icon { width: 28px; height: 28px; color: var(--c-slate); }
.tile:hover { border-color: var(--c-slate); box-shadow: inset 0 -3px 0 var(--c-yellow); color: var(--c-slate-950); }

.link-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; }
.link-cards a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--border); border-left: 4px solid var(--c-yellow); border-radius: var(--radius); text-decoration: none; background: var(--c-white); }
.link-cards a:hover { border-color: var(--c-slate); }
.link-cards strong { color: var(--c-slate-950); }
.link-cards span { color: var(--text-muted); font-size: .93rem; }

.feature__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.feature--alt { background: var(--c-slate-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature__aside { background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.section.feature { padding-top: clamp(2rem, 5vw, 3.5rem) !important; }

.offices { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.office { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; background: var(--c-white); border-top: 4px solid var(--c-yellow); }
.office h3 a { text-decoration: none; }
.office p { margin: .3rem 0; font-size: .95rem; }
.office__area { color: var(--text-muted); }
.coverage-line { margin-top: 1.25rem; }

.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--border); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--c-white); }
caption { text-align: left; font-weight: 700; padding: .75rem 1rem; background: var(--c-slate-50); }
th, td { text-align: left; vertical-align: top; padding: .65rem 1rem; border-top: 1px solid var(--border); }
thead th { background: var(--c-slate-800); color: var(--c-white); border-top: 0; }

/* FAQ ----------------------------------------------------------------------- */
.section--faq { background: var(--c-white); }
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 700; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font-size: 1.5rem; line-height: 1; color: var(--c-slate); }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 1rem; color: var(--c-slate-800); max-width: 72ch; }
.faq__a > :last-child { margin-bottom: 0; }

/* Formularios -------------------------------------------------------------- */
.section--form { background: var(--c-slate-50); border-top: 1px solid var(--border); }
.form-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 2.5rem; align-items: start; }
.aside-title { font-weight: 700; margin-bottom: .5rem; }
.aside-phone { font-size: 1.3rem; font-weight: 800; }
.aside-phone a { text-decoration: none; }
.aside-wa { font-weight: 700; }
.aside-hours { font-size: .95rem; color: var(--text-muted); }
.footer__small { font-size: .85rem; color: #B8C0C6; }
.topbar__wa .icon, .aside-wa .icon { color: inherit; }
.form-card { background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.3rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field label, .check label { font-weight: 700; margin-bottom: .3rem; }
.req { font-weight: 400; color: var(--text-muted); font-size: .88rem; }
.field__hint { font-size: .88rem; color: var(--text-muted); margin: 0 0 .35rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .7rem .8rem; min-height: 48px; border: 2px solid #8A949C; border-radius: var(--radius); background: var(--c-white); color: var(--text); width: 100%; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-slate-800); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-weight: 600; font-size: .92rem; margin: .35rem 0 0; }
.field__error::before { content: "⚠ "; }
.privacy-box { margin-top: 1.25rem; padding: 1rem; background: var(--c-slate-50); border-radius: var(--radius); font-size: .88rem; color: var(--c-slate-800); }
.privacy-box p { margin-bottom: .75rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--c-slate-800); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form__alt { margin: 0; color: var(--text-muted); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-result { padding: 1rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border-left: 5px solid; }
.form-result p:last-child, .form-result ul { margin-bottom: 0; }
.form-result--ok { background: var(--c-ok-bg); border-color: var(--c-ok); color: #0F3B20; }
.form-result--error, .form-result--invalid { background: var(--c-error-bg); border-color: var(--c-error); color: #5C0B0E; }
.form-result a { color: inherit; font-weight: 600; }

/* Artículos ----------------------------------------------------------------- */
.article__meta { font-size: .9rem; color: var(--text-muted); margin: 0; }
.toc { margin-top: 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc__title { font-weight: 700; margin-bottom: .4rem; }
.article .section { padding-top: 1.5rem !important; padding-bottom: .5rem; }
.cta-box { background: var(--c-slate-800); color: var(--c-white); border-radius: var(--radius); padding: 1.75rem !important; border-left: 6px solid var(--c-yellow); }
.cta-box h2 { color: var(--c-white); }
.cta-box .btn--primary { background: var(--c-yellow); color: var(--c-slate-950); }
.cta-box .btn--secondary { color: var(--c-white); border-color: var(--c-white); }
.cta-box .btn--secondary:hover { background: rgba(255,255,255,.12); color: var(--c-white); }

/* Pie ----------------------------------------------------------------------- */
.site-footer { background: var(--c-slate-950); color: #DCE1E5; margin-top: 0; }
.site-footer a { color: #FFFFFF; }
.site-footer .btn--accent, .site-footer .btn--accent:hover { color: var(--c-slate-950); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #39424A; }
.footer__cta-title { font-size: 1.35rem; font-weight: 800; color: var(--c-white); margin-bottom: .25rem; }
.footer__cta p { margin: 0; }
.footer__phone { color: var(--c-yellow) !important; font-weight: 800; font-size: 1.15rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 2rem; font-size: .95rem; }
.footer__brand { font-weight: 800; color: var(--c-white); font-size: 1.1rem; }
.footer__title { font-weight: 700; color: var(--c-yellow); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer__col .icon { color: var(--c-yellow); }
.footer__legal { background: #121619; font-size: .88rem; }
.footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.footer__legal p { margin: 0; }
.footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Adaptación ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner, .page-hero__inner, .feature__inner, .form-layout { grid-template-columns: 1fr; }
  .offices { grid-template-columns: repeat(2, 1fr); }
  .cols--3 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__area, .topbar__email { display: none; }
  .hero__points, .form__grid, .cols--2, .cols--3, .offices { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .brand__name { font-size: 1.3rem; }
}

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

@media print {
  .site-header .nav, .topbar, .section--form, .footer__cta, .skip-link { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; }
}
