/* ==========================================================================
   Sistema de diseño — Paola Sharleen Valdez
   Paleta oficial (brand doc): Navy #0D1B2A · Gold #C8A95B · White · #1F1F1F
   Estilo: executive/luxury, limpio, bilingüe, mobile-first
   ========================================================================== */
:root {
  --navy: #0D1B2A;
  --navy-800: #12243A;
  --navy-700: #1B3350;
  --gold: #C8A95B;
  --gold-300: #E2CB8C;
  --gold-100: #F4EBD7;
  --gold-700: #A8873B;
  --white: #FFFFFF;
  --ink: #1F1F1F;
  --muted: #66707C;
  --cream: #F7F5F0;
  --line: #E7E2D6;
  --ok: #2E7D32;
  --err: #B00020;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow-sm: 0 2px 10px rgba(13,27,42,.06);
  --shadow-md: 0 10px 30px rgba(13,27,42,.10);
  --shadow-lg: 0 24px 60px rgba(6,13,20,.45);
  --ease: cubic-bezier(.22,.8,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  font-family: 'Poppins', 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: 'Montserrat', 'Poppins', sans-serif; color: var(--navy); line-height: 1.15; }
h1 { font-weight: 800; } h2, h3 { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,169,91,.25);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; padding: 10px 0; }
.brand .name { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: .06em; color: var(--white); font-size: .98rem; white-space: nowrap; }
.brand .name em { color: var(--gold); font-style: normal; }
.brand .tag { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-300); }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  color: rgba(255,255,255,.88); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 8px 13px; border-radius: 999px; transition: background .25s var(--ease), color .25s var(--ease);
}
nav.main a:hover { background: rgba(200,169,91,.16); color: var(--gold-300); }
nav.main a.cta { background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 6px; }
nav.main a.cta:hover { background: var(--gold-300); color: var(--navy); }
#nav-toggle { display: none; }
label.burger { display: none; }
@media (max-width: 860px) {
  label.burger {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px;
  }
  label.burger span { width: 24px; height: 2px; background: var(--gold-300); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy-800); padding: 10px 18px 18px; gap: 4px;
    border-bottom: 1px solid rgba(200,169,91,.25);
    display: none;
  }
  nav.main a { padding: 12px 14px; }
  nav.main a.cta { margin-left: 0; text-align: center; margin-top: 6px; }
  #nav-toggle:checked ~ nav.main { display: flex; }
  #nav-toggle:checked ~ label.burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ label.burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ label.burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(55% 55% at 88% 0%, rgba(200,169,91,.18) 0%, transparent 62%),
    radial-gradient(45% 50% at 0% 100%, rgba(200,169,91,.12) 0%, transparent 60%),
    linear-gradient(165deg, #FFFFFF 0%, #F8F4EC 60%, #F3EDDF 100%);
  padding: clamp(56px, 9vw, 104px) 0 clamp(56px, 8vw, 96px);
}
.hero::after {  /* filo dorado inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .8;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero .eyebrow { margin-bottom: 14px; color: var(--gold-700); }
.hero .eyebrow::before { background: var(--gold-700); }
.hero h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3.3rem); max-width: 22ch; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold-700); font-style: normal; }
.hero p.lead { margin-top: 18px; max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.13rem); color: #4A5460; }
.cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  font-size: .78rem; letter-spacing: .04em; color: #7A5C14;
  border: 1px solid rgba(168,135,59,.45); border-radius: 999px; padding: 5px 14px;
  background: rgba(200,169,91,.14);
}
.portrait-frame { position: relative; justify-self: center; width: min(78vw, 360px); }
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 2px solid rgba(200,169,91,.5);
  border-radius: calc(var(--radius) + 8px); pointer-events: none;
}
.portrait-frame img { border-radius: var(--radius); box-shadow: 0 18px 44px rgba(13,27,42,.22); width: 100%; }
.portrait-frame .plate {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -18px;
  background: var(--navy); color: var(--white); border-radius: 999px; box-shadow: var(--shadow-md);
  padding: 8px 20px; white-space: nowrap; text-align: center;
}
.portrait-frame .plate strong { font-family: 'Montserrat', sans-serif; font-size: .86rem; letter-spacing: .02em; display: block; color: var(--white); }
.portrait-frame .plate span { font-size: .68rem; color: var(--gold-300); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px; border: 0;
  font-weight: 600; text-decoration: none; font-size: .98rem; font-family: inherit; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold)); color: var(--navy); box-shadow: 0 6px 20px rgba(200,169,91,.35); }
.btn-gold:hover { box-shadow: 0 10px 26px rgba(200,169,91,.45); }
.btn-line { border: 1.5px solid var(--gold-700); color: var(--gold-700); background: transparent; }
.btn-line:hover { background: rgba(200,169,91,.14); }
.btn-line.on-light { color: var(--navy); border-color: var(--navy); }
.btn-line.on-light:hover { background: rgba(13,27,42,.06); }

/* ---------- Secciones ---------- */
section { padding: clamp(56px, 8vw, 92px) 0; }
section.alt { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .74rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
h2.section-title { font-size: clamp(1.5rem, 3.4vw, 2.25rem); margin: 12px 0 10px; letter-spacing: -.01em; }
p.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 34px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-300)); opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
section.alt .card { background: var(--cream); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-700)); color: var(--gold-300); font-size: 1.25rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }

