/* =========================================================
   ECOimpresos — Landing page
   Mobile-first · HTML/CSS/JS puros
   ========================================================= */

:root {
  --bg: #0B0B0B;
  --bg-2: #141414;
  --text: #F5F5F5;
  --muted: #B8B8B8;
  --yellow: #FFC400;
  --orange: #FF7A00;
  --red: #E81E1E;
  --wa: #25D366;
  --grad: linear-gradient(90deg, var(--yellow) 0%, var(--orange) 50%, var(--red) 100%);
  --grad-diag: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 45%, var(--red) 100%);
  --line: rgba(255, 255, 255, .12);
  --radius: 20px;
  --radius-card: 18px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --font-title: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
strong, b { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container--products { max-width: 1100px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* =========================================================
   FONDO: manchas de luz difusas (fijas)
   ========================================================= */
.bg-lights {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-lights span {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .18;
}
.bg-lights__a { width: 520px; height: 520px; left: -160px; top: 18%; background: var(--orange); }
.bg-lights__b { width: 460px; height: 460px; right: -140px; top: 52%; background: var(--red); }
.bg-lights__c { width: 380px; height: 380px; left: 30%; bottom: -180px; background: var(--orange); }

/* =========================================================
   LIQUID GLASS reutilizable
   ========================================================= */
.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 38%),
    rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 12px 32px -14px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 20, 20, .85); }
}

/* ---------- Utilidades de marca ---------- */
.hl { color: var(--yellow); }
.nowrap { white-space: nowrap; }

.brush {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}
.brush::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -.06em;
  height: .28em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15c40-6 80-9 140-8 52 1 98 3 152-2-4 4-10 6-6 9-56 5-110 4-160 4-46 0-86 2-124 4-6-2-6-5-2-7z' fill='%23FFC400'/%3E%3Cpath d='M20 19c50-2 110-1 170-1 40 0 70-1 96-3-24 4-60 6-110 6-58 0-104 0-150 1z' fill='%23FFC400' opacity='.6'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .8s var(--ease-out) .3s;
}
.is-visible .brush::after,
.brush.is-visible::after { transform: scaleX(1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.link {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.link:hover { color: var(--orange); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--grad);
  color: #111;
  box-shadow: 0 8px 24px -10px rgba(255, 122, 0, .75);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 90, 0, .85); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255, 196, 0, .7); color: var(--yellow); }

.btn--dark {
  background: var(--bg);
  color: var(--yellow);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
}
.btn--dark:hover { transform: translateY(-2px); background: #000; }

.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1rem; }
.btn--xl { padding: 1em 1.4em; font-size: 1.05rem; }
@media (min-width: 480px) { .btn--xl { padding: 1.1em 2em; font-size: 1.1rem; } }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease;
}
.header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%),
    rgba(14, 14, 14, .55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.is-scrolled { background: rgba(20, 20, 20, .92); }
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: auto;
  border-radius: 12px;
  transition: opacity .2s ease;
}
.header__logo:hover { opacity: .85; }
.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
}
.header__cta { display: none; }

/* Hamburguesa */
.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  display: grid;
  place-content: center;
  gap: 5px;
  z-index: 102;
  transition: border-color .2s ease, background-color .2s ease;
}
.burger:hover { border-color: rgba(255, 196, 0, .6); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.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); }

/* Menú móvil */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(11, 11, 11, .97);
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease-out), visibility .35s;
  overflow-y: auto;
}
.nav.is-open { transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block;
  padding: 16px 0;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__list a:hover { color: var(--yellow); }
.nav__cta { align-self: stretch; padding: 1em; font-size: 1.05rem; }

/* =========================================================
   HERO (logo con drones)
   ========================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  padding: var(--header-h) 0 clamp(48px, 8vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 56vh;
  overflow: hidden;
  /* Funde los bordes de la foto con el fondo de la página */
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 45%, transparent 100%);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 45%;
  animation: hero-zoom 20s ease-in-out infinite alternate;
}
/* Velo oscuro suave: disimula la falta de resolución en pantallas grandes */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, .18);
  pointer-events: none;
}
/* Brillo naranja difuso detrás del logo */
.hero__glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 62%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, .55) 0%, rgba(232, 30, 30, .18) 45%, transparent 70%);
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: .55;
  pointer-events: none;
  animation: hero-glow 7s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes hero-glow {
  from { opacity: .4; }
  to { opacity: .65; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  margin-top: -12px;
}
.hero__text { max-width: 620px; }
.hero__title {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: .01em;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__pills {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: .45em 1em;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #E8E8E8;
  white-space: nowrap;
}
.pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 .55em .12em 0;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: middle;
}

/* =========================================================
   BENEFICIOS
   ========================================================= */
.benefits { padding: 8px 0 0; }
.benefits__list {
  list-style: none;
  margin: 0;
  padding: 22px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.4;
}
.benefit__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  color: var(--yellow);
  background: rgba(255, 196, 0, .1);
  border: 1px solid rgba(255, 196, 0, .25);
}

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section--alt { background: rgba(255, 255, 255, .02); }

