:root {
  --bg: #0b0910;
  --bg-soft: #15111b;
  --ink: #15131a;
  --muted: #74707d;
  --light: #f5f3f0;
  --white: #ffffff;
  --purple: #8a35e8;
  --purple-2: #b467ff;
  --red: #c42640;
  --lime: #d9ff59;
  --border: rgba(255,255,255,.13);
  --shadow: 0 24px 70px rgba(7,5,10,.24);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--purple-2); color: #111; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-light { background: var(--light); color: var(--ink); }
.section-shell { position: relative; overflow: hidden; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #111; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(11,9,16,.82); border-color: var(--border); backdrop-filter: blur(18px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; font-weight: 900; letter-spacing: -.06em; background: linear-gradient(135deg, rgba(138,53,232,.25), rgba(196,38,64,.2)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: .82rem; letter-spacing: .07em; }
.brand-copy small { color: rgba(255,255,255,.6); font-size: .66rem; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .86rem; font-weight: 700; }
.main-nav > a:not(.nav-cta) { color: rgba(255,255,255,.72); transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a.active { color: #fff; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.05); color: #fff; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

.hero { min-height: 810px; padding-top: 155px; background: radial-gradient(circle at 75% 30%, rgba(138,53,232,.17), transparent 36%), linear-gradient(140deg, #08070b 0%, #0d0a12 52%, #160b16 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .65; pointer-events: none; }
.hero-glow-a { width: 370px; height: 370px; background: radial-gradient(circle, rgba(137,53,232,.23), transparent 67%); top: 100px; right: 4%; }
.hero-glow-b { width: 300px; height: 300px; background: radial-gradient(circle, rgba(196,38,64,.18), transparent 70%); bottom: 40px; left: -70px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.07fr .93fr; gap: 60px; align-items: center; min-height: 560px; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.eyebrow span { width: 34px; height: 2px; background: linear-gradient(90deg, var(--purple-2), var(--red)); }
.eyebrow.dark { color: #66616d; }
.hero h1, .contact-copy h2 { margin: 0; line-height: .86; letter-spacing: -.07em; font-size: clamp(4rem, 8vw, 7.7rem); font-weight: 950; }
.hero h1 em, .contact-copy h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.hero-role { margin: 34px 0 0; font-size: 1.12rem; color: rgba(255,255,255,.85); font-weight: 700; }
.hero-intro { color: rgba(255,255,255,.58); margin: 6px 0 0; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { min-height: 52px; padding: 0 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .9rem; font-weight: 850; letter-spacing: .02em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; fill: currentColor; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--red)); box-shadow: 0 14px 30px rgba(138,53,232,.23); color: #fff; }
.btn-primary:hover { box-shadow: 0 18px 36px rgba(138,53,232,.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; }
.hero-panel { min-height: 470px; position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .65fr; gap: 14px; transform: rotate(-2deg); }
.hero-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); padding: 26px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -50px; bottom: -65px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 20px rgba(255,255,255,.02), 0 0 0 40px rgba(255,255,255,.015); }
.hero-card-main { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, rgba(138,53,232,.32), rgba(255,255,255,.035) 55%, rgba(196,38,64,.16)); }
.hero-card .card-index { position: absolute; top: 22px; right: 24px; color: rgba(255,255,255,.38); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.hero-card p { margin: 0 0 8px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.48); }
.hero-card h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: .92; letter-spacing: -.055em; }
.hero-card-small { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-card-small a, .hero-card-small strong { font-size: 1.05rem; }
.hero-card-small.accent { background: linear-gradient(145deg, rgba(196,38,64,.22), rgba(255,255,255,.045)); }
.pulse-ring { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: var(--lime); top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; z-index: 4; box-shadow: 0 0 0 10px rgba(217,255,89,.08); }
.pulse-ring span { width: 13px; height: 13px; background: #111; border-radius: 50%; box-shadow: 0 0 0 8px rgba(17,17,17,.14); }
.hero-ribbon { position: absolute; bottom: 0; left: -2%; right: -2%; height: 55px; background: var(--lime); color: #111; transform: rotate(-1.2deg); transform-origin: center; overflow: hidden; display: flex; align-items: center; font-size: .82rem; font-weight: 950; letter-spacing: .12em; }
.ribbon-track { display: flex; gap: 22px; white-space: nowrap; animation: ribbon 28s linear infinite; }
.ribbon-track i { font-style: normal; }
@keyframes ribbon { to { transform: translateX(-50%); } }

.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 52px; }
.section-heading > div { max-width: 700px; }
.section-heading h2 { margin: 0; line-height: 1; letter-spacing: -.05em; font-size: clamp(2.6rem, 5vw, 5rem); }
.section-heading > p { max-width: 270px; margin: 0; color: var(--muted); }
.section-heading.inverse > p { color: rgba(255,255,255,.52); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { min-height: 310px; padding: 32px; border-radius: var(--radius); border: 1px solid rgba(19,16,24,.12); background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 18px 60px rgba(30,20,40,.08); }
.service-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(138,53,232,.12); right: -80px; top: -100px; box-shadow: 0 0 0 28px rgba(138,53,232,.03), 0 0 0 58px rgba(196,38,64,.02); }
.service-card > span { position: absolute; top: 28px; right: 30px; font-size: .76rem; font-weight: 900; color: #aaa5ae; }
.service-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(138,53,232,.1); margin-bottom: 55px; }
.service-icon svg { width: 26px; fill: var(--purple); }
.service-card h3 { margin: 0; font-size: 2.1rem; letter-spacing: -.045em; }
.service-card p { margin: 4px 0 0; color: var(--muted); }
.dark-card { background: linear-gradient(145deg, #151019, #25142c); color: #fff; border-color: rgba(255,255,255,.08); }
.dark-card .service-icon { background: rgba(255,255,255,.08); }
.dark-card .service-icon svg { fill: var(--purple-2); }
.dark-card p { color: rgba(255,255,255,.55); }
.dark-card > span { color: rgba(255,255,255,.35); }

.products-section { background: linear-gradient(160deg, #0b0910, #130c18); }
.product-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-cloud span { min-height: 88px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; display: flex; align-items: flex-end; font-size: 1.02rem; font-weight: 820; background: rgba(255,255,255,.03); position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.product-cloud span::after { content: "+"; position: absolute; top: 10px; right: 14px; color: rgba(255,255,255,.24); font-size: 1.2rem; }
.product-cloud span:hover { transform: translateY(-4px); border-color: rgba(180,103,255,.48); background: rgba(138,53,232,.09); }
.product-cloud span:nth-child(1), .product-cloud span:nth-child(7) { grid-column: span 2; }
.vitamin-strip { margin-top: 18px; padding: 26px 30px; display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: linear-gradient(90deg, rgba(196,38,64,.11), rgba(138,53,232,.08)); }
.strip-label { font-size: .7rem; letter-spacing: .15em; font-weight: 800; color: rgba(255,255,255,.46); }
.vitamin-strip h3 { margin: 0; font-size: 1.5rem; }
.strip-line { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.5), transparent); }

.accessory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.accessory-card { min-height: 240px; border-radius: var(--radius); border: 1px solid rgba(19,16,24,.12); background: #fff; padding: 27px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 45px rgba(30,20,40,.07); }
.accessory-card > span { color: #aaa5ae; font-weight: 800; font-size: .75rem; }
.accessory-card h3 { margin: 0; font-size: 2rem; letter-spacing: -.04em; position: relative; z-index: 2; }
.angle-mark { position: absolute; width: 170px; height: 170px; right: -85px; top: 35px; border: 1px solid rgba(138,53,232,.17); transform: rotate(45deg); box-shadow: 0 0 0 24px rgba(138,53,232,.03), 0 0 0 50px rgba(196,38,64,.02); }

.gallery-section { background: #0a080d; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 15px; align-items: stretch; }
.gallery-card { appearance: none; border: 1px solid rgba(255,255,255,.16); padding: 0; border-radius: 20px; overflow: hidden; background: #141118; cursor: zoom-in; position: relative; min-height: 240px; box-shadow: 0 0 0 1px rgba(138,53,232,.05), 0 15px 42px rgba(0,0,0,.3), 0 0 26px rgba(138,53,232,.09); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.gallery-card::after { content: "↗"; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(9,7,12,.72); color: #fff; display: grid; place-items: center; font-size: 1rem; border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.gallery-card:hover { transform: translateY(-4px); border-color: rgba(180,103,255,.48); box-shadow: 0 0 0 1px rgba(138,53,232,.13), 0 24px 60px rgba(0,0,0,.38), 0 0 34px rgba(138,53,232,.13); }
.gallery-card:hover::after { opacity: 1; transform: translateY(0); }
.gallery-card img { width: 100%; height: 100%; object-fit: contain; background: #0f0c13; }
.gallery-card.portrait { grid-column: span 4; min-height: 470px; }
.gallery-card.square { grid-column: span 5; min-height: 360px; }
.gallery-card.landscape { grid-column: span 7; min-height: 360px; }
.gallery-grid .gallery-card:nth-child(6), .gallery-grid .gallery-card:nth-child(8) { grid-column: span 6; }
.gallery-grid .gallery-card:nth-child(9) { grid-column: span 6; }
.gallery-note { margin: 20px 0 0; color: rgba(255,255,255,.47); font-size: .86rem; text-align: center; }

.certificate-section { padding: 85px 0; background: var(--light); color: var(--ink); }
.certificate-wrap { min-height: 260px; border-top: 1px solid rgba(19,16,24,.15); border-bottom: 1px solid rgba(19,16,24,.15); display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 40px; }
.cert-number { font-size: clamp(5rem, 12vw, 10rem); font-weight: 950; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(138,53,232,.25); }
.certificate-wrap h2 { margin: 0; line-height: 1.02; letter-spacing: -.05em; font-size: clamp(2.4rem, 5vw, 5rem); }

.contact-section { position: relative; overflow: hidden; padding: 120px 0; background: linear-gradient(135deg, #0c0910 0%, #130b17 52%, #210d1c 100%); }
.contact-section::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.contact-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(138,53,232,.18), transparent 67%); right: -150px; top: -150px; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.contact-copy h2 { font-size: clamp(3.8rem, 7vw, 6.8rem); }
.contact-copy > p:last-child { color: rgba(255,255,255,.56); margin-top: 28px; }
.contact-data { border-top: 1px solid rgba(255,255,255,.15); }
.contact-row { padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-row span { color: rgba(255,255,255,.48); font-size: .83rem; }
.contact-row strong { text-align: right; }
.contact-btn { width: 100%; margin-top: 22px; }

.site-footer { background: #070609; border-top: 1px solid rgba(255,255,255,.08); padding: 30px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 4px; }
.footer-grid > div:last-child { text-align: right; }
.footer-grid strong { font-size: .8rem; letter-spacing: .07em; }
.footer-grid small, .footer-grid span { color: rgba(255,255,255,.45); font-size: .72rem; }
.footer-grid a { font-weight: 700; font-size: .88rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #20c466; color: #fff; z-index: 45; box-shadow: 0 16px 40px rgba(0,0,0,.36), 0 0 0 7px rgba(32,196,102,.09); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 30px; fill: currentColor; }
.lightbox { width: min(92vw, 1080px); max-width: none; max-height: 92vh; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: #0b0910; padding: 18px; color: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.lightbox::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: calc(92vh - 36px); object-fit: contain; border-radius: 12px; }
.lightbox-close { position: fixed; top: 20px; right: 25px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(10,8,13,.88); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: #fff; color: #111; padding: 10px 20px; text-align: center; font-size: .84rem; }

.reveal { opacity: 1; transform: none; }
/* El contenido siempre es visible. JS solo añade animación progresiva, nunca controla la carga visual. */

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 82px 16px auto 16px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: rgba(15,12,20,.97); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; box-shadow: 0 28px 80px rgba(0,0,0,.45); transform: translateY(-18px) scale(.98); opacity: 0; visibility: hidden; pointer-events: none; transition: .25s ease; }
  .main-nav.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav > a { padding: 15px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; border: 0; background: linear-gradient(135deg, var(--purple), var(--red)); }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 430px; }
  .product-cloud { grid-template-columns: repeat(3,1fr); }
  .product-cloud span:nth-child(1), .product-cloud span:nth-child(7) { grid-column: span 1; }
  .accessory-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card.portrait { grid-column: span 6; }
  .gallery-card.square, .gallery-card.landscape, .gallery-grid .gallery-card:nth-child(6), .gallery-grid .gallery-card:nth-child(8), .gallery-grid .gallery-card:nth-child(9) { grid-column: span 6; }
  .certificate-wrap { grid-template-columns: 1fr; padding: 45px 0; gap: 15px; }
  .cert-number { line-height: .8; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 82px 0; }
  .nav-wrap { height: 72px; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .72rem; }
  .main-nav { top: 72px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .hero-panel { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; transform: none; }
  .hero-card-main { grid-column: auto; min-height: 250px; }
  .hero-card-small { min-height: 145px; }
  .pulse-ring { display: none; }
  .hero-ribbon { height: 48px; font-size: .7rem; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 15px; }
  .section-heading h2 { font-size: 2.7rem; }
  .service-grid, .accessory-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .service-icon { margin-bottom: 42px; }
  .product-cloud { grid-template-columns: 1fr 1fr; }
  .product-cloud span { min-height: 76px; }
  .vitamin-strip { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-card.portrait, .gallery-card.square, .gallery-card.landscape, .gallery-grid .gallery-card:nth-child(6), .gallery-grid .gallery-card:nth-child(8), .gallery-grid .gallery-card:nth-child(9) { grid-column: 1; min-height: 0; }
  .gallery-card img { height: auto; object-fit: contain; }
  .gallery-card { min-height: 0; }
  .certificate-section { padding: 60px 0; }
  .cert-number { font-size: 5rem; }
  .contact-section { padding: 85px 0; }
  .contact-copy h2 { font-size: clamp(3.3rem, 15vw, 5rem); }
  .contact-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-row strong { text-align: left; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-grid > div:last-child { text-align: left; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
