/* ============================================================
   388CEDA — Landing: Accidentes de Auto (Bufete / autoridad, ES)
   Production recreation of ui_kits/landing-auto/index-firm.html.
   Tokens extracted from the 388CEDA design system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Bebas+Neue&display=swap');

:root {
  /* Brand */
  --brand-yellow: #FDDB33;
  --brand-yellow-deep: #FACA15;
  --brand-gold: #E0A800;
  --brand-amber: #FBBC05;

  /* Ink & neutrals */
  --ink-900: #0A0A0A;
  --ink-800: #1A1A1A;
  --ink-700: #333333;
  --ink-600: #555555;
  --ink-500: #767676;
  --ink-300: #C9C9C9;
  --grey-100: #EFEFEF;
  --grey-50: #F5F5F5;
  --white: #FFFFFF;

  /* Semantic */
  --success: #34A853;
  --danger: #EA4335;
  --info: #4285F4;

  /* Borders */
  --border-default: rgba(10, 10, 10, 0.10);
  --border-hairline: var(--grey-100);
  --border-on-brand: rgba(10, 10, 10, 0.12);

  /* Text aliases */
  --text-on-brand: var(--ink-900);

  /* Fonts */
  --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Bebas Neue', 'Inter', sans-serif;

  /* Weights */
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Radius */
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 10, 10, 0.12);
  --shadow-brand: 0 12px 28px rgba(253, 219, 51, 0.45);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 380ms;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--ink-900);
  font-family: var(--font-sans);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wrap { max-width: 1160px; margin: 0 auto; }

/* Anchor targets for Google Ads sitelinks / deep-links — offset so the jump doesn't clip */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 24px; }

/* ---------- Utility bar ---------- */
.utilbar {
  position: relative; z-index: 10;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utilbar__inner {
  max-width: 1160px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.utilbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.66); white-space: nowrap;
}
.utilbar__right { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utilbar__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-accent); font-size: 17px; letter-spacing: 0.4px;
  color: var(--brand-yellow); text-decoration: none; white-space: nowrap;
}
.ico-yellow { color: var(--brand-yellow); display: inline-flex; }
.util-short { display: none; }

/* ---------- Logo bar ---------- */
.logobar {
  position: relative; z-index: 10;
  max-width: 1160px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logobar img { height: 24px; width: auto; }

/* ---------- Google badge ---------- */
.gbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill); padding: 6px 12px;
}
.gbadge strong { font-size: 13px; color: var(--white); }
.gbadge__count { font-size: 12px; color: rgba(255,255,255,0.6); }
.stars { display: inline-flex; gap: 1.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-900); overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 88% 4%, rgba(253,219,51,0.18), transparent 60%);
}
.hero__silk {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url(assets/images/hero-silk.png);
  background-size: cover; background-position: center;
}
.hero__grid {
  position: relative; max-width: 1160px; margin: 0 auto;
  padding: 36px 24px 64px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center;
}
.hero__left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%;
  background: rgba(253,219,51,0.14); border: 1px solid rgba(253,219,51,0.3);
  color: var(--brand-yellow); border-radius: var(--radius-pill);
  padding: 8px 16px; font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.8px; text-transform: uppercase; white-space: nowrap;
}
.eyebrow-pill svg { flex-shrink: 0; }

.hero h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 52px;
  line-height: 1.03; letter-spacing: -1.8px; color: var(--white);
}
.hero h1 .accent { color: var(--brand-yellow); }
.hero__lead {
  max-width: 510px; font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.74); letter-spacing: -0.2px;
}
.hero__lead strong { color: var(--white); }

.creds { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 2px; }
.creds span.cred {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.86);
}
.creds .ico-yellow svg { display: block; }

.hero__cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__cta-note { font-size: 13.5px; color: rgba(255,255,255,0.6); max-width: 200px; }

