/* =============================================================
   CRACKEARTE — styles.css
   Archetype: Mouse-Reactive Gradient (dark + neón)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 40%; }

:root {
  --bg:        #070809;
  --bg-2:      #0c0e10;
  --bg-3:      #14181b;   /* cards */
  --bg-4:      #1b2024;
  --ink:       #f3f6f1;
  --ink-soft:  #c8cec6;
  --mute:      #888f8a;

  --lime:      #a6e22e;   /* verde neón principal */
  --lime-bright: #c8f73e;
  --lime-deep: #5c8a14;
  --yellow:    #ffd400;   /* amarillo energético */

  --line:      rgba(243, 246, 241, 0.10);
  --line-2:    rgba(243, 246, 241, 0.16);

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Saira", "Manrope", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}
h1, h2 { text-transform: uppercase; font-weight: 900; font-style: italic; }
h3 { font-weight: 800; }
.hero-title { letter-spacing: 0; }
ul { list-style: none; padding: 0; }
::selection { background: var(--lime); color: #0a0a0a; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--lime); color: #0a0a0a;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Backgrounds (mouse gradient + grain) — signature
   ============================================================= */
.bg-gradient {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle 620px at var(--mx) var(--my),
      rgba(166, 226, 46, 0.16) 0%, transparent 55%),
    radial-gradient(circle 760px at calc(var(--mx) + 18%) calc(var(--my) + 22%),
      rgba(255, 212, 0, 0.06) 0%, transparent 55%),
    radial-gradient(circle 900px at calc(var(--mx) - 22%) calc(var(--my) - 8%),
      rgba(92, 138, 20, 0.10) 0%, transparent 60%);
  transition: background 0.45s var(--ease-soft);
}
.bg-spark {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  pointer-events: none;
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Layout utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 860px; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.actions.center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center, .section-cta .section-head { margin-inline: auto; }
.kicker {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
}
.kicker.center { justify-content: center; }
.kicker::before { content: "//"; opacity: .9; font-weight: 700; }
.hero .kicker::before { content: none; }
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 12px var(--lime);
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(.7);} }

