/* =============================================================
   Vidrios y Aluminios JE — sistema de marca (grafito, marfil, dorado de acento)
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --negro-grafito: #1C1C1C;
  --grafito-2: #262626;
  --dorado: #D4AF37;
  --dorado-oscuro: #D4AF37;
  --dorado-claro: #E9CF74;
  --blanco: #FFFFFF;
  --marfil: #F5F2EB;
  --gris-piedra: #8D8D88;
  --fondo: #11100E;
  --fondo-2: #181614;
  --fondo-3: #211F1B;
  --texto: #F5F2EB;
  --texto-2: rgba(245, 242, 235, .72);
  --linea: rgba(245, 242, 235, .12);
  --linea-clara: rgba(255, 255, 255, .16);

  --titulos: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --parrafos: "Inter", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--parrafos); font-size: 16px; line-height: 1.7; color: var(--texto-2); background: var(--fondo); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--titulos); color: var(--texto); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
strong { color: var(--texto); font-weight: 600; }
::selection { background: var(--dorado); color: var(--negro-grafito); }
:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities ------------------------------------------------- */
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--blanco); color: var(--negro-grafito); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.gold { color: var(--dorado); }
.kicker { display: flex; align-items: center; gap: .75rem; font-family: var(--titulos); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dorado-oscuro); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--dorado); }
.kicker--light { color: var(--dorado); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--texto-2); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 1.1rem; }
.s-dark { background: var(--fondo); }
.s-dark-2 { background: var(--fondo-2); }
.section { isolation: isolate; }
.section::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(700px 420px at var(--sx, 85%) var(--sy, 10%), rgba(212,175,55,.09), transparent 70%); transition: background .2s; }
.s-dark h2, .s-dark h3, .s-dark strong { color: var(--blanco); }
.s-dark .lead { color: rgba(255,255,255,.8); }

