/* ==========================================================================
   CocheGolpes · Portada 2026
   CSS autocontenido. Sin frameworks, sin dependencias externas.
   ========================================================================== */

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-latin.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --navy: #081a2b;
  --navy-2: #0c2337;
  --navy-3: #15344c;
  --yellow: #ffc400;
  --yellow-soft: #ffd84d;
  --green: #25d366;
  --green-dark: #1db954;
  --ink: #0b1b2b;
  --text: #41505f;
  --muted: #63717f;
  --line: #e2e8ee;
  --soft: #f4f7fa;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 43, 0.06), 0 4px 14px -6px rgba(8, 26, 43, 0.12);
  --shadow-lg: 0 30px 60px -24px rgba(4, 14, 24, 0.55);
  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body.cg-home {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.cg-home img { max-width: 100%; height: auto; display: block; }
.cg-home a:not(.btn) { color: inherit; }
.cg-home p { margin: 0 0 1.1em; }
.cg-home h1, .cg-home h2, .cg-home h3, .cg-home h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.cg-home :focus-visible {
  outline: 3px solid rgba(255, 196, 0, 0.75);
  outline-offset: 2px;
  border-radius: 4px;
}

.cg-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--yellow); color: var(--navy); padding: 12px 18px;
  font-weight: 700; text-decoration: none;
}
.cg-skip:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-3); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.section-title {
  font-size: clamp(28px, 3.3vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 20ch;
}
.section-title--wide { max-width: 28ch; }
.section-lead {
  margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 15.5px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(8, 26, 43, 0.6); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }
.btn--block { width: 100%; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--wa { --btn-bg: var(--green); --btn-fg: #06220f; }
.btn--wa:hover { background: var(--green-dark); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline-navy { --btn-bg: transparent; --btn-fg: var(--navy); border-color: rgba(8, 26, 43, 0.25); }
.btn--outline-navy:hover { background: rgba(8, 26, 43, 0.05); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 12px; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 38px; padding-top: 6px; padding-bottom: 6px;
}
.topbar__left { display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--yellow); }
.topbar__right { display: inline-flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { color: var(--yellow); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(8, 26, 43, 0.08);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(8, 26, 43, 0.45); }
.header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy); color: var(--yellow);
  display: grid; place-items: center;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.logo__text {
  font-family: var(--font-display); font-weight: 600; font-size: 25px;
  color: var(--navy); letter-spacing: 0.01em; line-height: 1;
}
.logo__text span { color: var(--yellow); }
.logo__tag {
  display: block; font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 600; color: #2c3d4d; text-decoration: none;
  padding: 8px 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2.5px; background: var(--yellow); border-radius: 2px;
  transition: right 0.2s ease;
}
.nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header__phone {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-weight: 700; font-size: 15px; color: var(--navy); white-space: nowrap;
}
.header__phone svg { color: var(--navy); }
.header__phone small {
  display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); line-height: 1.2;
}
.header__phone strong { display: block; font-size: 15.5px; line-height: 1.2; }

.hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--navy); cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 24px 20px;
  display: grid;
  gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block; padding: 11px 0; text-decoration: none;
  font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { margin-top: 12px; border-bottom: 0; color: var(--navy); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(255, 196, 0, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(37, 211, 102, 0.08), transparent 60%),
    linear-gradient(160deg, #081a2b 0%, #0a2033 55%, #0b2439 100%);
  color: #fff;
  padding: 58px 0 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px; align-items: start; padding-bottom: 52px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.32);
  color: #ffe08a; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}
.hero h1 {
  color: #fff; font-size: clamp(34px, 3.9vw, 50px); font-weight: 600;
  line-height: 1.03; text-transform: uppercase; letter-spacing: 0.005em;
  margin: 20px 0 0; max-width: none;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead {
  margin: 20px 0 0; font-size: 18px; line-height: 1.62;
  color: rgba(255, 255, 255, 0.78); max-width: 50ch;
}
.hero__list {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px;
  max-width: 560px;
}
.hero__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.92); line-height: 1.4;
}
.hero__list svg { flex: 0 0 auto; color: var(--yellow); margin-top: 1px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta-tasar { display: none; margin-top: 24px; }
.hero__note {
  display: flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.hero__note svg { color: var(--green); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__num {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  color: var(--yellow); line-height: 1;
}
.stat__label { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.66); line-height: 1.35; }

/* ---------- Tarjeta de formulario ---------- */
.quote-card {
  background: #fff; color: var(--text);
  border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}
.quote-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.quote-card__title { font-size: 26px; text-transform: uppercase; }
.quote-card__sub { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); }
.quote-card__free {
  flex: 0 0 auto; background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 7px;
}

.quote-progress { margin: 20px 0 18px; }
.quote-progress__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em;
}
.quote-progress__meta strong { color: var(--navy); }
.quote-progress__bar {
  display: flex; gap: 6px; margin-top: 8px;
}
.quote-progress__bar span {
  height: 5px; border-radius: 99px; background: #e8edf2; flex: 1;
  transition: background 0.25s ease;
}
.quote-progress__bar span.is-on { background: var(--yellow); }

.quote-step { display: block; }
.js .quote-step { display: none; }
.js .quote-step.is-active { display: block; }
.no-js [data-next] { display: none; }
.no-js .quote-progress { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label,
.field .label {
  display: block; font-size: 12.5px; font-weight: 700; color: #33475b;
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.field label .req { color: #d93025; }
.field .opt { font-weight: 500; color: var(--muted); }
.input,
.select,
.textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #dbe3ea; border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #93a1ae; }
.input:hover, .select:hover, .textarea:hover { border-color: #c3cfda; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3.5px rgba(8, 26, 43, 0.09);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2363717f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 38px;
}
.textarea { min-height: 82px; resize: vertical; }

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #d93025; background: #fff8f7; }
.field-error { display: none; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #c5221f; }
.field.has-error .field-error { display: block; }

/* Fotos */
.drop {
  position: relative; border: 1.5px dashed #c8d3de; border-radius: 12px;
  background: #f8fafc; padding: 16px 14px; text-align: center;
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.drop:hover, .drop.is-drag { border-color: var(--navy); background: #f2f6fa; }
.drop input[type='file'] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.drop__icon {
  width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 10px;
  background: #e9eff5; color: var(--navy); display: grid; place-items: center;
}
.drop__title { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.drop__hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eef2f6; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: 0; border-radius: 50%; background: rgba(8, 26, 43, 0.82); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}

/* Opciones y privacidad */
.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 10px; border: 1.5px solid #dbe3ea; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #33475b; cursor: pointer;
  transition: all 0.15s ease;
}
.choice input:checked + span {
  border-color: var(--navy); background: var(--navy); color: #fff;
}
.choice input:focus-visible + span { outline: 3px solid rgba(255, 196, 0, 0.75); outline-offset: 2px; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.checkbox input {
  width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto;
  accent-color: var(--navy); cursor: pointer;
}
.checkbox label { font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.checkbox a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.field.has-error .checkbox label { color: #c5221f; }

.quote-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-actions .btn { flex: 1; }
.btn-back {
  border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 700;
  cursor: pointer; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px;
}
.btn-back:hover { color: var(--navy); }
.form-note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 12px 0 0; font-size: 12px; color: var(--muted);
}
.form-note svg { color: var(--green); }

.form-alert {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff4f2; border: 1px solid #f3c9c3; color: #8c1d18;
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px;
}
.form-alert svg { flex: 0 0 auto; margin-top: 1px; }
.form-alert ul { margin: 6px 0 0; padding-left: 18px; }

.quote-success { text-align: center; padding: 18px 4px 10px; }
.quote-success__icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(37, 211, 102, 0.12); color: #12873f; display: grid; place-items: center;
}
.quote-success h3 { font-size: 26px; text-transform: uppercase; }
.quote-success p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.quote-success .btn { margin-top: 18px; }

/* ---------- Artículo SEO ---------- */
.about { background: #fff; }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
}
.about__body h2 { font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; }
.about__body p { font-size: 17px; line-height: 1.78; color: #46586a; margin: 18px 0 0; }
.about__body p.lead { font-size: 19px; color: #2f4152; }
.about__body strong { color: var(--navy); }
.about__links {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  margin-top: 22px !important; font-size: 14px !important; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 16px;
}
.about__links span { font-weight: 700; color: var(--navy); }
.about__links a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.about__links a:hover { color: #000; }
.coverage__cta { margin-top: 22px; }

.price-card {
  position: relative;
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--navy); color: #fff; border-radius: 18px; padding: 30px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.22), transparent 70%);
  top: -90px; right: -70px;
}
.price-card h3 { color: #fff; font-size: 27px; text-transform: uppercase; position: relative; }
.price-card p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; margin: 10px 0 0; position: relative; }
.price-card ul {
  list-style: none; padding: 0; margin: 20px 0 0; position: relative;
  display: grid; gap: 10px;
}
.price-card li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; color: rgba(255, 255, 255, 0.9); line-height: 1.4;
}
.price-card li svg { color: var(--yellow); flex: 0 0 auto; margin-top: 1px; }
.price-card .btn { margin-top: 22px; position: relative; }
.price-card .mini {
  display: block; text-align: center; margin-top: 10px; font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5); position: relative;
}

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.01em; }
.step p { margin: 8px 0 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Ventajas ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
.benefit__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(255, 196, 0, 0.16); color: var(--navy);
  display: grid; place-items: center;
}
.benefit h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.benefit p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Banda ---------- */
.band { background: var(--navy); color: #fff; }
.band__inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 40px; align-items: center;
}
.band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); text-transform: uppercase; max-width: 20ch; }
.band p { color: rgba(255, 255, 255, 0.72); margin: 14px 0 0; font-size: 16.5px; max-width: 62ch; }
.band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Coches ---------- */
.cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.car { position: relative; border-radius: 14px; overflow: hidden; background: #0d2135; }
.car img { aspect-ratio: 4 / 3; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.car:hover img { transform: scale(1.04); }
.car figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 14px 13px;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 24, 0.86));
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
}
.cars-note { margin-top: 24px; font-size: 15.5px; color: var(--muted); max-width: 78ch; }

/* ---------- Cobertura ---------- */
.coverage__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: start;
}
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.city {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: #eef3f8; color: var(--navy); font-size: 13px; font-weight: 700;
}
.city svg { color: #1a9b58; }
.coverage__text { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin-top: 4px; }
.coverage__text strong { color: var(--navy); font-weight: 700; }

/* ---------- CTA final ---------- */
.final {
  background: var(--yellow); color: var(--navy); text-align: center;
  padding: 72px 0; position: relative; overflow: hidden;
}
.final::before,
.final::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 26px solid rgba(8, 26, 43, 0.07);
}
.final::before { width: 260px; height: 260px; left: -90px; top: -120px; }
.final::after { width: 340px; height: 340px; right: -120px; bottom: -190px; }
.final__inner { position: relative; z-index: 1; }
.final h2 { font-size: clamp(30px, 3.6vw, 46px); text-transform: uppercase; max-width: 22ch; margin: 0 auto; }
.final p { margin: 12px auto 0; font-size: 17px; max-width: 62ch; color: rgba(8, 26, 43, 0.72); }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.final .btn--navy { box-shadow: 0 16px 30px -14px rgba(8, 26, 43, 0.7); }

/* ---------- Footer ---------- */
.site-footer { background: #061420; color: rgba(255, 255, 255, 0.62); padding: 56px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand .logo__text { color: #fff; }
.footer__brand .logo__mark { background: rgba(255, 255, 255, 0.06); }
.footer__brand p { margin: 16px 0 0; max-width: 34ch; line-height: 1.65; color: rgba(255, 255, 255, 0.56); }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 6px 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { color: var(--yellow); flex: 0 0 auto; margin-top: 2px; }
.footer__contact a { font-weight: 600; color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.42);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.55); }

/* ---------- Barra móvil y WhatsApp ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(8, 26, 43, 0.1);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -10px 30px -18px rgba(8, 26, 43, 0.5);
}
.mobile-bar .btn { flex: 1; min-height: 48px; font-size: 15px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 94;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(29, 185, 84, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(29, 185, 84, 0.75); }

/* ---------- Aviso de cookies del plugin ---------- */
#cookie-notice {
  font-family: var(--font-body) !important;
  box-shadow: 0 -6px 24px -14px rgba(8, 26, 43, 0.4) !important;
}

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .header__phone small { display: none; }
  .hero__grid { gap: 36px; }
}

