/* Paleta tomada del logo: naranja CF y grafito del wordmark */
:root {
  --ink: #1b1f26;
  --graphite: #3a3f47;
  --accent: #ec5f12;
  --accent-deep: #c74a06;
  --tint: #fde4d4;
  --paper: #f6f4f1;
  --card: #ffffff;
  --muted: #4a4f58;
  --line: rgba(27, 31, 38, 0.1);

  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(20px, 4vw, 56px);
  --wrap: 1360px;
  --radius: 22px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  max-width: 100%;
  background:
    radial-gradient(60% 40% at 0% 100%, rgba(253, 228, 212, 0.9), transparent 70%),
    radial-gradient(50% 35% at 100% 0%, rgba(253, 228, 212, 0.55), transparent 70%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  -webkit-tap-highlight-color: rgba(236, 95, 18, 0.18);
  touch-action: manipulation;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p, ul, figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

main,
.foot {
  position: relative;
  z-index: 1;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

svg use,
.wa svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .12 0 0 0 1.7 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--wrap) - 2 * var(--gut), 100% - 2 * var(--gut));
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(27, 31, 38, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
  transition: box-shadow 0.25s, top 0.25s;
}

.nav.is-scrolled {
  top: calc(10px + env(safe-area-inset-top, 0px));
  box-shadow: 0 14px 40px rgba(27, 31, 38, 0.12);
}

.nav-logo img {
  width: auto;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 6px 0;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- Piezas comunes ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(236, 95, 18, 0.28);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.btn:hover {
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(27, 31, 38, 0.22);
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-sm {
  padding: 11px 20px;
  box-shadow: none;
  font-size: 0.92rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow-light {
  color: #ff9a5c;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}

h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.chip {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
}

.chip svg {
  width: 22px;
  height: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(236, 95, 18, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(236, 95, 18, 0); }
}

/* ---------- Hero tipo video ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: #0f1115;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: #0f1115 url("img/hero-poster.webp") center 38% / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.94) 0%, rgba(15, 17, 21, 0.72) 42%, rgba(15, 17, 21, 0.18) 78%),
    linear-gradient(0deg, rgba(15, 17, 21, 0.9) 0%, transparent 40%),
    linear-gradient(180deg, rgba(15, 17, 21, 0.55) 0%, transparent 22%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 25% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
  pointer-events: none;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.hero-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 28vw;
  background: linear-gradient(90deg, transparent, rgba(236, 95, 18, 0.14));
  border-right: 1px solid rgba(255, 138, 61, 0.55);
  animation: sweep 8s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%, 15% { transform: translateX(-30vw); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  85%, 100% { transform: translateX(105vw); opacity: 0; }
}

.hero-in {
  display: grid;
  justify-items: start;
  flex: 1 1 auto;
  align-content: end;
  gap: 24px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(140px + env(safe-area-inset-top, 0px)) var(--gut) 44px;
}

.hero-title {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 50px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  color: #ff7a2e;
}

.w {
  display: inline-block;
  overflow: hidden;
  padding: 0.05em 0.03em 0.2em;
  margin-bottom: -0.16em;
  vertical-align: top;
}

.w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}

.is-ready .w > span {
  transform: none;
}

.hero-sub {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.js .hero-rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .is-ready .hero-rise {
  opacity: 1;
  transform: none;
}

.is-ready .hero-sub { transition-delay: 0.7s; }
.is-ready .hero-actions { transition-delay: 0.85s; }
.is-ready .hero-foot { transition-delay: 1s; }

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: #fff;
  color: var(--ink);
}

.hero-foot {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut) 32px;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-down {
  display: grid;
  justify-items: center;
  width: 30px;
  height: 50px;
  margin-left: auto;
  padding-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.hero-down span {
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: #fff;
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 16px 0;
  background: var(--accent);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 32s linear infinite;
}

@keyframes tick {
  to { transform: translateX(-50%); }
}

.ticker span {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}

/* ---------- Secciones ---------- */

.sec {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--gut);
}

.sec-tight {
  padding-bottom: 48px;
}

.sec-head {
  display: grid;
  gap: 18px;
  max-width: 50rem;
}

.sec-head-center {
  justify-items: center;
  margin: 0 auto;
  text-align: center;
}

.sec-head-center .eyebrow::before {
  content: "";
  width: 72px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.sec-intro {
  max-width: 40rem;
  color: var(--muted);
}

/* ---------- Modelos ---------- */

.models {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.models-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.models-copy h2 {
  margin-top: 0;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.tabs button {
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.model-panel {
  width: 100%;
}

.specs {
  display: grid;
  border-top: 1px solid var(--line);
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.specs span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specs b {
  font-weight: 700;
  text-align: right;
}

.models-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background: var(--graphite);
  box-shadow: 0 40px 80px rgba(27, 31, 38, 0.18);
}

.model-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.model-img.is-on {
  opacity: 1;
  transform: scale(1);
}

.model-img[data-model="arg3"] { object-position: center 36%; }
.model-img[data-model="arg5"] { object-position: center 36%; }

.model-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.92);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

/* ---------- Banda oscura ---------- */

.band {
  position: relative;
  margin: 0 var(--gut);
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(236, 95, 18, 0.35), transparent 60%),
    linear-gradient(160deg, #262b33, var(--ink));
  color: #fff;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}

/* el ancho compensa el padding para que el texto quede alineado con el resto de la grilla */
.band-in {
  --pad: clamp(24px, 5vw, 72px);
  position: relative;
  max-width: calc(var(--wrap) - 2 * var(--gut) + 2 * var(--pad));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--pad);
}

.band-head {
  max-width: 54rem;
}

.band h2 em {
  color: #ff9a5c;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.stats li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.stats b {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats span {
  color: #ff9a5c;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- Clientes ---------- */

.marquee {
  position: relative;
  margin-top: 44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee img {
  width: 168px;
  height: 92px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s, opacity 0.25s;
}

.marquee img:hover {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 8px)); }
}

/* ---------- Piezas personalizadas ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.split > div {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.split h2 {
  margin-top: 0;
}

.feats {
  display: grid;
  gap: 14px;
}

.feat {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(27, 31, 38, 0.05);
  transition: transform 0.25s;
}

.feat:hover {
  transform: translateX(6px);
}

.feat p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ---------- Moldes ---------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.panel-img {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 32px;
  background: var(--graphite);
}

.panel-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel-img:hover img {
  transform: scale(1.04);
}

.panel-over {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 10px;
  padding: 32px;
  background: linear-gradient(transparent, rgba(27, 31, 38, 0.9));
  color: #fff;
}

.panel-over h3 {
  max-width: 22rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.duo-copy {
  display: grid;
  gap: 16px;
}

.block {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
}

.block h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.block h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.block p:not(.eyebrow) {
  color: var(--muted);
}

.block-alt {
  border-color: transparent;
  background: var(--tint);
}

.ticks {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.ticks li {
  display: flex;
  gap: 12px;
  line-height: 1.5;
}

.ticks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}

.mold-gallery {
  margin-top: 16px;
}

.mold-gallery .eyebrow {
  margin-bottom: 14px;
}

.mold-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mold-card {
  position: relative;
  container: photo / inline-size;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: var(--graphite);
}

.mold-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mold-card-p13 img {
  object-position: center 28%;
}

.mold-card figcaption,
.plant-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  max-width: calc(100% - 24px);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.92);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.25;
}

.mold-card figcaption b,
.plant-card figcaption b {
  white-space: nowrap;
}

.mold-card b,
.plant-card b {
  flex: none;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.plant-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
  margin-top: 48px;
}

.plant-card {
  position: relative;
  container: photo / inline-size;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: var(--graphite);
}

@container photo (max-width: 270px) {
  figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    border-radius: 16px;
  }
}

.plant-card-wide {
  aspect-ratio: 16 / 9;
}

.plant-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plant-card-planta img {
  object-position: center 46%;
}

.plant-card-linea img {
  object-position: center 34%;
}

/* ---------- Contacto ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contact-copy h2 {
  margin-top: 0;
}

.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.person {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.person-area {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.person a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: color 0.15s;
}

.person a:hover {
  color: var(--accent);
}

.person svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.info {
  display: grid;
  gap: 10px;
}

.info li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.map {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 420px;
  border: 6px solid #fff;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(27, 31, 38, 0.12);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 31, 38, 0.08);
  pointer-events: none;
}

.map-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 31, 38, 0.12);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: 40px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.foot-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 48px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gut);
  font-size: 0.95rem;
}

.foot img {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.foot li,
.foot li a {
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.foot li span {
  color: #ff9a5c;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot li a:hover {
  color: #fff;
}

.foot small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---------- WhatsApp flotante ---------- */

.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(236, 95, 18, 0.4);
  color: #fff;
  transition: transform 0.2s, background-color 0.2s;
}

.wa:hover {
  background: var(--ink);
  transform: scale(1.06);
}

.wa svg {
  width: 28px;
  height: 28px;
}

/* ---------- Tarjetas apiladas ---------- */

.stack-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.stack-head {
  position: sticky;
  top: calc(130px + env(safe-area-inset-top, 0px));
}

.stack {
  display: grid;
  gap: 28px;
}

.scard {
  --s: 1;
  --b: 1;
  position: sticky;
  top: calc(110px + env(safe-area-inset-top, 0px) + var(--i, 0) * 24px);
}

.scard-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(27, 31, 38, 0.05), 0 30px 60px rgba(27, 31, 38, 0.08);
  transform: scale(var(--s));
  transform-origin: center top;
  filter: brightness(var(--b));
}

.scard-n {
  position: absolute;
  top: 18px;
  right: 28px;
  color: transparent;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(27, 31, 38, 0.14);
}

.scard h3 {
  margin-top: auto;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.scard p {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.scard-dark {
  color: #fff;
}

.scard-dark .scard-inner {
  border-color: transparent;
  background: var(--ink);
}

.scard-dark p { color: rgba(255, 255, 255, 0.72); }
.scard-dark .chip { background: rgba(255, 255, 255, 0.08); color: #ff9a5c; }
.scard-dark .scard-n { -webkit-text-stroke-color: rgba(255, 255, 255, 0.16); }

.scard-accent {
  color: #fff;
}

.scard-accent .scard-inner {
  border-color: transparent;
  background: linear-gradient(140deg, #ff7a2e, var(--accent-deep));
}

.scard-accent p { color: rgba(255, 255, 255, 0.88); }
.scard-accent .chip { background: rgba(255, 255, 255, 0.18); color: #fff; }
.scard-accent .scard-n { -webkit-text-stroke-color: rgba(255, 255, 255, 0.4); }

/* ---------- Carrusel horizontal con scroll ---------- */

.hs {
  position: relative;
}

.hs-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 44px;
  padding: clamp(72px, 9vw, 120px) 0;
}

.is-pinned .hs-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  padding: 96px 0 40px;
}

@media (min-width: 901px) and (max-height: 860px) {
  .is-pinned .hs-pin {
    gap: 24px;
    padding-top: 84px;
  }

  .is-pinned .hs-head .sec-intro {
    display: none;
  }
}

.hs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.hs-meter {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.hs-meter i {
  width: 160px;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.hs-meter b {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0.125));
  transform-origin: left;
}

.hs-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gut);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hs-viewport::-webkit-scrollbar {
  display: none;
}

.is-pinned .hs-viewport {
  overflow: visible;
}

.hs-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px var(--gut) 24px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  will-change: transform;
}

.hcard {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  width: clamp(210px, 18vw, 270px);
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(27, 31, 38, 0.08);
  scroll-snap-align: start;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}

.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 95, 18, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.hcard:hover {
  box-shadow: 0 30px 60px rgba(27, 31, 38, 0.14);
  transform: translateY(-6px);
}

.hcard:hover::before {
  opacity: 1;
}

.hcard-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(236, 95, 18, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.45);
}

.hcard-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hcard:hover .hcard-icon {
  transform: scale(1.1);
}

.hcard-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hcard-photo-cinta img {
  object-position: center 38%;
}

.hcard-n {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.92);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hcard-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 14px;
}

.hcard h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hcard p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hcard:nth-child(3n + 2) {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(58, 63, 71, 0.66);
  color: #fff;
}

.hcard:nth-child(3n) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 17, 21, 0.8);
  color: #fff;
}

.hcard:nth-child(3n + 2) p,
.hcard:nth-child(3n) p {
  color: rgba(255, 255, 255, 0.78);
}

.hcard:nth-child(3n + 2) .hcard-media,
.hcard:nth-child(3n) .hcard-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 154, 92, 0.28), transparent 58%),
    rgba(255, 255, 255, 0.14);
}

