/* =============================================================
   tala.css — Brand TALA extensions
   Cinema hero · Logo · Historia · Aliados · Blog
   Depends on: styles.css
   ============================================================= */

/* ══════════════════════════════════════════
   LOGO — nav & footer
══════════════════════════════════════════ */
.nav-logo-img {
  width: 42px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}

.loading-logo-img {
  width: 72px;
  height: 72px;
}

.footer-logo-img {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 1rem;
}

/* Historia section — bigger */
.historia-logo {
  display: block;
}

/* ══════════════════════════════════════════
   CINEMA HERO — full viewport, video only
══════════════════════════════════════════ */
.hero--cinema {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Remove blobs/grid from cinema hero */
.hero--cinema .blobs,
.hero--cinema .hero-grid { display: none; }

/* Cinema overlay — subtle vignette only, no text to support */
.hero--cinema .hero-video-overlay {
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(0,0,0,0.28) 100%
    );
}

.hero-video {
  filter: brightness(1.18) contrast(1.05);
}

/* ══════════════════════════════════════════
   NAV — cinema transparent state
══════════════════════════════════════════ */

/* When cinema hero is active and nav not scrolled yet */
.has-cinema-hero .nav:not(.scrolled) .nav-inner {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.has-cinema-hero .nav:not(.scrolled) .nav-links {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.has-cinema-hero .nav:not(.scrolled) .btn-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* When scrolled past hero — animate in */
.has-cinema-hero .nav.scrolled .nav-links,
.has-cinema-hero .nav.scrolled .btn-nav {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

/* Logo always visible */
.has-cinema-hero .nav .nav-logo {
  opacity: 1 !important;
}

/* Logo-text hidden in cinema mode (keep it minimal) */
.has-cinema-hero .nav:not(.scrolled) .nav-logo-text {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ══════════════════════════════════════════
   NUESTRA HISTORIA
══════════════════════════════════════════ */
.section-historia {
  padding: 0 0 5rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Título Construcción pegado arriba de Historia */
.historia-construccion-header {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.construccion-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.construccion-title-text {
  flex: 1;
  min-width: 260px;
}

/* ══════════════════════════════════════════
   MINI EXCAVADORA ANIMADA
══════════════════════════════════════════ */
.mini-excavadora {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.exc-svg {
  width: clamp(150px, 20vw, 200px);
  height: auto;
  animation: excFloat 4s ease-in-out infinite;
}

/* Flotación general */
@keyframes excFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Ruedas girando */
.exc-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 1.4s linear infinite;
}

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Rayos de rueda — giran igual */
.exc-spoke {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 1.4s linear infinite;
}

/* Zapatas / tracks desplazándose */
.exc-track {
  animation: trackMove 0.8s linear infinite;
}

@keyframes trackMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(2px); }
}

/* Brazo oscilando suavemente */
.exc-arm {
  transform-box: fill-box;
  transform-origin: 118px 8px;
  animation: armSwing 3s ease-in-out infinite;
}

@keyframes armSwing {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(8deg); }
  70%       { transform: rotate(-4deg); }
}

/* Cucharón oscilando con el brazo */
.exc-bucket {
  transform-box: fill-box;
  transform-origin: 118px 8px;
  animation: armSwing 3s ease-in-out infinite;
}

/* Label debajo */
.mini-exc-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,176,0,0.6);
}


.historia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left visual column */
.historia-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.historia-logo-wrap {
  position: relative;
}

.historia-logo {
  width: clamp(200px, 38vw, 340px);
  height: auto;
  opacity: 0.95;
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ══════════════════════════════════════════
   COIN 3D — logo interactivo metálico
   Estructura: .coin-wrap > .coin-outer > .coin-inner > img + .coin-sheen
══════════════════════════════════════════ */

/* Perspectiva del contenedor */
.coin-wrap {
  perspective: 750px;
  perspective-origin: 50% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
  position: relative; /* needed for ground + hint absolute children */
}

/* Elemento exterior: gestiona la animación idle Y el spin al hacer clic  */
.coin-outer {
  position: relative;
  transform-style: preserve-3d;
  animation: coinFloat 9s ease-in-out infinite;
  will-change: transform;
  /*
   * drop-shadow en cadena → sigue la forma del PNG (respeta transparencia)
   * Las tres primeras capas con blur=0 crean el grosor de la moneda
   * La cuarta y quinta son la sombra ambiental de profundidad
   */
  filter:
    drop-shadow( 2px  3px  0px  rgba(155, 90,  0,  0.95))
    drop-shadow( 3px  6px  0px  rgba( 95, 52,  0,  0.78))
    drop-shadow( 5px 10px  0px  rgba( 55, 28,  0,  0.55))
    drop-shadow( 0   28px 55px  rgba(  0,  0,  0,  0.90))
    drop-shadow( 0   12px 22px  rgba(  0,  0,  0,  0.65));
}

/* Spin de 360° al hacer clic */
.coin-outer.coin--spinning {
  animation: coinSpinFull 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Elemento interior: recibe el tilt del ratón via JS (transform inline) */
.coin-inner {
  position: relative;
  width: clamp(200px, 38vw, 300px);
  height: clamp(200px, 38vw, 300px);
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Imagen del logo */
.coin-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: brightness(1.08) contrast(1.1) saturate(1.18);
}

/*
 * Brillo especular que sigue el cursor (JS actualiza --sx y --sy)
 * Simula el reflejo de una pieza metálica mecanizada
 */
.coin-sheen {
  position: absolute;
  inset: -4%;
  background: radial-gradient(
    ellipse 62% 50% at var(--sx, 35%) var(--sy, 28%),
    rgba(255, 238, 168, 0.26) 0%,
    rgba(255, 200,  80, 0.08) 38%,
    transparent               68%
  );
  pointer-events: none;
  z-index: 10;
  border-radius: 50%;
}

/*
 * Textura anisótropa del aro exterior: gradiente cónico simula
 * el acabado mecanizado circular de los engranajes de acero.
 * mix-blend-mode: screen suma luz sobre superficies oscuras.
 */
.coin-metal {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from   0deg,  transparent               0deg,
    rgba(255,255,255,0.055)                40deg,
    transparent                            80deg,
    rgba(255,255,255,0.028)               125deg,
    transparent                           165deg,
    rgba(255,255,255,0.068)               208deg,
    transparent                           250deg,
    rgba(255,255,255,0.032)               295deg,
    transparent                           335deg,
    transparent                           360deg
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
}

/*
 * Capa de iluminación direccional desde arriba-derecha.
 * Réplica en CSS de la fuente de luz del filtro SVG, para dar calidez
 * adicional al disco dorado interior (que el especular recorta al PNG).
 */
.coin-light {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 62% 50% at 74% 16%,
    rgba(255, 250, 200, 0.18)   0%,
    rgba(255, 222, 110, 0.07)  38%,
    transparent                66%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 8;
}

/*
 * Reflejo ambarino del suelo — proyección de luz debajo de la moneda.
 * Posicionado absolutamente respecto a .coin-wrap (position:relative).
 */
.coin-ground {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 16px;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(255, 176,   0, 0.32)  0%,
    rgba(255, 135,   0, 0.11) 52%,
    transparent               100%
  );
  border-radius: 50%;
  filter: blur(7px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}

/* Texto indicativo que desaparece al pasar el cursor */
.coin-hint {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 176, 0, 0.36);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.45s ease;
}
.coin-wrap:hover .coin-hint,
.coin-wrap:focus-visible .coin-hint {
  opacity: 0;
}

/* Flotación idle — movimiento muy sutil, industrial y sereno */
@keyframes coinFloat {
  0%   { transform: rotateX( 4deg) rotateY( 5deg) translateY(  0px); }
  20%  { transform: rotateX(-1deg) rotateY( 8deg) translateY( -6px); }
  40%  { transform: rotateX(-3deg) rotateY(-4deg) translateY(-11px); }
  65%  { transform: rotateX( 3deg) rotateY(-7deg) translateY( -5px); }
  82%  { transform: rotateX( 5deg) rotateY( 2deg) translateY( -2px); }
  100% { transform: rotateX( 4deg) rotateY( 5deg) translateY(  0px); }
}

/* Giro completo al clic */
@keyframes coinSpinFull {
  0%   { transform: rotateY(  0deg); }
  100% { transform: rotateY(360deg); }
}

/* Accesibilidad: foco de teclado */
.coin-wrap:focus-visible .coin-inner {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 50%;
}

.historia-year-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 340px;
}

.historia-year-num {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.historia-year-num em {
  font-style: normal;
}

.historia-year-lbl {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Right text column */
.historia-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
}

.historia-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.historia-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.historia-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Timeline milestones */
.historia-milestones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.milestone-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.38em;
}

/* Desktop layout */
@media (min-width: 800px) {
  .historia-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
  }
}

