@import url("fonts.css");

:root {
  --bg: #070707;
  --bg-elevated: #111110;
  --bg-subtle: #181816;
  --fg: #f4f1ea;
  --muted: #9a9388;
  --subtle: #6e685f;
  --accent: #c8ccd4;
  --champagne: #c9b896;
  --border: #242422;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  --shadow-h: 0 0 0 1px rgb(255 255 255 / 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--fg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
p {
  text-wrap: pretty;
}
::selection {
  background: color-mix(in oklab, var(--champagne) 40%, transparent);
  color: var(--fg);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .wrap {
    width: min(1280px, calc(100% - 4rem));
  }
}

.kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--champagne);
}
.muted {
  color: var(--muted);
}
.subtle {
  color: var(--subtle);
}

/* Top bar + header */
.topbar {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
}
@media (min-width: 640px) {
  .topbar {
    display: block;
  }
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), backdrop-filter 300ms var(--ease);
}
.header.is-on {
  background: rgb(7 7 7 / 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
@media (min-width: 640px) {
  .header-inner {
    height: 72px;
  }
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  /* Floating look: soft glow so logo sits in the air over dark heroes */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}
.logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent;
}
@media (max-width: 767px) {
  .logo img {
    height: 36px;
    max-width: 150px;
  }
}
footer .logo img {
  height: 32px;
}
footer .logo {
  filter: none;
}
.nav {
  display: none;
  gap: 24px;
}
@media (min-width: 1100px) {
  .nav {
    display: flex;
  }
}
.nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover,
.nav a.is-active {
  color: var(--fg);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}
.menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  background: transparent;
  border: none;
  border-radius: 50%;
  /* Floating circular control with soft glow */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: background 200ms var(--ease), transform 150ms ease;
}
.menu-btn:hover,
.menu-btn:focus-visible {
  background: rgb(255 255 255 / 0.08);
}
.menu-btn:active {
  transform: scale(0.96);
}
@media (min-width: 1100px) {
  .menu-btn {
    display: none;
  }
}
.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  padding: 112px 32px 40px;
  flex-direction: column;
}
.drawer.is-open {
  display: flex;
}
.drawer a {
  font-family: var(--font-display);
  font-size: 36px;
  padding: 8px 0;
}
.drawer p {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 150ms ease-out, background 200ms var(--ease), color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.btn:active {
  transform: scale(0.96);
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: var(--shadow);
}
.btn-ghost:hover {
  box-shadow: var(--shadow-h);
}
.btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .btns {
    flex-direction: row;
  }
}

/* Metallic wordmark */
.metallic {
  background: linear-gradient(
    105deg,
    #7a7a7a 0%,
    #f4f1ea 28%,
    #9a9a9a 48%,
    #ffffff 58%,
    #b8b4aa 78%,
    #d9d4c8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shine {
  position: relative;
  overflow: hidden;
}
.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / 0.18) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shine-sweep 4.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shine-sweep {
  0% {
    transform: translateX(-120%);
  }
  40%,
  100% {
    transform: translateX(120%);
  }
}

/* Grain + cursor */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  border-radius: 999px;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(255 255 255 / 0.7);
  transition: width 200ms var(--ease), height 200ms var(--ease), background 200ms var(--ease);
}
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgb(255 255 255 / 0.08);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 520ms cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.is-leave {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.preloader .word {
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0.28em;
}
.preloader .sub {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}
.bar {
  margin-top: 48px;
  height: 1px;
  width: 160px;
  background: var(--border);
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--champagne);
  width: 0;
  transition: width 80ms linear;
}
.pct {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--subtle);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.hero-line {
  display: inline-block;
  vertical-align: bottom;
}
.hero-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 920px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Ocultar controles nativos del navegador (botón de play) */
  pointer-events: none;
}
.hero-media video::-webkit-media-controls,
.hero-media video::-webkit-media-controls-enclosure,
.hero-media video::-webkit-media-controls-start-playback-button,
.hero-media video::-webkit-media-controls-overlay-play-button,
.hero-media video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* Capa que tapa el botón de play nativo del celular (usa el poster) */
.hero-video-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #070707 url("../images/hero-poster-mobile.jpg") center 35% / cover no-repeat;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hero-video-cover.is-playing {
  opacity: 0;
  pointer-events: none;
}
.hero-video-cover.is-hidden {
  display: none;
}
/* En móvil usamos versión del video ya recortada → centrar */
@media (max-width: 900px) {
  .hero-media video {
    object-position: center 35%;
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, var(--bg) 0%, rgb(7 7 7 / 0.75) 28%, rgb(7 7 7 / 0.25) 55%, rgb(7 7 7 / 0.35) 100%),
    linear-gradient(to right, rgb(7 7 7 / 0.55) 0%, transparent 55%);
}
.hero-copy {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 48px;
}
.hero h1 {
  margin-top: 14px;
  max-width: 18ch;
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
  line-height: 0.98;
}
.hero .italic {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  color: rgb(244 241 234 / 0.9);
}
.hero .lead {
  margin-top: 20px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.hits {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 48rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .hits {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hits li {
  border-left: 1px solid color-mix(in oklab, var(--champagne) 70%, transparent);
  padding-left: 12px;
  font-size: 14px;
}
.hero .btns {
  margin-top: 28px;
}
/* Mobile hero: better framing of the product video */
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
    display: flex;
    flex-direction: column;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 56svh;
    min-height: 300px;
    max-height: 460px;
    flex-shrink: 0;
    transform: none;
  }
  .hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Versión mobile del video ya está recortada → centrar */
    object-position: center 32%;
  }
  .hero-shade {
    inset: 0;
    height: 100%;
    background:
      linear-gradient(to bottom, rgb(7 7 7 / 0.45) 0%, transparent 35%, rgb(7 7 7 / 0.55) 70%, var(--bg) 100%);
  }
  .hero-copy {
    position: relative;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 8px;
    padding-bottom: 36px;
    background: var(--bg);
  }
  .hero h1 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
  }
  .hero .italic {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  }
  .hero .lead {
    font-size: 14px;
    max-width: 100%;
    margin-top: 14px;
  }
  .hits {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .hits li {
    font-size: 13px;
  }
  .hero .btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .hero .btns .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .hero-media video {
    object-position: center 35%;
  }
  .hero-copy {
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 56px;
  }
}

