/* ============================================================
   Indemniza360 — Hoja de estilos principal
   Paleta: Azul marino #0B1D3A · Teal #11B5A6 · Carbón #333B42
   ============================================================ */

:root {
  --navy: #0B1D3A;
  --navy-soft: #122B52;
  --teal: #11B5A6;
  --teal-dark: #0D9488;
  --teal-ink: #0A7C72;
  --carbon: #333B42;
  --ink: #1F2937;
  --slate: #5B6571;
  --cloud: #E9F6F4;
  --bone: #F5F8F9;
  --paper: #FFFFFF;
  --line: #E2E8EC;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(11, 29, 58, 0.05), 0 10px 32px -12px rgba(11, 29, 58, 0.14);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 18px; }

/* ---------- Barra de urgencia ---------- */
.urgency-bar {
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
}
.urgency-bar a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.urgency-bar.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.brand-name span { color: var(--teal); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--carbon);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--teal-ink); }

.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--navy); font-size: 15px;
  white-space: nowrap; line-height: 1;
}
.phone-link svg { color: var(--teal); flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; line-height: 1; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  padding: 15px 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(17, 181, 166, 0.65);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(17, 181, 166, 0.16), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -240px;
  top: -240px;
  width: 760px;
  height: 760px;
  border: 1.5px solid rgba(17, 181, 166, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 92px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 15px;
}
.chip svg { color: var(--teal); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: 20px;
  padding: 0;
}
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 44px -12px rgba(4, 12, 26, 0.45);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-float .icon-dot {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cloud);
  display: grid;
  place-items: center;
  color: var(--teal-ink);
  flex-shrink: 0;
}
.hero-float strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.3; }
.hero-float small { color: var(--slate); font-size: 12.5px; font-weight: 600; }
.float-a { bottom: 26px; left: -28px; }
.float-b { top: 26px; right: -16px; }

/* ---------- Barra de confianza ---------- */
.trust-strip { background: var(--bone); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.trust-item span { font-size: 14px; font-weight: 600; color: var(--slate); }
.trust-note {
  text-align: center;
  font-size: 12px;
  color: var(--slate);
  padding-bottom: 14px;
}

/* ---------- Bloque oferta / problema ---------- */
.offer-review { background: var(--paper); }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.offer-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px;
  position: relative;
  overflow: hidden;
}
.offer-card::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -90px;
  width: 260px; height: 260px;
  border: 1.5px solid rgba(17, 181, 166, 0.25);
  border-radius: 50%;
}
.offer-card h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.offer-card p { color: rgba(255, 255, 255, 0.75); font-size: 16px; margin-bottom: 24px; }
.offer-steps { display: grid; gap: 14px; margin-bottom: 28px; }
.offer-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.offer-steps svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.offer-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.offer-copy p { color: var(--slate); font-size: 17.5px; margin-bottom: 18px; }
.offer-copy .legal-fact {
  display: flex;
  gap: 14px;
  background: var(--cloud);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink);
  margin-top: 26px;
}
.offer-copy .legal-fact svg { color: var(--teal-ink); flex-shrink: 0; margin-top: 2px; }

