/* Servicios Exequiales Ecuador — estilos basados en la home tentativa */
:root {
  --navy: #071d3b;
  --petrol: #245d70;
  --gold: #d5a64d;
  --gold-text: #8a6420;
  --deep: #102e50;
  --ivory: #f8f6f0;
  --sand: #f0ede5;
  --stone: #ebe7de;
  --slate: #586574;
  --ink: #18334d;
  --line: rgba(7, 29, 59, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 24px 80px rgba(7, 29, 59, 0.14);
  --shell: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--navy); background: var(--ivory); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 100px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 99; font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }

/* Franja de atención */
.attention-strip { background: var(--navy); color: rgba(248,246,240,.88); font-size: 12px; letter-spacing: .02em; }
.attention-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.attention-inner p { margin: 0; display: flex; gap: 8px; align-items: center; }
.attention-inner a { color: var(--ivory); }
.attention-links { display: flex; gap: 20px; }
.pulse-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(213,166,77,.14); }

/* Cabecera y navegación */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(248,246,240,.97); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: white; border: 1px solid rgba(7,29,59,.06); }
.brand-mark img { width: 40px; height: 40px; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.brand-copy small { color: var(--slate); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #25425a; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 30px 11px; }
.nav-link::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item:hover .nav-link::after, .nav-item:focus-within .nav-link::after { transform: rotate(225deg) translateY(-1px); }
.nav-link.is-active, .nav-link[aria-current="page"] { color: var(--petrol); }
.mega-toggle { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fffdf8; border-top: 2px solid var(--gold); box-shadow: 0 30px 60px rgba(7,29,59,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 45; }
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; gap: 36px; padding: 34px 0 38px; }
.mega-col .mega-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--petrol); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mega-col a { display: grid; gap: 1px; padding: 8px 10px; margin: 0 -10px; border-radius: 2px; transition: background .15s; }
.mega-col a strong { font-size: 14px; font-weight: 600; color: var(--navy); }
.mega-col a small { font-size: 12px; font-weight: 400; color: var(--slate); }
.mega-col a:hover, .mega-col a[aria-current="page"] { background: var(--sand); }
.mega-col a:hover strong { color: var(--petrol); }
.mega-feature { grid-column: -2 / -1; display: grid; align-content: start; gap: 6px; background: var(--sand); padding: 0 0 20px; overflow: hidden; }
.mega-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.mega-feature > span, .mega-feature > strong { padding: 0 20px; }
.mega-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--petrol); }
.mega-feature strong { font: 500 19px/1.25 var(--serif); color: var(--navy); }
.mega-text { font-size: 13px; font-weight: 400; color: var(--slate); }
.mega-cta { font-size: 13px; font-weight: 700; color: var(--petrol); margin-top: 6px; }
.mega-feature.promo { background: var(--navy); color: var(--ivory); padding: 24px 22px; gap: 12px; }
.mega-feature.promo > span { padding: 0; }
.mega-feature.promo .mega-kicker { color: #edcb87; }
.mega-feature.promo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mega-feature.promo li { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(248,246,240,.9); }
.mega-feature.promo .promo-value { font: 600 22px/1 var(--serif); color: var(--gold); }
.mega-feature.promo .mega-cta { color: #f3ce80; }
.nav-cta { color: var(--navy); background: var(--gold); padding: 12px 17px; border-radius: 2px; margin-left: 10px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px 0; }
.menu-lines { display: grid; gap: 5px; width: 26px; }
.menu-lines i { width: 100%; height: 1.5px; display: block; background: var(--navy); }

/* Botones */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 15px 22px; font-size: 14px; font-weight: 700; transition: transform .25s ease, background .25s ease; line-height: 1.2; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy); box-shadow: 0 14px 30px rgba(213,166,77,.22); }
.button-navy { background: var(--navy); color: var(--ivory); }
.button-light { background: var(--ivory); color: var(--navy); }
.button-outline { border: 1px solid rgba(7,29,59,.3); color: var(--navy); background: transparent; }
.text-action { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.text-action > span { color: var(--gold); }
.underlined-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 5px; font-size: 14px; font-weight: 700; }
.underlined-link span { color: var(--gold); }

/* Kicker / eyebrow */
.eyebrow, .section-kicker { color: var(--petrol); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 18px; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }

