:root {
  --ink: #0f1720;
  --ink-2: #3b4652;
  --muted: #6b7682;
  --paper: #ffffff;
  --paper-2: #f3f5f7;
  --line: #e2e6ea;
  --red: #d7262f;
  --red-dark: #b01d25;
  --blue: #2f4f8f;
  --night: #0b1118;
  --night-2: #141c26;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; }

/* Botones */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--red); transition: background .15s, color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-sm { padding: .45em 1.1em; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--red); }
.nav-links a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Portada */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; padding: 120px 0 40px; min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: space-between; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Oscurece solo detrás del texto y deja ver el resto del video */
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 58% 62% at 25% 42%, rgba(8,12,18,.8) 0%, rgba(8,12,18,.72) 55%, rgba(8,12,18,0) 100%) rgba(8,12,18,.1); }
.hero .wrap { position: relative; }
.hero .eyebrow { color: #ff8f94; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: #d6dce2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 72px 0 0; background: rgba(255,255,255,.15); border-radius: var(--radius); overflow: hidden; }
.stats div { background: rgba(11,17,24,.75); padding: 20px 22px; }
.stats dt { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.stats dd { margin: 0; color: #aeb7c0; font-size: .9rem; }

/* Logos */
.logos { border-bottom: 1px solid var(--line); padding: 34px 0; }
.logos-inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 30px 60px; }
.logo-group p { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.logo-row { display: flex; align-items: center; gap: 40px; }
.logo-row img { object-fit: contain; }

/* Secciones */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: #e8edf2; }
.section-dark .eyebrow { color: #ff6b72; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p:last-child { font-size: 1.1rem; color: var(--ink-2); }
.section-dark .section-head p:last-child { color: #aeb7c0; }
.drop-logo { width: 140px; height: auto; margin-bottom: 22px; }

.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.lineup-card { display: block; text-decoration: none; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.lineup-card:hover { transform: translateY(-3px); border-color: var(--red); }
.lineup-card p { color: var(--ink-2); }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue); background: #e6ecf7; padding: .25em .75em; border-radius: 999px; }

/* Soluciones */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.case-n { font-family: var(--display); font-weight: 700; color: var(--red); font-size: .9rem; }
.case h3 { margin: 6px 0 4px; }
.case-for { display: block; margin-bottom: 1em; font-size: .85rem; font-weight: 600; color: var(--blue); }
.case .fold > p { font-size: .93rem; color: var(--ink-2); }
.case ul { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.case li { position: relative; font-size: .88rem; color: var(--ink-2); padding: 3px 0 3px 16px; }
.case li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 1px; background: var(--red); }
.common { margin-top: 40px; background: var(--night); color: #e8edf2; border-radius: var(--radius); padding: 30px 32px; }
.common h3 { color: #fff; margin-bottom: 16px; }
.common ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.common li { font-size: .92rem; color: #aeb7c0; }
.common strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }

/* Plegables: abiertos en escritorio, se pliegan en celular */
.fold > summary { list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold-specs > summary { display: none; }

/* Producto: imagen + texto */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.split > * { min-width: 0; }
.split-rev .split-media { order: 2; }
.split-media { display: grid; gap: 16px; position: sticky; top: 96px; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split-media.single img { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: 680px; margin: 0 auto; object-fit: contain; }
.split-media figure { margin: 0; }
.split-media figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.split-text > p { color: var(--ink-2); }

.specs { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.specs thead th { font-family: var(--display); font-size: 1rem; border-bottom: 2px solid var(--ink); }
.specs tbody th { font-weight: 500; color: var(--muted); }

.features { list-style: none; padding: 0; margin: 0 0 28px; }
.features li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-2); }
.features li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 2px; background: var(--red); }

.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.module { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.module h3 { font-size: 1rem; color: var(--muted); font-family: var(--font); font-weight: 600; }
.module .big { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: .3em; }
.module .big small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.module p { margin-bottom: .4em; }
.module .muted { font-size: .88rem; margin: .6em 0 0; }

/* Drop Hub */
.hub-shot { width: 100%; max-width: 900px; margin: 0 auto 60px; border-radius: var(--radius); }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hub-grid h3 { color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 10px; }
.hub-grid ul { list-style: none; padding: 0; margin: 0; }
.hub-grid li { padding: 6px 0; color: #aeb7c0; font-size: .95rem; }

/* Equipo */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }

/* Descargas */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download { display: flex; align-items: center; gap: 18px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s; }
.download:hover { border-color: var(--red); }
.file { flex: none; display: grid; place-items: center; width: 52px; height: 62px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; }

/* Contacto */
.cta { background: var(--red); color: #fff; padding: 90px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta p { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; }

.footer { background: var(--night); color: #cfd6dd; padding: 26px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-inner span:first-child { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; }

/* Responsivo */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-rev .split-media { order: 0; }
  .split-media { position: static; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .common ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--red); }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 72px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,12,18,.75) 0%, rgba(8,12,18,.68) 58%, rgba(8,12,18,0) 72%) rgba(8,12,18,.15); }
  .stats { margin-top: 48px; }
  .stats dt { font-size: 1.25rem; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .lineup { gap: 10px; margin-bottom: 24px; }
  .lineup-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
  .lineup-card h3 { margin: 0; font-size: 1rem; }
  .lineup-card p { display: none; }
  .tag { flex: none; }
  .fold > summary { position: relative; padding-right: 32px; cursor: pointer; }
  .fold > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--red); }
  .fold[open] > summary::after { content: "−"; }
  .cases { gap: 10px; }
  .case { padding: 16px 18px; }
  .case h3 { margin-bottom: 2px; }
  .case-for { margin-bottom: 0; }
  .case .fold[open] > summary { margin-bottom: 10px; }
  .common { margin-top: 20px; }
  .common > summary h3 { margin: 0; }
  .common[open] > summary { margin-bottom: 16px; }
  .common > summary::after, .hub-grid .fold > summary::after { color: #ff6b72; }
  .split { gap: 24px; }
  .split-media:not(.single) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .split-media:not(.single) img { aspect-ratio: 4 / 3; }
  .split-media.single img { max-height: 360px; }
  .split-text > .btn { display: none; }
  .fold-specs > summary { display: block; font-weight: 600; padding: 12px 32px 12px 0; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fold-specs .specs { margin-top: 12px; }
  .modules { gap: 10px; }
  .module { padding: 14px; }
  .module .big { font-size: 2rem; }
  .hub-shot { margin-bottom: 28px; }
  .hub-grid { gap: 0; }
  .hub-grid h3 { margin: 0; padding: 14px 0; }
  .hub-grid ul { padding: 8px 0 6px; }
  .lineup, .downloads, .hub-grid, .cases, .common ul { grid-template-columns: 1fr; }
  .common { padding: 18px 20px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; }
  .gallery img { aspect-ratio: 16 / 10; }
  .logo-row { gap: 24px; }
  .specs { font-size: .85rem; }
  .specs th, .specs td { padding: 8px 6px; }
  .stats div { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: var(--night) url("media/drop-one-poster.jpg") center / cover; }
}