h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-sub { color: var(--ink-soft); margin-top: 1rem; max-width: 60ch; font-size: 1.05rem; }
.section-head.center .section-sub, .section-cta .section-sub { margin-inline: auto; }
.section-foot { margin-top: 2rem; color: var(--mute); }
.link-accent { color: var(--lime); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .25s; }
.link-accent:hover { border-color: var(--lime); }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s, color .25s, border-color .25s;
  will-change: transform;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--lime-bright), var(--lime));
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(166, 226, 46, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(166, 226, 46, 0.45); }
.btn-ghost {
  background: rgba(243, 246, 241, 0.04);
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.ico-wa { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2rem);
  background: rgba(7, 8, 9, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled {
  background: rgba(7, 8, 9, 0.86);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.nav-brand img { width: 40px; height: auto; filter: drop-shadow(0 0 10px rgba(166,226,46,.35)); }
.nav-brand-text { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.nav-links { display: none; gap: 1.4rem; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); position: relative; padding: .2rem 0; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--lime); transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 64px 0 auto 0; z-index: 99;
  background: rgba(8, 10, 11, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 1.25rem 1.6rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: .85rem .4rem; font-size: 1.05rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; margin-top: .8rem; text-align: center; color: #0a0a0a; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 5vw, 3rem); min-height: auto; }
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(166,226,46,.18), transparent 65%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem;
  display: grid; gap: 2rem; align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-title {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 1.3rem;
  letter-spacing: -.03em;
}
.hero-title em {
  font-style: italic;
  color: var(--lime);
  text-shadow: 0 0 28px rgba(166, 226, 46, .45);
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }
.hero-micro { margin-top: 1.4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.hero-visual { position: relative; justify-self: center; }
.hero-visual img {
  width: 100%; max-width: 560px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  background: rgba(166, 226, 46, 0.03);
  padding-block: .9rem;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 1.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft);
  animation: marquee 34s linear infinite;
}
.marquee-track .sep { color: var(--lime); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   9. Cards / grids
   ============================================================= */
.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--cx,50%) var(--cy,0%), rgba(166,226,46,.10), transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.card:hover::before { opacity: 1; }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(166,226,46,.16), rgba(166,226,46,.04));
  border: 1px solid rgba(166,226,46,.2);
}
.card-ico svg { width: 26px; height: 26px; fill: var(--lime); }
.card h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   10. Crédito
   ============================================================= */
.section-credit { background: linear-gradient(180deg, transparent, rgba(166,226,46,.025), transparent); }
.split { display: grid; gap: 2.4rem; align-items: center; }
.split-copy .lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; }
.checklist { display: grid; gap: .6rem; margin-top: 1.5rem; }
.checklist li { display: flex; align-items: center; gap: .65rem; color: var(--ink-soft); }
.checklist li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(166,226,46,.15);
  border: 1px solid var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a6e22e'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}
.legal-note { margin-top: 1.4rem; font-size: .82rem; color: var(--mute); border-left: 2px solid var(--line-2); padding-left: .9rem; max-width: 52ch; }

.credit-card-ui {
  background: linear-gradient(150deg, var(--bg-4), var(--bg-3));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 1.6rem;
  max-width: 380px; margin-inline: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.credit-card-ui::after {
  content: ""; position: absolute; top: -40%; right: -30%; width: 70%; height: 100%;
  background: radial-gradient(circle, rgba(166,226,46,.18), transparent 70%); filter: blur(20px);
}
.ccu-top { display: flex; justify-content: space-between; align-items: center; }
.ccu-brand { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.ccu-chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--yellow), var(--lime)); }
.ccu-mid { margin: 1.6rem 0 1rem; display: flex; flex-direction: column; gap: .25rem; }
.ccu-label { font-size: .82rem; color: var(--mute); }
.ccu-amount { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--lime); }
.ccu-sub { font-size: .72rem; color: var(--mute); }
.ccu-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.ccu-bar span { display: block; height: 100%; width: var(--w,35%); background: linear-gradient(90deg, var(--lime), var(--lime-bright)); border-radius: inherit; }
.ccu-foot { display: flex; justify-content: space-between; margin-top: 1.1rem; font-size: .85rem; color: var(--ink-soft); }
.ccu-foot strong { color: var(--ink); }

/* =============================================================
   11. Marcas / accesorios chips
   ============================================================= */
.brands, .acc-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.brand-chip, .acc-chip {
  padding: .8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: var(--ink-soft);
  transition: border-color .25s, color .25s, transform .25s, background .25s;
}
.brand-chip:hover, .acc-chip:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); background: rgba(166,226,46,.06); }

/* =============================================================
   12. Phone cards
   ============================================================= */
