/* Salud Contable — estilos. Marca: azul medianoche y oro champán */
:root {
  --ink: #050B1F; --navy: #0B2559; --navy-2: #1A3A85; --gold: #C9A227; --gold-2: #EBD38A; --gold-3: #A8831A;
  --bg: #F7F5EF; --surface: #FFFFFF; --surface-2: #EFECE3; --fg: #0A1430; --muted: #5B6478; --line: #E4DFD2;
  --glass: rgb(247 245 239 / .74); --shadow: 0 30px 60px -30px rgb(5 11 31 / .35);
  --ok: #1E8449; --err: #C0392B;
  --g-gold: linear-gradient(120deg, #F3E2A8 0%, #D9B44A 38%, #B8901F 62%, #EBD38A 100%);
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: max(18px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #050B1F; --surface: #0B1530; --surface-2: #111D3E; --fg: #ECEFF7; --muted: #98A3BE; --line: rgb(235 211 138 / .14);
  --glass: rgb(5 11 31 / .72); --shadow: 0 30px 60px -30px rgb(0 0 0 / .8); --ok: #4CC38A; --err: #FF7A6B;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.02em; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); }
.top-in { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 600 20px var(--f-display); letter-spacing: -.01em; color: var(--navy); }
:root[data-theme="dark"] .brand { color: var(--fg); }
.brand img { border-radius: 10px; background: #fff; padding: 2px; box-shadow: 0 0 0 1px var(--line); }
.menu { margin-left: auto; display: flex; gap: 2px; }
.menu a { position: relative; text-decoration: none; padding: 8px 14px; font-weight: 600; font-size: 14.5px; letter-spacing: .01em; color: var(--muted); transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; background: var(--g-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover { color: var(--fg); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--fg); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, transform .25s; }
.icon-btn:hover { border-color: var(--gold); transform: rotate(20deg); }
@media (max-width: 560px) {
  .brand span { display: none; }
  .menu { margin-left: 0; flex: 1; justify-content: space-between; }
  .menu a { padding: 8px 8px; font-size: 13.5px; }
  .menu a::after { left: 8px; right: 8px; }
}

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 26px; border-radius: 999px; border: 1px solid transparent; font: 700 15px var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--g-gold); background-size: 200% 100%; color: var(--ink); box-shadow: 0 14px 30px -14px rgb(201 162 39 / .8), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn.gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 40px -16px rgb(201 162 39 / .9), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn.gold span { transition: transform .3s var(--ease); }
.btn.gold:hover span { transform: translateX(4px); }
.btn.glass { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(235 211 138 / .35); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgb(235 211 138 / .12); border-color: var(--gold-2); }
.btn.glass-dark { background: var(--navy); color: #fff; }
:root[data-theme="dark"] .btn.glass-dark { background: var(--navy-2); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn.ghost:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.btn.block { width: 100%; }
.link { font-weight: 700; text-decoration: none; color: var(--navy-2); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s; }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
:root[data-theme="dark"] .link { color: var(--gold-2); }

/* ============ Portada ============ */
.hero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(120% 90% at 30% 0%, #0E2A66 0%, #071233 45%, var(--ink) 100%); overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: orb 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vmax; height: 46vmax; left: -12vmax; top: -16vmax; background: #1A3A85; }
.aurora i:nth-child(2) { width: 34vmax; height: 34vmax; right: -8vmax; top: 10%; background: rgb(201 162 39 / .55); animation-delay: -7s; animation-duration: 26s; }
.aurora i:nth-child(3) { width: 30vmax; height: 30vmax; left: 35%; bottom: -18vmax; background: #23489E; animation-delay: -12s; }
@keyframes orb { 50% { transform: translate3d(6%, 8%, 0) scale(1.12); } 100% { transform: translate3d(-4%, -6%, 0) scale(.94); } }
.grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(235 211 138 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(235 211 138 / .07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); min-height: min(88vh, 820px); }
.hero-copy { order: 1; }
.hero-logo { order: 2; display: grid; place-items: center; }

/* Logo grande y animado */
.medal { position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; animation: medal-in 1.4s var(--ease) both, bob 7s ease-in-out 1.4s infinite; }
.halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgb(235 211 138 / .55), rgb(201 162 39 / .15) 45%, transparent 70%); filter: blur(24px); animation: breathe 5s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, transparent 0 20%, #F3E2A8 32%, #C9A227 45%, transparent 58% 70%, rgb(235 211 138 / .6) 82%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 9s linear infinite; }
.ring.r2 { inset: 7%; padding: 1px; opacity: .7; animation-duration: 14s; animation-direction: reverse; background: conic-gradient(from 90deg, transparent 0 30%, rgb(235 211 138 / .9) 45%, transparent 60%); }
.disc { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff 0%, #fff 62%, #F3EEDD 100%); display: grid; place-items: center; overflow: hidden; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .75), 0 0 0 1px rgb(235 211 138 / .6), 0 0 0 10px rgb(255 255 255 / .04), inset 0 -10px 30px rgb(201 162 39 / .12); }
.disc img { display: block; width: 66%; height: auto; image-rendering: -webkit-optimize-contrast; animation: logo-in 1.2s var(--ease) .35s both; }
.shine { position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .85) 50%, transparent 60%); transform: translateX(-120%); animation: shine 6s ease-in-out 1.6s infinite; mix-blend-mode: soft-light; pointer-events: none; }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 4px rgb(235 211 138 / .7); animation: twinkle 3.2s ease-in-out infinite; }
.spark.s1 { top: 9%; right: 18%; }
.spark.s2 { bottom: 14%; left: 8%; width: 6px; height: 6px; animation-delay: -1.1s; }
.spark.s3 { top: 46%; right: -1%; width: 5px; height: 5px; animation-delay: -2.2s; }
@keyframes medal-in { from { opacity: 0; transform: scale(.7) rotate(-12deg); filter: blur(14px); } }
@keyframes logo-in { from { opacity: 0; transform: scale(.82) translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes breathe { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes shine { 0%, 30% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.5); } }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-2); border: 1px solid rgb(235 211 138 / .3); background: rgb(235 211 138 / .06); padding: 7px 16px; border-radius: 999px; margin-bottom: 26px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgb(235 211 138 / .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(235 211 138 / 0); } 100% { box-shadow: 0 0 0 0 rgb(235 211 138 / 0); } }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.hero h1 em { display: inline-block; padding-right: .06em; }
.lead { margin-top: 26px; font-size: clamp(16.5px, 1.8vw, 19px); color: #BCC6DF; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0; margin: 34px 0 0; color: #A9B5D3; font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 1px; background: var(--gold-2); }
.in-1, .in-2, .in-3, .in-4, .in-5 { animation: rise 1s var(--ease) both; }
.in-1 { animation-delay: .5s; } .in-2 { animation-delay: .62s; } .in-3 { animation-delay: .74s; } .in-4 { animation-delay: .86s; } .in-5 { animation-delay: .98s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

.ticker { position: relative; border-top: 1px solid rgb(235 211 138 / .16); background: rgb(5 11 31 / .45); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-in { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { padding: 18px 28px; font: italic 400 clamp(16px, 1.8vw, 20px) var(--f-display); color: #D9DFEE; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; text-align: center; }
  .hero-logo { order: 0; }
  .medal { width: min(82vw, 360px); }
  .hero-copy { display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .cta, .trust { justify-content: center; }
}

/* ============ Vitrina de plantillas ============ */
.showcase { position: relative; padding-block: clamp(72px, 10vw, 120px) 40px; }
.showcase::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(60% 100% at 50% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%); }
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: clamp(22px, 4vw, 52px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgb(235 211 138 / .9), transparent 35%, transparent 65%, rgb(201 162 39 / .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.feature-art { position: relative; aspect-ratio: 1.1; border-radius: 24px; background: radial-gradient(120% 100% at 20% 0%, #163A86, var(--ink) 75%); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.feature-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(235 211 138 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(235 211 138 / .08) 1px, transparent 1px); background-size: 36px 36px; }
.frame { position: absolute; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .7); transition: transform .6s var(--ease); }
.frame img { display: block; border-radius: 9px; width: 100%; }
.frame.main { width: 72%; top: 14%; left: 10%; transform: rotate(-4deg); z-index: 2; }
.frame.f2 { width: 52%; right: 5%; bottom: 8%; transform: rotate(5deg); z-index: 3; }
.frame.f3 { width: 62%; left: 6%; bottom: 10%; transform: rotate(-1deg); z-index: 1; opacity: .9; }
.feature:hover .frame.main { transform: rotate(-2deg) translateY(-8px); }
.feature:hover .frame.f2 { transform: rotate(2deg) translate(-6px, -4px); }
.badge-float { position: absolute; top: 7%; right: 7%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 18px; background: rgb(255 255 255 / .1); border: 1px solid rgb(235 211 138 / .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; animation: bob 6s ease-in-out infinite; }
.badge-float b { font: italic 400 38px/1 var(--f-display); background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-float span { font-size: 12px; line-height: 1.3; color: #CBD3E8; letter-spacing: .04em; }
.feature-copy { display: grid; gap: 18px; justify-items: start; }
.feature-copy h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; }
.feature-copy > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.15em + 7px); width: 8px; height: 4px; border-left: 2px solid var(--gold-3); border-bottom: 2px solid var(--gold-3); transform: rotate(-45deg); }
:root[data-theme="dark"] .checks li::after { border-color: var(--gold-2); }
.feature-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fine.left { text-align: left; }
@media (max-width: 880px) { .feature { grid-template-columns: minmax(0, 1fr); } }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.perk { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), border-color .4s; }
.perk:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.perk-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: var(--g-gold); margin-bottom: 6px; }
.perk h3 { font-size: 23px; letter-spacing: -.02em; }
.perk p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .perks { grid-template-columns: minmax(0, 1fr); } }

/* Secciones */
.sec-head { margin: 0 0 36px; max-width: 66ch; }
.sec-head.center { margin-inline: auto; text-align: center; margin-bottom: 48px; }
.sec-head h1, .sec-head h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; }
.sec-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 12.5px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
:root[data-theme="dark"] .eyebrow { color: var(--gold-2); }
.page { padding-block: 64px 88px; min-height: 70vh; }
.narrow { max-width: 800px; }
.showcase + .wrap { padding-top: 72px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 96px; }
.tile { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.tile.big { grid-column: span 4; background: radial-gradient(120% 120% at 0% 0%, #163A86, var(--ink) 80%); color: #fff; border-color: transparent; }
.tile.big p { color: #BCC6DF; }
.tile .num { font: italic 400 30px/1 var(--f-display); color: var(--gold); }
.tile.big .num { color: var(--gold-2); }
.tile h3 { font-size: 26px; letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile, .tile.big { grid-column: auto; } }

/* Entradas del blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.post { text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.post .meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--gold-3); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 9%, transparent); padding: 4px 12px; border-radius: 999px; }
:root[data-theme="dark"] .tag { color: var(--gold-2); }
.post h3 { font-size: 24px; letter-spacing: -.02em; }
.post p { color: var(--muted); font-size: 15.5px; }
.post .go { margin-top: auto; font-weight: 700; font-size: 14.5px; color: var(--navy-2); }
:root[data-theme="dark"] .post .go { color: var(--gold-2); }
.more { margin-top: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { font: 600 14px var(--f-body); padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: border-color .25s; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
:root[data-theme="dark"] .filters button[aria-pressed="true"] { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.empty { color: var(--muted); padding: 30px 0; }

.band { margin-block: 96px 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: radial-gradient(120% 140% at 100% 0%, #163A86, var(--ink) 70%); color: #fff; border-radius: 34px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.band::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgb(201 162 39 / .5), transparent 70%); animation: breathe 6s ease-in-out infinite; }
.band h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 20ch; letter-spacing: -.03em; }
.band p:not(.eyebrow) { color: #BCC6DF; margin-top: 10px; }
.band .eyebrow { color: var(--gold-2); }

/* Tienda */
.how { list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 40px; }
.how li { counter-increment: h; display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.how li::before { content: "0" counter(h); font: italic 400 26px/1 var(--f-display); color: var(--gold); margin-bottom: 4px; }
.how b { font: 600 18px var(--f-display); }
.how span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catalog { display: grid; gap: 22px; }
.prod { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--surface); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; transition: box-shadow .4s; }
.prod:hover { box-shadow: var(--shadow); }
.prod-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.prod h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; }
.prod ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prod li { position: relative; padding-left: 28px; font-size: 15px; }
.prod li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.prod-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.price strong { font: 400 36px var(--f-display); display: block; line-height: 1; letter-spacing: -.02em; }
.price small { color: var(--muted); font-size: 13.5px; }
.prod-media { background: radial-gradient(120% 100% at 20% 0%, #163A86, var(--ink) 75%); padding: 26px; display: grid; place-items: center; }
.prod-media img { border-radius: 12px; background: #fff; width: 100%; max-height: 460px; object-fit: cover; object-position: top; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .7); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.prod:hover .prod-media img { transform: rotate(0) scale(1.02); }
@media (max-width: 800px) { .prod { grid-template-columns: minmax(0, 1fr); } .prod-media { order: -1; } }
.previews { margin-top: 72px; }
.previews h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; letter-spacing: -.02em; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px; transition: transform .4s var(--ease); }
.shots figure:hover { transform: translateY(-4px); }
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; object-position: top; background: #fff; }
.shots figcaption { padding: 10px 6px 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* Contacto */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.c-card { display: grid; gap: 4px; padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), border-color .4s; }
.c-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.c-card b { font: 600 26px var(--f-display); }
.c-card span { color: var(--muted); }

/* Pie y botón flotante */
.foot { background: var(--ink); color: #A9B5D3; margin-top: 48px; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid rgb(235 211 138 / .18); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 30px; padding-block: 44px; align-items: center; }
.foot-in > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.foot-in img { grid-row: span 2; border-radius: 10px; background: #fff; padding: 2px; }
.foot-in b { color: #fff; font: 600 22px var(--f-display); }
.foot-in div small { font-style: italic; font-family: var(--f-display); color: var(--gold-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { text-decoration: none; color: #fff; font-weight: 600; font-size: 14.5px; transition: color .25s; }
.foot nav a:hover { color: var(--gold-2); }
.foot-in > small { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 20px; }
@media (max-width: 640px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; z-index: 45; box-shadow: 0 14px 30px -10px rgb(37 211 102 / .75); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }

/* Diálogos */
dialog { border: 0; padding: 0; background: transparent; color: var(--fg); width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); margin: auto; overflow: visible; }
dialog::backdrop { background: rgb(5 11 31 / .7); backdrop-filter: blur(8px); }
dialog[open] { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.sheet { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 5vw, 38px); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 40px 80px -20px rgb(0 0 0 / .5); }
#lector { width: min(720px, 100% - 24px); }
.close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; }
.close:hover { border-color: var(--gold); }
.sheet h2 { font-size: clamp(28px, 5vw, 38px); padding-right: 36px; letter-spacing: -.02em; }
.date { color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose { margin-top: 22px; display: grid; gap: 16px; font-size: 17px; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 40px 22px 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stepper li { flex: 1; padding-top: 8px; border-top: 2px solid var(--line); color: var(--muted); }
.stepper li.on { border-image: var(--g-gold) 1; color: var(--fg); }
.step { display: grid; gap: 16px; }
.sub { color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field small { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; min-height: 52px; padding: 11px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 500 16px var(--f-body); transition: border-color .25s, box-shadow .25s; }
input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: var(--err); font-size: 14px; min-height: 1.3em; }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.notice { background: color-mix(in srgb, var(--gold) 12%, transparent); border-radius: 16px; padding: 14px 16px; font-size: 15px; }
.done { text-align: center; justify-items: center; }
.ok { width: 76px; height: 76px; border-radius: 50%; background: var(--g-gold); color: var(--ink); display: grid; place-items: center; animation: pop .5s; }

/* Aparición al desplazar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