/* credential ticker (mobile only) */
.cred-ticker {
  position: relative; overflow: hidden; margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  display: none;
}
.cred-ticker__track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: tickerScroll 16s linear infinite;
}
.cred-ticker__item { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px; }
.cred-ticker__item span.t { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.cred-ticker__dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--brand-yellow);
  margin-left: 22px; opacity: 0.7;
}

/* ---------- PhoneButton (solid) ---------- */
.phonebtn {
  display: inline-flex; align-items: center; text-decoration: none;
  padding: 10px 20px 10px 12px; background: var(--brand-yellow);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-brand);
  transition: transform var(--dur-fast) var(--ease-out);
}
.phonebtn:hover { transform: translateY(-1px); }
.phonebtn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  background: rgba(10,10,10,0.08); flex-shrink: 0; margin-right: 12px;
}
.phonebtn__txt { display: flex; flex-direction: column; line-height: 1; align-items: flex-start; }
.phonebtn__label {
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-700); margin-bottom: 3px; white-space: nowrap;
}
.phonebtn__num {
  font-family: var(--font-accent); font-size: 34px; letter-spacing: 0.4px;
  color: var(--ink-900); white-space: nowrap;
}

/* ---------- Button (primary) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 17px;
  letter-spacing: -0.18px; line-height: 1; padding: 16px 32px; min-height: 56px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; white-space: nowrap;
  background: var(--brand-yellow); color: var(--text-on-brand);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn--full { display: flex; width: 100%; }
.btn:hover { transform: translateY(-1px); background: var(--brand-yellow-deep); box-shadow: var(--shadow-brand); }

/* ---------- Intake form ---------- */
.form {
  background: var(--white); border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.form__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.form__head h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.5px; color: var(--ink-900);
}
.form__head .short { display: none; }
.form__head p { font-size: 13.5px; line-height: 1.5; color: var(--ink-600); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.field--phone { margin-top: 10px; } /* separate the phone field from the name row above */
.field label { font-size: 13px; font-weight: 500; color: var(--ink-700); letter-spacing: -0.1px; }
.field__box {
  display: flex; align-items: center; gap: 10px; background: var(--white);
  border: 1.5px solid var(--border-default); border-radius: var(--radius-md); padding: 0 16px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field__box:focus-within { border-color: var(--ink-900); box-shadow: 0 0 0 4px rgba(10,10,10,0.06); }
.field__box .ico { color: var(--ink-500); display: inline-flex; flex-shrink: 0; }
.field__box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-900);
  padding: 13px 0; letter-spacing: -0.18px; width: 100%;
}
.form__qual { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.form .btn--full { margin-top: 14px; }
.qual-label { font-size: 13px; font-weight: 500; color: var(--ink-700); }
.qual-row { display: flex; gap: 10px; }
.qual-btn {
  flex: 1; cursor: pointer; padding: 12px 14px; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  background: var(--white); color: var(--ink-700); border: 1.5px solid var(--border-default);
  transition: all var(--dur-base) var(--ease-out);
}
.qual-btn[aria-pressed="true"] { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.form__trust { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.form__trust span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--ink-600);
}
/* TCPA checkbox consent (locked ceda-consent-es-2026-07-21) */
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: -2px; text-align: left; }
.consent input[type="checkbox"] {
  width: 16px; height: 16px; margin: 1px 0 0; flex-shrink: 0;
  accent-color: var(--ink-900); cursor: pointer;
}
.consent label { font-size: 11px; line-height: 1.5; color: var(--ink-500); cursor: pointer; }
.consent label a { color: var(--ink-600); text-decoration: underline; }
.form__success { text-align: center; align-items: center; }
.form__success .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: var(--radius-pill); background: var(--success);
}
.form__success h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
  letter-spacing: -0.5px; color: var(--ink-900);
}
.form__success p { font-size: 15px; line-height: 1.55; color: var(--ink-600); max-width: 320px; }
.form__success a {
  font-family: var(--font-accent); font-size: 26px; letter-spacing: 0.5px;
  color: var(--ink-900); text-decoration: none;
}
.is-hidden { display: none !important; }

