:root {
  --navy: #0f2747;
  --navy-700: #16365f;
  --blue: #2f6df0;
  --blue-600: #2057d6;
  --gold: #9d8344;
  --gold-light: #c9a14a;
  --wa: #25d366;
  --ink: #1a2433;
  --muted: #5b6675;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e6eaf2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 39, 71, 0.08);
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-light); }

/* Barra de urgencia */
.topbar { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; background: linear-gradient(90deg, #9d8344, #c9a14a); color: #0f2747; padding: 10px 20px; font-size: 0.92rem; font-weight: 600; text-align: center; transition: filter 0.2s; }
.topbar:hover { filter: brightness(1.05); }
.topbar strong { font-weight: 800; }
.topbar__count { background: rgba(15,39,71,0.14); padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.topbar__cta { text-decoration: underline; white-space: nowrap; }
@media (max-width: 560px) { .topbar { font-size: 0.82rem; gap: 8px; padding: 9px 14px; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 500; color: var(--ink); transition: color 0.2s; }
.nav a:hover { color: var(--gold); }
.nav__cta { background: var(--navy); color: #fff !important; padding: 10px 18px; border-radius: 10px; transition: background 0.2s; }
.nav__cta:hover { background: var(--navy-700); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s, background 0.2s, box-shadow 0.2s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47,109,240,0.3); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.3); }
.btn--whatsapp:hover { background: #1fb558; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; margin-top: 20px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 72px 0 80px; }
.hero__inner { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--gold); }
.hero__lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 30px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__points li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; color: var(--ink); box-shadow: 0 2px 8px rgba(15,39,71,0.05); }
.hero__card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.hero__card-title { color: #fff; font-size: 1.35rem; }
.hero__card-text { color: rgba(255,255,255,0.82); margin: 12px 0 22px; }
.hero__card-foot { margin-top: 16px; text-align: center; font-size: 0.85rem; color: var(--gold-light); }

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); margin-top: 10px; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 56px; }
.grid--center { align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin-top: 8px; }

/* Banner */
.banner { margin-top: 40px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: var(--shadow); }
.banner strong { display: block; font-size: 1.2rem; }
.banner span { color: rgba(255,255,255,0.8); }

/* Steps */
.steps .step { text-align: center; padding: 12px; }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; background: var(--gold); color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.2rem; }
.step p { color: var(--muted); margin-top: 8px; }

/* CTA / contacto */
.section--cta { background: var(--navy); color: #fff; }
.section--cta h2 { color: #fff; }
.section--cta p { color: rgba(255,255,255,0.82); }
.contact__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.contact__list a:hover { color: var(--gold-light); }

/* Form */
.form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }
.field__opt { color: var(--muted); font-weight: 400; font-size: 0.85em; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,240,0.15); }
.field textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.form__note { margin-top: 16px; color: #1a7f4b; font-weight: 600; text-align: center; }

/* Oficina / mapa */
.office { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.office__list { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; font-size: 1.05rem; color: var(--ink); }
.office__list li { display: flex; gap: 12px; align-items: flex-start; }
.office__list span { font-size: 1.2rem; line-height: 1.3; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; gap: 28px; } }

/* Banner de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(15,39,71,0.18); padding: 18px 20px; animation: cookieUp 0.4s ease; }
.cookie[hidden] { display: none; }
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie__text { flex: 1; min-width: 240px; font-size: 0.9rem; color: var(--ink); margin: 0; }
.cookie__text a { color: var(--blue); font-weight: 600; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie__actions .btn { padding: 11px 22px; }

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal__inner { max-width: 800px; }
.legal h1 { margin-bottom: 6px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal h3 { margin: 24px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--blue); }
.legal__updated { font-size: 0.9rem; margin-bottom: 8px; }
.legal__list { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.legal__back { margin-top: 40px; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 8px 0 4px; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.legal__table th { background: var(--bg-alt); color: var(--ink); }
.legal__table td { color: var(--muted); }

/* Reseñas */
.reviews { max-width: 720px; margin: 0 auto; text-align: center; }
.reviews__badge { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 22px; }
.reviews__stars { color: #fbbc04; font-size: 1.7rem; letter-spacing: 2px; }
.reviews__src { color: var(--muted); font-size: 0.95rem; }
.reviews__src strong { color: var(--ink); }
.reviews__widget { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; color: var(--muted); margin-bottom: 24px; }
.reviews__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; transition: box-shadow 0.2s, border-color 0.2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: #d7def0; }
.faq__item summary { list-style: none; cursor: pointer; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold); transition: transform 0.2s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 18px; margin: 0; }

/* Footer */
.footer { background: #0a1b33; color: rgba(255,255,255,0.75); padding: 30px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; }
.footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__logo { height: 30px; width: auto; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: #fff; }

/* WhatsApp flotante */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform 0.2s, box-shadow 0.2s; }
.whatsapp:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,0.6); }

/* Animaciones */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 860px) {
  .hero__inner, .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav--open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .grid--3 { grid-template-columns: 1fr; } .section { padding: 60px 0; } }