/* Locator mobile tabs */
.locator-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
}
.locator-tabs button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-elevated);
  color: var(--muted);
  box-shadow: var(--shadow);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.locator-tabs button.is-on {
  background: var(--champagne);
  color: #070707;
}
@media (max-width: 959px) {
  .locator-tabs {
    display: flex;
  }
  .locator {
    grid-template-columns: 1fr;
  }
  .locator.is-list .locator-map {
    display: none;
  }
  .locator.is-map .locator-list {
    display: none;
  }
  .locator.is-map .locator-map,
  .locator.is-map #map {
    min-height: 55svh !important;
    height: 55svh !important;
  }
  .locator-list {
    max-height: none;
  }
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track span {
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.section-plain {
  padding: 96px 0;
}
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: 320px;
}
.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), rgb(7 7 7 / 0.55), rgb(7 7 7 / 0.35));
}
.page-hero .wrap {
  position: relative;
  padding: 80px 0 96px;
}
.page-hero h1 {
  margin-top: 16px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
}
.page-hero p.body {
  margin-top: 24px;
  max-width: 40rem;
  color: var(--muted);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.split {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .split-12 {
    grid-template-columns: 5fr 7fr;
  }
  .split-eq {
    grid-template-columns: 1fr 1fr;
  }
}

/* Specs */
.specs {
  border-block: 1px solid var(--border);
}
.spec {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .spec {
    grid-template-columns: 4fr 8fr;
    align-items: baseline;
  }
}
.spec dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subtle);
}
.spec dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

/* Cards */
.grid-3 {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  display: block;
  transition: transform 400ms var(--ease);
}
.card:hover {
  transform: translateY(-4px);
}
.card .media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.card:hover img {
  transform: scale(1.06);
}
.card .pad {
  padding: 24px;
}
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--champagne);
}
.round {
  border-radius: 12px;
}

/* Compare slider */
.compare {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  user-select: none;
  aspect-ratio: 16/9;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare .after {
  clip-path: inset(0 50% 0 0);
}
.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
}
.compare .handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgb(0 0 0 / 0.35);
}
.compare .tag {
  position: absolute;
  bottom: 16px;
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgb(7 7 7 / 0.75);
  color: var(--champagne);
  border-radius: 2px;
  z-index: 2;
}
.compare .tag.r {
  right: 16px;
  color: var(--fg);
}
.compare .tag.l {
  left: 16px;
}

/* Socket explorer */
.search {
  position: relative;
  max-width: 36rem;
  margin-top: 16px;
}
.search input,
.field {
  width: 100%;
  background: var(--bg-elevated);
  border: 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 14px 16px 14px 44px;
  outline: none;
}
.field {
  padding: 14px 16px;
}
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--subtle);
}
.hits-list {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hits-list a,
.fit {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hits-list a:hover {
  background: var(--bg-elevated);
}
@media (min-width: 640px) {
  .hits-list a,
  .fit {
    grid-template-columns: 4fr 3fr 2fr 3fr;
    align-items: center;
  }
  .fit .end,
  .hits-list .end {
    text-align: right;
  }
}
.socket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .socket-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.sock-btn {
  min-height: 56px;
  border-radius: 6px;
  padding: 16px 12px;
  text-align: left;
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.sock-btn.is-on {
  background: var(--fg);
  color: var(--bg);
}
.sock-btn small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--subtle);
}
.sock-btn.is-on small {
  color: rgb(7 7 7 / 0.7);
}
.panel {
  border-radius: 12px;
  background: var(--bg-elevated);
  padding: 24px;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .panel {
    padding: 32px;
  }
}
.panel-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 640px) {
  .panel-hero {
    flex-direction: row;
  }
  .panel-hero img {
    width: 176px;
    height: 192px;
    object-fit: cover;
    border-radius: 8px;
  }
}

