:root {
  --bg: #ffffff;
  --ink: #0b0d12;
  --muted: #6b7280;
  --line: #ececf0;
  --soft: #f6f7f9;
  --card: #ffffff;
  --glass: rgba(255,255,255,0.78);
  --logo-filter: none;
  --c1: #8a6fae;
  --c2: #cc8d96;
  --c3: #cc8d96;
  --grad: linear-gradient(100deg, #5859a3, #cc8d96);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
}
html.dark {
  --bg: #0a0b0f;
  --ink: #f1f3f7;
  --muted: #9aa3b2;
  --line: rgba(255,255,255,0.12);
  --soft: #14161c;
  --card: #14161c;
  --glass: rgba(16,18,24,0.82);
  --c1: #c9a6d6;
  --logo-filter: invert(1) brightness(1.6) hue-rotate(180deg);
}
html.dark .blob { display: none; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Roboto", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand, .stat__num, .strip__track, .srv__n {
  font-family: "Google Sans", "Roboto", system-ui, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1, h2, h3, .big, .hero__title { text-transform: uppercase; letter-spacing: 0; }

/* ---------- Animated background ---------- */
.aurora { display: none; }
.dotgrid { display: none; }
.aurora-off { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
}
.blob--1 { width: 46vw; height: 46vw; background: #9bb6ff; top: -12vw; left: -8vw; animation: drift1 22s ease-in-out infinite; }
.blob--2 { width: 40vw; height: 40vw; background: #d3b6ff; top: 8vw; right: -10vw; animation: drift2 26s ease-in-out infinite; }
.blob--3 { width: 38vw; height: 38vw; background: #a7ecff; bottom: -14vw; left: 28vw; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,5vw) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,6vw) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,-6vw) scale(1.15)} }
.dotgrid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(11,13,18,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px clamp(20px, 6vw, 64px);
  transition: padding .45s var(--ease), background .45s var(--ease), border-color .45s,
              box-shadow .45s var(--ease), border-radius .45s var(--ease), transform .45s var(--ease), top .45s var(--ease);
  border: 1px solid transparent;
}
.nav > .brand { justify-self: start; }
.nav > .nav__links { justify-self: center; }
.nav > .nav__right { justify-self: end; }
.nav.scrolled {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 28px);
  display: flex;
  justify-content: center;
  padding: 7px 7px 7px 22px;
  gap: 22px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 40px -16px rgba(8,12,24,0.28);
}
.nav.scrolled .brand img { height: 20px; }
.nav.scrolled .nav__links { gap: 12px; }
.nav.scrolled .nav__right { gap: 10px; }
@media (max-width: 920px) {
  .nav.scrolled {
    top: 0; left: 0; right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    display: grid; grid-template-columns: 1fr auto;
    border-radius: 0;
    padding: 12px clamp(16px, 5vw, 32px);
    background: var(--bg);
    backdrop-filter: none;
    border: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px -6px rgba(8,12,24,.15);
  }
  .nav.scrolled .brand img { height: 22px; }
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 26px; width: auto; display: block; filter: var(--logo-filter); transition: height .45s var(--ease); }
.brand--footer img { height: 30px; }
.nav__links { display: flex; gap: 18px; align-items: center; }
.nav__links > a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s, background .2s; padding: 7px 14px; border-radius: 999px; }
.nav__links > a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.iconbtn {
  width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.iconbtn:hover { transform: translateY(-2px); border-color: var(--ink); }
.iconbtn .ic-moon { display: none; }
html.dark .iconbtn .ic-sun { display: none; }
html.dark .iconbtn .ic-moon { display: block; }
.burger { display: none; width: 38px; height: 38px; place-items: center; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(2) { transform: translateY(5px); }
.nav.open .burger span:nth-child(1) { transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,13,18,.22); }
.btn--ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px clamp(20px,6vw,64px) 80px; text-align: center; }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; }

/* animated brand-gradient aura (full screen) */
.hero__aura { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.auraBlob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .38; mix-blend-mode: multiply; will-change: transform; }
html.dark .auraBlob { mix-blend-mode: screen; opacity: .3; filter: blur(96px); }
.auraBlob--1 { width: 40vw; height: 40vw; background: #5859a3; left: -10vw; top: -4vh; animation: aura1 19s ease-in-out infinite; }
.auraBlob--2 { width: 38vw; height: 38vw; background: #cc8d96; right: -10vw; top: -6vh; animation: aura2 23s ease-in-out infinite; }
.auraBlob--3 { width: 30vw; height: 30vw; background: #8a6fae; left: -6vw; bottom: -10vh; animation: aura3 27s ease-in-out infinite; }
.auraBlob--4 { width: 28vw; height: 28vw; background: #d7a0a6; right: -4vw; bottom: -8vh; animation: aura1 31s ease-in-out infinite reverse; }
/* scrim central: aclara la zona del texto para legibilidad */
.hero__aura::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 64% 58% at 50% 44%, var(--bg) 30%, rgba(255,255,255,0) 80%); }
@keyframes aura1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(7vw,5vh) scale(1.15)} }
@keyframes aura2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-6vw,6vh) scale(1.12)} }
@keyframes aura3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(5vw,-6vh) scale(1.18)} }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 13px; z-index: 2; display: grid; justify-items: center; padding-top: 7px; opacity: .6; }
.hero__scroll span { width: 3px; height: 7px; border-radius: 2px; background: var(--ink); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(9px)} }
@media (prefers-reduced-motion: reduce) { .auraBlob, .hero__scroll span { animation: none; } }
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--muted); background: var(--glass);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c3); box-shadow: 0 0 0 0 rgba(6,182,212,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70%{box-shadow:0 0 0 9px rgba(6,182,212,0)} 100%{box-shadow:0 0 0 0 rgba(6,182,212,0)} }
.hero__title {
  font-size: clamp(2.8rem, 7.4vw, 5.8rem);
  line-height: 0.97; font-weight: 700; margin: 24px 0 20px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__showcase { margin-top: 72px; perspective: 1400px; }
.window {
  border-radius: 18px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(28,40,80,.35);
  transform: rotateX(6deg); transform-origin: center top;
}
.window__bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d8de; }
.window img { display: block; width: 100%; height: auto; aspect-ratio: 1400/900; object-fit: cover; object-position: top; background: var(--soft); }

