/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:            #080808;
  --bg-2:          #080808;
  --bg-card:       #111111;
  --bg-card-warm:  #181818;

  --text:          #ffffff;
  --text-muted:    hsla(0,0%,100%,.52);
  --text-dim:      hsla(0,0%,100%,.32);

  /* Brand golden amber */
  --accent:        #FFB000;
  --accent-rgb:    255,176,0;
  --accent-2:      #E6A000;
  --accent-3:      #CC8F00;
  --accent-blue:   #4a90d9;
  --accent-green:  #2ea84a;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, #FFB000 0%, #E6A000 55%, #CC8F00 100%);

  /* Glass — premium dark */
  --glass-bg:      hsla(0,0%,100%,.03);
  --glass-border:  hsla(0,0%,100%,.07);
  --glass-border-a:hsla(0,0%,100%,.12);

  /* Layout */
  --radius:        20px;
  --radius-sm:     12px;
  --radius-pill:   999px;

  /* Typography — DM Sans (Neue Sans substitute) */
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --tracking: -0.0075em;   /* as specified */

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: var(--tracking);
  background: #080808;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar { display: none; }

img, svg, video { display: block; max-width: 100%; }
img  { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }

h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* Gradient text on <em> in headings */
h1 em, h2 em, h3 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

::selection { background: var(--accent); color: #000; }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem;
  background: var(--text); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 1280px) {
  .container { padding: 0 6rem; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

/* =============================================================
   4. Loading Screen
   ============================================================= */
.loading-screen {
  position: fixed; inset: 0; z-index: 500;
  background: #050505;
  display: grid; place-items: center;
  transition: opacity 0.4s var(--ease-in) 0.2s, visibility 0.4s var(--ease-in) 0.2s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-inner { position: relative; display: grid; place-items: center; }

.loading-ring {
  width: 88px; height: 88px;
  border: 2px solid hsla(0,0%,0%,.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-logo {
  position: absolute;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   5. Navigation  — bigger + clip-path opening animation
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 100;
  padding: 1.5rem 5vw;              /* taller padding */
  transition: padding 0.4s var(--ease-out);
}
.nav.scrolled { padding: 0.875rem 5vw; }

/* The pill — starts hidden; JS animates clip-path open */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;                     /* bigger than before (was 3.25rem) */
  padding: 0 0.625rem 0 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 50px hsla(0,0%,0%,.03);
  /* initial state for JS animation */
  clip-path: inset(0 47% 0 47% round 999px);
  opacity: 0;
  will-change: clip-path, opacity;
}

/* Ready state after JS fires */
.nav-inner.nav-open {
  clip-path: inset(0 0% 0 0% round 999px);
  opacity: 1;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0;
}

.nav-logo-mark {
  font-size: 0.9375rem; font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-text {
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted);
  opacity: 0;                       /* fades in after pill opens */
  display: none;
}

.nav-links {
  display: none; list-style: none;
  gap: 0.25rem;
  position: absolute; left: 50%; transform: translateX(-50%);
  opacity: 0;
}

.nav-link {
  display: block; padding: 0.4rem 0.9rem;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: hsla(0,0%,0%,.06); }

.btn-nav {
  display: none;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem; font-weight: 700;
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  opacity: 0;
  white-space: nowrap; flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}
.btn-nav:hover { opacity: 0.88; transform: scale(0.97); }

/* Burger */
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; margin-right: 0.25rem;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5,5,5,.98);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu ul {
  list-style: none; text-align: center;
  display: flex; flex-direction: column; gap: 0.5rem;
}

.mobile-link {
  display: block; font-size: 1.875rem; font-weight: 700;
  color: var(--text-muted); padding: 0.5rem 2rem;
  letter-spacing: -0.025em; transition: color 0.2s;
}
.mobile-link:hover, .mobile-link:focus { color: var(--text); }
.mobile-link--cta {
  margin-top: 1rem; padding: 0.875rem 2.5rem;
  background: var(--gradient-brand);
  color: #000; border-radius: var(--radius-pill); font-size: 1rem;
}

/* =============================================================
   6. Hero — cinema fullscreen con video controlado por scroll
   ============================================================= */

/*
 * .hero-scene: wrapper con 300 vh → proporciona 200 vh de scroll
 * para que el video recorra toda su duración.
 */
.hero-scene {
  height: 300vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: stretch; justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 8rem 5vw 0;
}

/*
 * En modo scroll-driven el hero se pega al tope de la ventana
 * mientras el usuario recorre los 300 vh del hero-scene.
 */
.hero-scene .hero--cinema {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: unset;
}

/* Video background */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;                  /* default (no scroll-scene) */
  filter: saturate(0.6) brightness(0.5);
}

/*
 * Dentro del scroll-scene el video es el protagonista:
 * más luminoso y contrastado, casi a pantalla completa.
 */
.hero-scene .hero-video {
  opacity: 0.92;
  filter: brightness(0.78) contrast(1.06) saturate(1.08);
}

/* Gradient overlay: darker at bottom, lets content breathe */
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, transparent 25%);
}

