/* =========================================================
   KILLER STYLE — Rediseño
   Concepto: "Ficha técnica" · carbón + iridiscencia camaleón
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Barlow:wght@300;400;500;600&family=Azeret+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        #08090a;
  --ink-2:      #0e0f11;
  --surface:    #121316;
  --surface-2:  #17181c;
  --line:       rgba(255, 255, 255, .09);
  --line-2:     rgba(255, 255, 255, .16);

  --text:       #f2f2f0;
  --text-dim:   rgba(242, 242, 240, .62);
  --text-mute:  rgba(242, 242, 240, .40);

  --acid:       #ff6a00;
  --acid-hi:    #ff8c3a;
  --wa:         #25d366;

  --irid: linear-gradient(115deg, #4cc9f0 0%, #7b5cff 22%, #f472b6 45%, #ffb02e 68%, #2fd6a0 88%, #4cc9f0 100%);

  --font-display: 'Chakra Petch', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-mono:    'Azeret Mono', ui-monospace, monospace;

  --pad:   clamp(20px, 5vw, 64px);
  --maxw:  1280px;
  --notch: 14px;          /* corte diagonal de esquina */
  --ease:  cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acid); color: #000; }

/* Grano + retícula ambiental */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 20%, transparent 78%);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2; opacity: .30; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; z-index: 3; padding-block: clamp(72px, 11vw, 132px); }
.notch { clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch)); }

/* Etiqueta de sección numerada — el "spec sheet" */
.tag {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.tag i { font-style: normal; color: var(--acid); }
.tag::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 180px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 5.2vw, 3.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: 0; }
p  { text-wrap: pretty; }
.lead { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--text-dim); font-weight: 300; max-width: 62ch; }

.shift {
  background: var(--irid);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shift 9s linear infinite;
}
@keyframes shift { to { background-position: 280% 50%; } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--acid); --fg: #0a0a0a;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display);
  font-size: .93rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 26px;
  border: 0; cursor: pointer;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); background: var(--acid-hi); box-shadow: 0 12px 30px -12px rgba(255,106,0,.7); }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --bg: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--text-mute); }
.btn--wa { --bg: var(--wa); --fg: #04240f; }
.btn--wa:hover { --bg: #33e177; box-shadow: 0 12px 30px -12px rgba(37,211,102,.65); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 9, 10, .74);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px;
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  width: auto; height: 52px;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55));
  transition: transform .3s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.04); }
.brand--foot { display: inline-flex; margin-bottom: 18px; }
.brand--foot .brand__logo { height: 92px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__items { display: flex; align-items: center; gap: 4px; }
/* logo y firma sólo se usan dentro del off-canvas */
.nav__logo, .nav__firma { display: none; }
.nav__items a {
  position: relative;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 400;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 12px;
  transition: color .2s;
}
.nav__items a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 1px; background: var(--acid);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__items a:hover, .nav__items a[aria-current] { color: var(--text); }
.nav__items a:hover::after, .nav__items a[aria-current]::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }
.nav__cta .btn { padding: 11px 20px; font-size: .8rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  /* sin backdrop-filter: crea un bloque contenedor y rompería el position:fixed
     del off-canvas, que quedaría recortado dentro de la barra */
  .nav { backdrop-filter: none; background: rgba(8, 9, 10, .94); }

  .burger { display: block; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .nav__cta { display: none; }

  /* Off-canvas a pantalla completa: logo arriba, links al medio, firma abajo */
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: center; justify-content: space-between;
    gap: 0; padding: 26px var(--pad) 34px;
    background: #000;
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: opacity .38s var(--ease), visibility .38s;
  }
  .nav__links[data-open="true"] { visibility: visible; opacity: 1; pointer-events: auto; }

  .nav__logo { display: block; flex-shrink: 0; }
  .nav__logo img { height: 78px; width: auto; }

  /* los links se centran en el espacio que queda entre el logo y la firma */
  .nav__items { flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 0; }

  .nav__firma { display: inline-flex; flex-shrink: 0; padding: 6px; }
  .nav__firma img {
    height: 14px; width: auto;
    filter: brightness(0) invert(1);
    opacity: .5;
  }

  /* con el panel abierto el logo del panel reemplaza al de la barra */
  .menu-open .brand { opacity: 0; pointer-events: none; }
  .brand { transition: opacity .25s var(--ease); }

  .nav__items a {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.6rem, 8vw, 2.4rem); letter-spacing: .01em;
    text-transform: uppercase; color: var(--text);
    padding: 12px 0; border: 0; text-align: center;
    opacity: 0; transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
  }
  .nav__links[data-open="true"] .nav__items a { opacity: 1; transform: none; }
  .nav__links[data-open="true"] .nav__items a:nth-child(1) { transition-delay: .10s; }
  .nav__links[data-open="true"] .nav__items a:nth-child(2) { transition-delay: .16s; }
  .nav__links[data-open="true"] .nav__items a:nth-child(3) { transition-delay: .22s; }
  .nav__links[data-open="true"] .nav__items a:nth-child(4) { transition-delay: .28s; }
  .nav__links[data-open="true"] .nav__items a:nth-child(5) { transition-delay: .34s; }
  .nav__links[data-open="true"] .nav__items a:nth-child(6) { transition-delay: .40s; }

  .nav__items a::after { left: 50%; right: auto; bottom: 6px; width: 46px; margin-left: -23px; transform-origin: center; }
  .nav__items a[aria-current]  { color: var(--acid); }

  body.menu-open { overflow: hidden; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; }