.phone-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.phone-card:hover { border-color: var(--line-2); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.phone-mock {
  position: relative;
  height: 180px;
  background:
    radial-gradient(circle at 50% 30%, rgba(166,226,46,.14), transparent 60%),
    linear-gradient(160deg, var(--bg-4), var(--bg-2));
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.phone-mock::before {
  content: ""; width: 92px; height: 150px; border-radius: 16px;
  border: 2px solid rgba(166,226,46,.4);
  background: linear-gradient(160deg, #0e1113, #15191c);
  box-shadow: inset 0 0 30px rgba(166,226,46,.08), 0 10px 30px rgba(0,0,0,.4);
}
.phone-cam { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: rgba(166,226,46,.6); transform: translate(0,-58px); }
.phone-c {
  position: absolute; font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  color: var(--lime); text-shadow: 0 0 18px rgba(166,226,46,.6);
  transform: translateY(8px);
}
.phone-body { padding: 1.3rem 1.4rem 1.5rem; }
.phone-body h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.spec { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.spec li { font-size: .9rem; color: var(--mute); }
.spec b { color: var(--ink-soft); font-weight: 600; }

/* ---- Catálogo (filtros + cards) ---- */
.catalog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.cat-chip {
  padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3);
  font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: .45rem;
  transition: border-color .25s, color .25s, background .25s, transform .2s;
}
.cat-chip:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.cat-chip.is-active { background: linear-gradient(135deg, var(--lime-bright), var(--lime)); color: #0a0a0a; border-color: transparent; }
.cat-chip-n { font-family: var(--mono); font-size: .72rem; opacity: .7; }
.cat-chip.is-active .cat-chip-n { opacity: .85; }

.cat-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.cat-card:hover { border-color: var(--line-2); box-shadow: 0 18px 44px rgba(0,0,0,.42); }
.cat-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.cat-brand { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.cat-store { font-family: var(--mono); font-size: .72rem; color: var(--mute); white-space: nowrap; }
.cat-media {
  position: relative; margin: .3rem 0 .9rem;
  height: 168px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(20,24,27,.55), rgba(12,14,16,.85)),
    url("assets/img/circuit-banner.webp") center/cover no-repeat;
  display: grid; place-items: center;
}
.cat-media::after {
  content: "CRACKEARTE"; position: absolute; bottom: 8px; right: 10px; z-index: 1;
  font-family: var(--mono); font-size: .56rem; letter-spacing: .14em;
  color: rgba(166,226,46,.5);
}
.cat-mock {
  width: 60px; height: 88px; border-radius: 11px;
  border: 2px solid rgba(166,226,46,.35);
  background: linear-gradient(160deg, #0e1113, #15191c);
  box-shadow: inset 0 0 22px rgba(166,226,46,.08);
  display: grid; place-items: center;
}
.cat-mock-c { font-family: var(--display); font-weight: 700; color: var(--lime); text-shadow: 0 0 14px rgba(166,226,46,.6); }
.cat-photo {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  object-fit: contain; padding: .9rem;
  background: linear-gradient(160deg, #f6f7f3, #e6e8e1);
}
.cat-model { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .7rem; }
.cat-colors { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.cat-color {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; color: var(--ink-soft);
  padding: .25rem .55rem .25rem .4rem; border-radius: 999px;
  background: rgba(243,246,241,.04); border: 1px solid var(--line);
}
.cat-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.cat-cta { margin-top: auto; align-self: flex-start; }

/* =============================================================
   13. Reparaciones
   ============================================================= */
.repair-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.repair-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(166,226,46,.12), transparent 60%); mix-blend-mode: screen; }
.repair-photo img { width: 100%; filter: saturate(1.05) contrast(1.05); }
.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.tag { padding: .5rem .9rem; border-radius: 999px; background: rgba(243,246,241,.04); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.quip { margin-top: 1.4rem; font-style: italic; color: var(--mute); border-left: 2px solid var(--lime); padding-left: .9rem; max-width: 48ch; }

/* =============================================================
   14. Steps
   ============================================================= */
.section-steps { background: linear-gradient(180deg, transparent, rgba(255,212,0,.02), transparent); }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; position: relative; transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step-num { font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--lime); }
.step h3 { font-size: 1.15rem; margin: .7rem 0 .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* =============================================================
   15. Emotional + stats
   ============================================================= */
.section-emotional { text-align: center; }
.emo-title { font-size: clamp(2rem, 5.5vw, 3.4rem); margin: .4rem 0 1.2rem; }
.emo-title em { font-style: italic; color: var(--lime); text-shadow: 0 0 30px rgba(166,226,46,.4); }
.emo-text { color: var(--ink-soft); max-width: 60ch; margin-inline: auto; font-size: 1.1rem; }
.stats { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 3rem; }
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat-num { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 700; color: var(--lime); line-height: 1; }
.stat-unit { font-size: .7em; }
.stat-label { color: var(--mute); font-size: .92rem; }

/* =============================================================
   16. Pillars
   ============================================================= */
.pillars { gap: .9rem; }
.pillar {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem; transition: border-color .3s, transform .3s;
}
.pillar:hover { border-color: var(--lime); transform: translateX(4px); }
.pillar-c {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: #0a0a0a;
  background: linear-gradient(135deg, var(--lime-bright), var(--lime));
  box-shadow: 0 0 16px rgba(166,226,46,.4);
}
.pillar p { color: var(--ink-soft); font-weight: 500; }

/* =============================================================
   17. Sucursales
   ============================================================= */
.section-branches { background: linear-gradient(180deg, transparent, rgba(166,226,46,.025), transparent); }
.branches-note {
  display: flex; align-items: center; gap: .9rem;
  max-width: 820px; margin: 0 auto 2rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: rgba(166,226,46,.05); border: 1px solid rgba(166,226,46,.20);
}
.branches-note svg { width: 28px; height: 28px; fill: var(--lime); flex: none; }
.branches-note p { color: var(--ink-soft); font-size: .92rem; }
.branches-note strong { color: var(--ink); }
.branch-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .3rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.branch-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.branch-pin {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: .6rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(166,226,46,.16), rgba(166,226,46,.04));
  border: 1px solid rgba(166,226,46,.25);
}
.branch-pin svg { width: 22px; height: 22px; fill: var(--lime); }
.branch-card h3 { font-size: 1.15rem; }
.branch-zone { font-family: var(--mono); font-size: .78rem; color: var(--mute); letter-spacing: .03em; }
.branch-tag {
  display: inline-block; margin-top: .5rem; align-self: flex-start;
  font-size: .72rem; font-weight: 600; color: var(--lime);
  padding: .22rem .6rem; border-radius: 999px;
  background: rgba(166,226,46,.10); border: 1px solid rgba(166,226,46,.28);
}
.branch-svcs { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .9rem; }
.branch-svc {
  font-size: .7rem; color: var(--ink-soft);
  padding: .22rem .5rem; border-radius: 7px;
  background: rgba(243,246,241,.04); border: 1px solid var(--line);
}
.branch-actions { display: flex; gap: .55rem; margin-top: auto; padding-top: 1.1rem; flex-wrap: wrap; }
.branch-actions .btn { flex: 1 1 auto; }

/* =============================================================
   18. FAQ
   ============================================================= */
.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s; }
.faq-item.is-open { border-color: rgba(166,226,46,.35); }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--lime); border-radius: 2px; transition: transform .3s var(--ease-out); }
.faq-icon::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-icon::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item.is-open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-a-inner { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); }

/* =============================================================
   19. CTA final
   ============================================================= */
.section-cta { position: relative; }
.section-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(166,226,46,.10), transparent 70%);
}
.cta-title { font-size: clamp(2rem, 5.5vw, 3.4rem); }
.cta-text { color: var(--ink-soft); max-width: 50ch; margin: 1.2rem auto 0; font-size: 1.1rem; }

