/* ═══════════════════════════════════════════════════════════
   LAMANZANITACOL · styles.css
   Estructura:
   1. Variables
   2. Reset & base
   3. Layout & utilities
   4. Header & navegación
   5. Hero
   6. Secciones genéricas
   7. Beneficios
   8. Líneas de negocio
   9. Inventario
   10. Reparación
   11. Ubicación
   12. FAQ
   13. Contacto
   14. Footer
   15. Carrito / Toast / WhatsApp float
   16. Animaciones reveal
   17. Responsive
   ═══════════════════════════════════════════════════════════ */

/* ───────── 1. VARIABLES ───────── */
:root {
  --bg: #050505;
  --bg-2: #0a0a0c;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(255, 255, 255, 0.24);
  --text: #f7f7f8;
  --muted: #a9abb4;
  --muted-2: #777a86;
  --gold: #d9b765;
  --gold-2: #fff0b3;
  --silver: #d8dce7;
  --blue: #6fd6ff;
  --purple: #9f7aff;
  --green: #25d366;
  --danger: #ff5f72;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --max: 1180px;
  --header-h: 78px;
}

/* ───────── 2. RESET & BASE ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 183, 101, 0.13), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(111, 214, 255, 0.11), transparent 30rem),
    radial-gradient(circle at 60% 70%, rgba(159, 122, 255, 0.10), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #09090a 42%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: transparent; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; }

/* ───────── 3. LAYOUT & UTILS ───────── */
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.full-width { width: 100%; justify-content: center; }

main { position: relative; z-index: 2; }
section { padding: 92px 0; }

/* Background textures */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.23'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.aurora {
  position: fixed; width: 42rem; height: 42rem; border-radius: 999px;
  filter: blur(80px); opacity: 0.15; pointer-events: none; z-index: 0;
  background: conic-gradient(from 180deg, var(--gold), var(--blue), var(--purple), var(--gold));
  animation: drift 18s ease-in-out infinite alternate;
  right: -18rem; top: 10rem;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(-10rem, 18rem, 0) rotate(35deg); }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  font-weight: 800; letter-spacing: -0.01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(255,255,255,0.13); color: #fff;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  cursor: pointer;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.2) 35%, transparent 55%);
  transform: translateX(-130%); transition: transform 0.8s ease; z-index: -1;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary  { background: linear-gradient(135deg, #fff 0%, #d9dce7 44%, #9da3b8 100%); color: #08080a; box-shadow: 0 16px 42px rgba(255,255,255,0.12); }
.btn-gold     { background: linear-gradient(135deg, #fff2bc, #d9b765 45%, #9a7228); color: #0a0a0b; border-color: rgba(255,240,179,0.4); box-shadow: 0 18px 45px rgba(217,183,101,0.18); }
.btn-whatsapp {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.45) 0%, transparent 22%, transparent 72%, rgba(255,255,255,0.18) 100%),
    linear-gradient(145deg, #b9ffd2 0%, #37ef87 28%, #12b85d 56%, #08783f 100%);
  color: #03140a;
  border-color: rgba(185,255,210,0.42);
  box-shadow:
    0 18px 48px rgba(37,211,102,0.28),
    inset 0 1px 0 rgba(255,255,255,0.62),
    inset 0 -12px 28px rgba(2,64,28,0.20);
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}
.btn-whatsapp:hover {
  box-shadow:
    0 22px 58px rgba(37,211,102,0.38),
    0 0 34px rgba(185,255,210,0.16),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -12px 28px rgba(2,64,28,0.18);
}
.btn-ghost    { background: rgba(255,255,255,0.06); color: #fff; backdrop-filter: blur(12px); }
.btn[data-wa]:not(.btn-whatsapp),
#contactForm .btn-gold {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.38) 0%, transparent 24%, transparent 72%, rgba(255,255,255,0.15) 100%),
    linear-gradient(145deg, #b9ffd2 0%, #37ef87 30%, #12b85d 60%, #08783f 100%);
  color: #03140a;
  border-color: rgba(185,255,210,0.42);
  box-shadow:
    0 18px 48px rgba(37,211,102,0.26),
    inset 0 1px 0 rgba(255,255,255,0.62),
    inset 0 -12px 28px rgba(2,64,28,0.20);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}
.btn[data-wa]:not(.btn-whatsapp):hover,
#contactForm .btn-gold:hover {
  box-shadow:
    0 22px 58px rgba(37,211,102,0.36),
    0 0 34px rgba(185,255,210,0.15),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.icon-btn {
  width: 46px; height: 46px; border-radius: 999px; background: rgba(255,255,255,0.07);
  color: #fff; border: 1px solid rgba(255,255,255,0.13);
  display: inline-grid; place-items: center; position: relative; transition: .2s ease;
  cursor: pointer;
}
.icon-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.11); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Glass card base */
.glass-card {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035)),
    rgba(255,255,255,0.035);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.13), transparent 38%);
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217,183,101,0.32);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
}

/* ───────── 4. HEADER ───────── */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  border-bottom: 1px solid transparent;
  /* Solo transicionar estas props: animar backdrop-filter causa el parpadeo */
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 5, 5, 0.72);
  border-bottom-color: rgba(255,255,255,0.11);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.02)),
    radial-gradient(circle at 35% 20%, rgba(217,183,101,0.78), transparent 44%),
    #0c0c0e;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 18px 36px rgba(0,0,0,0.38);
  color: var(--gold-2); font-weight: 900; letter-spacing: -0.08em;
}
.brand-mark img { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.brand-copy strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1rem; letter-spacing: 0.02em; line-height: 1; }
.brand-copy span   { display: block; margin-top: 3px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.045); padding: 7px;
  border: 1px solid rgba(255,255,255,0.10); border-radius: 999px;
  backdrop-filter: blur(16px);
}
.nav-links a { color: rgba(247,247,248,0.76); font-size: 0.89rem; font-weight: 650; padding: 10px 13px; border-radius: 999px; transition: 0.2s ease; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.cart-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: #080808;
  font-size: 0.72rem; font-weight: 900;
  display: grid; place-items: center; border: 2px solid #050505;
}