/* 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .9rem 1.6rem; border-radius: 999px;
  font-family: var(--titulos); font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-align: center;
  transition: transform .45s var(--ease-out), background-color .35s, color .35s, border-color .35s, box-shadow .45s var(--ease-out);
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--dorado); color: var(--negro-grafito); box-shadow: 0 10px 26px -12px rgba(212,175,55,.7); }
.btn-gold:hover { background: var(--dorado-claro); box-shadow: 0 16px 34px -12px rgba(212,175,55,.8); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: var(--blanco); }
.btn-outline-light:hover { border-color: var(--dorado); color: var(--dorado); }
.btn-outline-gold { border: 1px solid var(--dorado); color: var(--dorado); }
.btn-outline-gold:hover { background: var(--dorado); color: var(--negro-grafito); }
.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .88rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-btn { color: var(--dorado-oscuro); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--texto); }

/* 5. Navbar ---------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .45s, backdrop-filter .45s, box-shadow .45s; }
.nav.is-scrolled { background: rgba(28,28,28,.93); box-shadow: 0 1px 0 var(--linea-clara); }
@supports (backdrop-filter: blur(12px)) { .nav.is-scrolled { background: rgba(28,28,28,.66); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); } }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--blanco); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1.5px solid var(--dorado); border-radius: 50%; font-family: var(--titulos); font-weight: 700; font-size: .95rem; color: var(--dorado); letter-spacing: .04em; }
.brand-name { font-family: var(--titulos); font-weight: 500; font-size: .92rem; line-height: 1.2; }
.brand-name b { font-weight: 700; color: var(--dorado); }
.nav-links { display: none; margin-left: auto; gap: 1.6rem; font-family: var(--titulos); font-size: .86rem; font-weight: 500; }
.nav-links a { color: rgba(255,255,255,.85); position: relative; padding-block: .3rem; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--dorado); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav-links a:hover { color: var(--dorado); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-toggle { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--blanco); border-radius: 2px; transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile { display: grid; gap: .1rem; padding: .5rem var(--gutter) 1.5rem; background: rgba(28,28,28,.98); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--linea-clara); color: var(--blanco); font-family: var(--titulos); font-weight: 500; }
.nav-mobile .btn { margin-top: 1rem; }

/* 6. Hero ------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; overflow: clip; isolation: isolate; background: var(--negro-grafito); }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 118%; object-fit: cover; object-position: 65% 50%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(28,28,28,.55) 0%, rgba(28,28,28,.35) 40%, rgba(28,28,28,.92) 100%),
  linear-gradient(90deg, rgba(28,28,28,.82) 0%, rgba(28,28,28,.2) 75%); }
.hero-inner { padding-bottom: clamp(2rem, 5vw, 3rem); }
.eyebrow { font-family: var(--titulos); font-weight: 600; font-size: clamp(.68rem, 1.4vw, .8rem); letter-spacing: .24em; text-transform: uppercase; color: var(--dorado); }
.hero-title { color: var(--blanco); font-size: clamp(2.1rem, 5.6vw, 4.3rem); font-weight: 700; max-width: 17ch; margin: 1.1rem 0 1.3rem; letter-spacing: -0.025em; }
.hero-lead { color: rgba(255,255,255,.86); max-width: 60ch; font-size: clamp(1rem, 1.35vw, 1.1rem); }
.hero-lead--2 { margin-top: .8rem; color: rgba(255,255,255,.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--linea-clara); padding-top: 1.2rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.88); font-family: var(--titulos); font-size: .82rem; font-weight: 500; padding: .5rem 0; }
.trust-ico { color: var(--dorado); font-size: .6rem; }

/* Hero entrance (on load) */
.js .hero-in, .js .trust-item { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 120ms + 150ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 7. Scroll reveal (all sections) ------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 8. Autoridad ------------------------------------------------- */
.authority-grid { display: grid; gap: 2.5rem; align-items: center; }
.authority-copy h2 { margin-bottom: 1.3rem; }
.authority-copy p + p { margin-top: 1rem; }
.authority-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.parallax-frame { height: 100%; overflow: hidden; }
.parallax-frame img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.pillars { display: grid; gap: 0; margin-top: clamp(3rem, 6vw, 5rem); }
.pillar { padding: 2rem 0; border-top: 1px solid var(--dorado); }
.pillar-ico { width: 44px; height: 44px; fill: none; stroke: var(--dorado); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.pillar h3 { margin-bottom: .5rem; }

/* 10. Diferencial ---------------------------------------------- */
.diff-grid { display: grid; gap: 2.5rem; align-items: center; }
.diff-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; }
.diff-img img { width: 100%; height: 100%; object-fit: cover; }
.diff-copy h2 { margin-bottom: 1.3rem; }
.diff-copy p + p { margin-top: 1rem; }
.diff-quote { margin: 2rem 0; font-family: var(--titulos); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; color: var(--dorado); letter-spacing: -0.02em; }
.js [data-zoom] { opacity: 0; transform: scale(.86); filter: blur(6px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.js [data-zoom].is-in { opacity: 1; transform: none; filter: none; }
.diff-idea { border: 1px solid rgba(212,175,55,.35); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: 1rem; background: rgba(255,255,255,.03); }
.diff-idea .btn { justify-self: start; }

/* 11. Proceso -------------------------------------------------- */
.timeline { position: relative; }
.timeline-line { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--linea); }
.timeline-line span { position: absolute; inset: 0; background: var(--dorado); transform-origin: top; transform: scaleY(0); }
.steps { display: grid; gap: 1.8rem; position: relative; }
.step { position: relative; padding-left: 78px; }
.step-n { position: absolute; left: 0; top: -4px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--fondo-2); box-shadow: 0 0 0 6px var(--fondo-2); border: 1.5px solid var(--dorado); font-family: var(--titulos); font-weight: 700; font-size: 1.05rem; color: var(--dorado-oscuro); }
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .95rem; }
.js [data-step] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js [data-step] .step-n { transform: scale(.4); opacity: 0; transition: transform .8s var(--ease-out) .15s, opacity .6s .15s, background-color .4s, color .4s; }
.js [data-step].is-in { opacity: 1; transform: none; }
.js [data-step].is-in .step-n { transform: none; opacity: 1; }
.step:hover .step-n { background: var(--dorado); color: var(--negro-grafito); }
.process-foot-old { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; padding: 1.6rem; border-radius: var(--radius); background: var(--marfil); border-left: 3px solid var(--dorado); }
.badge-free { justify-self: start; font-family: var(--titulos); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--negro-grafito); background: var(--dorado); padding: .45rem .9rem; border-radius: 999px; }

/* 12. Galería -------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { font-family: var(--titulos); font-weight: 500; font-size: .86rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--linea); color: var(--texto); background: transparent; transition: all .35s var(--ease-out); }
.filter:hover { border-color: var(--dorado); color: var(--dorado-oscuro); transform: scale(1.04); }
.filter.is-active { background: var(--dorado); border-color: var(--dorado); color: var(--negro-grafito); }
.g-grid { display: grid; gap: 1rem; grid-auto-flow: dense; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--negro-grafito); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1.3rem; display: grid; gap: .25rem; color: rgba(255,255,255,.85); font-size: .88rem; line-height: 1.45; background: linear-gradient(180deg, rgba(28,28,28,0), rgba(28,28,28,.92) 45%); transform: translateY(45%); transition: transform .6s var(--ease-out); }
.g-item figcaption strong { color: var(--blanco); font-family: var(--titulos); font-size: 1rem; }
.g-item figcaption > span:last-child { opacity: 0; transition: opacity .5s var(--ease-out); }
.g-tag { font-family: var(--titulos); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dorado); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover figcaption, .g-item:focus-within figcaption { transform: none; }
.g-item:hover figcaption > span:last-child { opacity: 1; }
.g-item.is-hiding { opacity: 0; transform: scale(.92); }
.g-item.is-hidden { display: none; }
.g-item.is-showing { opacity: 0; transform: scale(.94); }
.g-note { margin-top: 1.4rem; font-size: .85rem; color: var(--gris-piedra); }
@media (hover: none) { .g-item figcaption { transform: none; } .g-item figcaption > span:last-child { opacity: 1; } }

/* 13. Experiencia --------------------------------------------- */
.stats-grid { display: grid; gap: 2.5rem; align-items: center; }
.stats-copy h2 { margin-bottom: 1.3rem; }
.stats-copy p + p { margin-top: 1rem; }
.counters { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.counter { border-top: 1px solid var(--dorado); padding-top: 1rem; }
.counter dt { font-family: var(--titulos); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--dorado-oscuro); letter-spacing: -0.03em; }
.counter dd { margin: .4rem 0 0; font-size: .92rem; }
.stats-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; }
.stats-img img { width: 100%; height: 100%; object-fit: cover; }

