/* Hogar 1000 · Home de hogar1000.com (prototipo, derivada de la landing de captación)
   Layout: bandas alternas marino / blanco / cielo, contenido en columna centrada,
   oro reservado para CTA y sellos. Una sola apariencia de marca (no cambia con el tema). */
:root {
  --navy: #031435;
  --navy-2: #0b2457;
  --navy-3: #16336f;
  --sky: #dbe9f6;
  --sky-2: #eef5fb;
  --white: #ffffff;
  --ink: #142037;
  --muted: #56627a;
  --line: #d3dceb;
  --gold: #d4af37;
  --gold-deep: #9c7c22;
  --gold-hi: #ecd27a;
  --gold-metal: linear-gradient(120deg, #a8862a 0%, #d4af37 30%, #f3dc8a 50%, #d4af37 70%, #a8862a 100%);
  --wa: #1fa855;
  --err: #b42318;

  --f-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --r-s: 6px;
  --r-m: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 {
  font: 400 clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem)/1.15 var(--f-display);
  color: var(--navy);
  letter-spacing: -.005em;
  max-width: 22ch;
}
h3 { font: 700 1.08rem/1.35 var(--f-body); color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.center { text-align: center; }
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec .wrap { display: grid; gap: 18px; }
.eyebrow {
  font: 700 .76rem/1.3 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-3);
}
.eyebrow--gold { color: var(--gold-deep); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 0;
  font: 800 1rem/1.2 var(--f-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--gold {
  position: relative; overflow: hidden;
  background: var(--gold-metal); background-size: 200% 100%;
  color: var(--navy);
  box-shadow: 0 10px 28px -10px rgba(212, 175, 55, .75), inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: metal 6s ease-in-out infinite;
}
.btn--gold:hover { box-shadow: 0 16px 36px -12px rgba(212, 175, 55, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
@keyframes metal { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--gold-hi); }

/* ---------- Cabecera (sin menú) ---------- */
.top { background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(212, 175, 55, .14); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); }
.brand__mark { width: 36px; height: 36px; }
.brand__txt { display: grid; line-height: 1.05; color: var(--white); }
.brand__txt small { font: 700 .62rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); }
.brand__txt b { font: 400 1.3rem/1.15 var(--f-display); letter-spacing: .02em; }
.top__seal {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 .9rem/1.05 var(--f-body); letter-spacing: .06em;
  color: var(--gold-hi); border: 1px solid rgba(212, 175, 55, .45); border-radius: 999px; padding: 6px 14px 6px 8px;
  white-space: nowrap; background: rgba(212, 175, 55, .06);
}
.top__seal svg { width: 28px; height: 28px; }
.top__seal span { display: grid; }
.top__seal small { font: 700 .58rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #d9c27a; }

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 20, 53, 0) 60%, rgba(3, 20, 53, .6) 100%),
    var(--hero-photo, none) center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding-block: clamp(44px, 7vw, 96px) clamp(110px, 12vw, 150px);
}
/* Para usar una foto real: añada assets/img/hero.webp y descomente
   .hero { --hero-photo: linear-gradient(rgba(3,20,53,.82), rgba(3,20,53,.9)), url("assets/img/hero.webp"); } */
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(150, 196, 236, .28), rgba(150, 196, 236, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero h1 {
  font: 400 clamp(2.05rem, 1.3rem + 3.6vw, 3.9rem)/1.08 var(--f-display);
  letter-spacing: -.01em; max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 54ch; color: #cfdaee; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); }
.hero__ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--sky); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi); transform: rotate(-45deg) translateY(-2px); }

.dossier {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: var(--r-m);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.dossier__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(212, 175, 55, .25); }
.dossier__tag { font: 400 1.25rem/1.2 var(--f-display); color: var(--white); }
.dossier__ref { font: 800 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold-hi); border-radius: 999px; padding: 6px 10px; }
.dossier__list { list-style: none; margin: 0; padding: 0; display: grid; }
.dossier__list li { display: grid; gap: 2px; padding: 14px 0 14px 30px; border-bottom: 1px dashed rgba(219, 233, 246, .2); position: relative; }
.dossier__list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi); transform: rotate(-45deg); }
.dossier__list b { color: var(--white); font-weight: 700; }
.dossier__list span { color: #b9c7e0; font-size: .92rem; line-height: 1.5; }
.dossier__foot { padding-top: 14px; font-size: .8rem; color: var(--sky); letter-spacing: .02em; }

.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 9vw, 120px); color: rgba(212, 175, 55, .42); pointer-events: none; }