.mobile-toggle { display: none; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: rgba(5,5,5,0.94); backdrop-filter: blur(22px);
  padding: 24px; transform: translateY(-110%);
  transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff; font-weight: 700;
}
.mobile-menu .btn-whatsapp { margin-top: 12px; }

/* ───────── 5. HERO ───────── */
.hero {
  min-height: 100svh;
  padding: 124px 0 82px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  width: min(72vw, 920px);
  height: min(72vw, 920px);
  right: max(-22vw, -280px);
  top: 46%;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(217,183,101,0.18), transparent 34%),
    radial-gradient(circle at 42% 42%, rgba(37,211,102,0.10), transparent 45%),
    radial-gradient(circle at 56% 58%, rgba(216,220,231,0.12), transparent 54%);
  filter: blur(10px);
}
.hero::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 48%, #000 0 25%, transparent 62%);
  opacity: .44;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100svh - 206px);
}
.hero-grid > * { min-width: 0; }
.hero-grid > .reveal:first-child {
  position: relative;
  z-index: 3;
}
.hero-grid > .reveal:first-child.show .eyebrow,
.hero-grid > .reveal:first-child.show .hero-title,
.hero-grid > .reveal:first-child.show .hero-copy,
.hero-grid > .reveal:first-child.show .hero-actions,
.hero-grid > .reveal:first-child.show .hero-meta {
  animation: heroTextLift 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-grid > .reveal:first-child.show .hero-title { animation-delay: 90ms; }
.hero-grid > .reveal:first-child.show .hero-copy { animation-delay: 180ms; }
.hero-grid > .reveal:first-child.show .hero-actions { animation-delay: 270ms; }
.hero-grid > .reveal:first-child.show .hero-meta { animation-delay: 360ms; }
@keyframes heroTextLift {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(217,183,101,0.26); color: rgba(255,240,179,0.96);
  background: rgba(217,183,101,0.08); border-radius: 999px;
  padding: 8px 13px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.03em; margin-bottom: 22px;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 99px; background: var(--green);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.75); animation: dotPulse 1.8s infinite;
}
@keyframes dotPulse {
  70%  { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero-title {
  margin: 0; font-size: clamp(3.05rem, 6.75vw, 6.35rem);
  line-height: 0.91; letter-spacing: -0.068em;
  max-width: 780px; position: relative; text-wrap: balance;
}
.hero-title .shine {
  display: inline-block; color: transparent;
  background: linear-gradient(90deg, #fff 0%, #dfe2ec 18%, #fff3bd 38%, #aab1c7 52%, #fff 70%, #d9b765 100%);
  background-size: 230% auto;
  -webkit-background-clip: text; background-clip: text;
  animation: titleSweep 8.5s linear infinite;
  text-shadow: 0 22px 64px rgba(0,0,0,0.38);
}
@keyframes titleSweep { 0% { background-position: 0% center; } 100% { background-position: 230% center; } }

.hero-copy {
  margin: 22px 0 0; color: rgba(247,247,248,0.76);
  max-width: 650px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.72;
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-meta {
  margin-top: 26px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; max-width: 680px;
}
.meta-card {
  padding: 16px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(14px);
}
.meta-card strong { display: block; font-size: 1.08rem; color: #fff; letter-spacing: -0.03em; }
.meta-card span   { display: block; color: var(--muted); font-size: 0.83rem; margin-top: 4px; line-height: 1.35; }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.halo-ring {
  position: absolute;
  width: min(38vw, 540px); height: min(38vw, 540px);
  min-width: 340px; min-height: 340px;
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent 56%, rgba(255,255,255,0.09) 57%, transparent 59%),
    conic-gradient(from 45deg, transparent, rgba(217,183,101,0.26), transparent, rgba(37,211,102,0.16), transparent);
  filter: drop-shadow(0 0 72px rgba(217,183,101,0.20));
  opacity: .86;
  animation: rotateSlow 22s linear infinite;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.iphone-stage {
  position: relative;
  width: min(460px, 78vw);
  height: 620px;
  transform-style: preserve-3d;
  perspective: 1400px;
  will-change: transform;
  transform: translate3d(var(--stage-x), calc(var(--stage-y) + var(--stage-bob-y)), 0) rotateX(var(--stage-rot-x)) rotateY(var(--stage-rot-y)) rotateZ(var(--stage-bob-rot));
  --stage-rot-x: 0deg;
  --stage-rot-y: 0deg;
  --stage-x: 0px;
  --stage-y: 0px;
  --stage-bob-y: 0px;
  --stage-bob-rot: 0deg;
  --phone-x: 0px;
  --phone-y: 0px;
  --phone-rot: 0deg;
  --phone-yaw: 0deg;
  --back-x: 0px;
  --back-y: 0px;
  --back-rot: 0deg;
  --chip-1-x: 0px;
  --chip-1-y: 0px;
  --chip-2-x: 0px;
  --chip-2-y: 0px;
  --chip-3-x: 0px;
  --chip-3-y: 0px;
}
.hero-visual.show .iphone-stage {
  animation:
    stageFadeIn 700ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both,
    stageFloat 5.8s ease-in-out 850ms infinite;
}
@keyframes stageFadeIn {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes stageFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(-0.6deg); }
  50% { transform: translate3d(0, -14px, 0) rotateX(0deg) rotateY(0deg) rotateZ(0.6deg); }
}
.phone {
  position: absolute; width: 278px; height: 548px; border-radius: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.03) 22%, rgba(255,255,255,0.11) 100%),
    linear-gradient(145deg, #17181d, #060608);
  box-shadow: 0 54px 110px rgba(0,0,0,0.72), 0 0 70px rgba(217,183,101,0.08), inset 0 0 0 8px #0b0b0e, inset 0 0 0 10px rgba(255,255,255,0.08);
  left: 50%; top: 50%; transform: translate3d(calc(-50% + var(--phone-x)), calc(-50% + var(--phone-y)), 0) rotate(calc(-6deg + var(--phone-rot))) rotateY(var(--phone-yaw));
  overflow: hidden; animation: floatPhone 6.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  will-change: transform;
}
.phone::before {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 999px;
  background: #050506; box-shadow: inset 0 1px 2px rgba(255,255,255,0.12); z-index: 4;
}
.phone::after {
  content: ""; position: absolute; inset: 11px; border-radius: 37px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.26), transparent 15%),
    radial-gradient(circle at 78% 25%, rgba(217,183,101,0.24), transparent 18%),
    linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.015)),
    #09090c;
  z-index: 1;
}
.phone-screen-content::before {
  content: "";
  position: absolute;
  inset: -52px -36px auto;
  height: 170px;
  border-radius: 999px;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translate3d(-80%, 0, 0) rotate(12deg);
  animation: phoneEdgeLight 5.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
.phone-screen-content {
  position: absolute; inset: 58px 28px 36px; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
}
.screen-badge {
  align-self: flex-start; font-size: 0.74rem;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--gold-2); font-weight: 800;
}
.screen-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem; letter-spacing: -0.06em; line-height: 0.95; margin: auto 0 16px;
}
.screen-lines { display: grid; gap: 8px; }
.screen-lines span { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.screen-lines span:nth-child(1) { width: 82%; }
.screen-lines span:nth-child(2) { width: 58%; background: rgba(217,183,101,0.25); }
.screen-lines span:nth-child(3) { width: 70%; }

@keyframes floatPhone {
  0%, 100% { transform: translate3d(calc(-50% + var(--phone-x)), calc(-50% + var(--phone-y)), 0) rotate(calc(-6deg + var(--phone-rot))) rotateY(calc(-4deg + var(--phone-yaw))); }
  50%      { transform: translate3d(calc(-50% + var(--phone-x)), calc(-50% - 14px + var(--phone-y)), 0) rotate(calc(-3deg + var(--phone-rot))) rotateY(calc(4deg + var(--phone-yaw))); }
}
@keyframes phoneEdgeLight {
  0%, 38% { opacity: 0; transform: translate3d(-85%, 0, 0) rotate(12deg); }
  52% { opacity: .78; }
  76%, 100% { opacity: 0; transform: translate3d(85%, 34px, 0) rotate(12deg); }
}

.back-phone {
  position: absolute; width: 236px; height: 466px; border-radius: 42px;
  right: 18px; top: 74px; transform: translate3d(var(--back-x), var(--back-y), -50px) rotate(calc(10deg + var(--back-rot)));
  background:
    radial-gradient(circle at 25% 18%, #0a0a0b 0 15px, rgba(255,255,255,0.2) 16px 17px, transparent 18px),
    radial-gradient(circle at 25% 31%, #0a0a0b 0 15px, rgba(255,255,255,0.2) 16px 17px, transparent 18px),
    radial-gradient(circle at 39% 24%, #0a0a0b 0 15px, rgba(255,255,255,0.2) 16px 17px, transparent 18px),
    linear-gradient(145deg, #dadde4, #787f93 48%, #141417);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 35px 84px rgba(0,0,0,0.52);
  opacity: 0.68; filter: blur(0.2px);
  animation: backPhoneFloat 7.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes backPhoneFloat {
  0%, 100% { transform: translate3d(var(--back-x), var(--back-y), -50px) rotate(calc(10deg + var(--back-rot))); }
  50% { transform: translate3d(calc(8px + var(--back-x)), calc(-10px + var(--back-y)), -50px) rotate(calc(12deg + var(--back-rot))); }
}

.float-chip {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 17px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(12,12,14,0.72));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.10);
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.96);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), border-color .28s ease, box-shadow .28s ease;
  will-change: transform;
}
.float-chip b     { display: block; font-size: 0.88rem; }
.float-chip small { display: block; color: var(--muted); margin-top: 2px; }
.float-chip .chip-icon {
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(217,183,101,0.20), rgba(255,255,255,0.07));
  border: 1px solid rgba(217,183,101,0.18);
}
.hero-visual.show .float-chip {
  animation: chipEntrance 850ms cubic-bezier(0.16, 1, 0.3, 1) both, chipFloat 6.2s ease-in-out infinite;
}
.hero-visual.show .chip-1 { animation-delay: 520ms, 1.2s; }
.hero-visual.show .chip-2 { animation-delay: 660ms, 1.35s; }
.hero-visual.show .chip-3 { animation-delay: 800ms, 1.5s; }
.float-chip:hover {
  border-color: rgba(217,183,101,0.42);
  box-shadow: 0 24px 64px rgba(0,0,0,0.54), 0 0 36px rgba(217,183,101,0.10);
  animation-play-state: paused;
  transform: translate3d(0, -6px, 0);
}
.chip-1 { left: 6px; top: 128px; --chip-x: var(--chip-1-x); --chip-y: var(--chip-1-y); }
.chip-2 { right: 8px; bottom: 156px; --chip-x: var(--chip-2-x); --chip-y: var(--chip-2-y); }
.chip-3 { left: 34px; bottom: 70px; --chip-x: var(--chip-3-x); --chip-y: var(--chip-3-y); }
@keyframes chipEntrance {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes chipFloat {
  0%, 100% { opacity: 1; transform: translate3d(var(--chip-x), var(--chip-y), 0); }
  50%      { opacity: 1; transform: translate3d(calc(var(--chip-x) * 0.7), calc(-10px + var(--chip-y)), 0); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,0.54); font-size: 0.8rem;
  display: flex; align-items: center; gap: 8px;
}
.mouse {
  width: 22px; height: 34px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px; position: relative;
}
.mouse::after {
  content: ""; position: absolute;
  width: 4px; height: 7px; border-radius: 10px;
  background: var(--gold); left: 50%; top: 7px;
  transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  45%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ───────── 6. SECCIONES GENÉRICAS ───────── */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 34px;
}
.section-kicker {
  color: var(--gold); font-weight: 900;
  letter-spacing: 0.11em; text-transform: uppercase;
  font-size: 0.78rem; margin-bottom: 12px;
}
.section-title {
  margin: 0; font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95; letter-spacing: -0.06em; text-wrap: balance;
}
.section-description {
  color: var(--muted); line-height: 1.75;
  max-width: 590px; margin: 0;
}

/* ───────── 7. BENEFICIOS ───────── */
.benefit-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.benefit { padding: 26px 24px; min-height: 168px; }
/* Marco de icono metálico premium (compartido por beneficios y servicio técnico) */
.card-icon {
  width: 54px; height: 54px; border-radius: 17px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 58%),
    radial-gradient(circle at 30% 20%, rgba(217,183,101,0.34), transparent 62%),
    #0d0d11;
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 26px rgba(0,0,0,0.4);
  color: var(--gold-2);
  position: relative; z-index: 2;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-icon svg { width: 27px; height: 27px; display: block; }
.benefit:hover .card-icon,
.service-card:hover .card-icon {
  transform: translateY(-3px);
  border-color: rgba(217,183,101,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 16px 32px rgba(0,0,0,0.46), 0 0 0 1px rgba(217,183,101,0.14);
}
.benefit h3 { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; position: relative; z-index: 2; }
.benefit p  { color: var(--muted); line-height: 1.65; margin: 9px 0 0; font-size: 0.94rem; position: relative; z-index: 2; }

/* ───────── 8. LÍNEAS DE NEGOCIO ───────── */
.lines-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }
.line-card {
  padding: 30px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.line-card.featured {
  min-height: 476px;
  background:
    radial-gradient(circle at 80% 16%, rgba(217,183,101,0.22), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
}
.line-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.95; letter-spacing: -0.06em;
}
.line-card p {
  color: var(--muted); line-height: 1.6;
  margin: 8px 0 0; font-size: 0.94rem;
  position: relative; z-index: 2;
}
.line-cta { margin-top: 18px; }

.badge-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 22px 0; position: relative; z-index: 2;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem; font-weight: 750;
}

.mini-phone-row {
  display: flex; align-items: end; gap: 13px;
  margin-top: 24px; min-height: 170px;
  position: relative; z-index: 2;
}
.mini-phone {
  width: 84px; height: 158px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(145deg, #22242b, #070708);
  box-shadow: 0 18px 40px rgba(0,0,0,0.36), inset 0 0 0 5px rgba(0,0,0,0.6);
  position: relative;
}
.mini-phone:nth-child(2) { height: 184px; background: linear-gradient(145deg, #e6e7ed, #525969); }
.mini-phone:nth-child(3) { height: 138px; background: linear-gradient(145deg, #171717, #0b0b0c); opacity: .78; }
.mini-phone::before {
  content: ""; position: absolute;
  width: 28px; height: 8px; border-radius: 99px;
  background: rgba(0,0,0,0.7);
  top: 10px; left: 50%; transform: translateX(-50%);
}

.subgrid { display: grid; gap: 16px; }

.check-list {
  display: grid; gap: 12px; margin-top: 20px;
  position: relative; z-index: 2;
}
.check-item {
  display: flex; gap: 10px; align-items: flex-start;
  color: rgba(247,247,248,0.78);
  line-height: 1.45; font-size: 0.94rem;
}
.check-item::before {
  content: "✓"; width: 22px; height: 22px; flex: 0 0 22px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(37,211,102,0.13); color: var(--green);
  font-weight: 900; font-size: 0.76rem; margin-top: 1px;
}

/* ───────── 9. INVENTARIO ───────── */
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; margin-bottom: 24px; flex-wrap: wrap;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.11);
  font-weight: 800; transition: .2s ease; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  color: #090909; background: var(--gold-2); border-color: var(--gold-2);
}

.search-box {
  min-width: min(100%, 310px);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  border-radius: 999px; padding: 0 14px; height: 44px;
}
.search-box input {
  flex: 1; min-width: 0; border: 0; outline: 0;
  color: #fff; background: transparent;
}
.search-box input::placeholder { color: rgba(255,255,255,0.45); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.no-results { color: var(--muted); grid-column: 1/-1; padding: 20px 0; text-align: center; }

.product-card { min-height: 430px; display: flex; flex-direction: column; padding: 18px; }
.product-visual {
  height: 205px; border-radius: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.24), transparent 24%),
    linear-gradient(145deg, rgba(217,183,101,0.15), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  display: grid; place-items: center;
  position: relative; overflow: hidden; margin-bottom: 18px;
}
.product-visual::after {
  content: ""; position: absolute;
  width: 70%; height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  transform: rotate(25deg) translateX(-180%);
  animation: productSweep 7s ease-in-out infinite;
}
@keyframes productSweep {
  0%, 35%   { transform: rotate(25deg) translateX(-180%); }
  55%, 100% { transform: rotate(25deg) translateX(180%); }
}
.product-device {
  width: 82px; height: 158px; border-radius: 24px;
  background: linear-gradient(145deg, #f4f5f8, #6d7282 48%, #0c0c0d);
  box-shadow: 0 22px 44px rgba(0,0,0,0.45), inset 0 0 0 6px rgba(255,255,255,0.12);
  transform: rotate(-8deg); position: relative; z-index: 2;
}
.product-device.repair { background: linear-gradient(145deg, #6fd6ff, #2b6fa6, #0c2236); }
.product-device.used   { background: linear-gradient(145deg, #fff3bd, #d9b765 48%, #4a3a1c); }
.product-device::before {
  content: ""; position: absolute;
  width: 34px; height: 11px; border-radius: 999px;
  background: #060607; top: 11px; left: 50%; transform: translateX(-50%);
}

.product-card .topline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
  position: relative; z-index: 2;
}
.product-card h3 { font-size: 1.18rem; margin: 0; }
.product-card .product-meta {
  color: var(--muted); font-size: .9rem; margin: 6px 0 0;
  position: relative; z-index: 2;
}

.condition {
  font-size: 0.72rem; color: var(--gold-2); font-weight: 900;
  background: rgba(217,183,101,0.10); border: 1px solid rgba(217,183,101,0.17);
  padding: 6px 8px; border-radius: 999px; white-space: nowrap;
}
.condition.green { color: #66f5a6; background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.25); }
.condition.blue  { color: #b6e8ff; background: rgba(111,214,255,0.12); border-color: rgba(111,214,255,0.25); }

.price {
  margin: 14px 0 0; font-size: 0.94rem;
  color: rgba(255,255,255,0.68);
  position: relative; z-index: 2;
}
.price strong { display: block; color: #fff; font-size: 1.22rem; margin-top: 2px; }

.product-actions {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr; gap: 9px;
  padding-top: 18px;
  position: relative; z-index: 2;
}

.small-btn {
  min-height: 42px; border-radius: 15px;
  padding: 0 12px; font-size: 0.88rem; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: .2s ease; cursor: pointer; color: #fff;
}
.small-btn:hover { transform: translateY(-2px); }
.small-btn.dark  { background: rgba(255,255,255,0.07); }
.small-btn.green,
.small-btn.dark[data-wa] {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.34), transparent 26%, transparent 72%, rgba(255,255,255,0.13)),
    linear-gradient(145deg, #a9ffc9 0%, #2de87c 32%, #0ea954 64%, #086b39 100%);
  color: #03140a;
  border-color: rgba(185,255,210,0.38);
  box-shadow:
    0 14px 34px rgba(37,211,102,0.22),
    inset 0 1px 0 rgba(255,255,255,0.56),
    inset 0 -10px 20px rgba(2,64,28,0.18);
  text-shadow: 0 1px 0 rgba(255,255,255,0.24);
}
.small-btn.green:hover,
.small-btn.dark[data-wa]:hover {
  border-color: rgba(205,255,222,0.58);
  box-shadow:
    0 18px 42px rgba(37,211,102,0.31),
    0 0 24px rgba(185,255,210,0.12),
    inset 0 1px 0 rgba(255,255,255,0.68);
}
.small-btn.gold  { background: linear-gradient(135deg, #fff2bc, #d9b765); color: #080808; border-color: rgba(217,183,101,0.3); }

/* ───────── 10. REPARACIÓN ───────── */
.service-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card { padding: 26px 24px; min-height: 252px; display: flex; flex-direction: column; }
.service-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; position: relative; z-index: 2; }
.service-card p  { color: var(--muted); line-height: 1.65; margin: 9px 0 0; font-size: 0.94rem; position: relative; z-index: 2; }
.service-card .small-btn { margin-top: auto; position: relative; z-index: 2; }

/* ───────── 11. UBICACIÓN ───────── */
.split-section { display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 18px; align-items: stretch; }
.premium-panel {
  padding: 34px; border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.13);
  background:
    radial-gradient(circle at top right, rgba(217,183,101,0.16), transparent 28%),
    rgba(255,255,255,0.045);
  box-shadow: var(--shadow);
  overflow: hidden; position: relative;
}
.premium-panel h2 {
  margin: 0; font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.065em; line-height: .95;
}
.premium-panel p { color: var(--muted); line-height: 1.75; margin: 18px 0 0; }
.premium-panel .full-width { margin-top: 24px; }

.location-card {
  padding: 25px; border-radius: 26px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  margin-top: 12px;
}
.location-card:first-of-type { margin-top: 22px; }
.location-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1rem;
}
.location-card-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--gold);
}
.location-card span   { color: var(--muted); line-height: 1.55; display: block; font-size: 0.93rem; }

.map-card {
  min-height: 520px;
  border-radius: 34px;
  background: #070707;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.location-tracker::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -120px 160px rgba(0,0,0,0.45);
  z-index: 5;
}
.city-frame,
.street-view {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.city-frame {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}
.city-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(1.08) contrast(1.08) brightness(0.72);
  transform: scale(1.08);
}
.location-tracker.tracking-active .city-frame { animation: cityReveal 5s ease forwards; }
.location-tracker.tracking-active .city-frame img { animation: cityZoom 5s ease forwards; }
.scan-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .38;
  mix-blend-mode: screen;
}
.scan-line {
  position: absolute; left: -10%; right: -10%; top: -18%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(37,211,102,0.22), rgba(217,183,101,0.46), transparent);
  filter: blur(1px);
  opacity: 0;
}
.location-tracker.tracking-active .scan-line { animation: scanSweep 1.67s ease-in-out 3; }
.tracker-pulse {
  position: absolute; left: 52%; top: 48%;
  width: 22px; height: 22px; border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 18px rgba(37,211,102,0.15), 0 0 0 42px rgba(37,211,102,0.08), 0 0 46px rgba(37,211,102,0.75);
  transform: translate(-50%, -50%);
}
.location-tracker.tracking-active .tracker-pulse { animation: lockPulse 1.25s ease-in-out infinite; }
.tracker-pulse::before,
.tracker-pulse::after {
  content: "";
  position: absolute; inset: -95px;
  border: 1px solid rgba(37,211,102,0.36);
  border-radius: 999px;
}
.tracker-pulse::after {
  inset: -52px;
  border-color: rgba(217,183,101,0.42);
}
.tracker-status {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  padding: 18px 20px; border-radius: 24px;
  background: rgba(5,5,5,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  z-index: 4;
}
.tracker-status span {
  display: block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 7px;
}
.tracker-status strong {
  display: block;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  line-height: 1.2;
}
.tracking-loader {
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
}
.tracking-loader i,
.tracking-loader em,
.tracking-loader b {
  position: absolute; inset: 0 auto 0 0;
  display: block;
  border-radius: inherit;
  font-style: normal;
}
.tracking-loader i {
  width: 100%;
  background: linear-gradient(90deg, rgba(217,183,101,0.18), rgba(37,211,102,0.22));
}
.tracking-loader em {
  width: 46%;
  background: linear-gradient(90deg, transparent, #d9b765, #25d366, transparent);
  box-shadow: 0 0 24px rgba(217,183,101,0.48);
  opacity: 0;
}
.tracking-loader b {
  width: 0;
  background: linear-gradient(90deg, #d9b765, #25d366);
}
.location-tracker.tracking-active .tracking-loader em { animation: loaderSweep 1s ease-in-out infinite; }
.location-tracker.tracking-active .tracking-loader b { animation: loaderFill 5s linear forwards; }
.street-view {
  z-index: 1;
  border: 0;
  opacity: 0;
  transform: scale(1.05);
}
.location-tracker.tracking-active .street-view { animation: streetViewIn 5s ease forwards; }
.map-open {
  position: absolute; right: 18px; bottom: 18px; z-index: 6;
  min-height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(8,8,9,0.78);
  border: 1px solid rgba(217,183,101,0.36);
  color: #fff;
  font-weight: 900;
  font-size: .86rem;
  backdrop-filter: blur(16px);
  opacity: 0;
}
.location-tracker.tracking-active .map-open { animation: mapOpenIn 5s ease forwards; }
.map-open:hover { transform: translateY(-2px); border-color: rgba(217,183,101,0.7); }
@keyframes cityZoom {
  0% { transform: scale(1.14); filter: saturate(1.05) contrast(1.04) brightness(0.62); }
  58% { transform: scale(1.01); filter: saturate(1.18) contrast(1.1) brightness(0.82); }
  100% { transform: scale(1.01); filter: saturate(1.18) contrast(1.1) brightness(0.72); }
}
@keyframes cityReveal {
  0%, 84% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes streetViewIn {
  0%, 88% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes scanSweep {
  0% { transform: translateY(0); opacity: 0; }
  18%, 78% { opacity: 1; }
  100% { transform: translateY(430%); opacity: 0; }
}
@keyframes lockPulse {
  50% { box-shadow: 0 0 0 26px rgba(37,211,102,0.1), 0 0 0 58px rgba(37,211,102,0.045), 0 0 64px rgba(37,211,102,0.9); }
}
@keyframes loaderSweep {
  0% { transform: translateX(-100%); opacity: .35; }
  50% { opacity: 1; }
  100% { transform: translateX(240%); opacity: .45; }
}
@keyframes loaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes mapOpenIn {
  0%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

/* ───────── 12. FAQ ───────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  overflow: hidden;
}
.faq-q {
  width: 100%; min-height: 62px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 0 20px;
  background: transparent; color: #fff;
  font-weight: 900; text-align: left; cursor: pointer;
}
.faq-toggle { color: var(--gold); font-size: 1.3rem; transition: .2s ease; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  color: var(--muted); line-height: 1.65; padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 20px; }

/* ───────── 13. CONTACTO ───────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.contact-grid .section-description { margin-top: 14px; }
.contact-grid .location-card { margin-top: 12px; }
.contact-grid .location-card:first-of-type { margin-top: 24px; }
.contact-cta { margin-top: 22px; display: inline-flex; }

.form-card { padding: 24px; }
.form-title { margin: 0 0 20px; letter-spacing: -0.04em; font-size: 1.25rem; position: relative; z-index: 2; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  position: relative; z-index: 2;
}
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label {
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem; font-weight: 800;
}
input, select, textarea {
  width: 100%; min-height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(0,0,0,0.24); color: #fff;
  outline: 0; padding: 0 14px; transition: .2s ease;
  font-family: inherit;
}
textarea { min-height: 118px; resize: vertical; padding-top: 14px; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(217,183,101,0.5);
  box-shadow: 0 0 0 4px rgba(217,183,101,0.08);
}
input:invalid:not(:placeholder-shown) { border-color: rgba(255,95,114,0.5); }
select option { background: #101012; color: #fff; }
.form-card .btn-gold { margin-top: 16px; }

/* ───────── 14. FOOTER ───────── */
.site-footer {
  position: relative; z-index: 2;
  padding: 68px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at bottom right, rgba(217,183,101,0.12), transparent 30rem),
    rgba(0,0,0,0.36);
}
.brand-footer { margin-bottom: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.15fr .85fr .85fr .9fr;
  gap: 26px; margin-bottom: 36px;
}
.footer-col h3 { margin: 0 0 14px; font-size: 1rem; }
.footer-col p, .footer-col a, .footer-col li {
  color: var(--muted); line-height: 1.7; font-size: 0.94rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col a { cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  color: var(--muted-2); font-size: 0.84rem;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
}

/* ───────── 15. FLOTANTES, CARRITO, TOAST ───────── */
.float-whatsapp {
  position: fixed; right: 20px; bottom: 22px;
  width: auto; 
  min-width: 62px; height: 62px; border-radius: 999px;
  padding: 0 8px 0 8px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,0.62), transparent 22%),
    linear-gradient(145deg, #baffd5 0%, #32ec83 34%, #0ca14f 68%, #066332 100%);
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  color: #06120a;
  z-index: 70;
  box-shadow:
    0 18px 50px rgba(37,211,102,0.38),
    0 0 0 1px rgba(185,255,210,0.24),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -14px 24px rgba(2,64,28,0.22);
  animation: whatsFloat 4.8s ease-in-out infinite, whatsPulse 2.3s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  overflow: hidden;
}
.float-whatsapp::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.24) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: whatsSheen 5.2s ease-in-out infinite;
  pointer-events: none;
}
.float-whatsapp-badge {
  position:fixed;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
}
.float-whatsapp-text {
  display: grid;
  line-height: 1;
  text-align: left;
}
.float-whatsapp-text small {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: 0.82;
}
.float-whatsapp-text strong {
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}
.float-whatsapp svg {
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.float-whatsapp:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 24px 64px rgba(37,211,102,0.52),
    0 0 0 8px rgba(37,211,102,0.08),
    0 0 0 1px rgba(185,255,210,0.30),
    inset 0 1px 0 rgba(255,255,255,0.78),
    inset 0 -14px 24px rgba(2,64,28,0.18);
  filter: saturate(1.06);
}
@keyframes whatsPulse {
  50% {
    box-shadow:
      0 24px 62px rgba(37,211,102,0.48),
      0 0 0 8px rgba(37,211,102,0.08),
      0 0 0 1px rgba(185,255,210,0.3),
      inset 0 1px 0 rgba(255,255,255,0.76),
      inset 0 -14px 24px rgba(2,64,28,0.2);
  }
}
@keyframes whatsFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes whatsSheen {
  0%, 45% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}

.cart-drawer {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
}
.cart-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0; transition: .25s ease;
}
.cart-panel {
  position: absolute; top: 14px; right: 14px; bottom: 14px;
  width: min(460px, calc(100% - 28px));
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(217,183,101,0.12), transparent 20rem),
    rgba(13,13,15,0.95);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: -20px 0 80px rgba(0,0,0,0.46);
  backdrop-filter: blur(22px);
  transform: translateX(calc(100% + 24px));
  transition: .28s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow: hidden;
}
.cart-drawer.open { pointer-events: auto; }
.cart-drawer.open .cart-overlay { opacity: 1; }
.cart-drawer.open .cart-panel { transform: translateX(0); }

.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.cart-header h2 { margin: 0; font-size: 1.4rem; letter-spacing: -0.04em; }

.cart-body { flex: 1; overflow-y: auto; padding: 14px; }
.cart-empty { color: var(--muted); padding: 18px; line-height: 1.6; text-align: center; }

.cart-item {
  display: grid; grid-template-columns: 68px 1fr; gap: 12px;
  padding: 12px; border-radius: 22px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 10px;
}
.cart-thumb {
  height: 74px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(217,183,101,0.10));
  display: grid; place-items: center;
}
.cart-mini-phone {
  width: 29px; height: 54px; border-radius: 9px;
  background: linear-gradient(145deg, #f1f2f6, #555b6c, #080809);
}
.cart-info strong { display: block; line-height: 1.25; }
.cart-info small  { color: var(--muted); display: block; margin-top: 4px; }
.cart-controls {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.qty {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px; padding: 4px;
}
.qty button {
  width: 27px; height: 27px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff; font-weight: 900;
  cursor: pointer;
}
.qty span { min-width: 18px; text-align: center; font-weight: 900; }
.remove { background: transparent; color: var(--danger); font-weight: 900; cursor: pointer; }

.cart-footer {
  padding: 16px; border-top: 1px solid rgba(255,255,255,0.10);
  display: grid; gap: 10px;
}
.cart-total {
  display: flex; justify-content: space-between;
  color: rgba(255,255,255,0.78); font-weight: 800;
  padding: 4px 2px 10px;
}
.cart-note { color: var(--muted-2); font-size: 0.78rem; text-align: center; margin: 0; }

.toast {
  position: fixed; top: 94px; right: 20px; z-index: 120;
  padding: 13px 15px; border-radius: 18px;
  background: rgba(12,12,14,0.88);
  border: 1px solid rgba(37,211,102,0.28);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.44);
  backdrop-filter: blur(18px);
  transform: translateY(-12px); opacity: 0;
  pointer-events: none; transition: .22s ease;
  font-weight: 800;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ───────── 16. REVEAL ANIMATION ───────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* ───────── Imágenes de referencia (solo relleno de los contenedores visuales existentes) ───────── */
.product-visual .ref-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 16px; border-radius: 24px; display: block;
}

.line-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 22px; display: block;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.36);
}
/* La imagen ocupa todo el espacio disponible de la card "caja sellada" */
.line-card.featured > div:last-child {
  flex: 1; display: flex; flex-direction: column; gap: 16px; min-height: 0;
}
.line-card.featured .mini-phone-row {
  flex: 1; align-items: stretch; min-height: 240px; margin: 20px 0 0;
}

/* ───────── 17. RESPONSIVE ───────── */
@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .84fr);
    gap: clamp(24px, 3.5vw, 46px);
  }
  .hero-title { font-size: clamp(3.1rem, 7.2vw, 6.35rem); }
  .iphone-stage { width: min(430px, 74vw); }
}

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; }
  .hero-grid, .lines-grid, .split-section, .contact-grid { grid-template-columns: 1fr; }
  .hero {
    padding-top: 118px;
    min-height: auto;
  }
  .hero-grid {
    min-height: auto;
    gap: 22px;
  }
  .hero-grid > .reveal:first-child {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .hero-copy,
  .hero-meta {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions { justify-content: center; }
  .hero-visual {
    min-height: 520px;
    margin-top: 8px;
  }
  .iphone-stage {
    width: min(430px, 88vw);
    height: 520px;
  }
  .phone {
    width: 244px;
    height: 482px;
    border-radius: 40px;
  }
  .phone::before { width: 78px; height: 23px; top: 14px; }
  .phone::after { inset: 10px; border-radius: 33px; }
  .phone-screen-content { inset: 54px 24px 32px; }
  .back-phone {
    width: 204px;
    height: 404px;
    right: 38px;
    top: 62px;
    border-radius: 38px;
  }
  .chip-1 { left: 16px; top: 106px; }
  .chip-2 { right: 16px; bottom: 132px; }
  .chip-3 { left: 42px; bottom: 36px; }
  .product-grid, .benefit-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-visual { min-height: 480px; }
  .iphone-stage {
    width: min(390px, 90vw);
    height: 480px;
  }
  .phone {
    width: 220px;
    height: 436px;
    border-radius: 38px;
  }
  .back-phone {
    width: 184px;
    height: 365px;
    right: 30px;
    top: 58px;
  }
  .chip-1 { left: 12px; top: 88px; }
  .chip-2 { right: 12px; bottom: 102px; }
  .chip-3 { left: 28px; bottom: 22px; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .container { width: min(100% - 26px, var(--max)); }
  .nav { height: 70px; }
  .brand-copy span { display: none; }
  .nav-actions .btn-whatsapp { display: none; }

  .hero {
    padding: 104px 0 54px;
    min-height: auto;
    overflow-x: clip;
  }
  .hero::before {
    width: 34rem;
    height: 34rem;
    right: -18rem;
    top: 62%;
  }
  .hero::after { background-size: 52px 52px; opacity: .26; }
  .hero-grid { gap: 10px; }
  .hero-title {
    font-size: clamp(2.05rem, 9.7vw, 2.8rem);
    line-height: .95;
    letter-spacing: -0.035em;
    max-width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.62;
  }
  .hero-actions { margin-top: 26px; }
  .hero-actions,
  .hero-meta,
  .hero-copy {
    width: min(100%, 330px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn { width: 100%; }
  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 22px;
    gap: 10px;
  }
  .meta-card {
    padding: 13px 14px;
    border-radius: 18px;
  }
  .hero-visual {
    min-height: 480px;
    margin-top: 10px;
    overflow: hidden;
  }
  .halo-ring {
    min-width: 300px;
    min-height: 300px;
    width: 82vw;
    height: 82vw;
  }
  .iphone-stage {
    width: min(360px, 96vw);
    height: 476px;
  }
  .phone {
    width: 210px;
    height: 416px;
    border-radius: 36px;
  }
  .phone::before { width: 72px; height: 22px; top: 13px; }
  .phone::after { inset: 9px; border-radius: 30px; }
  .phone-screen-content { inset: 52px 22px 30px; }
  .back-phone {
    width: 176px;
    height: 350px;
    right: 24px;
    top: 54px;
    border-radius: 34px;
  }
  .float-chip {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 14px;
  }
  .float-chip b { font-size: .78rem; }
  .float-chip small { font-size: .72rem; }
  .float-chip .chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }
  .chip-1 { left: 12px; top: 68px; }
  .chip-2 { right: 8px; bottom: 96px; }
  .chip-3 { left: 22px; bottom: 24px; }
  .screen-title { font-size: 1.55rem; }

  section { padding: 70px 0; }
  .section-head { display: block; }
  .section-description { margin-top: 14px; }

  .benefit-grid, .product-grid, .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .line-card.featured { min-height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 460px; border-radius: 26px; }
  .tracker-status { left: 14px; right: 14px; bottom: 72px; border-radius: 18px; }
  .map-open { left: 14px; right: 14px; bottom: 14px; }
  .float-whatsapp {
    right: 14px; bottom: 16px;
    padding: 0;
    width: 62px;
  }
  .float-whatsapp-text { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 430px) {
  .hero-title { max-width: min(100%, 270px); }
  .hero-copy,
  .hero-actions,
  .hero-meta {
    width: min(100%, 280px);
  }
  .hero-visual { min-height: 430px; }
  .iphone-stage {
    width: min(318px, 94vw);
    height: 430px;
  }
  .phone {
    width: 190px;
    height: 376px;
    border-radius: 32px;
  }
  .back-phone {
    width: 156px;
    height: 312px;
    right: 14px;
    top: 52px;
  }
  .chip-1 { left: 4px; top: 58px; }
  .chip-2 { right: 2px; bottom: 88px; }
  .chip-3 { left: 12px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .float-whatsapp { animation: none !important; }
  .hero-visual.show .iphone-stage { animation: stageFadeIn 700ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both, stageFloat 5.8s ease-in-out 850ms infinite !important; }
  .phone { animation: floatPhone 6.8s cubic-bezier(0.45, 0, 0.2, 1) infinite !important; }
  .back-phone { animation: backPhoneFloat 7.4s cubic-bezier(0.45, 0, 0.2, 1) infinite !important; }
  .hero-visual.show .float-chip { animation: chipEntrance 850ms cubic-bezier(0.16, 1, 0.3, 1) both, chipFloat 6.2s ease-in-out infinite !important; }
  .reveal { opacity: 1; transform: none; }
  .float-chip { opacity: 1; transform: none; }
  .city-frame { opacity: 0; visibility: hidden; }
  .street-view { opacity: 1; transform: none; }
  .map-open { opacity: 1; transform: none; }
}