/* ══════════════════════════════════════════
   HAN CONFIADO EN NOSOTROS — ALIADOS
══════════════════════════════════════════ */
.section-aliados {
  padding: 5rem 0;
  background: transparent;
}

.aliados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.aliado-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.05);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  overflow: hidden;
}

/* Hover accent — 1px brand line top */
.aliado-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.aliado-card:hover {
  border-color: rgba(255,176,0,0.3);
  background: #181818;
  transform: translateY(-3px);
}

.aliado-card:hover::before { opacity: 1; }

/* Monogram abbreviation replaces emoji */
.aliado-mono {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(255,176,0,0.08);
  border: 1px solid rgba(255,176,0,0.2);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.aliado-name {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.aliado-desc {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (min-width: 720px) {
  .aliados-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════
   BLOG / NUESTRAS OBRAS
══════════════════════════════════════════ */
.section-blog {
  padding: 5rem 0;
  background: transparent;
}

/* ── Filter buttons ── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.blog-filter {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  backdrop-filter: blur(10px);
}

.blog-filter:hover,
.blog-filter.active {
  background: rgba(255,176,0,0.12);
  border-color: rgba(255,176,0,0.45);
  color: var(--accent);
}

/* ── Blog card grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Hidden state for filter */
.blog-card.is-hidden {
  display: none;
}

.blog-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,176,0,0.3);
}

/* ── Card image placeholder ── */
.blog-card-img {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-img--vias {
  background: linear-gradient(135deg, #1a1200 0%, #2d1f00 40%, #0f0b00 100%);
}

.blog-card-img--riesgo {
  background: linear-gradient(135deg, #1a0800 0%, #2d1200 40%, #0f0600 100%);
}

.blog-card-img--infra {
  background: linear-gradient(135deg, #001a0d 0%, #002d1a 40%, #000f08 100%);
}


/* Category label replaces emoji in card image */
.blog-card-img-cat {
  position: relative;
  z-index: 1;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,176,0,0.55);
  border-bottom: 1px solid rgba(255,176,0,0.25);
  padding-bottom: 0.35rem;
}

/* ── Card body ── */
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255,176,0,0.12);
  border: 1px solid rgba(255,176,0,0.25);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  width: fit-content;
}

.blog-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: gap 0.2s;
}

.blog-card-cta:hover { gap: 0.5rem; color: var(--accent-2); }

/* ── Responsive: 2 cols tablet, 2 cols desktop ── */
@media (min-width: 620px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .blog-card-img { height: 240px; }
}

/* ══════════════════════════════════════════
   ABOUT CARD — industrial mark replaces emoji
══════════════════════════════════════════ */
.about-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid rgba(255,176,0,0.3);
  border-radius: 3px;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.875rem;
  background: rgba(255,176,0,0.06);
  width: fit-content;
}

/* ══════════════════════════════════════════
   CTA INFO — label prefix replaces emoji
══════════════════════════════════════════ */
.cta-info-lbl {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.4rem;
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   HERO — enhanced industrial overlay
══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   OBRA CARD — remove icon space
══════════════════════════════════════════ */
.obra-icon { display: none; }

/* ══════════════════════════════════════════
   FLEET SHOWCASE — excavadoras banner
══════════════════════════════════════════ */
.section-fleet-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.fleet-img-wrap {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 320px;
  max-height: 600px;
  overflow: hidden;
}

.fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.section-fleet-showcase:hover .fleet-img {
  transform: scale(1.03);
}

/* Four-edge vignette */
.fleet-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 30%, transparent 65%, rgba(0,0,0,0.8) 100%),
    linear-gradient(to right,  rgba(0,0,0,0.35) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* Stat strip pinned to bottom of image */
.fleet-overlay-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding-bottom: 2rem;
}

.fleet-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 2.5rem;
}