/* 14. Sobre JE ------------------------------------------------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy p + p { margin-top: 1rem; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.value { background: var(--fondo-3); border-radius: var(--radius); padding: 1.5rem; border-top: 2px solid var(--dorado); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.value:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px -24px rgba(28,28,28,.3); }
.value h3 { margin-bottom: .4rem; }
.value p { font-size: .94rem; }

/* 15. Testimonios --------------------------------------------- */
.review-grid { display: grid; gap: 1rem; }
.review { background: transparent; border-radius: var(--radius); padding: 1.7rem; display: grid; gap: 1rem; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.review:hover { transform: scale(1.02); box-shadow: 0 20px 40px -24px rgba(28,28,28,.25); }
.review p { font-size: 1.02rem; color: var(--texto); font-style: italic; }
.review footer { font-size: .85rem; color: var(--gris-piedra); font-family: var(--titulos); font-weight: 500; }
.sample-flag { justify-self: start; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--negro-grafito); background: #F2C94C; padding: .3rem .6rem; border-radius: 6px; }

/* 16. FAQ ------------------------------------------------------ */
.faq-grid { display: grid; gap: 1rem; }
.faq-list { display: grid; gap: .7rem; }
.qa { background: var(--fondo-2); border-radius: 12px; border: 1px solid var(--linea); transition: border-color .3s, box-shadow .3s; }
.qa[open] { border-color: var(--dorado); box-shadow: 0 14px 30px -22px rgba(28,28,28,.35); }
.qa summary { list-style: none; cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.3rem; position: relative; font-family: var(--titulos); font-weight: 600; font-size: .98rem; color: var(--texto); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--dorado-oscuro); }
.qa summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--dorado); color: var(--dorado-oscuro); font-size: 1.1rem; transition: transform .45s var(--ease-out), background-color .3s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--dorado); color: var(--negro-grafito); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 1.3rem 1.3rem; font-size: .96rem; }

/* 17. CTA final ------------------------------------------------ */
.cta { overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,175,55,.14), transparent); pointer-events: none; }
.cta-inner { position: relative; text-align: left; }
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.cta-inner .lead { max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.cta-alt { margin-top: 1.2rem; font-size: .95rem; }
.cta-alt a { color: var(--dorado); text-decoration: underline; text-underline-offset: 3px; }
.cta-info { display: grid; gap: 1.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--linea-clara); }
.cta-info h3 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dorado); margin-bottom: .5rem; }
.cta-info p { font-size: .95rem; overflow-wrap: anywhere; }
.cta-info a:hover { color: var(--dorado); }

/* Footer */
.footer { background: #0B0A09; color: rgba(255,255,255,.6); padding: 2.2rem 0 6.5rem; }
.footer-inner { display: grid; gap: .8rem; }
.footer-slogan { font-family: var(--titulos); font-weight: 500; color: var(--dorado); }
.footer-small { font-size: .82rem; }

/* 18. Modales (detalle de servicios y herramientas) ----------- */
.modal { width: min(640px, calc(100% - 24px)); max-height: calc(100svh - 24px); margin: auto; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid rgba(212,175,55,.35); border-radius: 18px; background: var(--fondo-2); color: var(--texto-2); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow-y: auto; overscroll-behavior: contain; }
.modal--wide { width: min(820px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(20,20,20,.62); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .55s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .8rem; padding-right: 2.5rem; }
.modal > p { margin-bottom: 1.2rem; }
.modal-x { position: sticky; top: 0; float: right; width: 42px; height: 42px; margin: -.5rem -.5rem 0 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--texto); background: var(--fondo-3); transition: background-color .3s, transform .3s; z-index: 2; }
.modal-x:hover { background: var(--dorado); transform: rotate(90deg); }
.modal-list { display: grid; gap: .55rem; margin: 0 0 1.6rem; }
.modal-list li { position: relative; padding-left: 1.4rem; }
.modal-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); }
.lines { display: grid; gap: .8rem; margin: 0 0 1.4rem; }
.line { border: 1px solid var(--linea); border-radius: 12px; padding: 1.1rem 1.2rem; transition: border-color .3s, transform .4s var(--ease-out); }
.line:hover { border-color: var(--dorado); transform: scale(1.02); }
.line-tag { font-family: var(--titulos); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dorado-oscuro); }
.line h3 { margin: .2rem 0 .3rem; }
.line p { font-size: .92rem; }