/* Entrada del hero (parte visible: solo suaviza la aparición) */
.hero__copy > *, .dossier { animation: rise .8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .3s; }
.dossier { animation-delay: .34s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 2 · Credibilidad ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.trust .wrap { display: grid; gap: 22px; padding-block: 30px; }
.trust__metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.trust__metrics li { display: grid; gap: 4px; align-content: start; min-width: 0; }
.trust__metrics strong { font: 400 1.75rem/1.05 var(--f-display); color: var(--navy); }
.trust__metrics span { font-size: .86rem; line-height: 1.4; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .08em; }
.trust__metrics .stars { font-family: var(--f-body); font-size: 1.3rem; padding-block: 4px; }
.trust__seals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.seal--apiva { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; line-height: 1.25; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 12px; }
.seal--apiva b { font: 400 1.4rem/1 var(--f-display); letter-spacing: .08em; color: var(--navy); }
.seal--gold { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--gold-metal); color: var(--navy); box-shadow: 0 8px 20px -10px rgba(168, 134, 42, .7); }
.seal--gold svg { width: 34px; height: 34px; color: var(--navy); }
.seal--gold svg path:first-child { fill: var(--navy); }
.seal--gold svg path:last-child { stroke: var(--gold-hi); }
.seal--gold span { display: grid; font: 800 1rem/1.1 var(--f-body); letter-spacing: .04em; }
.seal--gold small { font: 700 .6rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
.trust__label { font-size: .8rem; color: var(--muted); margin-left: auto; }
.portal { font: 800 1rem/1 var(--f-body); letter-spacing: -.02em; color: #8a94a8; padding: 8px 4px; }

/* ---------- 3 · PAS ---------- */
.pas { background: var(--sky-2); }
.pas__grid { display: grid; gap: 14px; margin-top: 16px; }
.pain { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; display: grid; gap: 8px; }
.pain h3 { display: flex; align-items: center; gap: 10px; }
.pain h3::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: #c8573f; box-shadow: 0 0 0 4px rgba(200, 87, 63, .14); }
.pain p { color: var(--muted); font-size: .97rem; }
.solution {
  margin-top: 26px; display: grid; gap: 26px;
  background: var(--navy); color: #d3ddf0; border-radius: var(--r-m);
  padding: clamp(26px, 4vw, 48px);
}
.solution__txt { display: grid; gap: 14px; min-width: 0; }
.solution__lead { font: 400 clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem)/1.25 var(--f-display); color: var(--white); }
.solution__quote {
  margin: 0; min-width: 0;
  font: 400 1.12rem/1.5 var(--f-display); color: var(--gold-hi);
  border-left: 2px solid var(--gold); padding-left: 20px; align-self: center;
}

/* ---------- Garantía 360° ---------- */
.eco { background: radial-gradient(90% 70% at 100% 0%, var(--navy-3), var(--navy) 60%); color: #cdd8ec; position: relative; overflow: hidden; }
.eco h2 { color: var(--white); max-width: 24ch; }
.eco .eyebrow--gold { color: var(--gold-hi); }
.eco__lead { max-width: 62ch; font-size: 1.06rem; }
.eco__layout { display: grid; gap: 34px; align-items: center; margin-top: 20px; }
.eco__hub { position: relative; width: min(240px, 70vw); aspect-ratio: 1; max-width: 100%; justify-self: center; color: var(--gold); }
.eco__hub svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.eco__core { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--gold-metal); color: var(--navy); box-shadow: 0 20px 50px -18px rgba(212, 175, 55, .55); }
.eco__core b { font: 400 clamp(2rem, 1.6rem + 1.5vw, 2.6rem)/1 var(--f-display); }
.eco__core span { font: 800 .62rem/1.3 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.eco__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.eco__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px; border-radius: var(--r-m); border: 1px solid rgba(212, 175, 55, .22); background: rgba(255, 255, 255, .04); }
.eco__item svg { width: 44px; height: 44px; padding: 9px; border-radius: 50%; color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .4); }
.eco__item h3 { color: var(--white); margin-bottom: 4px; }
.eco__item p { font-size: .95rem; }

