:root {
  --navy-900: #071523;
  --navy-800: #0b1b2b;
  --navy-700: #102538;
  --navy-600: #16324a;
  --gold: #e6b455;
  --gold-soft: #f2d59a;
  --text: #eaf0f6;
  --text-dim: #a8bacb;
  --line: rgba(230, 180, 85, 0.18);
  --radius: 18px;
  --max: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 21, 35, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 21, 35, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold), #c8913a);
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.brand-text {
  font-size: 19px;
  letter-spacing: .01em;
}

.brand-text strong { font-weight: 700; }
.brand-text span { color: var(--gold); font-weight: 600; }

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--text-dim);
}

.nav a {
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn svg { width: 20px; height: 20px; fill: currentColor; }

.btn-primary {
  background: linear-gradient(145deg, var(--gold), #cf9a3f);
  color: var(--navy-900);
  box-shadow: 0 10px 26px -12px rgba(230, 180, 85, .7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(230, 180, 85, .85);
}

.btn-ghost {
  border-color: rgba(230, 180, 85, .38);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(230, 180, 85, .08);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 80% -10%, rgba(230, 180, 85, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.hero-glow {
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 50, 74, .9), transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 4.3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-badges li { position: relative; }

.hero-badges li + li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }

.section-alt {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.2;
}

.section h2 em {
  font-style: italic;
  color: var(--gold);
}

.section-lead {
  max-width: 620px;
  margin: 0 0 48px;
  color: var(--text-dim);
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22, 50, 74, .55), rgba(11, 27, 43, .55));
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(230, 180, 85, .12);
  border: 1px solid rgba(230, 180, 85, .22);
}

.card-icon svg { width: 26px; height: 26px; fill: var(--gold); }

.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* ---------- Asesoramiento ---------- */

.advice {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 56px;
  align-items: center;
}

.advice-text p {
  color: var(--text-dim);
  max-width: 52ch;
}

.advice-text strong { color: var(--text); }

.advice-text .btn { margin-top: 18px; }

.advice-quote {
  position: relative;
  padding: 44px 36px 36px;
  border-radius: var(--radius);
  background: rgba(7, 21, 35, .55);
  border: 1px solid var(--line);
}

.quote-mark {
  position: absolute;
  top: 6px;
  left: 26px;
  font-family: var(--serif);
  font-size: 76px;
  line-height: 1;
  color: rgba(230, 180, 85, .28);
}

.advice-quote p {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}

.advice-quote footer {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(22, 50, 74, .5), rgba(11, 27, 43, .5));
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(22, 50, 74, .8), rgba(11, 27, 43, .7));
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(230, 180, 85, .12);
  border: 1px solid rgba(230, 180, 85, .22);
}

.contact-icon svg { width: 24px; height: 24px; fill: var(--gold); }

.contact-body { display: flex; flex-direction: column; line-height: 1.35; }
.contact-body strong { font-size: 15px; font-weight: 600; }
.contact-body span { color: var(--text-dim); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 54px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--navy-900);
}

.footer-inner { text-align: center; }

.footer-brand {
  justify-content: center;
  margin: 0 0 18px;
}

.footer-claim {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold-soft);
}

.footer-legal {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--gold); }

/* ---------- WhatsApp flotante ---------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .85);
  transition: transform .2s ease;
}

.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .advice { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .header-inner { min-height: 66px; }
  .hero { padding: 68px 0 76px; }
  .section { padding: 64px 0; }
  .hero-actions .btn { width: 100%; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }

  .hero-badges { gap: 10px; margin-top: 44px; }
  .hero-badges li {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 11.5px;
    letter-spacing: .12em;
  }
  .hero-badges li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .contact-card, .whatsapp-float { transition: none; }
}