/* Herramientas */
.tool { margin-top: 1rem; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 16px; background: var(--fondo-3); border: 1px solid rgba(212,175,55,.45); }
.tool--bare { background: none; border: 0; padding: 0; }
.tool h3 { font-size: 1.35rem; margin: .7rem 0 .3rem; }
.tool-badge { display: inline-flex; gap: .4rem; font-family: var(--titulos); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--negro-grafito); background: var(--dorado); padding: .35rem .75rem; border-radius: 999px; margin-bottom: .6rem; }
.tool-badge::before { content: "✦"; }
.tool-form { display: grid; gap: 1.3rem; margin-top: 1.2rem; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { font-family: var(--titulos); font-weight: 600; color: var(--texto); margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--linea); background: var(--fondo-3); font-size: .9rem; color: var(--texto); transition: all .3s var(--ease-out); }
.chips label:hover span { border-color: var(--dorado); transform: scale(1.03); }
.chips input:checked + span { background: var(--dorado); border-color: var(--dorado); color: var(--negro-grafito); }
.chips input:focus-visible + span { outline: 2px solid var(--dorado); outline-offset: 2px; }
.field { display: grid; gap: .45rem; }
.field > span { font-family: var(--titulos); font-weight: 600; color: var(--texto); }
.field em { font-style: normal; font-weight: 400; color: var(--gris-piedra); }
textarea { width: 100%; font: inherit; color: var(--texto); background: var(--fondo-3); border: 1px solid var(--linea); border-radius: 12px; padding: .8rem 1rem; resize: vertical; }
textarea:focus { outline: none; border-color: var(--dorado); }
.form-error { color: #F0A58F; font-size: .9rem; }
.form-error[hidden] { display: none; }
.tool-form .btn { justify-self: start; }
.tool-result { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--linea); animation: fadeUp .6s var(--ease-out); }
.tool-result[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.result-line { display: grid; gap: .5rem; }
.result-line h4 { font-family: var(--titulos); font-weight: 700; font-size: 1.6rem; color: var(--texto); }
.result-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.small { font-size: .85rem; color: var(--gris-piedra); }
.loading { display: flex; align-items: center; gap: .7rem; }
.loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(212,175,55,.35); border-top-color: var(--dorado); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.idea-cards { display: grid; gap: .8rem; margin-top: .8rem; }
.idea-card { border: 1px solid var(--linea); border-radius: 12px; padding: 1.1rem; transition: border-color .3s, transform .4s var(--ease-out); }
.idea-card:hover { border-color: var(--dorado); transform: scale(1.02); }
.idea-card h4 { font-family: var(--titulos); font-weight: 600; color: var(--texto); margin: .2rem 0 .3rem; }
.idea-svc { font-family: var(--titulos); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dorado-oscuro); }
.svc-link { display: inline-block; margin-top: .5rem; font-family: var(--titulos); font-weight: 600; color: var(--dorado-oscuro); }
.svc-link:hover { color: var(--texto); }
.drop { position: relative; display: grid; place-items: center; min-height: 200px; border: 1.5px dashed rgba(212,175,55,.7); border-radius: 14px; cursor: pointer; overflow: hidden; background: var(--fondo-3); transition: border-color .3s, background-color .3s; }
.drop:hover, .drop.is-over { border-color: var(--dorado); background: #2A2620; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: grid; justify-items: center; gap: .35rem; text-align: center; padding: 1.4rem; color: var(--texto); }
.drop-empty svg { width: 40px; height: 40px; fill: var(--dorado-oscuro); }
.drop-empty small { color: var(--gris-piedra); }
.drop-preview { width: 100%; max-height: 320px; object-fit: cover; }
.drop-preview[hidden], .drop-empty[hidden] { display: none; }

/* 19. Chat ----------------------------------------------------- */
.chat[hidden] { display: none; }
.chat-launch { position: fixed; right: 18px; bottom: 88px; z-index: 61; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; border-radius: 999px; background: var(--negro-grafito); color: var(--blanco); font-family: var(--titulos); font-weight: 600; font-size: .86rem; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); border: 1px solid rgba(212,175,55,.5); transition: transform .45s var(--ease-out), border-color .3s; }
.chat-launch:hover { transform: scale(1.05); border-color: var(--dorado); }
.chat-launch-ico { color: var(--dorado); }
.chat-panel { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-height: min(600px, calc(100svh - 24px)); display: flex; flex-direction: column; background: var(--fondo-2); border: 1px solid rgba(212,175,55,.35); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); overflow: hidden; animation: modalIn .5s var(--ease-out); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: var(--negro-grafito); color: var(--blanco); }
.chat-head strong { display: block; color: var(--blanco); font-family: var(--titulos); }
.chat-head small { color: rgba(255,255,255,.6); font-size: .76rem; }
.chat-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; color: var(--blanco); }
.chat-close:hover { background: rgba(255,255,255,.1); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; background: var(--fondo); min-height: 180px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .65rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; animation: fadeUp .35s var(--ease-out); }
.msg-bot { background: var(--fondo-3); color: var(--texto); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg-user { justify-self: end; background: var(--dorado); color: var(--negro-grafito); border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 1rem 0; background: var(--fondo); }
.chat-quick button { font-size: .78rem; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--dorado); color: var(--texto); background: var(--fondo-3); transition: background-color .3s; }
.chat-quick button:hover { background: var(--dorado); color: var(--negro-grafito); }
.chat-form { display: flex; gap: .5rem; padding: .7rem 1rem; border-top: 1px solid var(--linea); }
.chat-form input { flex: 1; min-width: 0; font: inherit; color: var(--texto); background: var(--fondo-3); border: 1px solid var(--linea); border-radius: 999px; padding: .6rem 1rem; }
.chat-form input:focus { outline: none; border-color: var(--dorado); }
.chat-foot { font-size: .72rem; color: var(--gris-piedra); padding: 0 1rem .8rem; }
.chat-foot a { color: var(--dorado-oscuro); text-decoration: underline; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .45s var(--ease-out); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

/* 20. Responsive ------------------------------------------------ */
@media (max-width: 539px) {
  .chat-launch { width: 52px; height: 52px; padding: 0; justify-content: center; right: 21px; bottom: 86px; }
  .chat-launch-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chat-launch-ico { font-size: 1.2rem; }
  .brand-name { font-size: .82rem; max-width: 11ch; }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 540px) {
  .chat-panel { left: auto; right: 18px; bottom: 18px; width: 380px; }
  .idea-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; aspect-ratio: 16 / 8; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .counters { grid-template-columns: repeat(3, 1fr); }
  .cta-info { grid-template-columns: repeat(3, 1fr); }
  .lines { grid-template-columns: repeat(3, 1fr); }
  .process-foot-old { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
}
@media (min-width: 960px) {
  .authority-grid { grid-template-columns: 1.15fr .85fr; gap: 5rem; }
  .diff-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .stats-grid { grid-template-columns: 1.15fr .85fr; gap: 5rem; }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .values { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-wide { grid-column: span 2; aspect-ratio: auto; }

  /* Timeline horizontal */
  .timeline-line { left: 0; right: 0; top: 27px; bottom: auto; width: auto; height: 2px; }
  .timeline-line span { transform-origin: left; transform: scaleX(0); }
  .steps { grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
  .step { padding-left: 0; padding-top: 80px; }
  .step-n { top: 0; }
}
@media (min-width: 1280px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 1.2rem; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* 21. Reduced motion: solo se apagan efectos intrusivos --------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .parallax-frame img { transform: none !important; }
}

/* Galería: el filtrado manda sobre la aparición */
.js .g-item.is-hiding, .js .g-item.is-showing { opacity: 0 !important; transform: scale(.93) !important; }
@media (min-width: 960px) {
  .g-grid { grid-auto-rows: 270px; }
  .g-item, .g-wide { aspect-ratio: auto; height: 100%; }
}


/* =============================================================
   MOTION DARK — capa de estilo oscuro cálido y dinámico
   ============================================================= */

/* Hero: brillo dorado respirando + grano */
.hero-glow { position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background: radial-gradient(40% 35% at 70% 40%, rgba(212,175,55,.28), transparent 70%), radial-gradient(30% 30% at 20% 80%, rgba(233,207,116,.12), transparent 70%);
  animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-4%,3%,0) scale(1.12); } }
.grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner, .trust { position: relative; z-index: 1; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--dorado); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Títulos: revelado palabra por palabra con máscara */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w, 0) * 45ms); }
.is-split.is-in .split-w > span { transform: none; }
.hero-title.is-split .split-w > span { transition-delay: calc(var(--w, 0) * 60ms + 200ms); }