/* ---------- Calculadora ---------- */
.calc-section { background: var(--bone); }
.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.calc-card, .calc-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.calc-card { padding: 34px; }
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field > label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 800;
  color: var(--navy);
  font-size: 15.5px;
  margin-bottom: 10px;
}
.calc-field .field-value { color: var(--teal-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.calc-field .hint { font-size: 13.5px; color: var(--slate); font-weight: 500; margin-top: 8px; }

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  height: 32px;
  cursor: pointer;
}
.calc-field select,
.calc-field input[type="number"],
.form-field input,
.form-field select {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.calc-field select:focus,
.calc-field input:focus,
.form-field input:focus,
.form-field select:focus { border-color: var(--teal); }

.calc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.2s;
  cursor: pointer;
}
.switch .track::after {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.switch input:checked + .track { background: var(--teal); }
.switch input:checked + .track::after { transform: translateX(22px); }

.calc-result { padding: 34px; position: sticky; top: 110px; }
.calc-result h3 { font-size: 17px; color: var(--slate); font-weight: 700; margin-bottom: 6px; }
.calc-amount {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.calc-amount .currency { color: var(--teal); }
.calc-breakdown { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; display: grid; gap: 10px; }
.calc-breakdown .row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--carbon);
  font-weight: 600;
}
.calc-breakdown .row strong { color: var(--navy); font-weight: 800; }
.calc-disclaimer {
  font-size: 12.5px;
  color: var(--slate);
  background: var(--bone);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 18px;
  line-height: 1.5;
}

/* ---------- Proceso 360 ---------- */
.process-section { background: var(--paper); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: paso;
}
.process-card {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.process-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(17, 181, 166, 0.45);
}
.process-card .num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.process-card:nth-child(n+4) .num { background: var(--teal); }
.process-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.process-card p { font-size: 15px; color: var(--slate); }

/* ---------- Servicios SEO ---------- */
.services-section { background: var(--navy); color: #fff; }
.services-section .kicker { color: var(--teal); }
.services-section .section-head h2 { color: #fff; }
.services-section .section-head p { color: rgba(255, 255, 255, 0.7); }
.services-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.services-col h3 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.services-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}
.services-list a:hover { background: rgba(17, 181, 166, 0.14); border-color: rgba(17, 181, 166, 0.5); }
.services-list svg { color: var(--teal); flex-shrink: 0; }

/* ---------- No win no fee ---------- */
.fee-banner {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 44px;
  margin-top: 56px;
}
.fee-banner h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.fee-banner p { color: rgba(255, 255, 255, 0.85); font-size: 16.5px; max-width: 560px; }
.fee-banner .btn { background: var(--navy); color: #fff; white-space: nowrap; }
.fee-banner .btn:hover { background: var(--navy-soft); }

/* ---------- Por qué / diferenciales ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 4px 0; }
.why-card .icon-tile {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--cloud);
  color: var(--teal-ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--slate); }

/* ---------- 72 horas ---------- */
.h72-section { background: var(--cloud); }
.h72-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.h72-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid rgba(17, 181, 166, 0.22);
}
.h72-card .step-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-ink);
  background: var(--cloud);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.h72-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.h72-card p { font-size: 14.5px; color: var(--slate); }
.h72-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.h72-cta p { font-weight: 700; color: var(--navy); }

/* ---------- Equipo ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.team-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.team-copy p { color: var(--slate); font-size: 17px; margin-bottom: 16px; }
.team-points { display: grid; gap: 14px; margin-top: 26px; }
.team-points li { display: flex; gap: 12px; font-weight: 600; color: var(--carbon); font-size: 16px; }
.team-points svg { color: var(--teal); flex-shrink: 0; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bone); }
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  color: var(--navy);
  font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cloud);
  color: var(--teal-ink);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--slate); font-size: 15.5px; }

/* ---------- Contacto ---------- */
.contact-section {
  background:
    radial-gradient(900px 480px at 12% 110%, rgba(17, 181, 166, 0.16), transparent 60%),
    var(--navy);
  color: #fff;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.contact-copy > p { color: rgba(255, 255, 255, 0.75); font-size: 18px; margin-bottom: 30px; }
.contact-lines { display: grid; gap: 18px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines .icon-dot {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(17, 181, 166, 0.14);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-lines strong { display: block; color: #fff; font-size: 16px; }
.contact-lines span, .contact-lines a { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.contact-lines a:hover { color: var(--teal); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  color: var(--ink);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.45);
}
.contact-form h3 { font-size: 21px; margin-bottom: 6px; }
.contact-form > p { font-size: 14.5px; color: var(--slate); margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
  transition: border-color 0.15s;
}
.form-field textarea:focus { border-color: var(--teal); }
.form-field .hint { font-size: 12.5px; margin-top: 7px; }
.req-star { color: var(--teal-ink); font-weight: 800; }
.form-field label { display: block; font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }

/* Indicador de demostración del filtro de Ads (quitar en producción) */
.ads-demo {
  margin-top: 16px;
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  animation: adsDemoIn 0.3s ease;
}
@keyframes adsDemoIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ads-demo strong { font-size: 14.5px; }
.ads-demo span { font-size: 13px; color: var(--slate); }
.ads-demo em { font-size: 11.5px; color: var(--slate); font-style: normal; opacity: 0.8; margin-top: 2px; }
.ads-demo.is-on { background: var(--cloud); border-color: rgba(17, 181, 166, 0.4); }
.ads-demo.is-on strong { color: var(--teal-ink); }
.ads-demo.is-off { background: #F6F7F8; border-color: var(--line); }
.ads-demo.is-off strong { color: var(--carbon); }
.form-note { font-size: 12.5px; color: var(--slate); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #07142B; color: rgba(255, 255, 255, 0.65); font-size: 14.5px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand img { height: 52px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); transition: color 0.15s; }
.footer-col a:hover { color: var(--teal); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal nav { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   PÁGINAS INTERNAS (servicios, FAQ, contacto)
   ============================================================ */

/* ---------- Hero interno / cabecera de página ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 460px at 85% -25%, rgba(17, 181, 166, 0.18), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -200px;
  top: -260px;
  width: 620px;
  height: 620px;
  border: 1.5px solid rgba(17, 181, 166, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  padding-top: 52px;
  padding-bottom: 60px;
}
.page-hero .kicker { color: var(--teal); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 780px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.6vw, 19.5px);
  max-width: 640px;
}
.page-hero .hero-actions { margin-top: 30px; margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb span[aria-current] { color: #fff; }

/* ---------- Nav activo ---------- */
.main-nav a[aria-current="page"] { color: var(--teal-ink); }

/* ---------- Tarjetas de servicio detalladas ---------- */
.svc-block + .svc-block { margin-top: 64px; }
.svc-block-head { max-width: 720px; margin-bottom: 36px; }
.svc-block-head .label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 12px;
  display: block;
}
.svc-block-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.svc-block-head p { color: var(--slate); font-size: 17.5px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(17, 181, 166, 0.45);
}
.svc-card .icon-tile {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--cloud);
  color: var(--teal-ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.svc-card h3 { font-size: 19px; margin-bottom: 9px; }
.svc-card p { font-size: 15px; color: var(--slate); margin-bottom: 18px; flex: 1; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 15px;
  color: var(--teal-ink);
}
.svc-link svg { transition: transform 0.15s; }
.svc-card:hover .svc-link svg { transform: translateX(3px); }

/* ---------- CTA band (cierre de página) ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 360px at 85% 120%, rgba(17, 181, 166, 0.2), transparent 60%),
    var(--navy);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; max-width: 640px; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.78); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* ---------- FAQ por categorías ---------- */
.faq-cats { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
  display: block;
}
.faq-side ul { display: grid; gap: 4px; }
.faq-side a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 15px;
  color: var(--carbon);
  transition: background 0.15s, color 0.15s;
}
.faq-side a:hover { background: var(--cloud); color: var(--teal-ink); }
.faq-group { margin-bottom: 40px; scroll-margin-top: 110px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 {
  font-size: 22px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.faq-cats .faq-list { max-width: none; }

/* ---------- Contacto: pasos siguientes ---------- */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.next-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.next-card .num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cloud);
  color: var(--teal-ink);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 15px;
}
.next-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.next-card p { font-size: 14.5px; color: var(--slate); }

/* ---------- Contacto: tarjeta de horario / mapa ---------- */
.contact-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 220px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 14px, transparent 14px 28px),
    var(--navy-soft);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}
.map-frame .map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
.map-frame .map-pin svg { color: var(--teal); }
.hours-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.hours-card h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}
.hours-row:last-child { border-bottom: none; }
.hours-row b { color: #fff; font-weight: 700; }
.hours-row .closed { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 1020px) {
  .svc-grid, .next-steps { grid-template-columns: 1fr 1fr; }
  .faq-cats { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .faq-side ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .contact-extra { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .svc-grid, .next-steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
}

/* ---------- Páginas legales ---------- */
.legal-prose { max-width: 780px; }
.legal-prose .legal-meta {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.legal-prose .legal-meta strong { color: var(--navy); }
.legal-prose h2 {
  font-size: 23px;
  margin: 38px 0 14px;
  scroll-margin-top: 110px;
}
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-prose p { color: var(--slate); font-size: 16.5px; margin-bottom: 14px; line-height: 1.75; }
.legal-prose ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; display: grid; gap: 7px; }
.legal-prose ul li { color: var(--slate); font-size: 16.5px; line-height: 1.65; }
.legal-prose strong { color: var(--ink); font-weight: 700; }
.legal-prose a { font-weight: 700; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--bone); color: var(--navy); font-weight: 800; }
.legal-table td { color: var(--slate); }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 70;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -16px rgba(11, 29, 58, 0.4);
  padding: 20px 24px;
  max-width: 1148px;
  margin: 0 auto;
}
.cookie-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 4px; }
.cookie-text p { font-size: 13.5px; color: var(--slate); margin: 0; line-height: 1.5; }
.cookie-text a { font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 14.5px; }
.cookie-banner.is-hidden { display: none; }
@media (max-width: 620px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 22px 13px 16px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.04); color: #fff; }

/* ---------- Cobertura por ciudades (eje geográfico) ---------- */
.geo-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.geo-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-card); transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s; }
.geo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(11,29,58,.26); border-color: rgba(17,181,166,0.45); }
.geo-card .gc-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--cloud); color: var(--teal-ink); display: grid; place-items: center; flex-shrink: 0; }
.geo-card .gc-ic svg { width: 24px; height: 24px; }
.geo-card b { font-size: 18px; color: var(--navy); letter-spacing: -0.01em; }
.geo-card span { font-size: 13px; color: var(--slate); }
.geo-cities { display: grid; gap: 8px; }
.geo-city { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14px; color: var(--navy); transition: border-color 0.14s, color 0.14s, background 0.14s; }
.geo-city:hover { border-color: var(--teal); color: var(--teal-ink); background: var(--cloud); }
.geo-city svg { width: 16px; height: 16px; color: var(--teal-ink); flex-shrink: 0; }
@media (max-width: 900px) { .geo-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .geo-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Menú móvil ---------- */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .site-header .container { position: relative; flex-wrap: wrap; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -16px rgba(11,29,58,0.28); padding: 8px 0; gap: 0;
  }
  .site-header.nav-open .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.nav-open .main-nav a:last-child { border-bottom: none; }
}

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .offer-grid, .calc-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .h72-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .services-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .calc-result { position: static; }
  .fee-banner { grid-template-columns: 1fr; }
  .float-a { left: 8px; }
  .float-b { right: 8px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .process-grid, .why-grid, .h72-grid, .services-list { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; padding-bottom: 64px; }
  .header-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