.fleet-stat-val {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.fleet-stat-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.fleet-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,176,0,0.3);
  flex-shrink: 0;
  align-self: center;
}

/* ══════════════════════════════════════════
   NOSOTROS — montacargas image column
══════════════════════════════════════════ */
.about-img-premium {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.about-img-premium:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transform: translateY(-3px);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* Tag badge bottom-left of image */
.about-img-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-img-tag-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.about-img-tag-spec {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

/* 2-column cards row below image */
.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.about-cards-row .about-card {
  margin-left: 0 !important; /* reset --offset on mobile */
}

/* ══════════════════════════════════════════
   FIELD EDITORIAL — obra-excavadora 2-col
══════════════════════════════════════════ */
.section-field-editorial {
  background: transparent;
  overflow: hidden;
}

.field-editorial-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}

.field-img-col {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.field-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.field-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.field-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(0,0,0,0.7) 100%
  );
  pointer-events: none;
}

.field-text-col {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: transparent;
}

.field-title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.field-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.field-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 46ch;
}

/* Ventajas comparativas */
.field-advantages {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 0.25rem;
}

.field-adv-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.2s;
}
.field-adv-item:hover {
  background: rgba(255,176,0,0.03);
}

.field-adv-num {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(255,176,0,0.1);
  border: 1px solid rgba(255,176,0,0.25);
  border-radius: 4px;
  padding: 0.18rem 0.42rem;
  margin-top: 0.15rem;
}