.hcard:nth-child(3n + 2) .hcard-icon,
.hcard:nth-child(3n) .hcard-icon {
  color: #ff9a5c;
}

/* ---------- Barra de progreso de lectura ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff9a5c, var(--accent));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ---------- Parallax ---------- */

[data-parallax] {
  top: -8% !important;
  bottom: auto !important;
  height: 116% !important;
  translate: 0 var(--py, 0px);
}

/* ---------- Barra de acciones móvil ---------- */

.mbar {
  display: none;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
  }

  .nav {
    left: var(--gut);
    right: var(--gut);
    width: auto;
    transform: none;
    top: calc(10px + env(safe-area-inset-top, 0px));
    gap: 12px;
    padding: 6px 6px 6px 14px;
  }

  .nav.is-scrolled {
    top: calc(8px + env(safe-area-inset-top, 0px));
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    z-index: 2;
    background: #fff;
    box-shadow: 0 20px 40px rgba(27, 31, 38, 0.14);
    font-size: 1.15rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .models,
  .split,
  .duo,
  .contact,
  .stack-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack-head {
    position: static;
  }

  .scard {
    top: calc(84px + env(safe-area-inset-top, 0px) + var(--i, 0) * 14px);
  }

  .scard-inner {
    min-height: 280px;
  }

  .hs-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hs-track {
    align-items: flex-start;
  }

  .hcard {
    width: min(68vw, 250px);
  }

  .models-media {
    aspect-ratio: 4 / 3;
  }

  .panel-img {
    min-height: 420px;
  }

  .mold-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plant-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .plant-card-wide {
    grid-column: 1 / -1;
  }

  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(15, 17, 21, 0.96) 12%, rgba(15, 17, 21, 0.6) 55%, rgba(15, 17, 21, 0.45) 100%);
  }

  .hero-lines {
    background-size: 50% 100%;
  }

  .hero-scan {
    width: 50vw;
  }

  .hero-in {
    gap: 18px;
    padding: calc(108px + env(safe-area-inset-top, 0px)) var(--gut) 24px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-caption {
    display: none;
  }

  .hero-foot {
    padding-bottom: 24px;
  }

  .ticker {
    padding: 12px 0;
  }

  .sec {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .stats,
  .people {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    margin-top: 36px;
  }

  .band {
    margin: 0 10px;
    border-radius: 28px;
  }

  .specs li {
    flex-direction: column;
    gap: 2px;
  }

  .specs b {
    text-align: left;
  }

  .marquee img {
    width: 136px;
    height: 76px;
  }

  .panel-img {
    min-height: 360px;
  }

  .plant-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .mold-grid {
    gap: 16px 12px;
  }

  .mold-card,
  .plant-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    aspect-ratio: auto;
    background: transparent;
  }

  .mold-card img,
  .plant-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 20px;
  }

  .plant-card-wide img {
    aspect-ratio: 16 / 9;
  }

  .mold-card figcaption,
  .plant-card figcaption {
    position: static;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 2px 8px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 17, 21, 0.92);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .mold-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
  }

  .mold-card figcaption b,
  .plant-card figcaption b {
    color: #ff9a5c;
  }

  .mold-card figcaption span,
  .plant-card figcaption span {
    color: #fff;
    white-space: nowrap;
  }

  .map {
    height: 320px;
  }

  .wa {
    display: none;
  }

  .mbar {
    position: fixed;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: calc(12px + env(safe-area-inset-left, 0px));
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(27, 31, 38, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(140%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .mbar.is-show {
    transform: none;
  }

  .mbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .mbar svg {
    width: 19px;
    height: 19px;
  }

  .mbar-main {
    background: var(--accent);
  }
}

@media (max-width: 700px) and (max-height: 740px) {
  .hero-in {
    gap: 14px;
    padding-top: calc(92px + env(safe-area-inset-top, 0px));
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.6vw, 2.6rem);
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-actions .btn {
    padding: 14px 22px;
  }
}

@media (hover: none) {
  .btn:hover {
    background: var(--accent);
    box-shadow: 0 14px 30px rgba(236, 95, 18, 0.28);
    transform: none;
  }

  .btn:hover svg {
    transform: none;
  }

  .btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .feat:hover,
  .hcard:hover,
  .wa:hover {
    transform: none;
  }

  .hcard:hover {
    box-shadow: 0 16px 36px rgba(27, 31, 38, 0.08);
  }

  .hcard:hover::before {
    opacity: 0;
  }

  .hcard:hover .hcard-icon {
    transform: none;
  }

  .panel-img:hover img {
    transform: none;
  }

  .marquee:hover .marquee-track {
    animation-play-state: running;
  }

  .marquee img:hover {
    filter: grayscale(1);
    opacity: 0.75;
  }
}

@supports (animation-timeline: view()) {
  .js .reveal {
    opacity: 1;
    transform: none;
    animation: reveal-view 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
}

@keyframes reveal-view {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (hover: none) {
    body {
      background-attachment: scroll;
    }

    .grain,
    .hero::after {
      animation: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .hero-rise,
  .w > span {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }
}