/* ---------- 4 · Pasos ---------- */
.steps { background: var(--white); }
.steps__list { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; display: grid; gap: 8px; padding: 26px 22px 24px; border-radius: var(--r-m); background: var(--sky-2); }
.step__n {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px;
  font: 400 1.4rem/1 var(--f-display); color: var(--navy);
  border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--gold);
}
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- 5 · Beneficios ---------- */
.benefits { background: var(--sky-2); color: var(--muted); }
.benefits__grid { display: grid; gap: 14px; margin-top: 18px; }
.benefit { display: grid; gap: 10px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(3, 20, 53, .4); }
.benefit svg { width: 34px; height: 34px; color: var(--gold-deep); }
.benefit p { font-size: .96rem; }

/* ---------- 6 · Testimonios ---------- */
.reviews { background: var(--white); }
.reviews__grid { display: grid; gap: 16px; margin-top: 16px; }
.review { margin: 0; display: grid; gap: 12px; align-content: start; background: var(--sky-2); border-radius: var(--r-m); padding: 26px 24px; border: 1px solid var(--line); position: relative; }
.review__ph { justify-self: start; font: 700 .68rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #fff3d6; border: 1px dashed #d8a64a; border-radius: 4px; padding: 5px 8px; }
.review blockquote { margin: 0; font: 400 1.25rem/1.4 var(--f-display); color: var(--ink); }
.review figcaption { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.review figcaption b { color: var(--navy); }
.review figcaption span { font-size: .86rem; color: var(--muted); }
.reviews__more a { font-weight: 700; color: var(--navy-3); }

/* ---------- 7 · Formulario ---------- */
.lead { background: radial-gradient(120% 80% at 0% 0%, var(--navy-2), var(--navy) 60%); color: #cdd8ec; scroll-margin-top: 0; }
.lead__grid { display: grid; gap: 34px; align-items: start; }
.lead__intro { display: grid; gap: 18px; min-width: 0; }
.lead h2 { color: var(--white); }
.lead .eyebrow--gold { color: var(--gold-hi); }
.lead__promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lead__promise li { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 600; }
.lead__promise li::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid var(--gold-hi); background: linear-gradient(var(--gold-hi), var(--gold-hi)) 0 0 / 0 0 no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23ecd27a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.quick { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid rgba(212, 175, 55, .2); }
.quick__label { width: 100%; font-weight: 700; color: var(--gold-hi); }

.card-form { background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); border-top: 4px solid var(--gold); min-width: 0; }
.form { display: grid; gap: 14px; }
.form__title { font: 400 1.5rem/1.2 var(--f-display); color: var(--navy); display: grid; gap: 4px; }
.form__title span { font: 600 .85rem/1.3 var(--f-body); color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label i { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 500 16px/1.3 var(--f-body); color: var(--ink);
  background: var(--sky-2); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-3); background-color: var(--white); box-shadow: 0 0 0 4px rgba(22, 51, 111, .12); }
.field__err { display: none; color: var(--err); font-size: .82rem; font-weight: 600; }
.field.is-bad input, .field.is-bad select { border-color: var(--err); background-color: #fff6f5; }
.field.is-bad .field__err, .field__err--check.is-on { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.check a { color: var(--navy-3); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__note { text-align: center; font-size: .82rem; color: var(--muted); }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-ok { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 20px 0; }
.form-ok svg { width: 64px; height: 64px; color: var(--wa); }
.form-ok__t { font: 400 1.6rem/1.2 var(--f-display); color: var(--navy); }
.form-ok p { color: var(--muted); max-width: 40ch; }

/* ---------- 8 · FAQ ---------- */
.faq { background: var(--white); }
.faq__wrap { max-width: 860px; }
.faq__list { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.04rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 14px 2px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* ---------- 9 · Garantía ---------- */
.guarantee { background: var(--sky); padding-block: clamp(56px, 8vw, 96px); }
.guarantee__in { display: grid; gap: 26px; justify-items: center; text-align: center; }
.guarantee__seal { width: 120px; height: 120px; color: var(--gold-deep); }
.guarantee__seal svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.guarantee__seal text { font-family: var(--f-body); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.guarantee__txt { display: grid; gap: 12px; justify-items: center; }
.guarantee h2 { max-width: 26ch; }
.guarantee p { color: var(--muted); max-width: 52ch; }

/* ---------- Pie ---------- */
.foot { background: var(--navy); color: #9fb0cf; font-size: .86rem; padding-bottom: 96px; }
.foot__in { display: grid; gap: 18px; padding-block: 34px; }
.foot__brand { font: 400 1.15rem/1.3 var(--f-display); color: var(--white); margin-bottom: 4px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__legal a { color: #cdd8ec; }

/* ---------- Barra flotante ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 10px; align-items: center;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(3, 20, 53, .96); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(212, 175, 55, .25);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock__main {
  flex: 1; display: grid; place-items: center; min-height: 50px; border-radius: 999px;
  background: var(--gold-metal); background-size: 200% 100%; color: var(--navy);
  font: 800 1rem/1 var(--f-body); text-decoration: none;
}
.dock__ic { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; flex: none; border-radius: 999px; color: var(--white); font: 800 .95rem/1 var(--f-body); text-decoration: none; }
.dock__ic svg { width: 22px; height: 22px; }
.dock__ic--wa { background: var(--wa); }

/* ---------- Escritorio ---------- */
@media (min-width: 720px) {
  .trust__metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pas__grid, .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list, .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; }
  .pas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eco__layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; }
  .eco__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution { grid-template-columns: 1.2fr .8fr; }
  .lead__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .guarantee__in { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; gap: 40px; align-items: center; }
  .guarantee__txt { justify-items: start; }
  .foot { padding-bottom: 0; }
  /* En escritorio la barra se convierte en una píldora flotante */
  .dock {
    left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding: 8px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .3);
    box-shadow: 0 20px 50px -20px rgba(3, 20, 53, .7);
  }
  .dock__main { padding: 0 24px; }
}
@media (max-width: 400px) {
  .top__seal small { display: none; }
  .brand__txt b { font-size: 1.15rem; }
  
  .dock__ic { padding: 0 14px; }
}

/* Solo se reducen los efectos realmente continuos */
@media (prefers-reduced-motion: reduce) {
  .guarantee__seal svg, .btn--gold { animation: none; }
}

/* v2 */
.lead h2 em { font-style: normal; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead__sub { font-size: 1.08rem; color: #dbe5f5; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); font-size: .92rem; }
.reviews__score b { font: 400 2rem/1 var(--f-display); color: var(--navy); }
.reviews__score .stars { font-size: 1.15rem; }
.trust__metrics strong .stars { font-size: 1rem; vertical-align: middle; }
.foot a { color: #cdd8ec; }
@media (prefers-reduced-motion: reduce) { .eco__hub svg { animation: none; } }

/* v3 · logo, sellos y hero */
.top__in { padding-block: 10px; }
.brand__logo { display: block; width: auto; height: 62px; }
.seals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.seal--gold svg path:first-child { fill: var(--navy); }
.seal--gold svg path:last-child { fill: none; stroke: var(--gold-hi); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.seals--top .seal--gold, .seals--hero .seal--gold { padding: 5px 14px 5px 6px; }
.seals--top .seal--gold svg { width: 28px; height: 28px; }
.seals--top .seal--gold span { font-size: .88rem; }
.seals--top .seal--apiva { display: none; }
.seals--top .seal--apiva, .seals--hero .seal--apiva, .seals--lead .seal--apiva { color: #b9c7e0; border-color: rgba(212, 175, 55, .35); }
.seals--top .seal--apiva b, .seals--hero .seal--apiva b, .seals--lead .seal--apiva b { color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__creds { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(212, 175, 55, .2); width: 100%; }
.hero__web { color: var(--sky); font-size: .92rem; text-decoration: none; }
.hero__web b { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.hero__web:hover b { color: var(--white); }
.trust__metrics strong a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; font-size: .85em; }
.seals--lead { padding-top: 6px; }
.seals--lead .seal--gold { padding: 8px 20px 8px 10px; }
.seals--lead .seal--gold svg { width: 42px; height: 42px; }
.seals--lead .seal--gold span { font-size: 1.15rem; }
.seals--lead .seal--apiva { padding: 10px 14px; }
.foot__logo { display: block; width: 110px; height: auto; margin-bottom: 14px; }
@media (max-width: 560px) {
  .hero__ctas .btn { width: 100%; }
}
@media (min-width: 720px) {
  .brand__logo { height: 76px; }
  .seals--top .seal--apiva { display: inline-flex; }
}
.dock__main { padding: 0 14px; text-align: center; }
@media (max-width: 480px) { .dock__long { display: none; } }

/* ---------- Home: cabecera con menú ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(3, 20, 53, .97); backdrop-filter: blur(8px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--navy); }
.top__in { gap: 12px; }
.brand__logo { height: 56px; }
.nav { display: none; }
.nav a { color: #dbe5f5; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-color: var(--gold); }
.nav a.nav__cta { border: 0; padding: 10px 18px; border-radius: 999px; background: var(--gold-metal); background-size: 200% 100%; color: var(--navy); font-weight: 800; }
.top .seals--top { margin-left: auto; }
.burger { display: inline-grid; gap: 5px; place-content: center; width: 46px; height: 46px; flex: none; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .45); background: transparent; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--gold-hi); transition: transform .25s, opacity .25s; }
.top.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.is-open .burger span:nth-child(2) { opacity: 0; }
.top.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.top.is-open .nav {
  display: grid; position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px max(18px, env(safe-area-inset-right, 0px)) 22px max(18px, env(safe-area-inset-left, 0px));
  background: var(--navy); border-bottom: 1px solid rgba(212, 175, 55, .3); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
}
.top.is-open .nav a { padding: 14px 0; border-bottom: 1px solid rgba(219, 233, 246, .1); font-size: 1.05rem; }
.top.is-open .nav a.nav__cta { margin-top: 14px; text-align: center; border: 0; }
.lead, .eco { scroll-margin-top: 80px; }
.card-form { scroll-margin-top: 96px; } /* destino de #valoracion: el formulario queda justo bajo la cabecera */
@media (max-width: 520px) { .top .seals--top .seal--gold small { display: none; } .top .seals--top .seal--gold span { font-size: .78rem; } .brand__logo { height: 50px; } }
@media (min-width: 1120px) {
  .nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
  .burger { display: none; }
  .top .seals--top { margin-left: 8px; }
  .top .seals--top .seal--apiva { display: none; }
  .brand__logo { height: 64px; }
}

/* ---------- Home: pie corporativo ---------- */
.foot { padding-bottom: 90px; }
.foot__grid { display: grid; gap: 34px; padding-block: 48px 30px; }
.foot__col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot__col a { color: #cdd8ec; text-decoration: none; }
.foot__col a:hover { color: var(--gold-hi); }
.foot__h { font: 700 .74rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 4px; }
.foot__h--sp { margin-top: 16px; }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social__a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-hi) !important; box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .45); transition: background-color .2s, color .2s; }
.social__a:hover { background: var(--gold); color: var(--navy) !important; }
.social__a svg { width: 21px; height: 21px; }
.foot__bottom { border-top: 1px solid rgba(219, 233, 246, .12); padding-block: 18px; font-size: .8rem; color: #8ea0c2; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } .foot__col--map { grid-column: 1 / -1; } }
@media (min-width: 1120px) { .foot__grid { grid-template-columns: 1.1fr .8fr .8fr 1.3fr; } .foot__col--map { grid-column: auto; } .foot { padding-bottom: 0; } .foot__bottom { padding-bottom: 96px; } }

/* Home v2: pie sin mapa, sellos en pie y cabecera */
.foot__area-lead { font: 400 1.2rem/1.35 var(--f-display); color: var(--white); }
.foot__area-lead b { font-weight: 400; color: var(--gold-hi); }
/* Municipios: línea corrida compacta separada por puntos medios dorados */
.foot__towns { list-style: none; margin: 2px 0 8px; padding: 0; display: flex; flex-wrap: wrap; row-gap: 2px; font-size: .78rem; line-height: 1.6; color: #c9d5ea; }
.foot__towns li { white-space: nowrap; }
.foot__towns li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--gold-hi); }
.seals--foot { margin-top: 8px; }
.seals--foot .seal--apiva { color: #b9c7e0; border-color: rgba(212, 175, 55, .35); }
.seals--foot .seal--apiva b { color: var(--white); }
.top .seals--top { gap: 8px; flex-wrap: nowrap; }
.top .seals--top .seal--apiva { display: inline-flex; padding: 6px 10px; }
.top .seals--top .seal--apiva b { font-size: 1.05rem; }
.top .seals--top .seal--apiva > span { display: none; }
@media (min-width: 720px) { .foot__col--area { grid-column: 1 / -1; } }
@media (min-width: 1120px) {
  .top .seals--top .seal--apiva { display: inline-flex; }
  .foot__grid { grid-template-columns: 1fr .8fr .8fr 1.4fr; }
  .foot__col--area { grid-column: auto; }
}

/* Logo oficial APIVA: se muestra siempre sobre placa blanca, sin recolorear */
.seal.seal--apiva, .seals .seal--apiva { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; background: #ffffff; border: 1px solid var(--line); border-radius: 10px; }
.seal--apiva img { display: block; width: auto; height: 62px; }
.seals--top .seal--apiva { padding: 3px 6px; border-radius: 8px; }
.seals--top .seal--apiva img { height: 44px; }
.seals--lead .seal--apiva img { height: 84px; }
.seals--foot .seal--apiva img { height: 72px; }

/* Botones flotantes: óvalo de valoración + círculo de WhatsApp (sin barra) */
.dock, .dock.is-on {
  position: fixed; z-index: 50; transform: none;
  left: max(14px, env(safe-area-inset-left, 0px)); right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none;
  pointer-events: none;
}
.dock > a { pointer-events: auto; }
.fab-val {
  flex: 1 1 auto; max-width: 320px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px; border-radius: 999px;
  background: var(--gold-metal); background-size: 200% 100%; color: var(--navy);
  font: 800 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 32px -12px rgba(3, 20, 53, .75), 0 0 0 1px rgba(255, 255, 255, .35) inset;
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: metal 6s ease-in-out infinite;
}
.fab-val svg { width: 22px; height: 22px; flex: none; }
.fab-val:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(3, 20, 53, .85), 0 0 0 1px rgba(255, 255, 255, .45) inset; }
.fab-wa {
  flex: none; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #ffffff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7), 0 6px 16px -8px rgba(3, 20, 53, .6);
  transition: transform .25s var(--ease);
}
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa:hover { transform: scale(1.07); }
@media (max-width: 979px) { .dock, .dock.is-on { justify-content: space-between; } .fab-val { max-width: none; } }
@media (min-width: 980px) { .dock, .dock.is-on { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .fab-val { animation: none; } }

/* Flotantes responsive: escritorio/tablet = óvalo de texto + círculo WhatsApp; móvil = solo círculo WhatsApp */
.dock, .dock.is-on { left: auto; justify-content: flex-end; }
.fab-val { flex: none; padding: 0 28px; }
@media (max-width: 767px) {
  .fab-val { display: none; }
  .dock, .dock.is-on { justify-content: flex-end; }
}
@media (min-width: 768px) and (max-width: 979px) { .dock, .dock.is-on { right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Equipo ---------- */
.team { background: var(--white); }
.team__lead { max-width: 60ch; color: var(--muted); }
.team__grid { display: grid; gap: 16px; margin-top: 14px; }
.agent { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border-radius: var(--r-m); background: var(--sky-2); border: 1px solid var(--line); }
.agent__ph { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-hi); font: 400 2rem/1 var(--f-display); box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--gold); }
.agent__body { display: grid; gap: 6px; }
.agent__role { font: 700 .76rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.agent__body p:last-child { color: var(--muted); font-size: .97rem; }
.team__more { font-weight: 700; color: var(--navy-3); }
@media (min-width: 720px) { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .agent { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; } .agent__ph { width: 64px; height: 64px; font-size: 1.4rem; } }
