/* Easy Retirement — sitio público (easy-retirement.com) */
:root {
  --navy-950: #071629;
  --navy-900: #0B1F3A;
  --navy-800: #10294C;
  --navy-700: #183A66;
  --blue-600: #1E4F91;
  --gold-600: #B08D3E;
  --gold-500: #C9A75A;
  --gold-300: #E2CC97;
  --gold-100: #F5EDD9;
  --cream: #F7F3EA;
  --cream-2: #FBF9F4;
  --paper: #FFFFFF;
  --ink: #13213A;
  --ink-2: #33405A;
  --muted: #5D677B;
  --line: #E4DFD3;
  --line-2: #EEEAE1;
  --ok: #2F7A57;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 4px 14px -6px rgba(11, 31, 58, .10);
  --shadow: 0 24px 60px -24px rgba(11, 31, 58, .32);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; color: var(--navy-900); font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.45rem; letter-spacing: -.005em; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.16rem; color: var(--ink-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 10px 24px -12px rgba(176, 141, 62, .9); }
.btn-gold:hover { background: var(--gold-300); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: rgba(11, 31, 58, .22); color: var(--navy-900); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { border-color: var(--navy-900); background: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-800); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra superior y encabezado ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .82); font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-in span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; color: var(--gold-500); flex: none; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-300); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(11, 31, 58, .45); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--navy-900); letter-spacing: -.01em; }
.brand-name small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.nav a:hover { color: var(--navy-900); background: var(--cream); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: 0 20px; font-size: .92rem; }
.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1020px) {
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 31, 58, .35);
    padding: 8px 16px 18px; margin: 0;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .nav a { padding: 16px 6px; border-radius: 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
  .nav a[aria-current="page"]::after { left: 6px; right: auto; width: 28px; bottom: 8px; }
  .nav .nav-mobile-only { display: flex; }
  .topbar-in > span { display: none; }
  .topbar-in { justify-content: center; }
}
.nav .nav-mobile-only { display: none; }
@media (max-width: 860px) { .nav .nav-mobile-only { display: flex; margin-top: 16px; } }
@media (max-width: 400px) { .brand-name small { display: none; } }