.field-adv-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.field-adv-info strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.field-adv-info span {
  font-size: 0.775rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.field-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.field-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.field-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Desktop: 2 columns equal */
@media (min-width: 900px) {
  .field-editorial-inner {
    grid-template-columns: 1fr 1fr;
  }
  .field-img-col {
    min-height: 520px;
  }
  .field-img-overlay {
    background: linear-gradient(
      to right,
      transparent 40%,
      rgba(0,0,0,0.75) 100%
    );
  }
}

/* ══════════════════════════════════════════
   VÍA SHOWCASE — infrastructure panoramic
══════════════════════════════════════════ */
.section-via-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding-top: 0;
}

/* Header ALIADOS pegado arriba de la imagen */
.via-aliados-header {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2rem);
  max-width: 860px;
}

.via-aliados-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary, #fff);
  margin: 0.4rem 0 0.75rem;
}

.via-aliados-title em {
  font-style: normal;
  color: var(--accent, #FFB000);
}

.via-aliados-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted, rgba(255,255,255,0.55));
  line-height: 1.65;
  max-width: 620px;
  margin: 0;
}

.via-img-wrap {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  max-height: 680px;
  overflow: hidden;
}

.via-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.section-via-showcase:hover .via-img {
  transform: scale(1.03);
}

/* Dark overlay — stronger at top for text legibility */
.via-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.3) 40%,
      rgba(0,0,0,0.5) 100%
    );
  pointer-events: none;
}

.via-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
}

.via-tag {
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--accent);
  opacity: 0.85;
}

.via-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  filter: drop-shadow(0 2px 24px rgba(0,0,0,0.6));
}

.via-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.via-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s, opacity 0.2s;
  width: fit-content;
}

.via-cta:hover {
  gap: 0.625rem;
  opacity: 0.85;
}