/* =============================================================
   20. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 3rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 180px; height: auto; margin-bottom: .9rem; }
.footer-brand p { color: var(--mute); font-size: .9rem; }
.footer-tag { color: var(--lime) !important; font-family: var(--display); font-weight: 600; margin-top: .3rem; }
.footer-col h4 { font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--ink-soft); padding: .3rem 0; font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: var(--lime); }
.footer-zones { color: var(--ink-soft); font-size: .9rem; line-height: 1.8; }
.socials { display: flex; gap: .6rem; margin-bottom: 1.1rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: border-color .25s, transform .25s, background .25s;
}
.socials a svg { width: 20px; height: 20px; fill: var(--ink-soft); transition: fill .25s; }
.socials a:hover { border-color: var(--lime); transform: translateY(-3px); background: rgba(166,226,46,.08); }
.socials a:hover svg { fill: var(--lime); }
.footer-wa { width: 100%; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.legal-list { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-bottom: 1.2rem; }
.legal-list li { color: var(--mute); font-size: .78rem; position: relative; padding-left: .9rem; }
.legal-list li::before { content: "•"; position: absolute; left: 0; color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; color: var(--mute); font-size: .78rem; }
.credits a { color: var(--ink-soft); border-bottom: 1px solid var(--line-2); }

/* =============================================================
   21. Floating WhatsApp
   ============================================================= */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime-bright), var(--lime));
  box-shadow: 0 10px 30px rgba(166,226,46,.4);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  animation: waPulse 3s var(--ease-soft) infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #0a0a0a; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(166,226,46,.6); }
