/* ================================================================
   Deuda Legal · tokens
   ================================================================ */
:root {
  --navy: #0f2644;
  --navy-deep: #0a1b31;
  --navy-raise: #15325a;
  --blue: #175797;
  --blue-hover: #11477d;
  --blue-on-navy: #9dbfe3;
  --blue-wash: #e9f0f8;
  --white: #ffffff;
  --mist: #f3f6fa;
  --line: #dbe3ed;
  --line-strong: #b8c6d8;
  --ink: #0f2644;
  --ink-2: #3d4d64;
  --ink-3: #5a6a80;
  --on-navy-2: rgba(255, 255, 255, 0.78);
  --on-navy-line: rgba(255, 255, 255, 0.16);
  --error: #b42318;

  --font-display: "Source Serif 4", "Georgia", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgba(10, 27, 49, 0.06), 0 14px 36px -12px rgba(10, 27, 49, 0.2);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.14), 0 36px 72px -24px rgba(0, 0, 0, 0.55);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--line-strong) var(--mist); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
::selection { background: var(--blue); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: var(--white); }
.form-card :focus-visible { outline-color: var(--blue); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.5rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 10px 24px -12px rgba(23, 87, 151, .8); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-raise); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--blue-wash); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); background: var(--mist); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ================================================================
   Top bar + header
   ================================================================ */
.topbar { background: var(--navy-deep); color: var(--on-navy-2); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__where { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 16px; height: 16px; color: var(--blue-on-navy); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255,255,255,.08); }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); } }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10, 27, 49, .45); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; }
.header__logo img { width: 208px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; padding: 0 1.25rem; font-size: .95rem; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--menu { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

/* ================================================================
   Hero
   ================================================================ */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(23, 87, 151, .55), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(10, 27, 49, .9), transparent 70%);
}
.hero__mark { position: absolute; z-index: -1; right: -6%; bottom: -14%; width: min(64vw, 820px); opacity: .055; pointer-events: none; user-select: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 5.5vw, 80px) clamp(64px, 8vw, 112px); }
.hero__copy { padding-top: clamp(8px, 2vw, 36px); }
.hero__title { font-size: clamp(3rem, 1.4rem + 5vw, 5.25rem); line-height: .98; letter-spacing: -0.03em; font-weight: 600; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--blue-on-navy); }
.hero__lead { margin-top: 28px; max-width: 36ch; font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--on-navy-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; text-decoration: none; color: var(--white); font-variant-numeric: tabular-nums; }
.hero__phone .icon { color: var(--blue-on-navy); }
.hero__phone:hover { text-decoration: underline; }
.hero__trust { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--on-navy-line); display: grid; gap: 14px; max-width: 520px; }
.hero__trust li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-navy-2); font-size: 1rem; line-height: 1.5; }
.hero__trust strong { color: var(--white); font-weight: 600; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(157, 191, 227, .16); color: var(--blue-on-navy); margin-top: 1px; }
.tick .icon { width: 14px; height: 14px; stroke-width: 2.5; }

/* ================================================================
   Lead form (card)
   ================================================================ */
.form-card { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.form-card--flat { box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.lead-form__head { padding: 32px 32px 0; }
.lead-form__title { font-size: 1.875rem; letter-spacing: -0.02em; }
.lead-form__head p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.lead-form__body { padding: 24px 32px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); accent-color: var(--blue);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f2644' stroke-width='2' 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 14px center;
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 87, 151, .16); }
.field input[type="date"], .field input[type="time"] { min-width: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator, .field input[type="time"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field__error { display: none; font-size: .8125rem; font-weight: 500; color: var(--error); }
.field.has-error .field__error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form__actions { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 6px; }
.lead-form__or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .875rem; }
.lead-form__or::before, .lead-form__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lead-form__note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-3); }
.lead-form__note .icon { width: 15px; height: 15px; }
.lead-form__status { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--radius); background: #fdf0ee; color: var(--error); font-size: .9rem; line-height: 1.45; }
.lead-form__status a { font-weight: 600; }

/* ================================================================
   Sections · shared
   ================================================================ */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 640px; }
.section-head h2, .h2 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem); }
.section-head p { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); line-height: 1.55; }
.section--navy .section-head p { color: var(--on-navy-2); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ================================================================
   Services
   ================================================================ */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.services__intro { position: sticky; top: 132px; }
.services__intro .link-arrow { margin-top: 32px; }
.services__list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 28px; align-items: start; padding: 34px 8px 34px 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.service__icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.service__icon .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.service h3 { font-size: 1.625rem; letter-spacing: -0.015em; margin-top: 2px; }
.service p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.service .link-arrow { margin-top: 16px; font-size: .95rem; }

/* ================================================================
   Process
   ================================================================ */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 6vw, 80px); }