/* la foto viene con un oscurecido ya aplicado: se compensa con brightness */
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%;
  filter: brightness(1.55) saturate(1.12) contrast(1.04);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 2%, rgba(8,9,10,.78) 34%, rgba(8,9,10,.30) 72%, rgba(8,9,10,.10) 100%),
    linear-gradient(0deg, var(--ink) 1%, transparent 40%);
}
.hero__in {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding: clamp(56px, 8vw, 96px) var(--pad) clamp(52px, 7vw, 80px);
  min-height: min(66vh, 560px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__body { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  margin-block: 6px 20px;
}
.hero h1 em { font-style: normal; display: block; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.pill b { color: var(--acid); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ticker de colores */
.ticker {
  position: relative; z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 13px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: roll 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-mute); padding-inline: 22px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 22px;
}
.ticker__track span::after { content: ''; width: 5px; height: 5px; background: var(--acid); transform: rotate(45deg); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.svc__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 68px); }
@media (max-width: 860px) { .svc__head { grid-template-columns: 1fr; align-items: start; } }

.svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .svc__grid { grid-template-columns: 1fr; } }

.card-svc {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  padding: clamp(28px, 3.4vw, 44px);
  min-height: 340px;
  display: flex; flex-direction: column;
  transition: background .35s;
}
.card-svc::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--irid); background-size: 280% 100%;
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
  animation: shift 9s linear infinite;
}
.card-svc:hover { background: var(--surface); }
.card-svc:hover::before { transform: scaleX(1); }
.card-svc__no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--text-mute);
}
.card-svc h3 { margin-bottom: 14px; color: var(--text); }
.card-svc p { color: var(--text-dim); font-size: .96rem; font-weight: 300; }
.card-svc__ico {
  width: 38px; height: 38px; color: var(--acid);
  margin-top: auto; margin-bottom: 24px; opacity: .9;
  transition: transform .5s var(--ease);
}
.card-svc:hover .card-svc__ico { transform: translateY(-4px) rotate(-6deg); }

/* ---------- Nosotros / Stats ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--ink-2); padding: clamp(22px, 3vw, 34px); }
.stat__n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 3.6rem); line-height: .9;
  letter-spacing: -.03em;
  display: flex; align-items: baseline; gap: 2px;
}
.stat__n sup { font-size: .42em; color: var(--acid); font-weight: 600; top: -.9em; }
.stat__l {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute); margin-top: 14px;
}

/* ---------- Presupuesto ---------- */
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.quote__side { background: var(--ink-2); padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; }
.quote__side--form { background: var(--surface); }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 8px;
}
.field > span b { color: var(--acid); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 13px 15px;
  font-size: .95rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(255,106,0,.13);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px; }
.field select option { background: var(--ink); }