.section__head { margin-bottom: clamp(32px, 5vw, 48px); max-width: 720px; }
.section__head--row { max-width: none; }
.section__title {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.05;
}
.section__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 60ch;
}

/* =========================================================
   PRODUCTOS: pestañas
   ========================================================= */
.tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* aire para que el foco y la sombra no se corten */
  padding: 6px 16px 10px;
  margin: -6px -16px 22px;
  scroll-padding-inline: 16px;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: .7em 1.2em;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: #D6D6D6;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .25s ease, transform .2s ease;
}
.tab:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.tab[aria-selected="true"] {
  background: var(--grad);
  color: #111;
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(255, 122, 0, .8);
}

.panel:focus-visible { outline-offset: 6px; border-radius: 12px; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panel-in .45s var(--ease-out) backwards; }
.panel.is-active .card {
  animation: panel-in .6s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.panel__title {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.panel__intro {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin-bottom: 18px;
}
.panel__title--lead {
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 14px;
}
.panel__cta { justify-self: start; }

/* Grilla de cards: columnas fijas, sin tarjetas sueltas */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s ease, box-shadow .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 36px -18px rgba(255, 122, 0, .45);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}
.card__media > img,
.slider__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.card:hover .card__media > img,
.card:hover .slider__track img { transform: scale(1.05); }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  flex: 1;
}
.card__title {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.card__desc {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.card__link {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  font-size: .86rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
}
.card__link span { display: inline-block; transition: transform .25s var(--ease-out); }
.card__link:hover { color: var(--orange); }
.card__link:hover span,
.card:hover .card__link span { transform: translateX(4px); }

/* Celular: en grillas de 3, la última card ocupa el ancho y va en horizontal */
@media (max-width: 767.98px) {
  .grid--3 > .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .grid--3 > .card:last-child:nth-child(odd) .card__media {
    flex: 0 0 calc(50% - 6px);
  }
  .grid--3 > .card:last-child:nth-child(odd) .card__body {
    justify-content: center;
    padding: 16px;
  }
}

/* Check-marks amarillos */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: #E2E2E2;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Slider dentro de cards (scroll-snap) ---------- */
.slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track img {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.slider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  translate: -50% 0;
  display: flex;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.slider__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  transition: width .3s ease, background-color .3s ease;
}
.slider__dot.is-active { width: 18px; background: var(--yellow); }
.slider__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(20, 20, 20, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: none;
  place-content: center;
  padding-bottom: 3px;
  opacity: 0;
  transition: opacity .25s ease, background-color .2s ease, color .2s ease;
}
.slider:hover .slider__arrow,
.slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { background: var(--yellow); color: #111; }
.slider__arrow--prev { left: 8px; }
.slider__arrow--next { right: 8px; }

/* =========================================================
   CÓMO PEDIR
   ========================================================= */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.step { padding: 22px 20px; }
.step__num {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--grad-diag);
  color: #111;
  font-weight: 600;
  font-size: 1.05rem;
}
.step__title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.step p { color: var(--muted); font-size: .96rem; }

.callout {
  margin-top: 28px;
  padding: clamp(26px, 5vw, 44px) 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(255, 122, 0, .14), transparent 60%),
    rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 122, 0, .3);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.callout__main {
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 30ch;
}
.callout__sub {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* =========================================================
   ENVÍOS
   ========================================================= */
.shipping {
  display: grid;
  gap: 14px;
}
.ship { padding: 26px 22px; }
.ship__icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  color: var(--orange);
  background: rgba(255, 122, 0, .1);
  border: 1px solid rgba(255, 122, 0, .25);
  margin-bottom: 16px;
}
.ship__title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}
.ship__area { color: var(--muted); margin: 4px 0 14px; font-size: .95rem; }
.ship__price {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.note {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .94rem;
}
.note .icon { color: var(--yellow); margin-top: 2px; }

/* =========================================================
   TRABAJOS: carrusel horizontal
   ========================================================= */
.carousel__controls { display: none; gap: 10px; }
.carousel__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 1.7rem;
  line-height: 1;
  padding-bottom: 4px;
  color: var(--text);
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.carousel__arrow:hover:not(:disabled) { color: var(--yellow); border-color: rgba(255, 196, 0, .5); }
.carousel__arrow:disabled { opacity: .35; cursor: default; }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  /* que el carrusel llegue al borde de la pantalla en celular */
  margin: 0 -16px;
  padding: 4px 16px 8px;
  scroll-padding-inline: 16px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__item {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}
.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), opacity .3s ease;
}
.carousel__item::after {
  content: "+";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 20, 20, .45);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 30px;
  text-align: center;
  transition: transform .3s ease, background-color .2s ease, color .2s ease;
}
.carousel__item:hover img { transform: scale(1.05); }
.carousel__item:hover::after { transform: rotate(90deg); background: var(--yellow); color: #111; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 64px 12px;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-content: center;
  padding-bottom: 3px;
}
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--yellow); color: #111; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--orange) 0%, #F5501A 50%, var(--red) 100%);
  padding: var(--section-y) 0;
  text-align: center;
  overflow: hidden;
  color: #111;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 196, 0, .35), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.cta__title {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  line-height: 1.05;
  max-width: 14ch;
  color: var(--bg);
}
.cta__title span {
  display: inline-block;
  color: var(--yellow);
  background: var(--bg);
  padding: .02em .22em .06em;
  rotate: -2deg;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5);
}
.cta__sub {
  font-size: 1.08rem;
  font-weight: 600;
  color: #1a0a00;
  margin-bottom: 10px;
}
.cta a:focus-visible { outline-color: var(--bg); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #060606;
  padding: 56px 0 calc(110px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__inner {
  display: grid;
  gap: 32px;
}
.footer__brand img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  margin-left: -14px;
}
.footer__slogan {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 4px;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.footer__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.footer__list .icon { color: var(--yellow); }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--yellow); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  color: #8a8a8a;
}