/* ---------- Pasos numerados ---------- */
.steps { display: grid; gap: 18px; counter-reset: paso; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; position: relative; box-shadow: var(--shadow-sm); counter-increment: paso;
}
section.alt .step { background: var(--cream); }
.step::before {
  content: counter(paso);
  position: absolute; top: -18px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold)); color: var(--navy);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(200,169,91,.4);
}
.step h3 { font-size: 1.04rem; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Banda de confianza ---------- */
.trust { background: var(--navy); color: var(--white); padding: 26px 0; }
.trust .wrap { display: flex; gap: 14px 34px; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust .item { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: rgba(255,255,255,.85); }
.trust .item b { color: var(--gold-300); font-weight: 600; }
.trust .dot { color: var(--gold); }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 880px) { .about-grid { grid-template-columns: 320px 1fr; } }
.about-grid .portrait-frame { width: min(70vw, 300px); margin-top: 8px; }
.about-grid .portrait-frame::before { border-color: var(--gold-300); }
.about-grid .portrait-frame img { box-shadow: var(--shadow-md); }
.about-copy p + p { margin-top: 15px; }
.about-copy .firma { margin-top: 22px; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); }
.about-copy .firma span { display: block; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Formularios ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 40px); max-width: 640px;
}
section.alt .form-card { background: var(--cream); }
form.lead label { display: block; font-weight: 600; font-size: .88rem; margin: 16px 0 6px; color: var(--navy); }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--white); color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,169,91,.18);
}
form.lead .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .8rem; color: var(--muted); }
form.lead .consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
form.lead button { margin-top: 22px; width: 100%; }
@media (min-width: 700px) { form.lead button { width: auto; } }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; min-height: 1.3em; }
.split { display: grid; gap: 34px; align-items: start; }
@media (min-width: 940px) { .split { grid-template-columns: .85fr 1.15fr; } }
.split .aside h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 12px 0 12px; }
.split .aside p { color: var(--muted); max-width: 46ch; }
.split .aside ul { margin: 18px 0 0; padding: 0; list-style: none; }
.split .aside li { display: flex; gap: 10px; margin-bottom: 10px; font-size: .93rem; }
.split .aside li::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #B9C3CE; padding: 54px 0 34px; font-size: .84rem; }
footer.site h4 { color: var(--white); font-size: .92rem; margin-bottom: 12px; letter-spacing: .02em; }
footer.site .cols { display: grid; gap: 30px; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer.site a { color: var(--gold-300); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
footer.site img.eho { height: 46px; background: var(--white); padding: 5px; border-radius: 6px; }
.disclaimer { font-size: .77rem; opacity: .8; line-height: 1.7; }
.nmls-block { white-space: pre-line; line-height: 1.8; color: #D7DDE4; }
.badge-pendiente { background: #7A2E2E; color: #fff; padding: 1px 7px; border-radius: 4px; font-size: .72rem; letter-spacing: .03em; }

/* ---------- Aviso de transición entre sitios ---------- */
.site-note { background: var(--gold-100); color: #6B5620; text-align: center; font-size: .8rem; padding: 8px 16px; }