.explorer {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .explorer {
    grid-template-columns: 5fr 7fr;
  }
}

/* Pillars */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}
@media (min-width: 640px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}
.pillar {
  background: var(--bg);
  padding: 40px;
}
.pillar .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--champagne);
}

/* Tech overlay */
.overlay-sec {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.overlay-sec .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.overlay-sec .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg), rgb(7 7 7 / 0.85), rgb(7 7 7 / 0.55));
}
.rule {
  border-left: 1px solid color-mix(in oklab, var(--champagne) 60%, transparent);
  padding-left: 20px;
}

/* FAQ */
.faq button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.faq .a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
}
.faq .a > p {
  overflow: hidden;
  margin: 0;
  padding-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}
.faq .item.is-open .a {
  grid-template-rows: 1fr;
}
.faq .item.is-open .a > p {
  padding-bottom: 20px;
}
.faq .item {
  border-bottom: 1px solid var(--border);
}

/* Form */
form {
  display: grid;
  gap: 16px;
}
textarea.field {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.foot {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) {
  .foot {
    grid-template-columns: 5fr 7fr;
  }
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.cols p.label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--subtle);
  margin: 0 0 16px;
}
.cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cols li {
  margin: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.cols a:hover {
  color: var(--fg);
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: var(--shadow);
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.social a:hover {
  color: var(--fg);
  background: rgb(255 255 255 / 0.06);
}
.social a svg {
  display: block;
  width: 20px;
  height: 20px;
}
.copy {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--subtle);
}
@media (min-width: 640px) {
  .copy {
    flex-direction: row;
    justify-content: space-between;
  }
}

.link-line {
  display: inline-flex;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 24px;
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .shine::after,
  .hero-line span,
  .marquee-track,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* ===== Locator (Dónde encontrar) ===== */
.locator {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 960px) {
  .locator {
    grid-template-columns: 380px 1fr;
    align-items: stretch;
    min-height: 520px;
  }
}
.locator-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}
.locator-card {
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow 200ms var(--ease), background 200ms var(--ease);
  border: 1px solid transparent;
}
.locator-card:hover,
.locator-card.is-active {
  box-shadow: var(--shadow-h);
  border-color: color-mix(in oklab, var(--champagne) 35%, transparent);
}
.locator-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--champagne);
}
.locator-card h3 {
  font-size: 1.35rem;
  margin-top: 6px;
}
.locator-card .place {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.locator-card .meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--muted);
}
.locator-card .meta a {
  color: var(--champagne);
}
.locator-card .meta a:hover {
  color: var(--fg);
}
.locator-card .hours {
  margin-top: 10px;
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.5;
}
.locator-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  height: 420px;
  background: var(--bg-subtle);
  position: relative;
}
.locator-map #map {
  width: 100%;
  height: 100%;
  min-height: 420px;
}
@media (min-width: 960px) {
  .locator {
    min-height: 560px;
  }
  .locator-map {
    min-height: 560px;
    height: 560px;
  }
  .locator-map #map {
    min-height: 560px;
    height: 100%;
  }
}
/* Leaflet dark tweak */
.leaflet-container {
  background: #1a1a18;
  font-family: var(--font-sans);
}
.leaflet-popup-content-wrapper {
  background: var(--bg-elevated);
  color: var(--fg);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.45);
  border: 1px solid var(--border);
}
.leaflet-popup-content {
  margin: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
}
.leaflet-popup-content strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.leaflet-popup-tip {
  background: var(--bg-elevated);
}
.leaflet-popup-close-button {
  color: var(--muted) !important;
}
.lx-marker {
  background: var(--champagne);
  color: #070707;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.4);
  border: 2px solid #f4f1ea;
}
.locator-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.locator-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--fg);
  transition: background 180ms var(--ease);
}
.locator-actions a:hover {
  background: color-mix(in oklab, var(--champagne) 25%, var(--bg-subtle));
}
.locator-count {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 8px;
}

/* ===== Distributor form ===== */
.form-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
}
.form-group .req {
  color: var(--champagne);
}
.form-group select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9388' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-check {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 4px;
}
.form-check label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--champagne);
}
.form-section-title {
  margin: 28px 0 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.form-section-title:first-child {
  margin-top: 0;
}
.form-hint {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 4px;
}


/* LED product images in socket panel */
.panel-hero img {
  background: #0c0c0b;
  object-fit: contain;
  padding: 8px;
}
@media (min-width: 640px) {
  .panel-hero img {
    width: 200px;
    height: 220px;
  }
}


.credit-line a {
  color: var(--champagne);
  border-bottom: 1px solid color-mix(in oklab, var(--champagne) 45%, transparent);
}
.credit-line a:hover {
  color: var(--fg);
}