/* Hero de la home */
.hero { position: relative; overflow: hidden; background: var(--ivory); padding: 64px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: 64px; position: relative; z-index: 2; }
.hero h1 { font: 600 clamp(42px, 5vw, 70px)/1.02 var(--serif); letter-spacing: -.05em; max-width: 640px; margin-bottom: 25px; }
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 500; color: var(--petrol); }
.hero-lead { color: var(--slate); font-size: 17px; max-width: 520px; line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-trust { display: flex; margin: 46px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); gap: 35px; flex-wrap: wrap; }
.hero-trust div { display: grid; gap: 2px; }
.hero-trust dt { color: var(--petrol); font: 600 22px/1 var(--serif); letter-spacing: -.03em; }
.hero-trust dd { margin: 0; color: var(--slate); font-size: 12px; }
.hero-visual { min-height: 540px; position: relative; border-radius: 0 0 0 112px; overflow: hidden; box-shadow: var(--shadow); background: var(--deep); }
.hero-visual picture, .hero-visual > img { position: absolute; inset: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,29,59,.04), rgba(7,29,59,.45)); }
.hero-visual::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(248,246,240,.35); pointer-events: none; z-index: 2; }
.visual-stamp { position: absolute; z-index: 3; top: 30px; right: 30px; width: 132px; aspect-ratio: 1; border-radius: 50%; background: rgba(7,29,59,.78); border: 1px solid rgba(248,246,240,.4); color: var(--ivory); display: grid; place-content: center; text-align: center; font-size: 11px; line-height: 1.45; backdrop-filter: blur(8px); }
.visual-stamp strong { color: #f5d383; font-weight: 600; }
.stamp-symbol { display: block; color: var(--gold); font-size: 18px; margin-bottom: 5px; }
.visual-card { position: absolute; z-index: 3; bottom: 0; left: 0; width: min(340px, 82%); padding: 25px 30px 28px; background: var(--ivory); color: var(--navy); }
.card-rule { width: 26px; height: 2px; display: block; background: var(--gold); margin-bottom: 14px; }
.visual-card p { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .12em; color: var(--petrol); margin-bottom: 6px; }
.visual-card strong { font: 500 20px/1.25 var(--serif); display: block; margin-bottom: 15px; }
.visual-card a { color: var(--petrol); font-size: 13px; font-weight: 700; }
.hero-orbit { position: absolute; border: 1px solid rgba(36,93,112,.12); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 450px; height: 450px; top: -250px; left: -180px; }
.orbit-two { width: 630px; height: 630px; bottom: -510px; right: -260px; }

/* Hero interior */
.page-hero { position: relative; overflow: hidden; padding: 40px 0 70px; background: var(--ivory); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.page-hero.no-image .page-hero-grid { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { font: 600 clamp(36px, 4.4vw, 60px)/1.05 var(--serif); letter-spacing: -.045em; margin-bottom: 22px; }
.page-hero .hero-lead { max-width: 580px; }
.page-hero-media { position: relative; border-radius: 0 0 0 90px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--deep); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(248,246,240,.4); pointer-events: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 13px; color: var(--slate); }
.hero-meta span::before { content: "✓"; color: var(--gold); margin-right: 7px; font-weight: 700; }

/* Migas de pan */
.breadcrumbs { padding-top: 26px; font-size: 12px; color: var(--slate); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--petrol); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Intro */
.intro { background: var(--sand); padding: 90px 0; }
.intro-grid { display: grid; grid-template-columns: .55fr 1.5fr .25fr; gap: 50px; align-items: start; }
.intro-copy h2 { font: 500 clamp(28px,3.2vw,44px)/1.15 var(--serif); letter-spacing: -.04em; margin-bottom: 20px; }
.intro-copy p { margin: 0; color: var(--slate); max-width: 640px; font-size: 16px; }
.round-link { justify-self: end; width: 84px; height: 84px; border: 1px solid rgba(7,29,59,.3); border-radius: 50%; display: grid; place-content: center; text-align: center; transition: .2s ease; }
.round-link:hover { background: var(--navy); color: var(--ivory); transform: rotate(-7deg); }
.round-link span { display: block; line-height: 1; font-size: 20px; margin-bottom: 3px; }
.round-link small { font-size: 9px; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }

/* Encabezados de sección */
.section-heading { display: flex; justify-content: space-between; gap: 55px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .band-title { font: 500 clamp(32px,3.8vw,50px)/1.1 var(--serif); letter-spacing: -.045em; margin-bottom: 0; }
.section-heading > p { color: var(--slate); max-width: 340px; margin: 0 0 4px; font-size: 15px; }

/* Tarjetas de servicio */
.services-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-card { min-height: 330px; padding: 31px 32px 70px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.service-card:nth-child(3n+1) { border-left: 1px solid var(--line); }
.service-card.feature { background: var(--deep); color: var(--ivory); }
.service-card:hover:not(.feature) { background: #f1ede3; transform: translateY(-4px); }
.service-number { font-size: 12px; font-weight: 700; color: var(--gold-text); position: absolute; right: 28px; top: 27px; }
.feature .service-number { color: var(--gold); }
.service-icon { color: var(--petrol); font: 40px/1 var(--serif); height: 68px; }
.feature .service-icon { color: var(--gold); }
.service-card h3 { font: 500 24px/1.15 var(--serif); letter-spacing: -.03em; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.feature p { color: rgba(248,246,240,.75); }
.service-card a.card-link { position: absolute; bottom: 27px; left: 32px; color: var(--petrol); font-size: 13px; font-weight: 700; }
.service-card a.card-link::before { content: ""; position: absolute; inset: -400px -40px -30px; }
.feature a.card-link { color: #f3ce80; }

/* Banda de atención */
.care-band { background: var(--petrol); color: var(--ivory); padding: 70px 0; position: relative; overflow: hidden; }
.care-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(248,246,240,.13); left: -220px; bottom: -340px; }
.care-grid { display: grid; grid-template-columns: .3fr 1.12fr .85fr; gap: 42px; align-items: center; }
.care-symbol { width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(248,246,240,.38); display: grid; place-items: center; color: var(--gold); font-size: 30px; }
.care-band .section-kicker { color: #edcb87; }
.care-band .band-title { color: var(--ivory); }
.care-action { padding-left: 32px; border-left: 1px solid rgba(248,246,240,.25); }
.care-action p { font-size: 15px; color: rgba(248,246,240,.82); margin-bottom: 20px; }
.care-action .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bloques split (previsión) */
.split { background: var(--stone); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split-media { position: relative; overflow: hidden; min-height: 460px; border-radius: 0 90px 0 0; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(213,166,77,.6); }
.split-copy h2 { font: 500 clamp(32px,3.8vw,50px)/1.1 var(--serif); letter-spacing: -.045em; margin-bottom: 0; }
.split-copy > p:not(.section-kicker) { color: var(--slate); margin: 22px 0; max-width: 480px; }

/* Listas */
.check-list { list-style: none; padding: 0; display: grid; gap: 11px; margin: 0 0 26px; }
.check-list li { color: #31506b; display: flex; align-items: flex-start; gap: 11px; }
.check-list li::before { content: "✓"; flex: 0 0 20px; height: 20px; display: inline-grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--petrol); font-size: 11px; margin-top: 2px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: #fffdf8; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font: 600 20px var(--serif); color: var(--gold-text); }

/* Contenido largo */
.content-section { padding: 70px 0 90px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.content-grid.wide { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.prose { font-size: 17px; color: #24384f; }
.prose h2 { font: 500 clamp(28px,3vw,38px)/1.15 var(--serif); letter-spacing: -.035em; color: var(--navy); margin: 54px 0 18px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 22px/1.25 var(--serif); color: var(--navy); margin: 34px 0 12px; scroll-margin-top: 110px; }
.prose h4 { font-size: 16px; margin: 24px 0 8px; }
.prose p { margin-bottom: 18px; }
.prose a:not(.button) { color: var(--petrol); text-decoration: underline; text-decoration-color: rgba(213,166,77,.8); text-underline-offset: 3px; font-weight: 600; }
.prose a:not(.button):hover { color: var(--navy); }
.prose figure { margin: 34px 0; }
.prose figure img { width: 100%; border-radius: 0 0 0 48px; }
.prose figcaption { font-size: 13px; color: var(--slate); margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--gold); }
.note { background: #fffdf8; border-left: 3px solid var(--gold); padding: 18px 22px; margin: 26px 0; }
.note p { margin: 0; font-size: 15px; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fffdf8; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: var(--ivory); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
.inline-cta { margin: 30px 0; }

/* Barra lateral */
.aside-sticky { position: sticky; top: 110px; display: grid; gap: 20px; }
.toc, .aside-card { background: #fffdf8; border: 1px solid var(--line); padding: 24px; }
.toc p, .aside-card .aside-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--petrol); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--petrol); }
.aside-card.dark { background: var(--navy); color: var(--ivory); border: 0; }
.aside-card.dark .aside-title { color: #edcb87; }
.aside-card.dark p { color: rgba(248,246,240,.8); font-size: 14px; }
.aside-card .button { width: 100%; margin-top: 8px; }
.aside-phone { display: block; font: 500 24px var(--serif); color: var(--ivory); margin: 6px 0 12px; }

/* Tarjetas de enlace */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 30px 0; }
.prose .card-grid { grid-template-columns: repeat(2, 1fr); }
.link-card { background: #fffdf8; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.link-card-media img { width: 100%; height: 100%; object-fit: cover; }
.link-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.link-card-body .section-kicker { margin-bottom: 8px; font-size: 10px; }
.link-card h3 { font: 500 22px/1.2 var(--serif); letter-spacing: -.02em; margin: 0 0 10px; color: var(--navy); }
.link-card p { font-size: 14px; color: var(--slate); margin: 0 0 18px; }
.link-card .card-cta { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--petrol); }
.prose .link-card .card-cta { text-decoration: none; }
.link-card .card-cta::after { content: ""; position: absolute; inset: 0; }
.cards-section { background: var(--sand); }

/* Sedes y salas */
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.place-card { background: #fffdf8; border: 1px solid var(--line); }
.place-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.place-card div { padding: 20px 22px 24px; }
.place-card h3 { font: 500 21px/1.2 var(--serif); margin: 0 0 8px; }
.place-card p { font-size: 14px; color: var(--slate); margin: 0 0 6px; }
.place-card a { color: var(--petrol); font-weight: 700; font-size: 13px; }

/* Productos */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fffdf8; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .media { aspect-ratio: 1; background: white; display: grid; place-items: center; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 16px 18px 20px; display: grid; gap: 6px; flex: 1; }
.product-card h3 { font: 500 18px/1.25 var(--serif); margin: 0; }
.product-card .price { font-size: 13px; color: var(--slate); }
.product-card .price strong { color: var(--navy); font-size: 15px; }
.product-card a::after { content: ""; position: absolute; inset: 0; }
.product-page { padding: 30px 0 90px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-media { background: white; border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; padding: 30px; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; }
.product-info h1 { font: 600 clamp(34px,3.8vw,50px)/1.08 var(--serif); letter-spacing: -.04em; margin-bottom: 16px; }
.product-price { font-size: 15px; color: var(--slate); margin-bottom: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-price strong { font: 600 30px var(--serif); color: var(--navy); display: block; }
.product-info .prose { font-size: 16px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; margin: 20px 0; }
.spec-list dt { font-weight: 700; color: var(--ink); }
.spec-list dd { margin: 0; color: var(--slate); }

/* Comparativa de planes */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.plan-card { padding: 30px; border-right: 1px solid var(--line); background: #fffdf8; position: relative; }

/* Preguntas frecuentes */
.faqs { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-intro h2 { font: 500 clamp(32px,3.8vw,48px)/1.1 var(--serif); letter-spacing: -.045em; }
.faq-intro p:not(.section-kicker) { color: var(--slate); margin: 22px 0; font-size: 15px; max-width: 330px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; cursor: pointer; list-style: none; padding: 22px 40px 22px 0; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { font: 600 17px/1.3 var(--serif); letter-spacing: -.01em; margin: 0; }
.accordion summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font: 300 28px var(--sans); color: var(--gold-text); transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { color: var(--slate); font-size: 15px; margin: -4px 0 22px; max-width: 620px; }
.accordion .answer p { margin-bottom: 10px; }
.accordion .answer a { color: var(--petrol); text-decoration: underline; }

/* Enlaces relacionados */
.related { background: var(--ivory); border-top: 1px solid var(--line); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 500 19px/1.3 var(--serif); }
.related-list a span { color: var(--gold-text); font-family: var(--sans); }
.related-list a:hover { color: var(--petrol); }
.related-list small { display: block; font: 400 13px var(--sans); color: var(--slate); margin-top: 4px; }

/* Contacto */
.contact { background: var(--ivory); padding: 0 0 110px; }
.contact.standalone { padding-top: 40px; }
.contact-panel { display: grid; grid-template-columns: .85fr 1.15fr; color: var(--ivory); background: var(--navy); }
.contact-copy { padding: 62px 54px; background: linear-gradient(155deg, #12375b, var(--navy)); position: relative; overflow: hidden; }
.contact-copy::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(213,166,77,.35); border-radius: 50%; bottom: -180px; right: -115px; }
.section-kicker.gold { color: #ebc979; }
.contact-copy h2 { font: 500 clamp(30px,3.4vw,44px)/1.1 var(--serif); letter-spacing: -.04em; color: var(--ivory); margin-bottom: 20px; }
.contact-copy > p:not(.section-kicker) { color: rgba(248,246,240,.78); font-size: 15px; max-width: 340px; }
.contact-options { display: grid; gap: 19px; margin-top: 36px; position: relative; z-index: 1; }
.contact-options a { display: flex; align-items: center; gap: 12px; }
.contact-options .icon { color: var(--gold); font-size: 20px; width: 22px; text-align: center; }
.contact-options span:last-child { display: grid; gap: 1px; }
.contact-options small { color: rgba(248,246,240,.62); font-size: 11px; }
.contact-options strong { font-size: 14px; }
.contact-form { padding: 48px 52px 42px; background: #fffdf8; color: var(--navy); }
.contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #31506b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form > label, .contact-form > .form-row { margin-top: 18px; }
.contact-form > .form-row:first-of-type { margin-top: 0; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(7,29,59,.3); outline: none; padding: 9px 0; color: var(--navy); background: transparent; font-size: 15px; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 70px; }
.contact-form ::placeholder { color: #8b96a2; }
.contact-form .consent { grid-template-columns: 16px 1fr; align-items: start; gap: 10px; margin: 20px 0 18px; font-size: 12px; color: var(--slate); font-weight: 500; }
.contact-form .consent a { text-decoration: underline; }
.consent input { accent-color: var(--petrol); margin: 3px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-note { color: #6f7f8e; font-size: 11px; margin: 12px 0 0; }

/* Pie de página */
.site-footer { background: #06182f; color: var(--ivory); }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
.footer-brand .brand-copy strong { color: var(--ivory); }
.footer-brand .brand-copy small { color: rgba(248,246,240,.6); }
.footer-about p { color: rgba(248,246,240,.66); font-size: 13px; margin: 18px 0; max-width: 290px; }
.footer-call { display: grid; gap: 3px; }
.footer-call span { color: #e3bd6e; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.footer-call strong { font: 500 22px var(--serif); }
.footer-col .footer-title { color: #e3bd6e; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13px; color: rgba(248,246,240,.78); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(248,246,240,.13); min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(248,246,240,.6); font-size: 12px; padding: 16px 0; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* Promociones */
.strip-promo { color: #f5d383 !important; font-weight: 700; }
.promo-band { background: linear-gradient(120deg, var(--navy), #12375b); color: var(--ivory); padding: 46px 0; position: relative; overflow: hidden; }
.promo-band::after { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgba(213,166,77,.3); border-radius: 50%; right: -140px; top: -200px; }
.promo-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px 50px; align-items: center; position: relative; z-index: 1; }
.promo-head h2 { font: 500 clamp(26px, 3vw, 36px)/1.1 var(--serif); letter-spacing: -.03em; color: var(--ivory); margin-bottom: 18px; }
.promo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.promo-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: rgba(248,246,240,.06); border: 1px solid rgba(213,166,77,.35); padding: 18px; }
.promo-value { font: 600 30px/1 var(--serif); color: var(--gold); white-space: nowrap; }
.promo-card strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ivory); }
.promo-card small { display: block; font-size: 12px; color: rgba(248,246,240,.72); line-height: 1.45; }
.promo-cond { grid-column: 1 / -1; margin: 0; font-size: 12px; color: rgba(248,246,240,.7); }
.underlined-link.light { color: #f3ce80; border-color: rgba(213,166,77,.7); font-size: 12px; padding-bottom: 2px; margin-left: 6px; }
@media (max-width: 960px) { .promo-grid { grid-template-columns: 1fr; } }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 15px; border-radius: 30px; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(7,29,59,.28); transition: gap .25s ease, padding .25s ease, transform .2s ease; }
.wa-float:hover, .wa-float:focus-visible { gap: 12px; padding-right: 22px; transform: translateY(-2px); }
.wa-float svg { flex: 0 0 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.4s infinite; pointer-events: none; }
.wa-float-text { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 700; line-height: 1.2; transition: max-width .3s ease; }
.wa-float-text small { display: block; font-size: 12px; font-weight: 500; opacity: .9; }
.wa-float:hover .wa-float-text, .wa-float:focus-visible .wa-float-text { max-width: 230px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Barra fija móvil */
.mobile-bar { display: none; }

/* 404 */
.error-page { text-align: center; padding: 90px 0 110px; }
.error-page .code { font: 600 120px/1 var(--serif); color: var(--gold); letter-spacing: -.05em; }
.error-page h1 { font: 600 clamp(32px,4vw,50px)/1.1 var(--serif); }
.error-page p { color: var(--slate); max-width: 520px; margin: 0 auto 28px; }
.error-page .hero-actions { justify-content: center; }

/* Sitemap HTML */
.sitemap-list { columns: 3 260px; column-gap: 40px; }
.sitemap-list section { break-inside: avoid; margin-bottom: 28px; }
.sitemap-list h2 { font: 600 20px var(--serif); margin-bottom: 10px; }
.sitemap-list ul { padding-left: 18px; margin: 0; font-size: 14px; display: grid; gap: 5px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 30px 8px; }
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-feature { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 38px, 720px); }
  .section { padding: 80px 0; }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; background: var(--ivory); box-shadow: 0 20px 35px rgba(7,29,59,.12); left: 0; right: 0; top: 72px; padding: 10px 19px 24px; display: none; align-items: stretch; gap: 0; flex-direction: column; max-height: calc(100vh - 110px); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .nav-item { border-bottom: 1px solid var(--line); flex-wrap: wrap; justify-content: space-between; }
  .nav-link { padding: 15px 0; font-size: 15px; }
  .nav-link::after { display: none; }
  .mega-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; position: relative; }
  .mega-toggle::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s; }
  .nav-item.is-open .mega-toggle::before { transform: translate(-50%, -20%) rotate(225deg); }
  .mega { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; transition: none; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { display: none; }
  .nav-item.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 0 18px; width: 100%; }
  .mega-col a { margin: 0; padding: 7px 0; }
  .mega-col a small { display: none; }
  .mega-feature:not(.promo) { display: none; }
  .mega-feature.promo { grid-column: auto; }
  .nav-cta { margin: 18px 0 0; text-align: center; }
  .hero { padding: 36px 0 60px; }
  .hero-grid, .page-hero-grid, .split-grid, .faq-grid, .contact-panel, .content-grid, .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 420px; }
  .page-hero-media { aspect-ratio: 16 / 11; border-radius: 0 0 0 60px; }
  .intro-grid { grid-template-columns: 1fr auto; gap: 25px; }
  .intro-grid .section-kicker { grid-column: 1 / -1; margin: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .services-list { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3n+1) { border-left: 1px solid var(--line); min-height: 0; }
  .care-grid { grid-template-columns: auto 1fr; }
  .care-action { grid-column: 1 / -1; padding: 22px 0 0; border: 0; border-top: 1px solid rgba(248,246,240,.25); }
  .split-media { min-height: 340px; }
  .card-grid, .place-grid { grid-template-columns: repeat(2, 1fr); }
  .aside-sticky { position: static; }
  .related-list { grid-template-columns: 1fr; }
  .contact-copy { padding: 50px 40px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  body { padding-bottom: 62px; }
  .attention-inner { padding: 7px 0; flex-wrap: wrap; justify-content: center; text-align: center; }
  .attention-inner p { font-size: 11px; }
  .attention-links { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark img { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 8px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 380px; border-radius: 0 0 0 70px; }
  .visual-stamp { width: 106px; top: 24px; right: 24px; font-size: 9px; }
  .visual-card { padding: 20px; width: 88%; }
  .section { padding: 64px 0; }
  .intro { padding: 60px 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .round-link { justify-self: start; }
  .service-card { padding: 26px 24px 64px; }
  .service-card a.card-link { left: 24px; }
  .care-grid { grid-template-columns: 1fr; gap: 22px; }
  .care-symbol { width: 66px; height: 66px; }
  .card-grid, .place-grid, .prose .card-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .body { padding: 12px; }
  .product-card h3 { font-size: 16px; }
  .prose { font-size: 16px; }
  .contact-copy, .contact-form { padding: 38px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -8px 24px rgba(7,29,59,.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-weight: 700; font-size: 14px; }
  .mobile-bar .call { background: var(--navy); color: var(--ivory); }
  .mobile-bar .wa { background: var(--gold); color: var(--navy); }
  .wa-float { right: 14px; bottom: 72px; height: 56px; min-width: 56px; padding: 0 13px; }
  .steps li { padding-left: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .service-card, .link-card, .product-card { transition: none; }
}

@media print {
  .attention-strip, .site-header, .mobile-bar, .wa-float, .contact, .care-band, .site-footer { display: none; }
}