@keyframes waPulse { 0%,100%{ box-shadow: 0 10px 30px rgba(166,226,46,.4); } 50%{ box-shadow: 0 10px 30px rgba(166,226,46,.4), 0 0 0 12px rgba(166,226,46,.0); } }

/* =============================================================
   21b. Cursor Linky + borde tecnológico (solo desktop fine-hover)
   ============================================================= */
@property --trace-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@media (hover: hover) and (pointer: fine) {
  html.linky-cursor, html.linky-cursor * { cursor: none; }
  html.linky-cursor input, html.linky-cursor textarea,
  html.linky-cursor select, html.linky-cursor [contenteditable] { cursor: auto; }
}

.cursor-linky {
  position: fixed; left: 0; top: 0; z-index: 9600;
  width: 40px; height: 35px; margin: -20px 0 0 -20px;
  pointer-events: none; will-change: transform; opacity: 0;
  transition: opacity .35s ease;
}
.cursor-linky img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 7px rgba(0,0,0,.55)); }
.cursor-linky.is-on { opacity: 1; }
.cursor-linky::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(166,226,46,.55); opacity: 0; transform: scale(.6);
}
.cursor-linky.is-hot::after { animation: cursorRing 1s var(--ease-out) infinite; }
@keyframes cursorRing { 0% { opacity: .7; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.3); } }

.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 9601;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime), 0 0 4px #fff;
  pointer-events: none; opacity: 0; transition: opacity .3s, transform .15s var(--ease-out);
}
.cursor-dot.is-on { opacity: .9; }
.cursor-dot.is-hot { transform: scale(1.9); background: var(--lime-bright); }

/* Borde neón que se traza al pasar el cursor */
.btn-ghost, .cat-card, .branch-card { position: relative; }
.btn-ghost::after, .cat-card::after, .branch-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 5;
  background: conic-gradient(from var(--trace-a),
    transparent 0deg, transparent 250deg, var(--lime-bright) 302deg, var(--lime) 332deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (hover: hover) {
  .btn-ghost:hover::after, .cat-card:hover::after, .branch-card:hover::after {
    opacity: 1; animation: traceSpin 2.4s linear infinite;
  }
}
@keyframes traceSpin { to { --trace-a: 360deg; } }

/* =============================================================
   22. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease-out), visibility .6s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: .9rem; width: min(280px, 70vw); }
.splash-logo { width: 96px; height: auto; filter: drop-shadow(0 0 20px rgba(166,226,46,.4)); animation: floaty 3s ease-in-out infinite; }
.splash-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .25em; color: var(--mute); }
.splash-bar { width: 100%; height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; border: 1px solid var(--line); }
.splash-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--lime-bright)); border-radius: 999px; animation: splashFill 1.8s var(--ease-out) forwards; }
@keyframes splashFill { to { width: 100%; } }
.splash-word { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: var(--lime); text-shadow: 0 0 20px rgba(166,226,46,.4); }
.splash-slogan { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: center; }

/* =============================================================
   23. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   24. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .branch-actions .btn { flex: 1 1 0; }
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3rem, 5vw, 4.6rem); }
}

/* =============================================================
   25. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual img, .splash-logo { animation: none; }
  .marquee-track { animation-duration: 80s; }
  .kicker-dot, .wa-float { animation: none; }
  .bg-gradient { transition: none; }
  .btn-ghost:hover::after, .cat-card:hover::after, .branch-card:hover::after { animation: none; }
}