/* ---------- Section primitives ---------- */
.eyebrow {
  display: inline-flex; font-weight: 600; font-size: 12.5px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--brand-gold); white-space: nowrap;
}
.eyebrow--ondark { color: var(--brand-yellow); }
.h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 38px;
  line-height: 1.1; letter-spacing: -1.2px; color: var(--ink-900);
}
.h2--light { color: var(--white); }
.section { padding: 88px 24px; }
.section--dark { background: var(--ink-900); }
.section--white { background: var(--white); }
.section--well { background: var(--grey-50); }
.center-head {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  text-align: center; margin-bottom: 44px;
}
.center-head p { max-width: 580px; font-size: 16px; line-height: 1.55; color: var(--ink-600); }

/* ---------- Qualifier strip ---------- */
.qualifier { background: var(--brand-yellow); padding: 20px 24px; }
.qualifier__inner {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center;
  justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center;
}
.qualifier__inner .ico { display: inline-flex; flex-shrink: 0; color: var(--ink-900); }
.qualifier p { font-size: 15px; line-height: 1.5; color: var(--ink-900); }

/* ---------- Stats band ---------- */
.stats { background: var(--ink-900); padding: 64px 24px; }
.stats__grid {
  max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.12); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat__n {
  font-family: var(--font-display); font-weight: 700; font-size: 44px;
  line-height: 1; letter-spacing: -2px; color: var(--brand-yellow);
}
.stat__l { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,0.7); }

/* ---------- Pillars ---------- */
.pillars__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  display: flex; flex-direction: column; gap: 16px; background: var(--white);
  border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.pillar__top { display: flex; align-items: center; gap: 14px; }
.pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: var(--radius-md);
  background: var(--ink-900); color: var(--brand-yellow); flex-shrink: 0;
}
.pillar__no { font-weight: 700; font-size: 13px; color: var(--ink-500); }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.5px; color: var(--ink-900); }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--ink-600); }
.pillar ul { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pillar li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-800);
}
.pillar li .ico { display: inline-flex; flex-shrink: 0; }

/* ---------- Case results ---------- */
.results__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.result {
  display: flex; flex-direction: column; gap: 8px; background: var(--white);
  border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.result__amt { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -1.4px; color: var(--ink-900); }
.result__bar { width: 36px; height: 3px; border-radius: 2px; background: var(--brand-yellow); }
.result__type { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.result__detail { font-size: 13px; color: var(--ink-500); }
.results__disclaimer {
  margin: 24px auto 0; font-size: 12px; line-height: 1.6; color: var(--ink-500);
  text-align: center; max-width: 760px;
}

/* ---------- No-fee band ---------- */
.nofee { background: var(--brand-yellow); position: relative; overflow: hidden; padding: 72px 24px; }
.nofee__silk {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.08;
  background-image: url(assets/images/hero-silk.png); background-size: cover; background-position: center;
}
.nofee__inner {
  position: relative; max-width: 900px; margin: 0 auto; display: flex;
  flex-direction: column; gap: 16px; align-items: center; text-align: center;
}
.nofee p { max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--ink-800); }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 500;
  font-size: 13px; letter-spacing: -0.1px; line-height: 1;
  padding: 7px 14px; border-radius: var(--radius-pill); white-space: nowrap;
}
.badge--dark { background: var(--ink-900); color: var(--white); }
.badge--brand { background: var(--brand-yellow); color: var(--ink-900); }

/* ---------- Process ---------- */
.process__head { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.process__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: var(--brand-yellow); color: var(--ink-900);
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.5px; color: var(--ink-900); }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-600); }