/* ---------- Héroe (inicio) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(201, 167, 90, .20), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(30, 79, 145, .10), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--blue-600); }
.hero-quote {
  position: relative; margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold-500);
  font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; font-weight: 500; color: var(--navy-800);
  font-variation-settings: "opsz" 36;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 4px 24px 4px 0; margin-right: 24px; border-right: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.35; }
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--navy-900); line-height: 1.1; }

.portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.portrait-sun {
  position: absolute; inset: -8% -8% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 167, 90, .45), rgba(201, 167, 90, 0) 68%);
  pointer-events: none;
}
.portrait-ring {
  position: relative; aspect-ratio: 1; border-radius: 50%; padding: 12px;
  background: conic-gradient(from 210deg, var(--gold-300), var(--gold-600), var(--gold-300), #fff, var(--gold-300));
  box-shadow: var(--shadow);
}
.portrait-ring img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 6px solid #fff; background: #fff; }
.hello {
  position: absolute; top: 6%; left: -6%;
  background: var(--navy-900); color: #fff; border-radius: 18px 18px 18px 4px;
  padding: 12px 18px; font-family: var(--serif); font-size: 1.1rem; font-style: italic; font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.name-card {
  position: absolute; right: -4%; bottom: 2%; width: min(300px, 78%);
  background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow);
  display: grid; gap: 2px; border: 1px solid var(--line-2);
}
.name-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); }
.name-card span { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.name-card .npn { font-weight: 800; color: var(--navy-800); letter-spacing: .02em; margin-top: 4px; }
.verified-pill {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 4px 10px 4px 6px; border-radius: 999px; margin-bottom: 6px;
  background: #E9F4EE; color: var(--ok); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.verified-pill svg { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 72px; }
  .portrait { order: -1; width: min(100%, 380px); }
}
@media (max-width: 640px) {
  .hero-grid { padding-top: 28px; padding-bottom: 56px; }
  .hero-quote { font-size: 1.14rem; padding-left: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hello { left: 0; font-size: .98rem; padding: 10px 14px; }
  .name-card { position: relative; right: auto; bottom: auto; width: 88%; margin: -56px auto 0; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero-facts li { padding-right: 14px; margin-right: 14px; font-size: .8rem; }
  .hero-facts strong { font-size: 1.3rem; }
}

/* ---------- Encabezado de página interior ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(201, 167, 90, .26), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(226, 204, 151, .25); box-shadow: 0 0 0 60px rgba(226, 204, 151, .05), 0 0 0 120px rgba(226, 204, 151, .03);
}
.page-hero-in { position: relative; z-index: 1; padding: 72px 0 80px; display: grid; gap: 18px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.page-hero .meta strong { color: #fff; }
@media (max-width: 640px) { .page-hero-in { padding: 48px 0 56px; } }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Aseguradoras ---------- */
.carriers { background: var(--navy-900); color: #fff; padding: 46px 0; }
.carriers-in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
.carriers-title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; font-weight: 500; }
.carriers-title strong { display: block; font-size: 2.1rem; font-weight: 600; color: var(--gold-300); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 36px; margin: 0; padding: 0; list-style: none; }
.logo-row img { height: 34px; width: auto; opacity: .86; transition: opacity .2s ease; }
.logo-row img:hover { opacity: 1; }
@media (max-width: 960px) {
  .carriers-in { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .logo-row { justify-content: center; }
}
@media (max-width: 640px) { .logo-row img { height: 28px; } .carriers-title strong { font-size: 1.75rem; } }

/* ---------- Agente verificado + estados ---------- */
.verify-solo { max-width: 460px; margin: 0 auto; }
.verify-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.verify-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: #fff;
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); overflow: hidden;
}
.verify-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 167, 90, .35), transparent 70%);
}
.verify-card > * { position: relative; }
.verify-card .nipr { background: #fff; border-radius: 12px; padding: 10px 12px; width: 100%; max-width: 260px; margin-bottom: 26px; }
.verify-card .nipr img { width: 100%; }
.verify-card .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.verify-card h2 { color: #fff; font-size: 2.3rem; margin: 10px 0 6px; }
.verify-card .verified-pill { background: rgba(110, 200, 150, .14); color: #8FDDB2; margin: 14px 0 0; }
.npn-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 2px; }
.npn-box span { font-size: .86rem; color: rgba(255, 255, 255, .7); }
.npn-box strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; letter-spacing: .04em; color: #fff; }
.verify-card .hint { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .66); line-height: 1.5; }

.states { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.states-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.states-head h3 { font-size: 1.6rem; }
.states-head p { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 42px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream-2); font-weight: 600;
}
.search input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(201, 167, 90, .18); }
.state-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.state-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 8px 12px 8px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--cream-2); font-size: .93rem; font-weight: 700; color: var(--ink-2); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.state-list a svg { width: 15px; height: 15px; color: var(--gold-600); opacity: .55; flex: none; transition: opacity .15s ease, transform .15s ease; }
.state-list a:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.state-list a:hover svg { opacity: 1; color: var(--gold-300); transform: translate(2px, -2px); }
.state-list li[hidden] { display: none; }
.states-empty { padding: 18px 0 4px; color: var(--muted); font-weight: 600; }
.states-foot { margin-top: 18px; font-size: .84rem; color: var(--muted); }
@media (max-width: 960px) {
  .verify-grid { grid-template-columns: 1fr; }
  .verify-card { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .states, .verify-card { padding: 22px; border-radius: 20px; }
  .state-list { grid-template-columns: 1fr 1fr; }
  .search { flex-basis: 100%; }
}

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.product .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--navy-800);
}
.product .icon svg { width: 28px; height: 28px; }
.product p { color: var(--muted); font-size: .98rem; flex: 1; }
.product .link-arrow { margin-top: 6px; font-size: .94rem; }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }

/* ---------- Nuestras pólizas ---------- */
.policies { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.policies-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.policies-photo img { width: 100%; height: 100%; object-fit: cover; }
.policies-photo .tag {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(11, 31, 58, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; border-radius: 16px; padding: 16px 18px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35;
}
.policy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0 34px; padding: 0; list-style: none; }
.policy-list li {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--navy-900); line-height: 1.3;
}
.policy-list .check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); flex: none; }
.policy-list .check svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .policies { grid-template-columns: 1fr; gap: 40px; } .policies-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .policy-list { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  margin: 0; display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--gold-500); }
.stars svg { width: 20px; height: 20px; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--navy-800); font-weight: 500; flex: 1; font-variation-settings: "opsz" 24; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-900); }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); font-family: var(--serif); font-size: 1.1rem; }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- Guía funeraria ---------- */
.guide {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
  background: var(--cream); border-radius: 32px; padding: 56px; position: relative; overflow: hidden;
}
.guide::before {
  content: ""; position: absolute; right: -160px; top: -180px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 167, 90, .28), transparent 70%);
}
.guide > * { position: relative; }
.guide img { width: 100%; max-width: 420px; margin: 0 auto; }
.guide-copy { display: grid; gap: 20px; justify-items: start; }
.guide-copy h2 span { display: block; font-style: italic; font-weight: 500; color: var(--blue-600); }
.guide-copy p { color: var(--muted); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; text-align: center; } .guide-copy { justify-items: center; } .guide img { max-width: 300px; } }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.about .portrait { width: min(100%, 440px); }
.about-copy { display: grid; gap: 22px; }
.about-copy .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--navy-900); font-weight: 500; font-variation-settings: "opsz" 36; }
.about-copy p { color: var(--ink-2); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; padding: 0; list-style: none; }
.about-tags li { padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--navy-800); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; gap: 48px; } .about .portrait { width: min(100%, 360px); } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.contact-side h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.contact-side > p { color: var(--muted); }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.contact-card .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); flex: none; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card .lbl { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.12rem; color: var(--navy-900); word-break: break-word; }
.agent-mini { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: var(--navy-900); color: #fff; }
.agent-mini img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-300); flex: none; }
.agent-mini strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.agent-mini span { display: block; font-size: .88rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.quote-form h2 { font-size: 2rem; }
.quote-form .sub { color: var(--muted); margin-top: -8px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 800; color: var(--navy-900); }
.field label em { font-style: normal; color: #B3412E; }
.field input {
  height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream-2);
  font-size: 1rem; font-weight: 600; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(201, 167, 90, .18); }
.field input[aria-invalid="true"] { border-color: #B3412E; box-shadow: 0 0 0 4px rgba(179, 65, 46, .12); }
.field .err { font-size: .84rem; color: #B3412E; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 12px; background: var(--cream-2); border: 1px solid var(--line-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-900); cursor: pointer; }
.consent span { font-size: .84rem; line-height: 1.55; color: var(--ink-2); }
.form-legal { font-size: .86rem; color: var(--muted); text-align: center; }
.form-legal a { font-weight: 700; color: var(--navy-800); }
.form-status { display: none; padding: 16px 18px; border-radius: 14px; background: #E9F4EE; color: #1E5A3F; font-size: .94rem; font-weight: 600; line-height: 1.5; }
.form-status.is-visible { display: block; }
.form-status a { font-weight: 800; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-form-col { order: -1; } }
@media (max-width: 640px) { .quote-form { padding: 24px 18px; border-radius: 20px; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Páginas legales ---------- */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.toc p { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; font-weight: 700; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { background: #fff; color: var(--navy-900); }
.prose { max-width: 760px; color: var(--ink-2); font-size: 1.02rem; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 1.85rem; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.32rem; margin-top: 36px; }
.prose h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; color: var(--navy-900); margin-top: 28px; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.prose strong { color: var(--navy-900); }
.prose a { color: var(--blue-600); font-weight: 600; word-break: break-word; }
.prose .card { padding: 18px 20px; border-radius: 14px; background: var(--cream-2); border: 1px solid var(--line); display: grid; gap: 6px; }
.prose .card > strong:first-child { font-size: 1.05rem; }
.prose .card p { font-size: .96rem; }
.prose .intro { font-size: 1.12rem; color: var(--ink); }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: relative; top: 0; }
}

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand .brand-name small { color: rgba(255, 255, 255, .55); }
.footer-brand a.plain { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.footer-brand a.plain svg { width: 18px; height: 18px; color: var(--gold-300); }
.footer-brand a.plain:hover { color: var(--gold-300); }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.site-footer nav { display: grid; gap: 10px; justify-items: start; }
.site-footer nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.footer-base nav { display: flex; gap: 18px; }
.footer-base a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-base a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Barra fija en móvil ---------- */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 50px; padding: 0 14px; font-size: .95rem; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Aparición suave ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product, .state-list a, .link-arrow svg { transition: none; }
}