/* =========================================================
   WHATSAPP: botón flotante (≥768px) y barra inferior (celular)
   ========================================================= */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--wa);
  display: none;
  place-content: center;
  border-color: rgba(37, 211, 102, .35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 0 6px rgba(37, 211, 102, .08),
    0 14px 30px -10px rgba(0, 0, 0, .8);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 0 8px rgba(37, 211, 102, .14),
    0 18px 34px -10px rgba(0, 0, 0, .8);
}

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 45%),
    rgba(18, 18, 18, .6);
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease-out), opacity .3s ease, visibility .45s;
}
.mobile-bar .icon { color: var(--wa); width: 1.4em; height: 1.4em; }
.mobile-bar.is-visible { transform: none; opacity: 1; visibility: visible; }
body.no-scroll .mobile-bar { visibility: hidden; opacity: 0; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-bar { background: rgba(20, 20, 20, .92); }
}

/* =========================================================
   ANIMACIONES DE APARICIÓN
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .6s var(--ease-out) var(--delay, 0s),
    transform .6s var(--ease-out) var(--delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .brush::after { transform: none; }
  .hero__img { transform: none; }
}

/* =========================================================
   RESPONSIVE (mobile-first)
   ========================================================= */
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .grid { gap: 14px; }
  .card__body { padding: 14px 14px 16px; }
  .card__title { font-size: 1rem; }
  .card__desc { font-size: .88rem; }
}

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
  .hero__media { aspect-ratio: 16 / 9; max-height: 60vh; }
  .carousel__track { grid-auto-columns: 42%; }
  .panel__intro { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .container { padding: 0 24px; }
  .benefits__list { padding: 22px 26px; }
  .benefit { flex-direction: row; align-items: center; gap: 12px; }
  .tabs__list { flex-wrap: wrap; overflow: visible; margin: 0 0 26px; padding: 0; }
  .grid { gap: 18px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card__body { padding: 16px 16px 18px; }
  .slider__arrow { display: grid; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .shipping { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
  .carousel__controls { display: flex; flex-shrink: 0; }
  .carousel__track {
    grid-auto-columns: calc((100% - 2 * 16px) / 3);
    gap: 16px;
    margin: 0;
    padding: 4px 0 8px;
    scroll-padding-inline: 0;
  }
  .footer__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer { padding-bottom: 56px; }

  /* WhatsApp: botón flotante en tablet/escritorio, sin barra inferior */
  .wa-float { display: grid; }
  .mobile-bar { display: none; }
}

@media (min-width: 1024px) {
  .burger { display: none; }
  .header__cta { display: none; }
  .header__logo { width: 58px; height: 58px; margin-right: 0; }
  .nav {
    position: static;
    transform: none;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0;
    background: transparent;
    overflow: visible;
    margin-left: 24px;
  }
  .nav__list { display: flex; gap: 4px; margin: 0 auto; }
  .nav__list a {
    font-size: .93rem;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    color: #DADADA;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
  .nav__cta { align-self: auto; padding: .75em 1.3em; font-size: .93rem; }

  /* Hero: foto de fondo a la derecha, texto a la izquierda */
  .hero {
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 0 88px;
  }
  .hero__media {
    position: absolute;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 40%;
    width: auto;
    aspect-ratio: auto;
    max-height: none;
    z-index: -1;
    -webkit-mask-image: radial-gradient(ellipse 56% 60% at 52% 46%, #000 42%, transparent 100%);
    mask-image: radial-gradient(ellipse 56% 60% at 52% 46%, #000 42%, transparent 100%);
  }
  .hero__media::after { background: rgba(11, 11, 11, .26); }
  .hero__inner { margin-top: 0; }
  .hero__text { max-width: min(600px, 44vw); }

  .benefits__list { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .footer__inner { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1440px) {
  .hero__media { left: 38%; }
}