/* ══════════════════════════════════════════
   LX-210 DETALLE — galería + piezas
══════════════════════════════════════════ */
.section-lx210-detail {
  background: transparent;
  padding: 5rem 0;
}

.lx210-det-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* ── Galería ─────────────────────────── */
.lx210-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .lx210-gallery { grid-template-columns: 1.65fr 1fr; }
  .lx210-gallery-left { min-height: 0; }
}

.lx210-gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}
.lx210-gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lx210-gallery-main:hover .lx210-gallery-img { transform: scale(1.04); }

.lx210-gallery-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,176,0,0.35);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px;
}

.lx210-gallery-col {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.875rem;
}

.lx210-gallery-slot { min-height: 90px; }

.lx210-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e1e1e 0%, #080808 100%);
  border: 1px dashed rgba(255,176,0,0.2);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.375rem; cursor: default;
  transition: border-color 0.3s, background 0.3s;
}
.lx210-img-placeholder:hover {
  border-color: rgba(255,176,0,0.45);
  background: linear-gradient(135deg, #ede8e2, #f2f3f6);
}
.lx210-ph-code {
  font-size: 0.6rem; font-weight: 900;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,176,0,0.5);
}
.lx210-ph-label {
  font-size: 0.68rem; color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ── Descripción + piezas grid ───────── */
.lx210-desc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .lx210-desc-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}

.lx210-section-heading {
  font-size: 1.125rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.lx210-desc-text p {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 1.25rem;
}

.lx210-list-title {
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem; margin-top: 1.5rem;
}

.lx210-feature-list,
.lx210-app-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.lx210-feature-list li,
.lx210-app-list li {
  font-size: 0.875rem; color: var(--text-muted);
  padding-left: 1.125rem; position: relative;
  line-height: 1.55;
}
.lx210-feature-list li::before,
.lx210-app-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.5rem;
  width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
}

/* ── Parts list ──────────────────────── */
.lx210-parts-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.lx210-parts-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.2s;
}
.lx210-parts-list li:last-child { border-bottom: none; }
.lx210-parts-list li:hover { background: rgba(255,176,0,0.02); }

.lx210-part-num {
  flex-shrink: 0;
  font-size: 0.6rem; font-weight: 900;
  letter-spacing: 0.08em; color: var(--accent);
  background: rgba(255,176,0,0.08);
  border: 1px solid rgba(255,176,0,0.2);
  border-radius: 4px; padding: 0.2rem 0.45rem;
  margin-top: 0.1rem;
}
.lx210-part-info {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.lx210-part-info strong {
  font-size: 0.875rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
.lx210-part-info span {
  font-size: 0.78rem; color: var(--text-dim); line-height: 1.5;
}

/* ── Bottom CTA ──────────────────────── */
.lx210-bottom-cta {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 2rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.lx210-bottom-cta p {
  font-size: 0.9375rem; color: var(--text-muted);
  max-width: 500px; line-height: 1.7;
}

/* ══════════════════════════════════════════
   EQUIPOS ZONE HEADER
══════════════════════════════════════════ */
.equipos-zone-header {
  text-align: center;
  max-width: 680px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
}

/* ══════════════════════════════════════════
   EQUIPOS SPEC STRIP — datos técnicos LX-210
══════════════════════════════════════════ */
.equipos-tech-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 1.75rem 1.5rem;
  background: #111111;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}

/* All the old etz-* decorative sub-elements — hidden */
.etz-grid, .etz-glow, .etz-silhouette, .etz-corner,
.etz-label, .etz-particles, .etz-scan, .etz-fade { display: none; }

/* HUD row repurposed as clean spec strip */
.etz-hud {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

.etz-hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.etz-hud-item:last-child { border-right: none; }

.etz-hud-val {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.etz-hud-lbl {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════
   INDUSTRIAL ATMOSPHERE — eliminado
══════════════════════════════════════════ */
.industrial-atmos { display: none; }

/* ── Section edge fades — removed for seamless continuous scroll ── */

/* ── Fleet showcase & via: extend image fade up/down (seamless blend) ── */
.section-fleet-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, #080808, transparent);
  z-index: 2; pointer-events: none;
}
.section-fleet-showcase::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, #080808, transparent);
  z-index: 2; pointer-events: none;
}
.section-via-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, #080808, transparent);
  z-index: 2; pointer-events: none;
}
.section-via-showcase::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, #080808, transparent);
  z-index: 2; pointer-events: none;
}

/* ══════════════════════════════════════════
   HERO CONTENT OVERLAY
══════════════════════════════════════════ */
.hero-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 860px;
  padding: 0 2rem;
  text-align: center;
  z-index: 3;
  pointer-events: auto;
}

.hero-eyebrow {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.875rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

.hero-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.7rem, 1.4vw, 0.875rem);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: block;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Make overlay stronger at bottom for text readability */
.hero--cinema .hero-video-overlay {
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.01) 30%,
      rgba(0,0,0,0.50) 75%,
      rgba(0,0,0,0.68) 100%
    );
}

