/* =========================================================
   X-MEN Moda Masculina — styles
   Paleta tomada del logo/IG: negro, verde X, cemento gris, neón
   ========================================================= */

:root {
  --bg: #0a0b0a;
  --bg-2: #121412;
  --ink: #f2f3f0;
  --muted: #9aa09a;
  --line: rgba(255,255,255,.1);
  --green: #55a864;
  --green-2: #2c833c;
  --green-3: #0e6214;
  --green-grad: linear-gradient(135deg, #7cc985 0%, #55a864 40%, #2c833c 75%, #0e6214 100%);
  --neon: #8dffa0;
  --concrete: #b1b2b6;
  --radius: 18px;
  --pad: clamp(16px, 5vw, 72px);
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
p { margin: 0; }
.green {
  background: var(--green-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Logo (recreado del IG) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-main { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .02em; transform: scaleX(1.12); }
.logo-x {
  background: var(--green-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sub { font-size: 8.5px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: #cfd2cf; margin-top: 4px; padding-left: .42em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green-grad); color: #04130a; box-shadow: 0 8px 30px -8px rgba(85,168,100,.65); }
.btn-green:hover { box-shadow: 0 12px 40px -6px rgba(141,255,160,.55); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--neon); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 20px 36px; font-size: 17px; }
.flag { width: 1.3em; height: auto; display: inline-block; vertical-align: -0.12em; border-radius: 3px; }
.hero-stats .flag { width: 36px; vertical-align: middle; }
.ico { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,11,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-color: var(--line); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; color: #cfd2cf; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s ease, top .3s ease; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(10,11,10,.97);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: 120px var(--pad) 70px;
  background:
    radial-gradient(60% 60% at 85% 40%, rgba(85,168,100,.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(44,131,60,.16), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfd2cf; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 0 rgba(141,255,160,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(141,255,160,.6); } 70% { box-shadow: 0 0 0 12px rgba(141,255,160,0); } 100% { box-shadow: 0 0 0 0 rgba(141,255,160,0); } }
.hero-title { font-size: clamp(46px, 8.4vw, 128px); margin: 26px 0 6px; }
.hero-title > span { display: block; }
.neon {
  font-family: var(--script); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1;
  color: #eaffef; transform: rotate(-4deg); transform-origin: left; display: inline-block;
  text-shadow: 0 0 6px var(--neon), 0 0 16px var(--neon), 0 0 34px var(--green), 0 0 60px var(--green-2);
  animation: flicker 6s infinite;
}
.neon span { display: inline-block; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .55; }
}
.hero-lead { max-width: 520px; margin-top: 22px; color: #c5cac5; font-size: clamp(16px, 1.3vw, 19px); }
.hero-lead strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--display); font-size: 26px; font-weight: 900; }
.hero-stats span { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

.hero-stack { position: relative; height: min(640px, 72vh); z-index: 1; perspective: 1200px; }
.stack-card {
  position: absolute; margin: 0; width: min(300px, 58%); aspect-ratio: 3/4;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  background: #222;
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.s1 { left: 2%;  top: 14%; transform: rotate(-9deg); }
.s3 { right: 2%; top: 10%; transform: rotate(8deg); }
.s2 { left: 50%; top: 2%; transform: translateX(-50%) rotate(-1deg); z-index: 2; width: min(330px, 64%); }
.hero-stack:hover .s1 { transform: rotate(-14deg) translate(-20px, 10px); }
.hero-stack:hover .s3 { transform: rotate(13deg) translate(20px, 10px); }
.hero-stack:hover .s2 { transform: translateX(-50%) rotate(0) translateY(-10px) scale(1.03); }
.stack-tag {
  position: absolute; z-index: 3; left: 0; top: 66%; transform: rotate(-6deg);
  background: #0a0b0a; border: 1px solid rgba(85,168,100,.5); border-radius: 999px;
  padding: 12px 20px; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 0 30px -6px rgba(85,168,100,.6);
}
.stack-tag .logo-x { font-weight: 900; margin-right: 6px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--green-grad); color: #04130a; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee span { font-family: var(--display); font-weight: 900; font-size: clamp(18px, 2.2vw, 28px); text-transform: uppercase; white-space: nowrap; }
.marquee b { font-family: var(--display); font-weight: 900; font-size: 20px; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) var(--pad); position: relative; }
.concrete {
  background:
    radial-gradient(70% 50% at 20% 0%, rgba(255,255,255,.06), transparent 70%),
    linear-gradient(180deg, #161816, #0f110f);
}
.concrete::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .7 0 0 0 0 .7 0 0 0 0 .72 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
}
.section > * { position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head-row .section-lead { max-width: 360px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.section h2 { font-size: clamp(34px, 5.6vw, 76px); }
.section-lead { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 520px; }

/* ---------- Drops ---------- */
.drops { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.drop { display: flex; flex-direction: column; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease; }
.drop:nth-child(4n+2), .drop:nth-child(4n+4) { margin-top: 40px; }
.drop-img { aspect-ratio: 3/4; overflow: hidden; background: var(--concrete); }
.drop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.drop-info { padding: 18px 18px 20px; position: relative; }
.drop-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--neon); border: 1px solid rgba(85,168,100,.45); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.drop h3 { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.15; }
.drop p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.drop-cta { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 14px; color: var(--green); transition: transform .3s ease, color .3s ease; }
.drop:hover { transform: translateY(-6px); border-color: rgba(85,168,100,.55); box-shadow: 0 24px 50px -24px rgba(85,168,100,.55); }
.drop:hover .drop-img img { transform: scale(1.06); }
.drop:hover .drop-cta { color: var(--neon); transform: translateX(4px); }

/* ---------- Categorías ---------- */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.cats li { border-bottom: 1px solid var(--line); }
.cats li:nth-child(odd) { border-right: 1px solid var(--line); }
.cats a {
  display: flex; align-items: center; gap: 20px; padding: 28px clamp(10px, 2vw, 28px);
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(19px, 2.2vw, 30px);
  position: relative; overflow: hidden; transition: color .35s ease;
}
.cats a::before { content: ""; position: absolute; inset: 0; background: var(--green-grad); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.cats a:hover { color: #04130a; }
.cats a:hover::before { transform: translateY(0); }
.cat-n { font-family: var(--body); font-size: 13px; font-weight: 800; color: var(--green); letter-spacing: .1em; transition: color .35s ease; }
.cats a:hover .cat-n { color: #04130a; }
.cat-arrow { margin-left: auto; font-size: .8em; transition: transform .35s ease; }
.cats a:hover .cat-arrow { transform: rotate(45deg); }

/* ---------- Local ---------- */
.local-grid {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "p1 p2 card card"
    "p1 p2 map  map"
    "p3 p4 map  map";
}
.local-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #222; min-height: 220px; }
.local-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.local-photo:hover img { transform: scale(1.05); }
.lp1 { grid-area: p1; } .lp2 { grid-area: p2; } .lp3 { grid-area: p3; aspect-ratio: 3/4; } .lp4 { grid-area: p4; aspect-ratio: 3/4; }
.local-card {
  grid-area: card; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(85,168,100,.25), transparent 60%), var(--bg-2);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.neon-sm { font-size: clamp(30px, 3vw, 44px); }
address { font-style: normal; color: var(--muted); font-size: 16px; }
.addr-big { display: block; font-family: var(--display); font-weight: 900; color: #fff; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1.1; margin-bottom: 6px; }
.local-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.local-map { grid-area: map; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-2); }
.local-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: rgba(10,11,10,.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: border-color .3s ease, transform .3s ease; }
.step:hover { border-color: rgba(85,168,100,.55); transform: translateY(-4px); }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green-grad); color: #04130a; font-family: var(--display); font-weight: 900; font-size: 22px; margin-bottom: 22px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); font-size: 15px; }
.perk span { font-size: 22px; }

/* ---------- Final ---------- */
.final { text-align: center; padding: clamp(90px, 12vw, 170px) var(--pad); background: radial-gradient(50% 60% at 50% 50%, rgba(85,168,100,.25), transparent 70%), var(--bg); }
.final-logo { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 17vw, 260px); line-height: .9; letter-spacing: -.02em; transform: scaleX(1.08); }
.final-lead { color: #c5cac5; font-size: clamp(18px, 2vw, 24px); margin: 24px 0 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px var(--pad) 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px; color: var(--muted); font-size: 15px; }
.footer .logo-main { color: #fff; }
.footer-links { display: flex; gap: 22px; font-weight: 700; color: #fff; }
.footer-links a:hover { color: var(--neon); }
.footer-small { grid-column: 1 / -1; font-size: 13px; opacity: .7; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  transition: transform .25s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal (solo si JS está activo) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .drops { grid-template-columns: repeat(3, 1fr); }
  .drop:nth-child(n) { margin-top: 0; }
  .drop:nth-child(3n+2) { margin-top: 30px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .hero-stack { height: 440px; max-width: 520px; width: 100%; margin: 10px auto 0; }
  .local-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "card card" "p1 p2" "p3 p4" "map map"; }
  .lp1, .lp2 { aspect-ratio: 3/4; }
  .steps { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .drops { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drop:nth-child(n) { margin-top: 0; }
  .drop-info { padding: 14px; }
  .drop p { display: none; }
  .cats { grid-template-columns: 1fr; }
  .cats li:nth-child(odd) { border-right: 0; }
  .cats a { padding: 22px 6px; }
  .hero-stack { height: 380px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 11px; letter-spacing: .04em; }
  .hero-stats .flag { width: 28px; }
  .stack-card { width: 54%; }
  .s2 { width: 60%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .perks { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Movimiento reducido: solo cortamos lo intrusivo (marquee, flicker, pulsos) */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .neon, .wa-float::after, .pulse { animation: none; }
}