/* ---------- Reviews ---------- */
.reviews { background: var(--ink-900); padding: 88px 0; }
.reviews__head {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
.reviews__rail {
  display: flex; align-items: stretch; gap: 18px; overflow-x: auto; padding: 36px 24px 8px;
  max-width: 1208px; margin: 0 auto; scrollbar-width: none;
}
.reviews__rail::-webkit-scrollbar { height: 0; }
.reviews__rail > .tcard { flex: 0 0 320px; }
.reviews__wall { display: none; flex-direction: column; gap: 14px; margin-top: 36px; }
.wall-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.wall-row__track { display: inline-flex; gap: 14px; padding: 2px 7px; white-space: nowrap; animation: tickerScroll 42s linear infinite; }
.wall-row--rev .wall-row__track { animation-duration: 50s; animation-direction: reverse; }
.wall-chip {
  flex: 0 0 auto; width: 246px; background: var(--white); border-radius: var(--radius-lg);
  padding: 16px 18px; box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  display: inline-flex; flex-direction: column; gap: 10px; vertical-align: top; white-space: normal;
}
.wall-chip__top { display: flex; align-items: center; justify-content: space-between; }
.wall-chip p { font-size: 13.5px; line-height: 1.5; color: var(--ink-700); }
.wall-chip__who { display: flex; align-items: center; gap: 9px; margin-top: 2px; }
.wall-chip__av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink-900);
  color: var(--brand-yellow); font-weight: 700; font-size: 10px; flex-shrink: 0;
}
.wall-chip__name { font-weight: 600; font-size: 12.5px; color: var(--ink-900); }
.wall-chip__src { font-size: 11px; color: var(--ink-500); }

/* TestimonialCard */
.tcard {
  display: flex; flex-direction: column; gap: 14px; background: var(--white);
  border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-sm); min-width: 280px;
}
.tcard__top { display: flex; align-items: center; justify-content: space-between; }
.tcard blockquote { font-size: 15px; line-height: 1.6; color: var(--ink-700); }
.tcard figcaption { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border-hairline); }
.tcard__name { font-weight: 600; font-size: 14px; color: var(--ink-900); }
.tcard__meta { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; padding: 20px 24px; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.3px; color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__plus {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: var(--radius-pill);
  background: var(--brand-yellow); transition: transform var(--dur-base) var(--ease-out);
}
.faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-600); max-width: 720px; }

/* ---------- Closing CTA ---------- */
.closing { background: var(--ink-900); padding: 88px 24px; }
.closing__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.closing__left { display: flex; flex-direction: column; gap: 20px; }
.closing__left p { max-width: 440px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.72); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 24px; }
.footer__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer__inner img { height: 20px; width: auto; }
.footer__disc { font-size: 11.5px; line-height: 1.7; color: rgba(255,255,255,0.42); max-width: 820px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links span, .footer__links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  display: none; align-items: center; justify-content: center; gap: 12px; height: 62px;
  background: var(--brand-yellow); color: var(--ink-900); text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 0 4px rgba(253,219,51,0.16);
}
.sticky-call__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink-900);
  color: var(--brand-yellow); flex-shrink: 0;
}
.sticky-call__txt { display: flex; flex-direction: column; line-height: 1; }
.sticky-call__txt .lbl { font-family: var(--font-accent); font-size: 12px; letter-spacing: 1px; color: rgba(10,10,10,0.7); }
.sticky-call__txt .num { font-family: var(--font-accent); font-size: 24px; letter-spacing: 0.5px; color: var(--ink-900); }

/* ============================================================
   Responsive — mirrors the prototype's width-aware breakpoints
   ============================================================ */

/* < 900px : hero stacks, utility bar centers, sticky call bar + ticker */
@media (max-width: 899px) {
  /* Clears the 62px call bar plus its 12px bottom offset and 14px breathing room. */
  body { padding-bottom: 88px; }
  .utilbar__inner { justify-content: center; }
  .utilbar__item { font-size: 11.5px; }
  .util-full { display: none; }
  .util-short { display: inline; }
  .utilbar__right { display: none; }
  .logobar img { height: 20px; }
  .gbadge__count { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.2px; }
  .eyebrow-pill { padding: 7px 14px; font-size: 11px; letter-spacing: 0.5px; }
  .creds { display: none; }
  .cred-ticker { display: block; }
  .hero__cta { display: none; }
  .hero__left .role-disc { display: none; }
  .sticky-call { display: flex; }
}