/* Scroll indicator */
.hero-scroll-ind {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  transition: opacity 0.5s;
  pointer-events: none;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
}

.hero-scroll-chevron {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1;
}

/* ══════════════════════════════════════════
   MISIÓN · VISIÓN · VALORES
══════════════════════════════════════════ */
.section-mvv {
  padding: 5rem 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}


.section-mvv .container { position: relative; z-index: 1; }

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
}

.mvv-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 3px solid rgba(255,176,0,0.25);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv-card:nth-child(1) { border-top-color: var(--accent); }
.mvv-card:nth-child(2) { border-top-color: rgba(255,176,0,0.55); }
.mvv-card:nth-child(3) { border-top-color: rgba(255,176,0,0.3); }

.mvv-card:hover {
  border-color: rgba(255,176,0,0.3);
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.mvv-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,176,0,0.1);
  border: 1px solid rgba(255,176,0,0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.mvv-icon {
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}

.mvv-heading {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.875rem;
}

.mvv-body {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.875rem;
}

.mvv-values-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.mvv-values-list li {
  display: flex; gap: 0.625rem; align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mvv-values-list li strong { color: var(--text); }

.mvv-bullet {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
.contacto-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contacto-grid { grid-template-columns: 1.35fr 1fr; gap: 3rem; }
}

.contacto-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contacto-form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 0.625rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,176,0,0.04);
}

.form-group select {
  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 d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: #111111; color: var(--text); }

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-submit-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 0.25rem;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 0.625rem;
  padding: 0.875rem 1rem;
  color: #86efac;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

/* Contact info side */
.contacto-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cta-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  line-height: 1;
}

.cta-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cta-info-val {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cta-info-link {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}
.cta-info-link:hover { color: var(--accent); }

.contacto-direct-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contacto-direct-links .btn-primary,
.contacto-direct-links .btn-ghost {
  text-align: center;
  display: block;
  width: 100%;
}

/* ══════════════════════════════════════════
   FOOTER — Social media
══════════════════════════════════════════ */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,176,0,0.08);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 15px; height: 15px;
  fill: currentColor;
}

/* ══════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 9998;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 4px 20px rgba(37,211,102,0.4),
    0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow:
    0 8px 32px rgba(37,211,102,0.55),
    0 4px 12px rgba(0,0,0,0.35);
}

.wa-float svg {
  width: 28px; height: 28px;
  fill: var(--text);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ══════════════════════════════════════════
   LX-210 EXPLODED VIEW — SECTION
══════════════════════════════════════════ */
/*
 * .lxe-scene — outer wrapper that provides 280 vh of scroll space.
 * The machine stays visible the whole time thanks to the sticky section.
 */
.lxe-scene {
  height: 280vh;
}

/*
 * Sticky section: pins itself at top:0 for the full scroll-scene height.
 * Flex-column fills the viewport so header + canvas + specstrip all fit.
 */