/* Imágenes: revelado con cortina */
[data-clip] { position: relative; }
.js [data-clip]::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--fondo-3); transform-origin: top; transition: transform 1.3s var(--ease-out); pointer-events: none; }
.js [data-clip]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; background: var(--dorado); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease-out), opacity .6s 1.1s; }
.js [data-clip] img { transform: scale(1.18); transition: transform 1.6s var(--ease-out); }
.js [data-clip].is-in::before { transform: scaleY(0); transform-origin: bottom; }
.js [data-clip].is-in::after { transform: scaleX(1); opacity: 0; }
.js [data-clip].is-in img { transform: none; }

/* Franja en movimiento */
.marquee { overflow: hidden; background: var(--fondo); border-block: 1px solid rgba(212,175,55,.25); padding: 1.3rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--titulos); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.75); white-space: nowrap; transition: color .4s; }
.marquee span:hover { color: var(--dorado); }
.marquee i { color: var(--dorado); font-style: normal; font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Luz dorada que sigue el cursor en secciones oscuras */
[data-spot] { --sx: 80%; --sy: 0%; }

/* Autoridad */
.pillar { border-top-color: rgba(212,175,55,.6); }
.pillar p { color: var(--texto-2); }

/* Servicios: vitrina horizontal (como la primera versión) */
.services { padding-bottom: clamp(4rem, 8vw, 6rem); }
.showcase { overflow: clip; }
.showcase-track { display: grid; gap: 1.2rem; padding-inline: var(--gutter); width: min(1240px, 100%); margin-inline: auto; }
.svc { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--fondo-3); border: 1px solid var(--linea); transition: border-color .5s var(--ease-out), box-shadow .6s var(--ease-out); transform-style: preserve-3d; }
.svc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc:hover { border-color: rgba(212,175,55,.6); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(212,175,55,.2); }
.svc:hover::after { opacity: 1; }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fondo-2); position: relative; }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(212,175,55,.22)); opacity: 0; transition: opacity .5s var(--ease-out); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter 1s var(--ease-out); }
.svc:hover .svc-img img { transform: scale(1.07); filter: saturate(1.15); }
.svc:hover .svc-img::after { opacity: 1; }
.svc-body { padding: 1.5rem 1.5rem 1.7rem; display: grid; gap: .55rem; align-content: start; }
.svc-body h3 { color: var(--texto); font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.svc-body p { font-size: .95rem; color: var(--texto-2); }
.svc-n { font-family: var(--titulos); font-weight: 700; font-size: .85rem; color: var(--dorado); letter-spacing: .12em; }
.svc-btn { justify-self: start; margin-top: .3rem; font-family: var(--titulos); font-weight: 600; font-size: .9rem; color: var(--dorado); display: inline-flex; gap: .4rem; padding: .35rem 0; border-bottom: 1px solid rgba(212,175,55,.45); transition: gap .4s var(--ease-out), color .3s, border-color .3s; }
.svc-btn:hover { gap: .8rem; color: var(--dorado-claro); border-color: var(--dorado-claro); }
@media (min-width: 720px) { .showcase-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .showcase-track { grid-template-columns: repeat(3, 1fr); }
  .showcase.is-horizontal .showcase-track { display: flex; width: max-content; gap: 1.5rem; padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); margin: 0; }
  .showcase.is-horizontal .svc { width: clamp(330px, 30vw, 410px); flex: none; }
  .showcase.is-horizontal .svc:nth-child(odd) .svc-img { aspect-ratio: 4 / 4.3; }
  .showcase.is-horizontal .svc:nth-child(even) { margin-top: 3rem; }
}