.steps__rail { position: absolute; top: 27px; left: 28px; right: calc((100% - 2 * clamp(28px, 4vw, 56px)) / 3 - 28px); height: 1.5px; background: var(--line-strong); overflow: hidden; }
.steps__rail::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--rail, 1)); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.js .steps__rail::after { --rail: 0; }
.js .steps.is-in .steps__rail::after { --rail: 1; }
.step { position: relative; }
.step__num {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--navy); color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; font-variant-numeric: lining-nums;
  transition: background-color .5s, color .5s, border-color .5s;
}
.steps.is-in .step:nth-child(2) .step__num { transition-delay: .1s; }
.steps.is-in .step:nth-child(3) .step__num { transition-delay: .7s; }
.steps.is-in .step:nth-child(4) .step__num { transition-delay: 1.3s; }
.steps.is-in .step__num { background: var(--navy); color: var(--white); }
.step h3 { margin-top: 28px; font-size: 1.625rem; }
.step__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); font-size: .875rem; font-weight: 600; }
.step__meta .icon { width: 16px; height: 16px; }
.step p { margin-top: 14px; color: var(--ink-2); max-width: 36ch; }
.step p strong { color: var(--ink); font-weight: 600; }

.verify { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; margin-top: clamp(56px, 6vw, 80px); padding: 28px 32px; background: var(--mist); border-radius: var(--radius-lg); }
.verify__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); }
.verify__icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.verify h3 { font-size: 1.375rem; }
.verify p { margin-top: 6px; color: var(--ink-2); max-width: 62ch; }
.verify p a { color: var(--blue); font-weight: 600; }
.process__cta { display: flex; justify-content: center; margin-top: 48px; }

/* ================================================================
   Why us (navy)
   ================================================================ */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.why__points { display: grid; gap: 0; border-top: 1px solid var(--on-navy-line); }
.why__points li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--on-navy-line); }
.why__points .tick { width: 32px; height: 32px; }
.why__points .tick .icon { width: 16px; height: 16px; }
.why__points h3 { font-size: 1.375rem; font-weight: 600; }
.why__points p { margin-top: 6px; color: var(--on-navy-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--on-navy-line); }
.stat { padding: 40px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--on-navy-line); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.25rem, 2rem + 4vw, 5.5rem); line-height: .95; letter-spacing: -0.035em; font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: 16px; color: var(--on-navy-2); max-width: 26ch; }

/* ================================================================
   Testimonials
   ================================================================ */
.testimonials__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.testimonials__head .section-head { max-width: 620px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating__stars { display: flex; gap: 3px; color: var(--blue); }
.rating__stars .icon { width: 20px; height: 20px; }
.rating span { font-size: .95rem; color: var(--ink-2); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 5vw, 72px); }
.quote { display: flex; flex-direction: column; margin: 0; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .35s var(--ease-out), border-color .35s; }
.quote:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.quote__stars { display: flex; gap: 2px; color: var(--blue); }
.quote__stars .icon { width: 16px; height: 16px; }
.quote blockquote { margin: 20px 0 0; flex: 1; }
.quote blockquote p { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.55; letter-spacing: -0.005em; color: var(--ink); font-variation-settings: "opsz" 18; }
.quote figcaption { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__name { font-weight: 700; font-size: 1rem; }
.quote__rol { margin-top: 4px; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; line-height: 1.45; }
.quote__rol b { font-weight: 600; color: var(--ink); }
.quote__verify { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.quote__verify .icon { width: 14px; height: 14px; }
.quote__verify:hover { text-decoration: underline; }
.quote--feature { background: var(--navy); border-color: var(--navy); color: var(--white); }
.quote--feature:hover { border-color: var(--navy); }
.quote--feature blockquote p { color: var(--white); font-size: 1.25rem; line-height: 1.5; letter-spacing: -0.01em; font-variation-settings: "opsz" 24; }
.quote--feature .quote__stars { color: var(--blue-on-navy); }
.quote--feature figcaption { border-top-color: var(--on-navy-line); }
.quote--feature .quote__rol { color: var(--on-navy-2); }
.quote--feature .quote__rol b { color: var(--white); }
.quote--feature .quote__verify { color: var(--blue-on-navy); }

/* ================================================================
   Contact
   ================================================================ */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.contact__icon .icon { width: 20px; height: 20px; }
.contact__label { font-size: .875rem; color: var(--ink-3); font-weight: 500; }
.contact__value { display: block; margin-top: 2px; font-weight: 600; font-size: 1.0625rem; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
a.contact__value:hover { color: var(--blue); text-decoration: underline; }
.contact__value small { display: block; font-weight: 500; font-size: .875rem; color: var(--blue); margin-top: 2px; }
.contact__social { display: flex; gap: 10px; margin-top: 28px; }
.contact__social a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .2s, background-color .2s; }
.contact__social a:hover { border-color: var(--navy); background: var(--mist); }
.contact__social .icon { width: 18px; height: 18px; color: var(--blue); }

/* ================================================================
   Footer
   ================================================================ */
.footer { background: var(--navy-deep); color: var(--on-navy-2); padding-top: clamp(64px, 7vw, 96px); font-size: .975rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--on-navy-line); }
.footer__brand img { width: 200px; }
.footer__brand p { margin-top: 20px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; color: var(--white); letter-spacing: -0.01em; }
.footer h3 { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: .875rem; }

/* ================================================================
   Floating WhatsApp + mobile action bar
   ================================================================ */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none; box-shadow: 0 16px 36px -14px rgba(10, 27, 49, .7); transition: transform .35s var(--ease-out), background-color .2s, opacity .35s; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: var(--blue-hover); transform: translateY(-2px); }