.contact-list { list-style: none; margin-top: auto; padding-top: 34px; display: grid; gap: 2px; }
.contact-list a, .contact-list li > div {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--line);
  transition: color .2s;
}
.contact-list a:hover { color: var(--acid); }
.contact-list svg { width: 16px; height: 16px; color: var(--acid); flex-shrink: 0; }
.contact-list em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-mute); display: block; }
.contact-list strong { font-weight: 500; font-size: .96rem; }

/* ---------- Canjear ---------- */
.redeem {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 160% at 82% 12%, rgba(255,106,0,.15), transparent 58%),
    radial-gradient(90% 130% at 12% 88%, rgba(123,92,255,.15), transparent 60%),
    var(--ink-2);
  padding: clamp(34px, 5vw, 66px);
  display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(28px, 5vw, 64px); align-items: center;
}
@media (max-width: 860px) { .redeem { grid-template-columns: 1fr; } }
.redeem__form { display: flex; gap: 10px; }
.redeem__form input {
  flex: 1; background: rgba(0,0,0,.45); border: 1px solid var(--line-2);
  padding: 15px 17px; font-family: var(--font-mono); font-size: .92rem;
  letter-spacing: .12em; text-transform: uppercase; outline: none;
  transition: border-color .25s;
}
.redeem__form input:focus { border-color: var(--acid); }
.redeem__msg { font-size: .93rem; margin-top: 16px; min-height: 22px; font-weight: 500; }
.redeem__msg:empty { min-height: 0; margin-top: 0; }
.redeem__msg[data-state="err"] { color: #ff5f5f; }

/* Código válido: la recompensa se muestra destacada */
.redeem__msg[data-state="ok"] {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700; text-transform: uppercase; line-height: 1.15;
  border-left: 3px solid var(--wa);
  padding: 12px 0 12px 16px;
  background: linear-gradient(90deg, rgba(37, 211, 102, .12), transparent 70%);
}
.redeem__form button:disabled { opacity: .6; cursor: wait; }
#redeemWa { display: none; margin-top: 16px; }
#redeemWa[data-show="true"] { display: inline-flex; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.faq details[open] { background: var(--ink-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 20px;
  padding: 26px clamp(16px, 2.5vw, 28px);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.98rem, 1.8vw, 1.22rem);
  text-transform: uppercase; letter-spacing: .01em;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acid); }
.faq summary i {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; color: var(--text-mute); flex-shrink: 0;
}
.faq summary .plus {
  margin-left: auto; flex-shrink: 0; position: relative;
  width: 16px; height: 16px;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.faq summary .plus::after { transform: translateY(-50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary .plus::after { transform: translateY(-50%) rotate(0); }
.faq details[open] summary { color: var(--acid); }
.faq__a { padding: 0 clamp(16px, 2.5vw, 28px) 30px clamp(52px, 6vw, 76px); color: var(--text-dim); font-weight: 300; max-width: 76ch; }
.faq__a ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.faq__a li { display: flex; gap: 11px; }
.faq__a li::before { content: ''; width: 5px; height: 5px; background: var(--acid); transform: rotate(45deg); margin-top: 10px; flex-shrink: 0; }
.faq__a strong { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .8rem; letter-spacing: .18em; font-family: var(--font-mono); font-weight: 500; color: var(--text-mute); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li, .footer p { color: var(--text-dim); font-size: .93rem; font-weight: 300; }
.footer a:hover { color: var(--acid); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .25s, box-shadow .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--acid); color: #000; transform: translateY(-3px); box-shadow: none; }
.socials svg { width: 17px; height: 17px; }
.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--text-mute);
}

/* Firma del estudio — brightness(0) aplana el SVG a negro e invert(1) lo lleva
   a blanco puro, sin importar de qué color vengan los trazos originales */
.firma { display: inline-flex; align-items: center; flex-shrink: 0; }
.firma img {
  height: 15px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .25s var(--ease);
}
.firma:hover img { opacity: 1; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #04240f;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 27px; height: 27px; }

/* =========================================================
   CATÁLOGO
   ========================================================= */
.cat-hero { position: relative; z-index: 3; border-bottom: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.cat-hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); margin-bottom: 20px; }

/* Barra de control */
.ctrl { position: sticky; top: 72px; z-index: 40; background: rgba(8,9,10,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ctrl__in { padding-block: 16px; }
.ctrl__row { display: flex; align-items: center; gap: 18px; }
@media (max-width: 720px) { .ctrl__row { flex-direction: column; align-items: stretch; gap: 12px; } }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
@media (max-width: 720px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
}

.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  padding: 9px 15px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
  transition: .22s var(--ease);
}
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip u { text-decoration: none; opacity: .55; font-size: 10px; }

.search {
  position: relative; margin-left: auto; min-width: 220px; flex: 0 1 300px;
}
.search input {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line);
  padding: 10px 14px 10px 38px; font-size: .9rem; outline: none;
  transition: border-color .25s;
}
.search input:focus { border-color: var(--acid); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-mute); }
@media (max-width: 720px) { .search { margin-left: 0; flex-basis: 100%; } }

.cat-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); padding-block: 26px 20px; }
.cat-count b { color: var(--acid); font-weight: 500; }