/* Diferencial */
.diff-idea { background: rgba(212,175,55,.05); }

/* Proceso + pagos */
.timeline-line { background: rgba(245,242,235,.12); }
.step p { color: var(--texto-2); }
.pay { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; border: 1px solid rgba(212,175,55,.35); background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(212,175,55,0) 60%), var(--fondo-3); }
.pay h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 1rem 0 1.2rem; }
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pay-split > div { border-top: 1px solid rgba(212,175,55,.5); padding-top: .8rem; }
.pay-split strong { font-family: var(--titulos); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--dorado); line-height: 1; }
.pay-split span { font-family: var(--titulos); font-weight: 700; font-size: 1.4rem; color: var(--dorado); margin-left: .15rem; }
.pay-split p { font-size: .9rem; color: var(--texto-2); margin-top: .3rem; }
.pay-title { font-family: var(--titulos); font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dorado); margin-bottom: 1rem; }
.pay-methods ul { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pay-methods li { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--linea); background: var(--fondo-2); color: var(--texto); font-family: var(--titulos); font-weight: 500; font-size: .9rem; transition: border-color .35s, transform .45s var(--ease-out); }
.pay-methods li:hover { border-color: var(--dorado); transform: scale(1.04); }
.pay-methods svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--dorado); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) { .pay { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }

/* Galería */
.g-item { border: 1px solid var(--linea); }
.g-item figcaption > .g-ben { opacity: 0; transition: opacity .5s var(--ease-out); }
.g-item:hover figcaption > .g-ben { opacity: 1; }
.g-item figcaption > span:last-child { opacity: 1; }
.g-loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--dorado-claro); margin-top: .15rem; }
.g-loc svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (hover: none) { .g-item figcaption > .g-ben { opacity: 1; } }

/* Experiencia */
.counter { border-top-color: rgba(212,175,55,.6); }
.counter dd { color: var(--texto-2); }

/* Valores */
.value { border: 1px solid var(--linea); border-top: 2px solid var(--dorado); }
.value p { color: var(--texto-2); }
.value:hover { box-shadow: 0 24px 50px -28px rgba(0,0,0,.9), 0 0 0 1px rgba(212,175,55,.25); }

/* Testimonios (estilo de columnas con divisores) */
.review-grid { gap: 0; }
.review { position: relative; padding: 2rem 1.6rem; border-radius: 0; border-top: 1px solid var(--linea); }
.review:hover { transform: none; box-shadow: none; background: rgba(212,175,55,.04); }
.review-mark { font-family: var(--titulos); font-weight: 700; font-size: 4rem; line-height: .6; color: var(--dorado); opacity: .8; }
.review p { font-style: normal; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--texto); }
.review footer { display: grid; gap: .15rem; padding-top: 1.2rem; border-top: 1px solid var(--linea); margin-top: auto; }
.review footer strong { font-family: var(--titulos); font-weight: 700; color: var(--texto); font-size: 1rem; }
.review footer span { color: var(--gris-piedra); font-size: .88rem; }
@media (min-width: 720px) {
  .review { border-top: 0; border-left: 1px solid var(--linea); display: flex; flex-direction: column; gap: 1rem; }
  .review:first-child { border-left: 0; }
}