.mobile-bar { display: none; }

/* ================================================================
   Motion: one authored entrance, from a visible default
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title span, .js .hero__lead, .js .hero__actions, .js .hero__trust { animation: rise 1s var(--ease-out) both; }
  .js .hero__title span:nth-child(2) { animation-delay: .08s; }
  .js .hero__lead { animation-delay: .18s; }
  .js .hero__actions { animation-delay: .28s; }
  .js .hero__trust { animation-delay: .38s; }
  .js .hero__form .form-card { animation: lift 1.2s var(--ease-out) .2s both; }
  .js .hero__mark { animation: mark 2.4s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes lift { from { opacity: 0; transform: translateY(32px); box-shadow: 0 0 0 rgba(0,0,0,0); } to { opacity: 1; transform: none; } }
  @keyframes mark { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: .055; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1120px) {
  .nav__links { gap: 22px; }
  .header__logo img { width: 184px; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10,27,49,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 20px; min-height: 54px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-top: 0; }
  .hero__trust { margin-top: 40px; }
  .services, .why, .contact { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .topbar { display: none; }
  .header__inner { min-height: 72px; }
  .header__logo img { width: 164px; }
  .hero__actions .btn { width: 100%; }
  .lead-form__head { padding: 26px 22px 0; }
  .lead-form__body { padding: 20px 22px 26px; grid-template-columns: 1fr; }
  .lead-form__title { font-size: 1.625rem; }
  .service { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 28px 0; }
  .service__icon { width: 48px; height: 48px; }
  .service h3 { font-size: 1.4rem; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps__rail { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1.5px; height: auto; }
  .steps__rail::after { transform: scaleY(var(--rail, 1)); transform-origin: top; }
  .step { padding-left: 80px; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 10px; }
  .verify { grid-template-columns: 1fr; padding: 24px; }
  .verify .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; margin-top: 8px; border-top: 0; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--on-navy-line); }
  .quotes { grid-template-columns: 1fr; gap: 16px; }
  .quote { padding: 26px 22px; }
  .contact__social { flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; transition: transform .45s var(--ease-out), visibility 0s; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10,27,49,.4); }
  .mobile-bar .btn { min-height: 52px; padding: 0 12px; }
  .js .mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; }
}

/* ================================================================
   Página de gracias (gracias.html)
   ================================================================ */
.header__aside { display: flex; align-items: center; gap: 28px; }
.header__phone, .header__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); }
.header__phone { font-variant-numeric: tabular-nums; }
.header__phone .icon, .header__back .icon { width: 18px; height: 18px; color: var(--blue); }
.header__back .icon { transform: rotate(180deg); }
.header__phone:hover, .header__back:hover { color: var(--blue); }

.thanks { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); padding-block: clamp(56px, 6vw, 88px); background: var(--navy); color: var(--white); }
.thanks::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(23, 87, 151, .55), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(10, 27, 49, .9), transparent 70%);
}
.thanks__inner { max-width: 880px; }
.thanks__seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(157, 191, 227, .16); color: var(--blue-on-navy); }
.thanks__seal .icon { width: 34px; height: 34px; stroke-width: 2.25; }
.thanks h1 { margin-top: 32px; font-size: clamp(2.75rem, 1.6rem + 4.2vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; }
.thanks h1 span { display: block; color: var(--blue-on-navy); }
.thanks__lead { margin-top: 24px; max-width: 48ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--on-navy-2); }
.thanks__next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--on-navy-line); }
.thanks__next li { padding: 28px 28px 0 0; }
.thanks__next li + li { padding-left: 28px; border-left: 1px solid var(--on-navy-line); }
.thanks__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--blue-on-navy); }
.thanks__next h2 { margin-top: 12px; font-size: 1.25rem; }
.thanks__next p { margin-top: 8px; font-size: .975rem; color: var(--on-navy-2); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.footer--min { padding-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .thanks__inner > * { animation: rise 1s var(--ease-out) both; }
  .js .thanks__inner > :nth-child(2) { animation-delay: .08s; }
  .js .thanks__inner > :nth-child(3) { animation-delay: .16s; }
  .js .thanks__inner > :nth-child(4) { animation-delay: .26s; }
  .js .thanks__inner > :nth-child(5) { animation-delay: .36s; }
  .js .thanks .hero__mark { animation: mark 2.4s var(--ease-out) both; }
}

@media (max-width: 760px) {
  body.page-thanks { padding-bottom: 0; }
  .header__phone { display: none; }
  .thanks { min-height: calc(100svh - 72px); }
  .thanks__next { grid-template-columns: 1fr; margin-top: 40px; }
  .thanks__next li, .thanks__next li + li { padding: 22px 0; border-left: 0; }
  .thanks__next li + li { border-top: 1px solid var(--on-navy-line); }
  .thanks__actions { margin-top: 32px; }
  .thanks__actions .btn { width: 100%; }
}