/* Overlay más suave en modo scroll: el video debe leerse bien */
.hero-scene .hero-video-overlay {
  background:
    linear-gradient(0deg,  rgba(8,8,8,0.70) 0%,  transparent 28%),
    linear-gradient(180deg, rgba(8,8,8,0.40) 0%, transparent 16%);
}


/* Two-column content */
.hero-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  justify-content: center;
  padding-bottom: 6rem;             /* space for ticker */
}

/* Left column: badge + title + subtitle */
.hero-left {
  display: flex; flex-direction: column; gap: 1.25rem;
  text-align: left;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-badge-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent-green); border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(77,225,52,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(77,225,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(77,225,52,0); }
}

/* Smaller headline — left-aligned */
.hero-title {
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-align: left;
}

.hero-sub {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.75;
  text-align: left;
}

/* Right column: buttons */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-right-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--text-dim);
  letter-spacing: 0.04em; margin-top: 0.5rem;
}
.hero-meta-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* Hero buttons — larger than regular btns */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.9rem 2rem;
  background: #fff; color: #000;
  font-weight: 700; font-size: 0.9375rem;
  border-radius: var(--radius-pill); border: none;
  letter-spacing: -0.005em;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-1px) scale(0.98); }

/* Gradient CTA button */
.btn-hero-gradient {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-brand);
  color: #000;
  font-weight: 700; font-size: 0.9375rem;
  border-radius: var(--radius-pill); border: none;
  letter-spacing: -0.005em;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-hero-gradient:hover { opacity: 0.88; transform: translateY(-1px) scale(0.98); }

/* Ticker — "Trusted by" style */
.hero-ticker {
  position: absolute; bottom: 0; left: 0;
  width: 100%; z-index: 2;
  display: flex; align-items: center;
  border-top: 1px solid var(--glass-border);
  background: hsla(0,0%,0%,.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
  height: 3rem;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 1.25rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border-right: 1px solid var(--glass-border);
  height: 100%; display: flex; align-items: center;
  white-space: nowrap;
}

.ticker-track-wrap {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.ticker-track {
  display: flex; gap: 2.5rem;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0 1rem;
  align-items: center;
}

.ticker-sep { color: var(--accent); opacity: 0.5; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   7. Buttons (reusable)
   ============================================================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 0.875rem;
  border-radius: var(--radius-pill); letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.btn-primary:hover {
  background: #FFCA28;
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

/* Gradient variant */
.btn-gradient {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--gradient-brand); color: #000;
  font-weight: 700; font-size: 0.875rem;
  border-radius: var(--radius-pill); letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out), filter 0.2s;
}
.btn-gradient:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.btn-gradient:active { transform: translateY(0) scale(0.97); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent; color: var(--text);
  font-weight: 600; font-size: 0.875rem;
  border: 1px solid var(--glass-border-a);
  border-radius: var(--radius-pill); letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-out), color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0) scale(0.97); }

.btn-large { padding: 1rem 2.25rem; font-size: 0.9375rem; }

/* =============================================================
   8. Sections — shared
   ============================================================= */
.section-dark {
  background: transparent; padding: 5rem 0;
  position: relative; overflow: hidden;
}
.section-about {
  background: transparent; padding: 5rem 0;
  position: relative; overflow: hidden;
}

.section-header {
  text-align: center; max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.75;
}

/* =============================================================
   9. TALA Products Grid
   ============================================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

/* Subtle amber line on left edge */
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--gradient-brand);
  border-radius: 2px 0 0 2px;
  transition: height 0.4s var(--ease-out);
}

.product-card:hover { border-color: rgba(255,176,0,.3); transform: translateY(-2px); }
.product-card:hover::before { height: 100%; }

.product-header {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}

.product-category {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}