@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .hero__cta-tasar { display: inline-flex; }
  .hamburger { display: inline-flex; }
  .header__actions .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { max-width: 18ch; }
  .hero__list { max-width: none; }
  .quote-card { max-width: 560px; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .price-card { position: relative; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cars { grid-template-columns: repeat(2, 1fr); }
  .coverage__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .wa-float { display: none; }
}

@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  .hero__cta-tasar { display: flex; width: 100%; }
  .hero__cta { display: none; }
  body.cg-home { padding-bottom: 78px; }
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { gap: 16px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 38px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding-bottom: 26px; }
  .hero__list { grid-template-columns: 1fr; gap: 9px; }
  .hero__lead { font-size: 16.5px; }
  .quote-card { padding: 20px; border-radius: 16px; }
  .quote-card__title { font-size: 23px; }
  .steps { grid-template-columns: 1fr; }
  .band__inner { grid-template-columns: 1fr; gap: 26px; }
  .band__actions { flex-direction: row; flex-wrap: wrap; }
  .about__body p { font-size: 16px; }
  .coverage__text { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .final { padding: 56px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero__badge { font-size: 10.5px; letter-spacing: 0.05em; padding: 6px 12px 6px 9px; white-space: nowrap; }
  .topbar__item--email { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .benefits { grid-template-columns: 1fr; }
  .cars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .car figcaption { font-size: 12.5px; padding: 28px 10px 10px; }
  .logo__tag { display: none; }
  .logo__text { font-size: 22px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .quote-progress { margin-top: 16px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress: barra de administración */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ==========================================================================
   Páginas interiores: preguntas frecuentes y contacto
   ========================================================================== */

.nav a.is-active::after { right: 0; }

.page-hero {
  position: relative;
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(255, 196, 0, 0.14), transparent 60%),
    linear-gradient(160deg, #081a2b 0%, #0a2033 60%, #0b2439 100%);
  color: #fff;
  padding: 52px 0 46px;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  text-transform: uppercase;
  margin-top: 8px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17.5px;
  max-width: 62ch;
  margin: 12px 0 0;
}
.page-body { padding: 64px 0 80px; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer {
  padding: 18px 22px 20px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text);
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--navy); }

.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.page-aside h2 { color: #fff; font-size: 24px; text-transform: uppercase; }
.page-aside p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; margin: 10px 0 0; }
.page-aside .btn { margin-top: 14px; }
.page-aside__phone {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  word-break: break-word;
}
.page-aside__phone small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}
.page-aside__phone:hover { color: var(--yellow); }
.page-aside__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.page-aside__list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13.5px; color: rgba(255, 255, 255, 0.88); line-height: 1.4;
}
.page-aside__list svg { color: var(--yellow); flex: 0 0 auto; margin-top: 1px; }

/* Contacto */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.contact-item:hover { border-color: #c3d0dc; transform: translateY(-1px); }
.contact-item__icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 196, 0, 0.16);
  color: var(--navy);
  display: grid; place-items: center;
}
.contact-item h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-item p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.contact-item strong { display: block; margin-top: 4px; font-size: 15px; color: var(--navy); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.contact-card h2 { font-size: 27px; text-transform: uppercase; }
.contact-card > p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.contact-form { margin-top: 20px; }
.contact-form .textarea { min-height: 128px; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.contact-success { text-align: center; padding: 22px 4px 6px; }
.contact-success h3 { font-size: 25px; text-transform: uppercase; margin-top: 14px; }
.contact-success p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.contact-success .btn { margin-top: 18px; }

@media (max-width: 1024px) {
  .faq-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-aside { position: relative; top: auto; }
  .contact-card { order: -1; }
}

@media (max-width: 768px) {
  .page-hero { padding: 38px 0 34px; }
  .page-body { padding: 48px 0 60px; }
  .contact-card { padding: 22px; }
  .faq-item summary { padding: 16px 18px; font-size: 16px; }
  .faq-answer { padding: 16px 18px 18px; }
}

/* ==========================================================================
   Páginas legales
   ========================================================================== */

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: start;
}
.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  overflow-wrap: break-word;
}
.legal-content h2 { font-size: 24px; text-transform: none; margin: 30px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 19px; margin: 24px 0 10px; }
.legal-content h4 { font-size: 17px; margin: 20px 0 8px; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul,
.legal-content ol { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: #000; }
.legal-content strong,
.legal-content b { color: var(--navy); }
.legal-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--yellow);
  background: var(--soft);
  border-radius: 0 10px 10px 0;
}
.legal-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.legal-content th,
.legal-content td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--soft); color: var(--navy); }
.legal-content img { max-width: 100%; height: auto; }
.legal-content span { font-size: inherit; line-height: inherit; }
.legal-content [style*="font-size"] { font-size: inherit !important; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.legal-content .ccs-policy { max-width: none; }
.legal-content .ccs-policy > h2:first-child { display: none; }

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 18px;
}
.legal-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.legal-nav li { margin: 0; }
.legal-nav a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.legal-nav li:last-child a { border-bottom: 0; }
.legal-nav a:hover { background: var(--soft); }
.legal-nav a.is-active { background: var(--navy); color: #fff; }

.legal-help { background: var(--navy); color: #fff; border-radius: 16px; padding: 24px; }
.legal-help h3 { color: #fff; font-size: 19px; text-transform: uppercase; }
.legal-help p { margin: 8px 0 14px; color: rgba(255, 255, 255, 0.72); font-size: 13.5px; line-height: 1.55; }
.legal-help .btn { margin-top: 8px; }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-aside { position: relative; top: auto; }
}

@media (max-width: 768px) {
  .legal-content { padding: 22px 20px; font-size: 15.5px; }
  .legal-content h2 { font-size: 22px; }
  .legal-content h3 { font-size: 18px; }
}