/* Grilla de colores */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
@media (max-width: 560px) { .swatches { grid-template-columns: 1fr; gap: 14px; } }
.sw {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line); padding: 0; cursor: pointer;
  text-align: left; display: block; width: 100%;
  transition: border-color .3s, transform .35s var(--ease);
}
.sw:hover { border-color: var(--line-2); transform: translateY(-3px); }
.sw__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sw, #222); }
.sw__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
}
.sw:hover .sw__img img { transform: scale(1.07); }
.sw__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,9,10,.75), transparent 55%);
}
.sw__badge {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; color: var(--text);
  background: rgba(8,9,10,.72); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
}
.sw__dur {
  position: absolute; z-index: 2; bottom: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--acid);
}
.sw__body { padding: 18px 20px 20px; display: flex; align-items: flex-start; gap: 13px; }
.sw__dot { width: 13px; height: 13px; transform: rotate(45deg); background: var(--sw, #666); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.sw h3 { font-size: 1.08rem; letter-spacing: 0; margin-bottom: 6px; transition: color .25s; }
.sw:hover h3 { color: var(--acid); }
.sw__fam { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); }
.sw::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--irid); background-size: 280% 100%; animation: shift 9s linear infinite;
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.sw:hover::after { transform: scaleX(1); }

.empty { padding: 80px 20px; text-align: center; color: var(--text-mute); font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 90;
  display: none; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4,4,5,.9); backdrop-filter: blur(10px);
}
.lb[data-open="true"] { display: grid; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lb__box {
  position: relative;
  width: min(1320px, 100%); max-height: 92vh; overflow: auto;
  background: var(--ink-2); border: 1px solid var(--line-2);
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, .85fr);
  animation: rise .45s var(--ease);
}
@keyframes rise { from { transform: translateY(24px) scale(.98); opacity: 0; } }
.lb__img { background: var(--sw, #222); aspect-ratio: 4/3; }
.lb__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 801px) {
  .lb__box { height: min(92vh, 760px); max-height: none; overflow: hidden; }
  .lb__img { aspect-ratio: auto; height: auto; min-height: 0; overflow: hidden; }
  .lb__info { min-height: 0; overflow-y: auto; }
}
/* Mobile: la ficha entra completa en pantalla, sin scroll.
   Foto arriba, datos abajo, y el resto se reparte con el alto disponible. */
@media (max-width: 800px) {
  .lb { padding: 0; align-items: stretch; }
  .lb__box {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    width: 100%; height: 100dvh; max-height: 100dvh;
    border: 0; overflow: hidden;
  }
  .lb__img { aspect-ratio: auto; height: 40dvh; min-height: 0; }
  .lb__info { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  .lb__nav { margin-bottom: 14px; }
  .lb__info h2 { font-size: clamp(1.35rem, 6vw, 1.9rem); margin-bottom: 14px; }
  .lb__specs { margin-bottom: 16px; }
  .lb__specs li { padding: 9px 0; font-size: .88rem; }
}
.lb__info { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; }
.lb__info h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 22px; }
.lb__specs { list-style: none; display: grid; gap: 0; margin-bottom: 26px; }
.lb__specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.lb__specs li:last-child { border-bottom: 1px solid var(--line); }
.lb__specs em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.lb__actions { margin-top: auto; display: grid; gap: 10px; }
.lb__close {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(8, 9, 10, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  cursor: pointer; transition: .22s;
}
.lb__close svg { width: 17px; height: 17px; }
.lb__close:hover { background: var(--acid); color: #000; border-color: var(--acid); }
.lb__nav { display: flex; gap: 8px; margin-bottom: 22px; }
.lb__nav button {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--text-dim);
  cursor: pointer; transition: .22s;
}
.lb__nav button:hover { border-color: var(--acid); color: var(--acid); }
.lb__nav svg { width: 15px; height: 15px; }

/* CTA final catálogo */
.cat-cta {
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 160% at 88% 10%, rgba(123,92,255,.14), transparent 60%),
    radial-gradient(90% 140% at 8% 92%, rgba(255,106,0,.16), transparent 60%),
    var(--ink-2);
  padding: clamp(34px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}

/* ---------- Entrada suelta / archivos (sólo WordPress) ---------- */
.single-img { border: 1px solid var(--line); overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px); }
.single-img img { width: 100%; height: auto; display: block; }

.prosa { max-width: 72ch; color: var(--text-dim); font-weight: 300; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2, .prosa h3 { color: var(--text); margin-top: 1.8em; }
.prosa a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.prosa img { border: 1px solid var(--line); }
.prosa ul, .prosa ol { padding-left: 1.2em; }

.pagination { display: flex; justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding-inline: 12px;
  font-family: var(--font-mono); font-size: 12px;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: .22s var(--ease);
}
.page-numbers:hover { border-color: var(--line-2); color: var(--text); }
.page-numbers.current { background: var(--text); color: var(--ink); border-color: var(--text); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 940px) {
  html { scroll-padding-top: 76px; }
  .brand__logo { height: 44px; }
  .nav__in { height: 64px; }
  .nav__links { inset-block-start: 64px; }
  .ctrl { top: 64px; }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }

  .hero__in { min-height: auto; padding-block: 44px 40px; }
  .hero__bg img { object-position: 62% 30%; }
  .hero__bg::after { background: linear-gradient(0deg, var(--ink) 3%, rgba(8,9,10,.86) 42%, rgba(8,9,10,.78) 100%); }
  .btn--ghost { --bg: rgba(8,9,10,.55); backdrop-filter: blur(4px); }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .hero__pills { gap: 6px; margin: 22px 0 26px; }
  .pill { font-size: 10px; padding: 7px 11px; }
  .hero__actions { display: grid; }
  .hero__actions .btn { justify-content: center; }

  .section { padding-block: 56px; }
  .card-svc { min-height: 0; padding: 26px 20px 30px; }
  .card-svc__ico { margin-top: 22px; }

  .stat { padding: 22px 20px; }
  .stat__n { font-size: 2.6rem; }

  .quote__side { padding: 26px 20px 32px; }
  .contact-list { padding-top: 26px; }
  .quote__side .btn { width: 100%; justify-content: center; }

  .redeem { padding: 28px 20px 34px; }
  .redeem__form { flex-direction: column; }
  .redeem__form .btn { justify-content: center; }
  #redeemWa { width: 100%; justify-content: center; }

  .faq summary { padding: 20px 4px; gap: 14px; font-size: .95rem; }
  .faq__a { padding: 0 4px 24px 4px; }

  .cat-hero { padding-block: 44px 26px; }
  .cat-hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .cat-count { padding-block: 20px 16px; }

  .sw__body { padding: 15px 16px 17px; }
  .sw h3 { font-size: 1rem; }

  .lb__info { padding: 22px 20px 30px; }
  .lb__actions .btn { justify-content: center; }
  .lb__close { top: 8px; right: 8px; }

  .cat-cta { padding: 28px 20px 32px; }
  .cat-cta .btn { width: 100%; justify-content: center; }

  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 25px; height: 25px; }

  .footer__bar { justify-content: flex-start; }
}

/* =========================================================
   BLINDAJE
   En WordPress conviven ~48 hojas de estilo (Elementor, Ultimate Member…).
   Estas reglas repiten lo esencial con un selector más específico para que
   ninguna hoja que cargue después vuelva el fondo a blanco.
   ========================================================= */
html body {
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
}
html body a { text-decoration: none; }
html body .btn { text-decoration: none; }
html body h1, html body h2, html body h3, html body h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .98;
}
html body .shift { color: transparent; }

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