.product-badge {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  background: hsla(0,0%,0%,.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}
.product-badge--hot {
  background: rgba(255,176,0,.12);
  border-color: rgba(255,176,0,.35);
  color: var(--accent);
}

.product-model {
  font-size: 1.375rem; font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-desc {
  font-size: 0.8375rem; color: var(--text-muted);
  line-height: 1.7; flex: 1;
}

.product-specs {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.375rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.product-specs li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.spec-label { color: var(--text-dim); }
.spec-val   { color: var(--text-muted); font-weight: 500; }

.product-cta {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap 0.2s var(--ease-out), color 0.2s;
}
.product-cta:hover { gap: 0.5rem; color: var(--accent-2); }

/* ── Featured single product (LX-210) ───────────────────────── */
.products-grid--single {
  grid-template-columns: 1fr !important;
}

.product-card--featured {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lx210-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
}

@media (min-width: 720px) {
  .lx210-body { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.lx210-sub-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}

.product-specs--full { display: flex; flex-direction: column; gap: 0; }
.product-specs--full li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.product-specs--full li:last-child { border-bottom: none; }

.lx210-comp-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.lx210-comp-list li {
  font-size: 0.8375rem; color: var(--text-muted);
  padding-left: 1.1rem; position: relative;
  line-height: 1.5;
}
.lx210-comp-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.55rem;
  width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
}

.lx210-cta-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 0.25rem;
}

/* ── Equipos forklift showcase ───────────────────────────────── */
.equipos-forklift-showcase {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

@media (min-width: 720px) {
  .equipos-forklift-showcase { grid-template-columns: 1fr 1fr; }
}

.equipos-forklift-img {
  min-height: 260px;
  border-radius: 0;
}

.equipos-forklift-text {
  background: var(--bg-card);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex; flex-direction: column;
  gap: 1rem; justify-content: center;
}

.equipos-forklift-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700; letter-spacing: -0.02em;
}

.equipos-forklift-desc {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.75;
}

/* ── Three-card about visual ─────────────────────────────────── */
.about-cards-row--triple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) {
  .about-cards-row--triple { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .about-cards-row--triple { grid-template-columns: 1fr; }
}

/* Footer row below product grid */
.products-footer {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}

.products-footer p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
}
.products-footer strong { color: var(--text); }

/* =============================================================
   10. Stats
   ============================================================= */
.section-stats {
  position: relative; padding: 5rem 0;
  background: transparent; overflow: hidden;
}

.vignette-left, .vignette-right {
  position: absolute; top: 0; bottom: 0; width: 15%;
  pointer-events: none; z-index: 1;
}
.vignette-left  { left: 0;  background: linear-gradient(90deg,  var(--bg-2) 0%, transparent 100%); }
.vignette-right { right: 0; background: linear-gradient(270deg, var(--bg-2) 0%, transparent 100%); }

.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem;
}

.stat {
  text-align: center; display: flex;
  flex-direction: column; gap: 0.375rem;
}

.stat-value {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}

.stat-label {
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-dim); letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =============================================================
   11. Obras
   ============================================================= */
.section-obras { }

.obras-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}

.obra-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  overflow: hidden; position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.obra-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 3px; height: 0;
  background: var(--gradient-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: height 0.4s var(--ease-out);
}
.obra-card:hover { border-color: rgba(255,176,0,.25); transform: translateY(-2px); }
.obra-card:hover::after { height: 100%; }

.obra-num {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--accent); opacity: 0.7; text-transform: uppercase;
}
.obra-icon { font-size: 1.75rem; }
.obra-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.obra-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================================
   12. About
   ============================================================= */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.about-text  { display: flex; flex-direction: column; gap: 1.25rem; }
.about-body  { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.8; }

.about-badges {
  display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.5rem;
}
.badge-item {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
}
.badge-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
}

.about-visual { display: flex; flex-direction: column; gap: 1rem; }

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  box-shadow: inset 0 0 30px hsla(0,0%,0%,.02);
}

.about-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.about-card:hover { border-color: var(--glass-border-a); transform: translateX(4px); }
.about-card--offset { margin-left: 1rem; }
.about-card-icon { display: none; } /* replaced by .about-card-mark in tala.css */
.about-card h4 { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.about-card p  { font-size: 0.825rem; color: var(--text-muted); line-height: 1.65; }

/* =============================================================
   13. CTA
   ============================================================= */
.section-cta {
  position: relative; padding: 5rem 0;
  background: transparent; overflow: hidden;
}

.cta-inner {
  text-align: center; max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 0.9375rem; color: var(--text-muted);
  line-height: 1.75; max-width: 480px;
}

.cta-actions {
  display: flex; gap: 0.875rem;
  flex-wrap: wrap; justify-content: center;
}

.cta-info {
  display: flex; flex-wrap: wrap;
  gap: 1rem 2rem; justify-content: center;
  font-size: 0.8rem; color: var(--text-dim); margin-top: 0.5rem;
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(255,176,0,0.08);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem; margin-bottom: 3rem;
}

.footer-brand { grid-column: 1 / -1; }

.footer-logo {
  display: inline-block; font-size: 1.625rem;
  font-weight: 900; letter-spacing: 0.1em;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.625rem;
}

.footer-tagline {
  font-size: 0.85rem; color: var(--text-dim); line-height: 1.6;
}

.footer-nav-title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.875rem;
}

.footer-nav ul, .footer-contact ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.5rem;
}

.footer-nav a, .footer-contact a, .footer-contact li {
  font-size: 0.8375rem; color: var(--text-dim);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 0.78rem; color: var(--text-dim);
}

.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--text-muted); }

/* =============================================================
   15. Responsive
   ============================================================= */

/* ≥ 540px */
@media (min-width: 540px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .obras-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 720px */
@media (min-width: 720px) {
  .nav-logo-text { display: inline; }
  .nav-links     { display: flex; }
  .btn-nav       { display: inline-flex; }
  .nav-burger    { display: none; }

  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 5vw;
  }
  .hero-left  { flex: 1.1; }
  .hero-right { flex: 0.9; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    flex-direction: row; justify-content: space-between; align-items: center;
  }
}

/* ≥ 960px */
@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .obras-grid    { grid-template-columns: repeat(4, 1fr); }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: start;
  }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3rem, 4.5vw, 5.25rem); }
}

/* =============================================================
   16. Reduced Motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .blobs, .ticker-track, .loading-ring, .hero-badge-dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .nav-inner { clip-path: none; opacity: 1; }
}