.section-lxe {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #060606;
  padding: clamp(1.5rem, 3vh, 3rem) 0 clamp(1rem, 2vh, 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Background layers — hidden ── */
.lxe-bg,
.lxe-bg-grid,
.lxe-bg-blueprint,
.lxe-bg-hlines,
.lxe-bg-coords,
.lxe-coord,
.lxe-coord-val,
.lxe-corner,
.lxe-scanline { display: none; }

/* ── Container: flex column fills entire sticky section ── */
.lxe-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* ── Header: fixed height, does not grow ── */
.lxe-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(0.75rem, 1.8vh, 1.75rem);
  flex-shrink: 0;
}

.lxe-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lxe-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lxe-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Canvas: flex-grows to fill remaining space in viewport ── */
.lxe-canvas {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
}

/* ── SVG: fills the canvas height exactly ── */
.lxe-svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

/* ── SVG Components ── */
/*
 * NO transform transition — the scroll-driven JS engine writes
 * transforms directly every rAF frame for exact scroll-sync.
 * opacity transition kept so hover glow feels smooth.
 */
.lxe-part {
  transition: opacity 0.25s ease;
  transform-origin: 0 0;
  cursor: pointer;
}

/* Suppress the idle floating animations in scroll-driven mode */
.lxe-scene .lxe-canvas .lxe-part { animation: none !important; }

.lxe-part:hover > * {
  filter: brightness(1.4);
}

/* Floating animation (subtle, different per component) */
.lxe-canvas.is-exploded .lxe-part:nth-child(2) { animation: lxeFloat1 5s ease-in-out infinite; }
.lxe-canvas.is-exploded .lxe-part:nth-child(3) { animation: lxeFloat2 6s ease-in-out infinite 0.5s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(4) { animation: lxeFloat1 7s ease-in-out infinite 1s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(5) { animation: lxeFloat2 5.5s ease-in-out infinite 0.3s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(6) { animation: lxeFloat1 6.5s ease-in-out infinite 0.8s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(7) { animation: lxeFloat2 4.5s ease-in-out infinite 1.2s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(8) { animation: lxeFloat1 5.8s ease-in-out infinite 0.2s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(9) { animation: lxeFloat2 6.2s ease-in-out infinite 0.7s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(10) { animation: lxeFloat1 5.2s ease-in-out infinite 1.5s; }
.lxe-canvas.is-exploded .lxe-part:nth-child(11) { animation: lxeFloat2 7.5s ease-in-out infinite 0.4s; }

@keyframes lxeFloat1 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@keyframes lxeFloat2 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 4px; }
}

/* Connection lines */
.lxe-connlines {
  transition: opacity 0.8s ease 0.5s;
}
.lxe-canvas.is-exploded .lxe-connlines { opacity: 1 !important; }

.lxe-cl {
  stroke: rgba(255,176,0,0.2);
  stroke-width: 1;
  stroke-dasharray: 5,4;
}
.lxe-cl--b {
  stroke: rgba(255,255,255,0.12);
}

/* ── HTML Label Overlays ── */
.lxe-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lxe-lbl {
  position: absolute;
  left: var(--lx);
  top: var(--ly);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.5s ease;
  transform: translateY(4px);
}

.lxe-canvas.is-exploded .lxe-lbl {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s;
}

.lxe-lbl--l {
  flex-direction: row-reverse;
}

.lxe-lbl-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lxe-lbl-line {
  flex-shrink: 0;
  width: 28px; height: 1px;
  background: rgba(255,176,0,0.45);
}

.lxe-lbl-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0,0,0,0.70);
  border: 1px solid rgba(255,176,0,0.25);
  border-radius: 4px;
  padding: 5px 8px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.lxe-lbl-box strong {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.lxe-lbl-box span {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.55);
  font-family: monospace;
  letter-spacing: 0.04em;
}

/* ── Toggle Button ── */
.lxe-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,176,0,0.3);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.lxe-toggle:hover {
  border-color: var(--accent);
  background: rgba(255,176,0,0.1);
  transform: scale(1.04);
}
.lxe-toggle-icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.4s;
}
.lxe-canvas.is-exploded .lxe-toggle-icon { transform: rotate(45deg); }

/* ── Status Bar ── */
.lxe-statusbar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(0,0,0,0.65);
  border-top: 1px solid rgba(255,176,0,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  font-family: monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}

.lxe-sb-sep {
  color: rgba(255,176,0,0.2);
}

.lxe-sb-live {
  color: var(--accent);
  font-weight: 700;
}

/* ── Spec Strip: compact in sticky viewport ── */
.lxe-specstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  flex-shrink: 0;
  margin-top: clamp(0.4rem, 1vh, 1rem);
  padding: clamp(0.6rem, 1.2vh, 1.25rem) 1.5rem;
  background: rgba(255,176,0,0.04);
  border: 1px solid rgba(255,176,0,0.1);
  border-radius: var(--radius);
}

.lxe-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 2rem;
}

.lxe-spec-val {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.lxe-spec-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28,28,30,0.5);
}