/* ---------- Mobbin-style screenshot wall ---------- */
.wall {
  position: relative; display: flex; gap: 16px; justify-content: center;
  margin-top: 60px; height: clamp(440px, 74vh, 780px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 82%, transparent 100%);
}
.wall__col {
  display: flex; flex-direction: column; gap: 18px;
  width: clamp(300px, 42vw, 480px); flex: 0 0 auto;
  animation: wallScroll var(--spd, 44s) linear infinite; will-change: transform;
}
.wall__col--down { animation-direction: reverse; }
@keyframes wallScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall:hover .wall__col { animation-play-state: paused; }
.tile {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--soft); box-shadow: 0 16px 34px -24px rgba(28,40,80,.55);
  transition: transform .35s var(--ease);
}
.tile:hover { transform: scale(1.02); }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .wall { gap: 12px; height: 62vh; } }
@media (prefers-reduced-motion: reduce) { .wall__col { animation: none; } }

/* ---------- Strip marquee ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--soft); }
.strip__track {
  display: flex; align-items: center; gap: 34px; width: max-content; white-space: nowrap;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
  animation: marquee 28s linear infinite;
}
.strip__track i { color: var(--c2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 11vw, 150px) clamp(20px,6vw,64px); }
.lead-block { max-width: 720px; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.big { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.02; font-weight: 700; }
.lead-block p { color: var(--muted); font-size: 1.1rem; margin-top: 20px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 36px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1; }
.stat__label { color: var(--muted); font-size: .98rem; margin-top: 10px; display: block; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.srv {
  padding: 34px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.srv:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -34px rgba(28,40,80,.4); border-color: transparent; }
.srv { text-decoration: none; color: inherit; display: block; }
.srv__n { font-size: .9rem; color: var(--c1); font-weight: 600; }
.srv h3 { font-size: 1.5rem; margin: 16px 0 10px; display: flex; align-items: center; justify-content: space-between; }
.srv__go { font-style: normal; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.srv:hover .srv__go { color: var(--c1); transform: translateX(5px); }
.srv p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.srv__price { font-size: .85rem; color: var(--ink); background: var(--soft); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }

/* ---------- ANTU ---------- */
.antu__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.antu__text p { color: var(--muted); font-size: 1.1rem; margin: 20px 0 26px; }
.ticks { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.ticks li { position: relative; padding-left: 30px; font-size: 1.05rem; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--c2); }
.antu__orb { display: grid; place-items: center; }
.orb { position: relative; width: 280px; height: 280px; }
.orb b { position: absolute; inset: 36%; border-radius: 50%; background: var(--grad); box-shadow: 0 20px 60px rgba(124,58,237,.4); animation: float 4s ease-in-out infinite; }
.orb span { position: absolute; border-radius: 50%; border: 1.5px solid var(--line); }
.orb span:nth-child(1) { inset: 0; border-top-color: var(--c1); animation: spin 7s linear infinite; }
.orb span:nth-child(2) { inset: 13%; border-top-color: var(--c2); animation: spin 5s linear infinite reverse; }
.orb span:nth-child(3) { inset: 26%; border-top-color: var(--c3); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100%{transform:translateY(-9px)} 50%{transform:translateY(9px)} }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.shot {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--soft); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.shot img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shot:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -30px rgba(28,40,80,.4); border-color: rgba(37,99,255,.35); }
.shot:hover img { transform: scale(1.04); }
.shot__meta {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 13px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem;
  background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line);
}
.shot__meta i { font-style: normal; color: var(--c1); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 32px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: transform .4s var(--ease), box-shadow .4s; }
.quote:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(28,40,80,.35); }
.quote p { font-size: 1.05rem; margin-bottom: 18px; }
.quote figcaption { color: var(--muted); font-size: .92rem; }
.quote figcaption strong { color: var(--ink); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(50px, 8vw, 90px) 30px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(180deg, var(--soft), var(--card)); }
.cta p { color: var(--muted); font-size: 1.15rem; margin: 18px 0 32px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page wrap (reveal footer) ---------- */
.page-wrap { position: relative; z-index: 2; background: var(--bg); margin-bottom: 520px; }

/* ---------- Footer (fixed, revealed on scroll) ---------- */
.footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
  background: #08090d; color: #c7ccda;
  padding: clamp(44px, 6vw, 78px) clamp(20px, 6vw, 64px) 20px;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.footer__logo img { height: 30px; filter: invert(1) brightness(1.7) hue-rotate(180deg); }
.footer__brand p { margin: 18px 0 18px; font-size: .96rem; color: #9aa0b2; max-width: 30ch; }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: #c7ccda; text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer__social a:hover { color: #fff; }
.footer__col h4, .footer__news h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer__col a { display: block; color: #9aa0b2; text-decoration: none; font-size: .94rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__news p { color: #9aa0b2; font-size: .94rem; margin-bottom: 14px; max-width: 30ch; }
.footer__form { display: flex; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 5px 5px 16px; max-width: 320px; }
.footer__form input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: .94rem; }
.footer__form input::placeholder { color: #7e8499; }
.footer__form button { flex: 0 0 auto; width: 38px; height: 38px; border: 0; border-radius: 999px; background: #fff; color: #08090d; cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease); }
.footer__form button:hover { transform: translateX(2px); }
.footer__note { display: block; margin-top: 10px; font-size: .85rem; color: #7ee0a8; min-height: 1em; }
.footer__contact { margin-top: 22px; display: grid; gap: 6px; }
.footer__contact a, .footer__contact span { color: #9aa0b2; text-decoration: none; font-size: .9rem; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { max-width: var(--maxw); margin: clamp(30px,4vw,48px) auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: #7e8499; }
@media (max-width: 920px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__news { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px) scale(.985); filter: blur(12px);
  transition: opacity .95s var(--ease), transform 1.05s var(--ease), filter .95s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.services .reveal.in, .gallery .reveal.in, .quotes .reveal.in, .stats .reveal.in { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, .blob { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav > .brand { position: relative; z-index: 110; }
  .nav > .nav__right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 110; }
  .nav__links {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100dvh;
    background: var(--bg); z-index: 100;
    padding: 90px clamp(24px,7vw,48px) 40px;
    gap: 0; align-items: stretch; overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.open .nav__links { opacity: 1; visibility: visible; }
  .nav__links > a,
  .nav__links > .nav__item {
    opacity: 0; transform: translateY(16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s, background .2s;
  }
  .nav.open .nav__links > a,
  .nav.open .nav__links > .nav__item {
    opacity: 1; transform: none;
  }
  .nav.open .nav__links > :nth-child(1) { transition-delay: .06s; }
  .nav.open .nav__links > :nth-child(2) { transition-delay: .1s; }
  .nav.open .nav__links > :nth-child(3) { transition-delay: .14s; }
  .nav.open .nav__links > :nth-child(4) { transition-delay: .18s; }
  .nav.open .nav__links > :nth-child(5) { transition-delay: .22s; }
  .nav__links > a {
    padding: 16px 4px; font-size: 1.2rem; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--line); text-align: left; border-radius: 0;
  }
  .nav__links > a:last-child { border-bottom: 0; }
  .nav__links > a:active { background: var(--soft); }
  .burger { display: grid; }
  .services, .quotes { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .antu__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .services, .quotes, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .nav .btn--sm { display: none; }
  .window { transform: none; }
}

/* ============ Inner pages ============ */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(130px, 16vh, 200px) clamp(20px,6vw,64px) 30px; }
.back { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: .92rem; margin-bottom: 26px; transition: color .2s, gap .2s; }
.back:hover { color: var(--ink); gap: 12px; }
.page-hero .pcat { display: block; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; font-weight: 700; margin: 16px 0 20px; }
.page-hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--muted); max-width: 700px; }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.bigimg { max-width: var(--maxw); margin: 0 auto; padding: 20px clamp(20px,6vw,64px) 0; }

.detail { max-width: var(--maxw); margin: 0 auto; padding: clamp(50px,7vw,90px) clamp(20px,6vw,64px); display: grid; grid-template-columns: 1.5fr .9fr; gap: 56px; align-items: start; }
.detail h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.detail p { color: var(--muted); font-size: 1.08rem; margin-bottom: 26px; }
.feature-list { list-style: none; display: grid; gap: 15px; }
.feature-list li { position: relative; padding-left: 32px; font-size: 1.08rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #fff; background: var(--grad); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.pricecard { border: 1px solid var(--line); border-radius: 24px; padding: 34px; background: linear-gradient(180deg, var(--soft), var(--card)); position: sticky; top: 96px; box-shadow: 0 30px 60px -40px rgba(28,40,80,.4); }
.pricecard .plabel { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pricecard .price { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 4px; }
.pricecard .pnote { color: var(--muted); margin-bottom: 24px; font-size: .98rem; }
.pricecard .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 0; }
.tags span { font-size: .82rem; color: var(--ink); background: var(--soft); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }

.related { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,6vw,64px) clamp(70px,9vw,120px); }
.related h2 { font-size: clamp(1.6rem,3.4vw,2.4rem); margin-bottom: 30px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rcard { display: block; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.rcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -34px rgba(28,40,80,.4); }
.rcard span { font-size: .85rem; color: var(--c1); }
.rcard h3 { font-size: 1.25rem; margin: 10px 0 6px; }
.rcard p { color: var(--muted); font-size: .96rem; }

/* contact */
.form { display: grid; gap: 16px; max-width: 560px; margin-top: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; font: inherit; background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--c1); box-shadow: 0 0 0 4px rgba(37,99,255,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--card); }
.contact-card span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card a { display: block; margin-top: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--c1); }
.grid-2 { max-width: var(--maxw); margin: 0 auto; padding: clamp(30px,5vw,60px) clamp(20px,6vw,64px) clamp(70px,9vw,120px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 36px; }
  .pricecard { position: static; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .related__grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}

/* ---------- ANTU logo ---------- */
.antu-logo { display: block; width: clamp(180px, 26vw, 260px); height: auto; margin: 4px 0 22px; }
.page-hero .antu-logo { margin: 18px 0 6px; }

/* ---------- Scroll to top ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 95;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(14px); color: var(--ink);
  cursor: pointer; box-shadow: 0 12px 34px -14px rgba(8,12,24,0.32);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .25s, background .3s;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); border-color: var(--ink); }
@media (max-width: 560px) { .totop { right: 16px; bottom: 16px; } }

/* ---------- ANTU products showcase ---------- */
.prods { max-width: var(--maxw); margin: 0 auto; padding: clamp(16px,3vw,32px) clamp(20px,6vw,64px) clamp(36px,6vw,64px); display: grid; gap: 26px; }
.prod { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px,4vw,54px); align-items: center; border-radius: 28px; padding: clamp(26px,4vw,52px); border: 1px solid var(--line); overflow: hidden; }
.prod__media img { width: 100%; height: auto; display: block; border-radius: 12px; }
.prod__tag { display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-bottom: 12px; }
.prod__body h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.prod__body p { font-size: 1.08rem; margin-bottom: 20px; opacity: .85; }
.prod .ticks { margin-bottom: 24px; }
.prod__badge { display: inline-block; font-size: .85rem; padding: 7px 15px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; }
.prod--rev .prod__media { order: 2; }
.prod__media { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px -28px rgba(20,28,60,.45); }
.prod--salud { background: #f1f0fb; color: #0b0d12; }
.prod--resto { background: #f5f6f8; color: #0b0d12; }
.prod--tienda { background: #edf4ee; color: #0b0d12; }
.prod--salud .ticks li, .prod--resto .ticks li, .prod--tienda .ticks li { color: #0b0d12; }
@media (max-width: 860px) {
  .prod, .prod--rev { grid-template-columns: 1fr; }
  .prod--rev .prod__media { order: 0; }
}

/* ---------- ANTU product cards (home) ---------- */
.antu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.antu-card { display: block; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.antu-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -34px rgba(28,40,80,.4); }
.antu-card__media { background: var(--soft); }
.antu-card__media img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; object-position: center; }
.antu-card__body { padding: 22px 24px 26px; }
.antu-card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.antu-card__body p { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.antu-card__go { color: var(--c1); font-weight: 600; font-size: .9rem; }
@media (max-width: 860px) { .antu-cards { grid-template-columns: 1fr; } }

/* ---------- Mega menu (Antigravity-style) ---------- */
.nav__item { position: static; display: flex; align-items: center; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--muted); font-family: "Roboto", system-ui, sans-serif; font-size: .95rem; padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__trigger:hover { color: var(--ink); }
.chev { transition: transform .3s var(--ease); }
.nav__item.open > .nav__trigger { color: var(--ink); background: var(--soft); }
.nav__item.open .chev { transform: rotate(180deg); }
.mega {
  position: fixed; top: 0; left: 0; right: 0; z-index: -1;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 34px 60px -34px rgba(8,12,24,.3);
  padding: 88px clamp(20px,6vw,64px) 46px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.nav__item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.5fr; gap: 50px; align-items: start; }
.mega__lead h3 { font-size: 1.5rem; margin-bottom: 10px; }
.mega__lead p { color: var(--muted); margin-bottom: 20px; font-size: .98rem; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; align-content: start; }
.mega__grid a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.mega__grid a:hover { background: var(--soft); }
.mega__grid strong { display: block; font-weight: 600; font-size: 1rem; }
.mega__grid span { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) {
  .nav__item { display: block; border-bottom: 1px solid var(--line); }
  .nav__trigger { padding: 16px 4px; width: 100%; justify-content: space-between; font-size: 1.2rem; font-weight: 500; color: var(--ink); }
  .nav__trigger:active { color: var(--c1); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; box-shadow: none; border: 0; background: transparent; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .mega > .mega__inner { overflow: hidden; }
  .nav__item.open .mega { grid-template-rows: 1fr; }
  .nav__item.open > .nav__trigger { color: var(--c1); background: none; }
  .mega__inner { grid-template-columns: 1fr; gap: 0; }
  .mega__lead { display: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 12px; }
  .mega__grid a { padding: 11px 16px; font-size: 1rem; }
  .mega__grid strong { font-size: .95rem; }
  .mega__grid span { display: block; font-size: .8rem; }
}

/* ---------- Infraestructura ---------- */
.infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.infra__card { padding: 30px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.infra__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(28,40,80,.4); border-color: transparent; }
.infra__k { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--c1); background: rgba(138,111,174,.1); border: 1px solid rgba(138,111,174,.26); padding: 5px 12px; border-radius: 999px; }
.infra__card h3 { font-size: 1.22rem; margin: 16px 0 8px; }
.infra__card p { color: var(--muted); font-size: .98rem; }
.infra .reveal.in { transition-delay: var(--d, 0s); }
@media (max-width: 860px) { .infra { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .infra { grid-template-columns: 1fr; } }

/* ---------- Footer en móvil: flujo normal (se ve completo) ---------- */
@media (max-width: 900px) {
  .footer { position: static; }
  .page-wrap { margin-bottom: 0 !important; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__news { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Contacto: formulario arriba, datos abajo ---------- */
.contact-form-wrap { max-width: 680px; margin: 0 auto; padding: 0 clamp(20px,6vw,64px); }
.contact-form-wrap .form { max-width: none; margin-top: 0; }
.contact-data { max-width: var(--maxw); margin: clamp(40px,6vw,72px) auto 0; padding: 0 clamp(20px,6vw,64px) clamp(60px,8vw,110px); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.contact-actions .btn svg { flex: 0 0 auto; }
.btn--wa { background: #25d366; color: #053522; }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,.38); }
.contact-data .contact-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 0; }
@media (max-width: 560px) { .contact-actions { flex-direction: column; } .contact-actions .btn { justify-content: center; } }