/* FAQ */
.qa-body p { color: var(--texto-2); }
.qa summary:hover { color: var(--dorado); }

/* Modales en oscuro */
.modal { color: var(--texto-2); }
.modal h2, .modal h3, .modal legend, .modal .field > span { color: var(--texto); }
.line { background: var(--fondo-3); }
.tool-badge { color: var(--negro-grafito); }

/* Botones magnéticos (solo con mouse) */
.btn { will-change: transform; }

@media (min-width: 720px) { .scroll-cue { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .marquee-track, .scroll-cue span { animation: none; }
}
@media (min-width: 960px) { .cta-info { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   Páginas internas: blog y políticas
   ============================================================= */
.nav.is-solid { background: rgba(17,16,14,.9); box-shadow: 0 1px 0 var(--linea-clara); }
@supports (backdrop-filter: blur(12px)) { .nav.is-solid { background: rgba(17,16,14,.7); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); } }
.art-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fondo); padding: 150px 0 clamp(3rem, 7vw, 5rem); min-height: 62vh; display: flex; align-items: flex-end; }
.art-hero--short { min-height: 54vh; }
.art-hero--legal { min-height: 0; padding-top: 140px; background: radial-gradient(700px 360px at 85% 0%, rgba(212,175,55,.14), transparent 70%), var(--fondo); }
.art-hero-bg { position: absolute; inset: 0; z-index: -2; }
.art-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.art-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,14,.6) 0%, rgba(17,16,14,.75) 50%, var(--fondo) 100%), linear-gradient(90deg, rgba(17,16,14,.85), rgba(17,16,14,.2)); }
.art-hero-inner { position: relative; z-index: 1; }
.art-title { color: var(--blanco); font-size: clamp(1.9rem, 4.6vw, 3.4rem); max-width: 22ch; margin-bottom: 1rem; }
.art-meta { color: rgba(255,255,255,.7); font-size: .92rem; }
.crumbs { display: flex; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--dorado); }
.art-layout { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 5rem); }
.art { max-width: 720px; font-size: 1.05rem; color: var(--texto-2); }
.art > * + * { margin-top: 1.1rem; }
.art h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2.6rem; color: var(--texto); }
.art h3 { font-size: 1.15rem; margin-top: 1.8rem; color: var(--dorado); }
.art ul, .art ol { display: grid; gap: .5rem; }
.art ul li { position: relative; padding-left: 1.4rem; }
.art ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); }
.art ol { list-style: decimal; padding-left: 1.4rem; }
.art ol li::marker { color: var(--dorado); font-weight: 700; font-family: var(--titulos); }
.art a:not(.btn) { color: var(--dorado); text-decoration: underline; text-underline-offset: 3px; }
.art-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--texto); line-height: 1.7; }
.art-lead em { color: var(--dorado-claro); }
.art-table { display: grid; border: 1px solid var(--linea); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.art-table > div { display: grid; grid-template-columns: 1fr 1fr 1.6fr; }
.art-table > div + div { border-top: 1px solid var(--linea); }
.art-table span { padding: .8rem 1rem; }
.art-table [role=columnheader] { background: var(--fondo-3); color: var(--dorado); font-family: var(--titulos); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.art-cta { align-self: start; display: grid; gap: 1rem; padding: 1.8rem; border-radius: 18px; border: 1px solid rgba(212,175,55,.4); background: linear-gradient(135deg, rgba(212,175,55,.1), transparent 60%), var(--fondo-3); }
.art-cta h2 { font-size: 1.35rem; color: var(--texto); }
.art-cta p:not(.kicker) { font-size: .95rem; }
.art-cta .btn { width: 100%; }
@media (min-width: 960px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; }
  .art-layout--single { grid-template-columns: minmax(0, 760px); }
  .art-cta { position: sticky; top: 100px; }
}
.post-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--fondo-3); border: 1px solid var(--linea); transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s var(--ease-out); }
.post-card:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(212,175,55,.6); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.post-body h2, .post-body h3 { font-size: 1.12rem; color: var(--texto); line-height: 1.3; }
.post-body p { font-size: .92rem; }
.post-kicker { font-family: var(--titulos); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dorado); }
.post-more { font-family: var(--titulos); font-weight: 600; font-size: .9rem; color: var(--dorado); }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--linea); font-size: .85rem; }
.footer-links a:hover { color: var(--dorado); }
/* Páginas de servicio */
.art-sub { color: rgba(255,255,255,.82); max-width: 62ch; font-size: clamp(1rem, 1.35vw, 1.1rem); }
.sub-grid { display: grid; gap: 1.2rem; }
.sub { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--fondo-3); border: 1px solid var(--linea); transition: border-color .5s var(--ease-out), box-shadow .6s var(--ease-out); transform-style: preserve-3d; position: relative; }
.sub::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.sub:hover { border-color: rgba(212,175,55,.6); box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); }
.sub:hover::after { opacity: 1; }
.sub-img { aspect-ratio: 4 / 3; overflow: hidden; }
.sub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.sub:hover .sub-img img { transform: scale(1.06); }
.sub-body { padding: 1.4rem 1.4rem 1.6rem; display: grid; gap: .6rem; align-content: start; }
.sub-body h3 { font-size: 1.2rem; color: var(--texto); }
.sub-body > p { font-size: .95rem; color: var(--texto-2); }
.sub-ideal-t { font-family: var(--titulos); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dorado); margin-top: .3rem; }
.sub-ideal { display: flex; flex-wrap: wrap; gap: .4rem; }
.sub-ideal li { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.4); color: var(--texto); background: rgba(212,175,55,.06); }
.svc-tool { margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-tool h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .6rem 0 .4rem; }
.why { display: grid; gap: 2rem; }
.why-list { display: grid; gap: 1rem; }
.why-list li { padding: 1.1rem 1.3rem; border-radius: 12px; border: 1px solid var(--linea); border-left: 3px solid var(--dorado); background: var(--fondo-3); color: var(--texto-2); }
.svc-extra { display: grid; gap: 3rem; }
.zonas h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 1rem; }
.zonas > p:not(.kicker) { color: var(--texto-2); }
.zonas a { color: var(--dorado); text-decoration: underline; text-underline-offset: 3px; }
.zonas-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.zonas-list li { font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; background: var(--fondo-3); border: 1px solid var(--linea); color: var(--texto); }
.art .zonas { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linea); }
.art .zonas-list { padding: 0; }
.art .zonas-list li { padding-left: .8rem; }
.art .zonas-list li::before { display: none; }
.art-link { display: grid; gap: .4rem; margin-top: 2rem; padding: 1.3rem 1.4rem; border-radius: 14px; border: 1px solid rgba(212,175,55,.35); background: rgba(212,175,55,.05); transition: border-color .3s, transform .45s var(--ease-out); }
.art-link:hover { border-color: var(--dorado); transform: scale(1.02); }
.art-link strong { color: var(--texto); font-family: var(--titulos); }
.other-svcs { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linea); }
.other-svcs > div { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-link { font-family: var(--titulos); font-weight: 500; font-size: .88rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--linea); color: var(--texto); transition: all .35s var(--ease-out); }
.chip-link:hover { border-color: var(--dorado); color: var(--dorado); transform: scale(1.04); }
.footer-svcs { border-top: 0; margin-top: 1rem; padding-top: 0; }
@media (min-width: 720px) { .sub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .sub-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .svc-extra { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.blog-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding: 1.3rem 1.5rem; border-radius: 14px; border: 1px solid rgba(212,175,55,.35); background: rgba(212,175,55,.05); }

/* Medios de pago: logos del mismo tamaño */
.pay-methods li { min-height: 76px; gap: .85rem; padding: .8rem .9rem; line-height: 1.3; }
.pay-logo { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #FFFFFF; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(212,175,55,.35); }
.pay-logo svg { width: 26px; height: 26px; fill: none; stroke: #1C1C1C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pay-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pay-logo--emoji { font-size: 1.7rem; line-height: 1; }
.pay-name { min-width: 0; }
@media (max-width: 380px) { .pay-methods ul { grid-template-columns: 1fr; } }

/* Botón de música */
.sound-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: .6rem; height: 46px; padding: 0 1rem 0 .85rem; border-radius: 999px; background: rgba(17,16,14,.88); border: 1px solid rgba(212,175,55,.5); color: var(--texto); font-family: var(--titulos); font-weight: 600; font-size: .8rem; box-shadow: 0 12px 28px -10px rgba(0,0,0,.6); transition: transform .45s var(--ease-out), border-color .3s, opacity .3s; }
@supports (backdrop-filter: blur(8px)) { .sound-toggle { background: rgba(17,16,14,.6); backdrop-filter: blur(10px); } }
.sound-toggle:hover { transform: scale(1.05); border-color: var(--dorado); }
.sound-toggle:not(.is-on) { opacity: .75; }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.sound-bars i { width: 3px; height: 4px; border-radius: 2px; background: var(--dorado); transition: height .3s; }
.sound-toggle.is-playing .sound-bars i { animation: eq 1.1s ease-in-out infinite; }
.sound-toggle.is-playing .sound-bars i:nth-child(2) { animation-delay: .2s; }
.sound-toggle.is-playing .sound-bars i:nth-child(3) { animation-delay: .4s; }
.sound-toggle.is-playing .sound-bars i:nth-child(4) { animation-delay: .1s; }
.sound-toggle:not(.is-on) .sound-bars i { background: var(--gris-piedra); }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (max-width: 539px) {
  .sound-toggle { left: 14px; bottom: 14px; height: 44px; padding: 0 .9rem; }
  .sound-label { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-playing .sound-bars i { animation: none; height: 12px; } }