.lxe-spec-div {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,176,0,0.2);
  flex-shrink: 0;
}

/* Mobile tweaks */
@media (max-width: 540px) {
  .lxe-lbl { display: none; }
  .lxe-spec-item { padding: 0.5rem 1rem; }
  .lxe-spec-div { display: none; }
  .lxe-specstrip { gap: 0.5rem; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-ind,
  .hero-scroll-indicator { animation: none; }
  .scroll-wheel { animation: none; }
  .historia-logo { animation: none; }
  .wa-float::before { animation: none; }
  .lxe-scanline,
  .lxe-sb-live { animation: none; }
  .lxe-part { transition: transform 0.4s ease; }
  .aliado-card,
  .blog-card { transition: none; }
}

/* ══════════════════════════════════════════
   LX-210 MODELO — foto de portada
══════════════════════════════════════════ */
.lx210-modelo-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-height: 520px;
}

.lx210-modelo-img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

.lx210-modelo-wrap:hover .lx210-modelo-img {
  transform: scale(1.03);
}

/* Gradiente inferior para el badge */
.lx210-modelo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
}

.lx210-modelo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 2;
}

.lx210-modelo-badge-code {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.lx210-modelo-badge-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #FFB000);
}

/* ══════════════════════════════════════════
   HERO WORDMARK — "TALA" bottom-left
══════════════════════════════════════════ */
.hero-wordmark {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4rem);
  left: clamp(1.5rem, 5vw, 5rem);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 10;
}

/* ══════════════════════════════════════════
   LX-210 GALLERY — left wrapper + EN VENTA
══════════════════════════════════════════ */
.lx210-gallery-left {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* EN VENTA card — ocupa el espacio restante bajo la imagen principal */
.lx210-enventa-card {
  flex: 1;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  border: 1px solid rgba(255,176,0,0.30);
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.lx210-enventa-card:hover {
  border-color: rgba(255,176,0,0.5);
  background: #1a1a1a;
}

.lx210-enventa-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  width: 100%;
}

.lx210-enventa-pill {
  display: inline-block;
  background: var(--accent, #FFB000);
  color: #000;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  line-height: 1.4;
}

.lx210-enventa-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

.lx210-enventa-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

.lx210-enventa-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent, #FFB000);
  letter-spacing: 0.03em;
  transition: gap 0.2s;
}

.lx210-enventa-card:hover .lx210-enventa-cta {
  gap: 0.65rem;
}

/* ══════════════════════════════════════════
   LX-210 GALLERY — filled image slots
══════════════════════════════════════════ */
.lx210-img-placeholder--filled {
  background: #111111;
  overflow: hidden;
  padding: 0;
  position: relative;
  display: block;
}

.lx210-img-placeholder--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lx210-img-placeholder--filled:hover img {
  transform: scale(1.04);
}

.lx210-img-placeholder--filled .lx210-ph-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.45rem 0.75rem;
  background: rgba(0,0,0,0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