/* Pillars stack < 820 */
@media (max-width: 819px) {
  .pillars__grid { grid-template-columns: minmax(0, 1fr); }
  .closing__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* Reviews wall < 760 */
@media (max-width: 759px) {
  .reviews__rail { display: none; }
  .reviews__wall { display: flex; }
}

/* Quad + trip grids < 700 */
@media (max-width: 699px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-left: 0; border-left: none; }
  .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile form — keep Nombre/Apellido side-by-side, with comfortable spacing */
@media (max-width: 459px) {
  .form { padding: 24px; gap: 15px; } /* tight rhythm WITHIN the field zone */
  .form__head { margin-bottom: 16px; } /* zone break: title/subtitle → fields */
  .form__row { gap: 10px; }
  .form .field { gap: 7px; }
  .field__box { padding: 0 13px; }
  .field__box input { padding: 12px 0; font-size: 16px; } /* 16px avoids iOS zoom-on-focus */
  .field--phone { margin-top: 12px; } /* clear break above Teléfono so it reads as its own field */
  .form__qual { gap: 9px; margin-top: 16px; } /* clear space above the question, tight to its buttons → reads as one group */
  .qual-row { gap: 10px; }
  .qual-btn { padding: 13px 8px; }
  .form .btn--full { margin-top: 16px; } /* zone break: fields → CTA */
  .form__trust { margin-top: 18px; } /* zone break: → trust badges */
  .consent { margin-top: 4px; }
  .form__head h3 .full { display: none; }
  .form__head h3 .short { display: inline; }
}

/* Below ~360px the two name fields would crowd — only then stack */
@media (max-width: 339px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cred-ticker__track, .wall-row__track { animation: none; }
}

/* ============================================================
   Legal pages (Política de Privacidad / Términos)
   ============================================================ */
.legal-top {
  background: var(--ink-900); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-top__inner {
  max-width: 860px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.legal-top__inner img { height: 22px; width: auto; }
.legal-top__back {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: 13.5px; font-weight: 500; color: var(--brand-yellow);
}
.legal { background: var(--white); }
.legal__inner { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 34px;
  letter-spacing: -1px; line-height: 1.1; color: var(--ink-900); margin-bottom: 8px;
}
.legal__date { font-size: 13.5px; color: var(--ink-500); margin-bottom: 36px; }
.legal h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  letter-spacing: -0.5px; color: var(--ink-900); margin: 36px 0 12px;
}
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--ink-700); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--brand-gold); }
.legal strong { color: var(--ink-900); }
.legal__note {
  margin-top: 32px; padding: 18px 20px; background: var(--grey-50);
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  font-size: 13.5px; line-height: 1.65; color: var(--ink-600);
}

/* ============================================================
   Additions v6 — role disclosure (all pages) + hub components
   ============================================================ */

/* Role disclosure - counsel-locked text with viewport-specific placements. */
.role-disc { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 560px; }
.role-disc--mobile { display: none; }
@media (max-width: 899px) {
  .role-disc--mobile { display: block; }
}

/* ---------- Category chooser (hub) ---------- */
.cats__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.cat {
  display: flex; flex-direction: column; gap: 12px; background: var(--white);
  border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  padding: 26px 22px; box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--ink-900); color: var(--brand-yellow); flex-shrink: 0;
}
.cat h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.4px; color: var(--ink-900); }
.cat p { font-size: 13px; line-height: 1.5; color: var(--ink-600); }
.cat__go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 13px; color: var(--brand-gold); }

/* ---------- Per-category modules (hub, sitelink anchor targets) ---------- */
.catmods { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.catmod {
  background: var(--white); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.catmod h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.5px; color: var(--ink-900); }
.catmod p { font-size: 14.5px; line-height: 1.6; color: var(--ink-600); }
.catmod__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.catmod__links a { font-weight: 600; font-size: 14px; color: var(--ink-900); text-decoration: none; }
.catmod__links a.more { color: var(--brand-gold); }
