/* ============================================
   CALIDRA — Design System v2
   Brand: Black + Red (#E21E26) + White
   "Glorificar el producto"
   ============================================ */

:root {
  /* Brand — Calidra red, black, white */
  --red-700: #B0151B;
  --red-600: #C7191E;
  --red-500: #E21E26; /* CALIDRA brand red */
  --red-400: #EC4248;
  --red-300: #F37579;
  --red-50:  #FDECEC;

  --ink-950: #050505;
  --ink-900: #0E0E0E;
  --ink-800: #1A1A1A;
  --ink-700: #2A2A2A;
  --ink-600: #3F3F3F;
  --ink-500: #6A6A6A;
  --ink-400: #9A9A9A;
  --ink-300: #C4C4C4;
  --ink-200: #E0E0E0;
  --ink-100: #EFEFEF;
  --ink-50:  #F7F7F7;

  /* Surfaces */
  --surface-base: #FFFFFF;
  --surface-soft: #F8F8F8;
  --surface-mid:  #F1F1F1;
  --surface-cream: #FBFAF7; /* warm off-white for product backgrounds */
  --surface-dark: var(--ink-950);

  /* Status */
  --success: #1F8744;
  --warning: #D9A028;
  --danger:  var(--red-600);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.16);
  --shadow-product: 0 30px 70px rgba(226, 30, 38, 0.08), 0 12px 28px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--red-500); color: white; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h-display {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red-500);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-600);
}
.mono { font-family: var(--font-mono); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-dark { background: var(--ink-950); color: var(--ink-100); }
.section-soft { background: var(--surface-soft); }
.section-cream { background: var(--surface-cream); }
.section-mid { background: var(--surface-mid); }
.section-red { background: var(--red-500); color: white; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; }

/* ============================================

/* Old menu CSS removed in v10 — premium menu lives at end of file */

/* Search modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
}
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal-inner {
  background: white;
  width: 100%;
  max-width: 700px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform var(--t-base);
}
.search-modal.open .search-modal-inner { transform: translateY(0); }
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-500);
}
.search-modal-header input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--ink-900);
  background: transparent;
}
.search-modal-header input::placeholder { color: var(--ink-400); }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-empty { padding: 48px 24px; text-align: center; color: var(--ink-500); }
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-100);
  transition: all var(--t-fast);
  text-decoration: none;
  color: inherit;
}
.search-result:hover { background: var(--ink-50); }
.search-result:last-child { border-bottom: none; }
.search-result-img {
  width: 44px; height: 44px;
  background: var(--surface-cream);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  padding: 4px;
  flex-shrink: 0;
  border: 1px solid var(--ink-100);
  color: var(--ink-500);
}
.search-result-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.search-result-body { flex: 1; min-width: 0; }
.search-result-type {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 2px;
}
.search-result-body strong { display: block; color: var(--ink-900); font-size: 0.95rem; }
.search-result-desc { font-size: 0.82rem; color: var(--ink-500); margin-top: 2px; display: block; }

@media (max-width: 600px) {
  .cart-btn-label { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  text-align: center;
}
.btn-primary {
  background: var(--red-500);
  color: white;
  box-shadow: 0 1px 2px rgba(226,30,38,.2);
}
.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(226,30,38,.32);
}
.btn-dark {
  background: var(--ink-900);
  color: white;
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn-outline:hover { border-color: var(--ink-900); background: var(--ink-50); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  padding: 10px 14px;
}
.btn-ghost:hover { background: var(--ink-50); }
.btn-on-dark {
  background: white;
  color: var(--ink-900);
}
.btn-on-dark:hover { background: var(--ink-100); }
.btn-on-red {
  background: white;
  color: var(--red-600);
  font-weight: 700;
}
.btn-on-red:hover { background: var(--ink-50); }
.btn-lg { padding: 18px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============================================
   HERO — bold editorial style
   ============================================ */
.hero {
  position: relative;
  background: var(--ink-950);
  color: white;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(226, 30, 38, 0.30), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(226, 30, 38, 0.12), transparent 50%),
    var(--ink-950);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { color: white; max-width: 14ch; margin-bottom: 24px; }
.hero h1 .accent { color: var(--red-400); }
.hero .lead { color: rgba(255,255,255,0.78); max-width: 60ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 760px;
}
.stat-num {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .accent { color: var(--red-400); }
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero product showcase */
.hero-products {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}
.hero-product {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  aspect-ratio: 1;
  transition: all var(--t-base);
  text-align: center;
}
.hero-product:hover {
  background: rgba(226, 30, 38, 0.08);
  border-color: rgba(226, 30, 38, 0.5);
  transform: translateY(-2px);
}
.hero-product img {
  width: 75%;
  max-height: 70%;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}
.hero-product strong {
  color: white;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Page hero (smaller) */
.page-hero {
  background: var(--ink-950);
  color: white;
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(226, 30, 38, 0.18), transparent 55%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; }
.page-hero .lead { color: rgba(255,255,255,0.75); margin-top: 16px; max-width: 70ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.78); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--red-400); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================
   PRODUCT CARDS — Glorify the product
   ============================================ */
.card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--red-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Product card with REAL product image + brand color stripe */
.product-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  border-color: var(--brand, var(--red-500));
  box-shadow: 0 30px 70px rgba(0,0,0,0.10), 0 0 0 1px var(--brand, transparent);
  transform: translateY(-4px);
}
.product-card-stripe {
  height: 4px;
  width: 100%;
  background: var(--red-500);
}

/* =============================================
   BRAND TILES — Marca grande con logo prominente
   ============================================= */
.brand-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.brand-tiles-grid.brand-tiles-small {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .brand-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-tiles-grid.brand-tiles-small { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .brand-tiles-grid, .brand-tiles-grid.brand-tiles-small { grid-template-columns: 1fr; }
}

.brand-tile {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 240px;
  isolation: isolate;
}
.brand-tile-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bc, var(--red-500))08, transparent 60%);
  z-index: -1;
  opacity: 0.45;
  transition: opacity var(--t-base);
}
.brand-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--bc, var(--red-500));
  z-index: 1;
}
.brand-tile:hover {
  transform: translateY(-4px);
  border-color: var(--bc, var(--red-500));
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.brand-tile:hover .brand-tile-bg { opacity: 1; }
.brand-tile-logo {
  max-height: 70px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  margin-top: 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}
.brand-tile-meta {
  margin-top: auto;
  padding-top: 8px;
}
.brand-tile-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.brand-tile-sub {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-top: 4px;
}
.brand-tile-cta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bc, var(--red-500));
  margin-top: 4px;
}
.brand-tiles-small .brand-tile {
  min-height: 200px;
  padding: 28px 20px;
}
.brand-tiles-small .brand-tile-logo { max-height: 56px; }
.brand-tiles-small .brand-tile-name { font-size: 1rem; }
.brand-tiles-small .brand-tile-sub { font-size: 0.78rem; }
.product-card-thumb {
  aspect-ratio: 4/3;
  background:
    radial-gradient(ellipse at center 110%, rgba(226,30,38,0.06), transparent 60%),
    var(--surface-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}
.product-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,0,0,0.025) 39px 40px);
  opacity: 0.7;
}
.product-card-thumb img {
  position: relative;
  max-height: 88%;
  max-width: 78%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18));
  transition: transform var(--t-base);
}
.product-card:hover .product-card-thumb img {
  transform: scale(1.06) translateY(-4px);
}
.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
  align-self: flex-start;
}
.product-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
}
.product-card-formula {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: -2px;
}
.product-card-desc {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.55;
  flex: 1;
}
.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.product-card-footer {
  margin-top: 8px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink-100);
  font-size: 0.88rem;
  color: var(--red-500);
  font-weight: 600;
}
.product-card-footer svg { transition: transform var(--t-fast); }
.product-card:hover .product-card-footer svg { transform: translateX(4px); }

/* ============================================
   INDUSTRY CARD with real photos
   ============================================ */
.industry-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--ink-900);
  transition: all var(--t-base);
  isolation: isolate;
  text-decoration: none;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform var(--t-slow);
}
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.95) 100%);
  z-index: -1;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.industry-card:hover::before { transform: scale(1.08); }
.industry-card h3 { color: white; font-size: 1.6rem; margin-bottom: 8px; }
.industry-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.industry-card .arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
}
.industry-card:hover .arrow {
  background: var(--red-500);
  transform: rotate(-45deg);
}

/* ============================================
   PRODUCT DETAIL PAGE — Glorify the product
   ============================================ */
.product-page { background: var(--surface-soft); }
.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 56px 0 80px;
}
@media (max-width: 960px) {
  .product-hero { grid-template-columns: 1fr; gap: 32px; }
}

/* Product visual — large, beautiful render */
.product-visual {
  background:
    radial-gradient(ellipse at center 70%, rgba(226,30,38,0.10), transparent 65%),
    var(--surface-cream);
  border-radius: var(--r-xl);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
  padding: 8%;
}
.product-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 49px, rgba(0,0,0,0.025) 49px 50px),
    repeating-linear-gradient(90deg, transparent 0 49px, rgba(0,0,0,0.025) 49px 50px);
  opacity: 0.6;
}
.product-visual img {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 35px 60px rgba(0,0,0,0.2));
}
.product-visual-brand-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  background: white;
  padding: 8px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-100);
  max-width: 130px;
  height: auto;
}
.product-visual-brand-mark img {
  max-width: 100%;
  height: auto;
  filter: none;
  max-height: 32px;
  object-fit: contain;
}

/* Product info */
.product-info {}
.product-info .family-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-500);
  background: var(--red-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.product-info h1 { color: var(--ink-900); margin-bottom: 6px; }
.product-info .formula {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--ink-900);
  color: white;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.product-info .summary {
  font-size: 1.1rem;
  color: var(--ink-700);
  margin-bottom: 28px;
  line-height: 1.65;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.spec {
  background: white;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-100);
}
.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 4px;
}
.spec-value { font-size: 1rem; font-weight: 700; color: var(--ink-900); }

/* Presentation selector */
.presentation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.presentation {
  position: relative;
  padding: 16px;
  background: white;
  border: 2px solid var(--ink-200);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  font-family: inherit;
}
.presentation:hover { border-color: var(--ink-400); }
.presentation.selected {
  border-color: var(--red-500);
  background: var(--red-50);
}
.presentation-name { font-size: 0.7rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.presentation-size { font-size: 1.05rem; font-weight: 800; color: var(--ink-900); margin: 4px 0; }
.presentation-min { font-size: 0.76rem; color: var(--ink-600); }

.qty-row { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.qty-input {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qty-input button {
  width: 44px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  color: var(--ink-900);
  transition: background var(--t-fast);
  font-weight: 600;
}
.qty-input button:hover { background: var(--ink-100); }
.qty-input input {
  width: 80px;
  height: 48px;
  text-align: center;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  background: transparent;
  outline: none;
}
.qty-unit { font-size: 0.95rem; color: var(--ink-600); }

/* Product sections */
.product-section { padding: 72px 0; border-top: 1px solid var(--ink-100); background: white; }
.product-section:nth-child(even) { background: var(--surface-soft); }
.product-section h2 { color: var(--ink-900); margin-bottom: 16px; }

.applications-list { display: grid; gap: 12px; margin-top: 16px; }
.app-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--surface-base);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-100);
  transition: all var(--t-fast);
}
.app-item:hover { border-color: var(--red-300); transform: translateX(4px); }
.app-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--red-50);
  color: var(--red-600);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-mono);
}
.app-item-text strong { display: block; color: var(--ink-900); margin-bottom: 4px; font-size: 0.98rem; }
.app-item-text span { font-size: 0.9rem; color: var(--ink-600); line-height: 1.55; }

/* Spec table */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.tech-table th, .tech-table td { padding: 14px 18px; text-align: left; }
.tech-table th {
  background: var(--ink-900);
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tech-table tr:nth-child(even) td { background: var(--surface-soft); }
.tech-table tr td:first-child { font-weight: 600; color: var(--ink-900); }

.download-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  color: var(--ink-900);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--t-fast);
}
.download-btn:hover { border-color: var(--ink-900); background: var(--ink-50); }
.download-btn svg { color: var(--red-500); }

/* ============================================
   VIDEO EMBED
   ============================================ */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Lazy loading thumbnail */
.video-thumb {
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}
.video-thumb-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--red-500);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--t-base);
  box-shadow: 0 12px 40px rgba(226, 30, 38, 0.5);
}
.video-thumb:hover .video-thumb-play { transform: translate(-50%, -50%) scale(1.08); background: var(--red-600); }
.video-thumb-play svg { color: white; margin-left: 4px; }
.video-thumb-meta {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  color: white;
  z-index: 1;
}
.video-thumb-meta strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.video-thumb-meta span { font-size: 0.85rem; opacity: 0.78; }

/* ============================================
   CALCULATOR
   ============================================ */
.calculator {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.calc-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .calc-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: white;
  transition: all var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px var(--red-50);
}
.field-hint { font-size: 0.78rem; color: var(--ink-500); }

.calc-result {
  margin-top: 24px;
  padding: 24px;
  background: var(--ink-900);
  color: white;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.calc-result-label { font-size: 0.78rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.1em; }
.calc-result-value { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-top: 4px; color: var(--red-400); }
.calc-result-unit { font-size: 1rem; font-weight: 500; opacity: 0.75; margin-left: 6px; color: white; }

/* ============================================
   CART / QUOTE
   ============================================ */
.cart-table {
  width: 100%;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr 140px 140px 60px;
  gap: 20px;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid var(--ink-100);
}
.cart-row:last-child { border-bottom: none; }
.cart-row.head { background: var(--surface-soft); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--ink-600); }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item-thumb {
  width: 60px; height: 60px;
  background: var(--surface-cream);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  flex-shrink: 0;
  padding: 6px;
  border: 1px solid var(--ink-100);
}
.cart-item-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-info strong { display: block; color: var(--ink-900); }
.cart-item-info span { font-size: 0.85rem; color: var(--ink-500); }

.cart-remove {
  color: var(--ink-400);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: all var(--t-fast);
}
.cart-remove:hover { background: var(--red-50); color: var(--red-600); }

@media (max-width: 720px) {
  .cart-row { grid-template-columns: 1fr; gap: 12px; }
  .cart-row.head { display: none; }
}

.empty-cart {
  background: white;
  border-radius: var(--r-lg);
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--ink-300);
}
.empty-cart svg { color: var(--ink-300); margin: 0 auto 24px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink-950);
  color: var(--ink-300);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-mark {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.footer-brand .logo-mark::after {
  content: '';
  width: 14px; height: 14px;
  background: var(--red-500);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.footer-tagline {
  font-size: 0.92rem;
  max-width: 32ch;
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-siempre {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red-400);
  text-transform: uppercase;
}
.footer-col h4 {
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; opacity: 0.65; transition: all var(--t-fast); }
.footer-col a:hover { opacity: 1; color: var(--red-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  opacity: 0.55;
}

/* ============================================
   QUOTE FORM SIDEBAR
   ============================================ */
.layout-cart {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .layout-cart { grid-template-columns: 1fr; } }
.quote-form-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--ink-200);
  position: sticky;
  top: 92px;
}
.quote-form-card h3 { color: var(--ink-900); margin-bottom: 6px; }
.quote-form-card p.sub { color: var(--ink-600); font-size: 0.9rem; margin-bottom: 24px; }

/* ============================================
   MISC
   ============================================ */
.divider {
  height: 1px;
  background: var(--ink-200);
  margin: 32px 0;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: var(--ink-100);
  color: var(--ink-800);
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-red { background: var(--red-50); color: var(--red-600); }
.badge-success { background: #E8F5EE; color: var(--success); }
.badge-warning { background: #FFF6E0; color: #8A6500; }

.kpi {
  text-align: center;
  padding: 32px 16px;
}
.kpi-num { font-size: 2.5rem; font-weight: 800; color: var(--ink-900); line-height: 1; letter-spacing: -0.02em; }
.kpi-num .accent { color: var(--red-500); }
.kpi-label { font-size: 0.82rem; color: var(--ink-600); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

.scroll-x {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroll-x > * { scroll-snap-align: start; flex: 0 0 280px; }

.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-track { background: var(--ink-100); border-radius: 3px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--ink-400); border-radius: 3px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--ink-900);
  color: white;
  padding: 16px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-base);
  pointer-events: none;
  max-width: 360px;
  border-left: 3px solid var(--red-500);
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast svg { color: var(--red-500); flex-shrink: 0; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .menu-toggle { display: flex; }
  .nav-list.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav-list.open .nav-link { padding: 14px; border-radius: var(--r-md); }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-actions, .btn { display: none !important; }
}

/* Helper */
.grid-collapse-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 900px) {
  .grid-collapse-mobile { grid-template-columns: 1fr !important; gap: 32px !important; }
}
/* =============================================
   IMMERSIVE HERO — Scroll storytelling
   ============================================= */
/* Default (no-JS): single screen so the page is not 5 viewports of black */
.hero-immersive {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: #050505;
  margin: 0;
}
.hero-pin {
  position: relative;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(40,30,20,0.4), transparent 70%),
    #050505;
}
/* JS-enhanced: scroll storytelling */
.js-hero .hero-immersive { height: 500vh; }
.js-hero .hero-pin { position: sticky; height: 100vh; }
@media (max-width: 768px) {
  .js-hero .hero-immersive { height: 360vh; }
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}
.hero-scenes {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hero-scene.is-past {
  opacity: 0;
  transform: translateY(-30px) scale(1.04);
}
.hero-scene-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(232, 60, 40, 0.95);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scene-eyebrow::before, .hero-scene-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: rgba(232, 60, 40, 0.5);
}
.hero-scene h1 {
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: white;
  max-width: 18ch;
  margin: 0;
}
.hero-scene h1 .accent {
  background: linear-gradient(110deg, #FFB088 0%, #E83C28 50%, #FFE5C4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  display: inline-block;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
.hero-scene-sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  line-height: 1.5;
}
.hero-scene-ctas {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scene-ctas .btn {
  padding: 18px 32px;
  font-size: 1rem;
}

/* App icons in scene 4 */
.hero-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 720px;
}
@media (max-width: 600px) {
  .hero-apps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.hero-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all .3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: appReveal .6s ease forwards;
}
.hero-app:nth-child(1) { animation-delay: .15s; }
.hero-app:nth-child(2) { animation-delay: .3s; }
.hero-app:nth-child(3) { animation-delay: .45s; }
.hero-app:nth-child(4) { animation-delay: .6s; }
.hero-app:hover {
  background: rgba(232, 60, 40, 0.15);
  border-color: rgba(232, 60, 40, 0.6);
  transform: translateY(-4px);
}
.hero-app svg { width: 36px; height: 36px; opacity: 0.85; }
@keyframes appReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Scene indicator dots (right side) */
.scene-indicator {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) { .scene-indicator { right: 16px; gap: 8px; } }
.scene-indicator .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all .3s ease;
  cursor: pointer;
}
.scene-indicator .dot.active {
  background: #E83C28;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(232, 60, 40, 0.6);
}

/* Progress bar (top of viewport) */
.hero-progress-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 5;
}
.hero-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #E83C28, #FFB088);
  width: 0;
  transition: width 0.1s ease;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-hint .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(232,60,40,0.8));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hero-scene:not(.is-active) ~ .scroll-hint { opacity: 0; }

/* Skip button */
.hero-skip {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 5;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.hero-skip:hover { background: rgba(232,60,40,0.2); color: white; border-color: rgba(232,60,40,0.6); }

/* =============================================
   INDUSTRY MODE TOGGLE (sub-header)
   ============================================= */
.industry-bar {
  background: var(--ink-950);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 76px;
  z-index: 40;
}
.industry-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.industry-bar-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.industry-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.industry-toggle:hover { border-color: rgba(232,60,40,0.5); color: white; }
.industry-toggle.active {
  background: var(--red-500);
  color: white;
  border-color: var(--red-500);
}
.industry-toggle svg { width: 14px; height: 14px; }
@media (max-width: 600px) {
  .industry-bar-label { display: none; }
  .industry-toggle { padding: 6px 10px; font-size: 0.78rem; }
}

/* =============================================
   HERO CALCULATOR
   ============================================= */
.hero-calc-section {
  background: linear-gradient(180deg, #050505 0%, #0E0E0E 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-calc-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232,60,40,0.08), transparent 50%);
  pointer-events: none;
}
.hero-calc-section .container { position: relative; z-index: 1; }
.hero-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-calc-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-calc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(12px);
}
.hero-calc-card .field label {
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.02em;
}
.hero-calc-card .field input,
.hero-calc-card .field select {
  background: rgba(0,0,0,0.4);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 10px;
  width: 100%;
  transition: all .15s ease;
}
.hero-calc-card .field input:focus,
.hero-calc-card .field select:focus {
  outline: none;
  border-color: var(--red-500);
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 0 3px rgba(232,60,40,0.15);
}
.hero-calc-card .field select option { background: #0E0E0E; color: white; }
.hero-calc-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 540px) { .hero-calc-grid-fields { grid-template-columns: 1fr; } }
.hero-calc-qty-unit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.hero-calc-result {
  background: linear-gradient(135deg, rgba(232,60,40,0.18), rgba(232,60,40,0.04));
  border: 1px solid rgba(232,60,40,0.4);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-result-row { display: flex; align-items: baseline; justify-content: space-between; }
.calc-result-row .label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.calc-result-row .value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
  font-variant-numeric: tabular-nums;
}
.calc-result-row .value-small {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}
.calc-divider { height: 1px; background: rgba(255,255,255,0.12); }

.calc-trucks-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  min-height: 24px;
}
.truck {
  color: var(--red-400);
  animation: truckIn .35s ease both;
}
@keyframes truckIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.truck-more {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  font-family: var(--font-mono);
  margin-left: 4px;
}

.calc-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .15s ease;
}
.calc-product:hover { background: rgba(0,0,0,0.6); transform: translateX(4px); }
.calc-product img { width: 56px; height: 56px; object-fit: contain; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 6px; }
.calc-product-meta { flex: 1; min-width: 0; }
.calc-product-meta .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.calc-product-meta .name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-top: 2px;
  display: block;
}

.hero-calc-cta {
  background: var(--red-500);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-calc-cta:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232,60,40,0.4);
}

/* =============================================
   ANIMATED COUNTERS section
   ============================================= */
.counters-section {
  padding: 80px 0;
  background: var(--ink-950);
  color: white;
  position: relative;
  overflow: hidden;
}
.counters-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.counters-section .container { position: relative; }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.counter-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.counter-item:last-child { border-right: none; }
@media (max-width: 768px) {
  .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .counter-item:last-child { border-bottom: none; }
}
.counter-num {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: white;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #ffffff 0%, #FF8A78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter-label {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   APPLICATIONS — Big interactive cards
   ============================================= */
.apps-section {
  padding: clamp(72px, 10vw, 140px) 0;
  background: white;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .apps-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  color: white;
  isolation: isolate;
  transition: transform .5s ease;
  cursor: pointer;
}
.app-card:hover { transform: translateY(-6px); }
.app-card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.app-card:hover .app-card-img { transform: scale(1.08); }
.app-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 50%, rgba(5,5,5,0.95) 100%);
  z-index: -1;
}
.app-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.app-card-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-400);
}
.app-card-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}
.app-card-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .5s cubic-bezier(.2,.8,.2,1);
}
.app-card:hover .app-card-desc { max-height: 200px; opacity: 1; margin-top: 4px; }
.app-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red-400);
  margin-top: 8px;
}
.app-card-cta svg { transition: transform .3s ease; }
.app-card:hover .app-card-cta svg { transform: translateX(6px); }
.app-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.app-card-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  color: white;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

/* =============================================
   STICKY MOBILE CTA BAR
   ============================================= */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 16px env(safe-area-inset-bottom);
  z-index: 90;
  gap: 10px;
}
@media (max-width: 768px) {
  .sticky-cta-mobile { display: flex; }
  body { padding-bottom: 76px; }
}
.sticky-cta-mobile a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s ease;
}
.sticky-cta-mobile .primary { background: var(--red-500); color: white; }
.sticky-cta-mobile .secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.18); }

/* =============================================
   CUSTOM CURSOR
   ============================================= */
@media (hover: hover) {
  body.cursor-active { cursor: none; }
  body.cursor-active a, body.cursor-active button,
  body.cursor-active input, body.cursor-active select,
  body.cursor-active textarea, body.cursor-active [data-cursor-hover] {
    cursor: none;
  }
}
.cursor-core, .cursor-halo, .cursor-trail {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform, opacity;
  transition: opacity .25s ease;
}
.cursor-core {
  width: 8px; height: 8px;
  background: var(--red-500);
  margin-left: -4px; margin-top: -4px;
  mix-blend-mode: difference;
  transition: transform .12s ease-out, width .25s ease, height .25s ease;
}
.cursor-halo {
  width: 36px; height: 36px;
  background: transparent;
  border: 1.5px solid rgba(232,60,40,0.55);
  margin-left: -18px; margin-top: -18px;
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}
.cursor-hover .cursor-halo {
  width: 56px; height: 56px;
  margin-left: -28px; margin-top: -28px;
  background: rgba(232,60,40,0.12);
  border-color: rgba(232,60,40,0.85);
}
.cursor-hover .cursor-core {
  width: 4px; height: 4px;
  margin-left: -2px; margin-top: -2px;
}
.cursor-trail {
  width: 5px; height: 5px;
  background: rgba(232,60,40,0.4);
  margin-left: -2.5px; margin-top: -2.5px;
}
@media (max-width: 768px), (hover: none) {
  .cursor-core, .cursor-halo, .cursor-trail { display: none !important; }
}

/* =============================================
   CROSS-LINK PILLS / "See also"
   ============================================= */
.cross-link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.cross-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: all .15s ease;
}
.cross-link-pill:hover {
  background: var(--red-500);
  color: white;
  border-color: var(--red-500);
  transform: translateY(-1px);
}
.cross-link-pill svg { width: 13px; height: 13px; opacity: 0.6; }
.cross-link-pill:hover svg { opacity: 1; }

/* =============================================
   STRONGER BRAND COLOR APPLICATION
   ============================================= */
/* Catalog stripe — make it taller and more visible */
.product-card-stripe {
  height: 6px !important;
}
.product-card-tag { font-size: 0.74rem !important; font-weight: 800 !important; letter-spacing: 0.14em !important; }
.product-card:hover { border-width: 2px; padding: 0; }

/* Product page — make brand color visible */
.product-visual { border-top-width: 0 !important; }
.product-color-bar { height: 8px !important; }
.product-info .formula { padding: 6px 14px !important; font-size: .9rem !important; font-weight: 700 !important; }

/* Reveal-on-scroll — progressive enhancement only when html.js-reveals is set */
.js-reveals [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform; }
.js-reveals [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-reveals [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-immersive { height: auto !important; }
  .hero-pin { position: relative !important; height: 100vh !important; }
}

/* Stagger reveals — same gating */
.js-reveals [data-reveal-stagger]:not(.is-revealed) > * { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .05s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .15s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .25s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .35s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .45s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .55s; }
.js-reveals [data-reveal-stagger].is-revealed > *:nth-child(n+7) { opacity: 1; transform: translateY(0); transition-delay: .65s; }
/* =============================================
   V7 ADDITIONS — marquee, floats, cookies, trust, related
   ============================================= */

/* Brand marquee — animated infinite scroll */
.brand-marquee {
  background: white;
  padding: 32px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  overflow: hidden;
  position: relative;
}
.brand-marquee::before, .brand-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee::before { left: 0; background: linear-gradient(90deg, white, transparent); }
.brand-marquee::after { right: 0; background: linear-gradient(-90deg, white, transparent); }
.brand-marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee-track img {
  height: 36px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter .25s ease;
}
.brand-marquee-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Floating buttons (right side, desktop + mobile above sticky-cta) */
.float-whatsapp, .float-top {
  position: fixed;
  right: 20px;
  z-index: 80;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.float-whatsapp {
  bottom: 20px;
  background: #25D366;
  color: white;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}
.float-whatsapp:hover { transform: translateY(-3px) scale(1.05); }
.float-whatsapp .float-pulse {
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  z-index: -1;
  animation: floatPulse 2.6s ease infinite;
}
@keyframes floatPulse {
  0% { opacity: 0.45; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
.float-top {
  bottom: 88px;
  background: var(--ink-900);
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.float-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { transform: translateY(-3px) scale(1.05); background: var(--red-500); }

@media (max-width: 768px) {
  .float-whatsapp { bottom: 86px; width: 48px; height: 48px; }
  .float-whatsapp svg { width: 24px; height: 24px; }
  .float-top { bottom: 144px; width: 44px; height: 44px; right: 16px; }
}

/* Scroll progress (top, always visible) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 99;
  background: rgba(0,0,0,0.04);
  pointer-events: none;
}
.scroll-progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--red-500), #FFB088);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 92px; left: 16px; right: 16px;
  background: var(--ink-950);
  color: white;
  border-radius: 14px;
  padding: 20px 24px;
  z-index: 95;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transition: opacity .3s ease, transform .3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 768px) { .cookie-consent { bottom: 168px; } }
@media (min-width: 768px) {
  .cookie-consent { left: auto; right: 88px; bottom: 20px; max-width: 480px; }
}
.cookie-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-icon { font-size: 2rem; flex-shrink: 0; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: white; }
.cookie-text p { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin: 0; }
.cookie-text a { color: var(--red-400); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-reject, .cookie-accept {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s ease;
}
.cookie-reject { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.18); }
.cookie-reject:hover { color: white; }
.cookie-accept { background: var(--red-500); color: white; }
.cookie-accept:hover { background: var(--red-600); }
@media (max-width: 540px) {
  .cookie-actions { width: 100%; }
  .cookie-reject, .cookie-accept { flex: 1; }
}

/* Trust strip (logos / certifications) */
.trust-strip {
  background: white;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-100);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 600;
}
.trust-item-icon {
  width: 40px; height: 40px;
  background: var(--surface-soft);
  color: var(--red-500);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-item strong { color: var(--ink-900); display: block; line-height: 1.1; }
.trust-item span { font-size: 0.78rem; color: var(--ink-500); }

/* Related products section */
.related-products {
  padding: 64px 0;
  background: var(--surface-cream);
  border-top: 1px solid var(--ink-100);
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* Social proof bar (above calculator) */
.social-proof-bar {
  background: var(--ink-950);
  color: white;
  padding: 14px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.social-proof-bar strong { color: var(--red-400); font-weight: 800; }
.social-proof-bar .live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  margin-right: 8px;
  animation: livePulse 2s ease infinite;
  box-shadow: 0 0 12px #4ADE80;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Industry-aware highlighting */
[data-industry="construccion"] .industry-toggle[data-industry-toggle="construccion"],
[data-industry="agricultura"] .industry-toggle[data-industry-toggle="agricultura"],
[data-industry="industria"] .industry-toggle[data-industry-toggle="industria"] {
  box-shadow: 0 0 0 2px rgba(232,60,40,0.4);
}

/* Industry bar — make sure it doesn't collide with sticky elements */
.industry-bar { position: sticky; }
@media (max-width: 768px) {
  .industry-bar { position: relative; top: auto; }
}

/* Quick-view product hover (catalog cards) */
.product-card-quick-view {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: white;
  color: var(--ink-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}
.product-card:hover .product-card-quick-view { opacity: 1; transform: translateY(0); }

/* =============================================
   INDUSTRY MODE — visible feedback
   ============================================= */
.industry-toggle.industry-flash {
  animation: industryFlash .9s ease;
}
@keyframes industryFlash {
  0% { transform: scale(1); }
  30% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(232,60,40,0.35); }
  70% { transform: scale(0.98); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

.industry-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 6px 12px;
  background: rgba(232,60,40,0.18);
  border: 1px solid rgba(232,60,40,0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: liveBlink .35s ease;
}
.industry-live strong { color: var(--red-400); font-weight: 800; }
.industry-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  animation: liveDot 1.8s ease infinite;
}
@keyframes liveDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes liveBlink { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 540px) {
  .industry-live { display: none; }
}

/* When user picks an industry, accent gradient adapts */
:root { --industry-accent: var(--red-500); }
[data-industry="agricultura"] .hero-scene .accent {
  background: linear-gradient(110deg, #C5F08F 0%, #1F8744 50%, #C5F08F 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
[data-industry="industria"] .hero-scene .accent {
  background: linear-gradient(110deg, #B8E5FF 0%, #0E78B8 50%, #B8E5FF 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
[data-industry="agricultura"] .hero-progress-bar > div {
  background: linear-gradient(90deg, #1F8744, #C5F08F) !important;
}
[data-industry="industria"] .hero-progress-bar > div {
  background: linear-gradient(90deg, #0E78B8, #B8E5FF) !important;
}

/* =============================================
   INDUSTRY TRANSITION OVERLAY (fullscreen takeover)
   ============================================= */
.industry-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.industry-transition.show { opacity: 1; pointer-events: auto; }
.industry-transition-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, var(--bc, #E21E26) 0%, #050505 70%);
  opacity: 0.96;
}
.industry-transition-inner {
  position: relative;
  text-align: center;
  color: white;
  transform: scale(0.6);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.industry-transition.show .industry-transition-inner {
  transform: scale(1);
  animation: industryPulse 1.1s ease;
}
@keyframes industryPulse {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.industry-transition-icon {
  display: inline-grid;
  place-items: center;
  width: 96px; height: 96px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  margin-bottom: 24px;
  color: white;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.industry-transition-icon svg { width: 44px; height: 44px; }
.industry-transition-label {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.industry-transition-sub {
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 12px;
}
.industry-transition-hint {
  margin-top: 32px;
  font-size: 0.92rem;
  opacity: 0.8;
  letter-spacing: 0.04em;
  animation: hintBob 1.2s ease infinite;
}
@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =============================================
   TRUST STRIP — properly designed cards + real images
   ============================================= */
.trust-strip {
  background: white;
  padding: 56px 0;
  border-bottom: 1px solid var(--ink-100);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .trust-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .trust-strip-grid { grid-template-columns: 1fr; } }

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid var(--ink-100);
  transition: all .2s ease;
}
.trust-card:hover {
  border-color: var(--red-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  background: white;
}
.trust-card.trust-card-highlight {
  background: linear-gradient(135deg, var(--ink-950), #1A1A1A);
  border-color: var(--red-500);
  color: white;
}
.trust-card-icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--red-500);
  flex-shrink: 0;
  border: 1px solid var(--ink-100);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.trust-card-icon-red {
  background: var(--red-500);
  color: white;
  border-color: var(--red-500);
  box-shadow: 0 6px 14px rgba(232,30,38,0.3);
}
.trust-card-content { flex: 1; min-width: 0; }
.trust-card-title {
  font-weight: 800;
  color: var(--ink-900);
  font-size: 1.02rem;
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.trust-card-highlight .trust-card-title { color: white; }
.trust-card-sub {
  font-size: 0.84rem;
  color: var(--ink-500);
  line-height: 1.35;
}
.trust-card-highlight .trust-card-sub { color: rgba(255,255,255,0.7); }

/* Cert + alliance images */
.trust-credentials {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: var(--surface-cream);
  border-radius: 14px;
  border: 1px solid var(--ink-100);
}
@media (max-width: 900px) {
  .trust-credentials { grid-template-columns: 1fr; gap: 24px; }
  .trust-credentials-divider { display: none; }
}
.trust-credentials-divider { width: 1px; height: 80px; background: var(--ink-200); }
.trust-credentials-block { text-align: center; }
.trust-credentials-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.trust-credentials-block img {
  max-width: 100%;
  max-height: 84px;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

/* =============================================
   SOCIAL PROOF BAR — compact, polished
   ============================================= */
.social-proof-bar {
  background: var(--ink-950);
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.social-proof-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.sp-pill strong {
  color: white;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ADE80;
  animation: livePulse 2s ease infinite;
}
.sp-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 14px;
  background: var(--red-500);
  color: white;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s ease;
}
.sp-cta:hover { background: var(--red-600); transform: translateX(2px); }
@media (max-width: 768px) {
  .social-proof-inner { gap: 16px; }
  .sp-pill { font-size: 0.78rem; }
  .sp-cta { margin-left: 0; }
}

/* =============================================
   BRAND MARQUEE — bigger logos
   ============================================= */
.brand-marquee-track img {
  height: 56px !important;
  max-width: 200px !important;
  filter: grayscale(0.9) opacity(0.7);
  transition: filter .25s ease, transform .25s ease;
}
.brand-marquee-track img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}
.brand-marquee {
  padding: 48px 0 !important;
}
/* =============================================
   V9 REFINEMENT — premium polish, less noise
   ============================================= */

/* Apple-grade easing tokens (override transitions sitewide) */
:root {
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 360ms cubic-bezier(.16, 1, .3, 1);
  --t-slow: 600ms cubic-bezier(.16, 1, .3, 1);
}

/* Reduce visual chrome on cards: hover with subtle lift, no harsh borders */
.product-card { transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-200);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.03);
}
.product-card-stripe { height: 4px !important; opacity: 0.92; }

/* Brand tiles — quieter, more elegant */
.brand-tile {
  border-radius: 16px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.08);
}
.brand-tile::before { height: 3px !important; }

/* Industry bar — quieter, no sticky on desktop either (less chrome) */
.industry-bar {
  position: relative !important;
  top: auto !important;
  background: var(--ink-950);
  padding: 10px 0;
}
.industry-bar-inner { gap: 12px; }
.industry-toggle {
  padding: 7px 16px;
  font-size: 0.84rem;
  border-color: rgba(255,255,255,0.16);
  transition: all var(--t-fast);
}
.industry-toggle.active {
  background: white;
  color: var(--ink-900);
  border-color: white;
}
.industry-toggle.industry-flash { animation: none !important; }

/* Industry corner badge — premium subtle */
.industry-badge {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 90;
  background: var(--ink-950);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: opacity .35s var(--ease-premium), transform .45s var(--ease-premium);
}
.industry-badge.show { opacity: 1; transform: translateY(0) scale(1); }
.industry-badge strong { color: var(--bc, var(--red-400)); font-weight: 800; }
.industry-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bc, #4ADE80);
  box-shadow: 0 0 10px var(--bc, #4ADE80);
}
@media (max-width: 768px) {
  .industry-badge { top: auto; bottom: 92px; right: 16px; font-size: 0.78rem; padding: 10px 14px; }
}
/* Hide old fullscreen takeover styles */
.industry-transition { display: none !important; }

/* Trust strip — refined v9 */
.trust-strip {
  background: white;
  padding: 64px 0;
  border-bottom: 1px solid var(--ink-100);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .trust-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip-grid { grid-template-columns: 1fr; } }

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.trust-card:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.trust-card.trust-card-highlight {
  background: var(--ink-950);
  color: white;
}
.trust-card-icon {
  width: 44px; height: 44px;
  background: white;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--red-500);
  flex-shrink: 0;
  border: 1px solid var(--ink-100);
}
.trust-card-icon-red {
  background: var(--red-500);
  color: white;
  border-color: var(--red-500);
}
.trust-card-title {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.trust-card-highlight .trust-card-title { color: white; }
.trust-card-sub {
  font-size: 0.82rem;
  color: var(--ink-500);
  line-height: 1.35;
}
.trust-card-highlight .trust-card-sub { color: rgba(255,255,255,0.7); }

.trust-credentials {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 32px;
  background: var(--surface-cream);
  border-radius: 14px;
}
@media (max-width: 768px) {
  .trust-credentials { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .trust-credentials-divider { display: none; }
}
.trust-credentials-divider { width: 1px; height: 72px; background: var(--ink-200); }
.trust-credentials-block { text-align: center; }
.trust-credentials-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.trust-credentials-block img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter var(--t-base);
}
.trust-credentials-block:hover img { filter: grayscale(0); }

/* Brand marquee — quieter, slower */
.brand-marquee {
  background: var(--surface-soft);
  padding: 40px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.brand-marquee-track {
  gap: 56px;
  animation-duration: 60s;
}
.brand-marquee-track img {
  height: 44px !important;
  max-width: 160px !important;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--t-base);
}
.brand-marquee-track img:hover { filter: grayscale(0) opacity(1); }
.brand-marquee::before, .brand-marquee::after { width: 100px; }
.brand-marquee::before { background: linear-gradient(90deg, var(--surface-soft), transparent); }
.brand-marquee::after { background: linear-gradient(-90deg, var(--surface-soft), transparent); }

/* Cookie consent — tiny, footer-aligned */
.cookie-consent {
  position: fixed;
  bottom: 92px; right: 24px; left: auto;
  background: var(--ink-950);
  color: white;
  border-radius: 12px;
  padding: 14px 16px;
  z-index: 92;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
  transition: opacity var(--t-base), transform var(--t-base);
  max-width: 320px;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 768px) { .cookie-consent { bottom: 168px; right: 16px; left: 16px; max-width: none; } }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-icon { display: none; }
.cookie-text { flex: 1; }
.cookie-text strong { display: block; font-size: 0.88rem; color: white; margin-bottom: 2px; }
.cookie-text p { font-size: 0.76rem; color: rgba(255,255,255,0.65); margin: 0; }
.cookie-accept {
  padding: 8px 14px;
  background: white;
  color: var(--ink-900);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--t-fast);
}
.cookie-accept:hover { opacity: 0.85; }
.cookie-reject { display: none; }
.cookie-actions { display: contents; }

/* Hero scenes — smoother transition */
.hero-scene {
  transition: opacity .9s var(--ease-premium), transform 1s var(--ease-premium);
}

/* Floating buttons — refined */
.float-whatsapp, .float-top {
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.float-whatsapp:hover, .float-top:hover {
  transform: translateY(-2px);
}

/* Dot indicator on hero scene-indicator becomes button (clickable) */
.scene-indicator .dot {
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  background: rgba(255,255,255,0.18);
}

/* Section spacing — more breathing room (premium) */
.section { padding: clamp(72px, 11vw, 144px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

/* Final CTA section — softer red, less aggressive */
.section-red {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
}

/* Counter section — tighter typography */
.counter-num {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  background: linear-gradient(180deg, white 0%, #FFB088 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter-label { font-size: 0.78rem; letter-spacing: 0.16em; }

/* Calculator card — refined glass */
.hero-calc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

/* App cards — softer overlays */
.app-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 50%, rgba(5,5,5,0.92) 100%);
}

/* Industry-bar live indicator — hide (replaced by corner badge) */
.industry-live { display: none !important; }
/* =============================================
   HERO CALCULATOR v2 — premium picker + multi-metric
   ============================================= */

.calc2 {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .calc2 { grid-template-columns: 1fr; }
}

/* LEFT: Input flow */
.calc2-input {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}
@media (max-width: 600px) { .calc2-input { padding: 24px; gap: 28px; } }

.calc2-step {}
.calc2-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.calc2-step-num {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}
.calc2-step-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.calc2-step-unit {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

/* Project picker — visual cards */
.calc2-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 540px) { .calc2-projects { grid-template-columns: repeat(2, 1fr); } }

.calc2-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 240ms cubic-bezier(.16, 1, .3, 1);
  font-family: inherit;
  color: rgba(255, 255, 255, 0.6);
  outline: none;
}
.calc2-project:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-1px);
}
.calc2-project:focus-visible {
  outline: 2px solid var(--red-500);
  outline-offset: 2px;
}
.calc2-project.active {
  background: white;
  border-color: white;
  color: var(--ink-900);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15);
}
.calc2-project-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
}
.calc2-project-icon svg { width: 24px; height: 24px; }
.calc2-project-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}

/* Quantity controls */
.calc2-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.calc2-preset {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 180ms ease;
  font-variant-numeric: tabular-nums;
}
.calc2-preset:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: white;
}

.calc2-qty {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 180ms ease;
}
.calc2-qty:focus-within {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(232, 60, 40, 0.18);
}
.calc2-qty-btn {
  width: 48px;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 180ms ease, color 180ms ease;
}
.calc2-qty-btn:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.calc2-qty input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  outline: none;
  padding: 12px 0;
  min-width: 0;
}
.calc2-qty input::-webkit-outer-spin-button,
.calc2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc2-qty input[type=number] { -moz-appearance: textfield; }

.calc2-slider {
  width: 100%;
  margin-top: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.calc2-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.calc2-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  border: 3px solid var(--red-500);
  margin-top: -7px;
  cursor: grab;
  transition: transform 150ms ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.calc2-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc2-slider::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.calc2-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  border: 3px solid var(--red-500);
  cursor: grab;
}

/* RIGHT: Output panel */
.calc2-output {
  background: linear-gradient(160deg, rgba(232, 60, 40, 0.16) 0%, rgba(232, 60, 40, 0.03) 70%);
  border: 1px solid rgba(232, 60, 40, 0.32);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.calc2-output::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 60, 40, 0.18), transparent 60%);
  pointer-events: none;
}
@media (max-width: 600px) { .calc2-output { padding: 28px 24px; } }

.calc2-output-header { position: relative; }
.calc2-output-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.calc2-tons {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: white;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.calc2-tons-unit {
  font-size: 0.5em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0;
}
.calc2-tons-equiv {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.calc2-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  position: relative;
}
@media (max-width: 460px) { .calc2-metrics { grid-template-columns: 1fr; gap: 10px; } }
.calc2-metric {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 14px;
}
.calc2-metric-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}
.calc2-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.calc2-metric-value-sm { font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.calc2-metric-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  line-height: 1.3;
}

.calc2-trucks-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  align-items: center;
  min-height: 22px;
}
.calc2-trucks-visual .truck {
  color: var(--red-400);
  animation: truckIn .35s ease both;
}
.calc2-trucks-visual .truck-more {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  font-family: var(--font-mono);
  margin-left: 4px;
}

.calc2-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 240ms cubic-bezier(.16, 1, .3, 1);
  position: relative;
}
.calc2-product:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}
.calc2-product img {
  width: 56px; height: 56px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
}
.calc2-product-meta { flex: 1; min-width: 0; }
.calc2-product-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: block;
}
.calc2-product-meta strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-top: 2px;
  line-height: 1.2;
}
.calc2-product-formula {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  margin-top: 2px;
  display: block;
}
.calc2-product svg { color: rgba(255, 255, 255, 0.4); transition: transform 240ms; }
.calc2-product:hover svg { transform: translateX(4px); color: white; }

.calc2-cta {
  background: var(--red-500);
  color: white;
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 240ms cubic-bezier(.16, 1, .3, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.005em;
}
.calc2-cta:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232, 60, 40, 0.35);
}
.calc2-cta svg { transition: transform 200ms; }
.calc2-cta:hover svg { transform: translateX(3px); }

.calc2-disclaimer {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
/* =============================================
   PREMIUM MENU v10 — refined header, dropdowns, drawer
   ============================================= */

/* Header — sleeker, more refined */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
          backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 240ms cubic-bezier(.16, 1, .3, 1);
}

.site-header .nav {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  height: 68px;
  gap: 24px;
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 180ms ease;
  border: none;
  margin-right: -8px;
}
.menu-toggle:hover { background: var(--ink-50); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 32px;
  width: auto;
  display: block;
}

/* Nav list — refined */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-self: center;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-700);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
  position: relative;
  text-decoration: none;
}
.nav-link svg {
  opacity: 0.5;
  transition: transform 280ms cubic-bezier(.16, 1, .3, 1), opacity 180ms ease;
}
.nav-link:hover {
  color: var(--ink-900);
  background: rgba(0, 0, 0, 0.035);
}
.nav-link:hover svg { opacity: 0.85; }

.has-dd.is-open .nav-link { color: var(--ink-900); background: rgba(0, 0, 0, 0.04); }
.has-dd.is-open .nav-link svg { transform: rotate(180deg); opacity: 1; }

.nav-link.active { color: var(--ink-900); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-500);
}

/* Dropdown panel */
.dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms cubic-bezier(.16, 1, .3, 1), transform 240ms cubic-bezier(.16, 1, .3, 1), visibility 240ms;
  z-index: 60;
}
.dd-panel-wide { min-width: 460px; }
.dd-panel-lang { min-width: 160px; padding: 8px; left: auto; right: 0; transform: translateY(-6px); }

.has-dd:hover .dd-panel,
.has-dd.is-open .dd-panel,
.has-dd:focus-within .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dd-panel-lang.dd-panel,
.lang-btn:hover .dd-panel-lang,
.lang-btn:focus-within .dd-panel-lang {
  transform: translateY(0);
}

.dd-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding: 8px 12px 10px;
}

.dd-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dd-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.dd-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-700);
  transition: background 180ms ease, color 180ms ease;
}
.dd-item:hover {
  background: var(--ink-50);
  color: var(--ink-900);
}
.dd-item.active { background: var(--red-50); color: var(--red-600); }
.dd-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.dd-item-sub {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 3px;
  line-height: 1.3;
}
.dd-item-feat {
  background: var(--surface-cream);
  color: var(--red-500);
  font-weight: 700;
}
.dd-item-feat .dd-item-title { color: var(--red-500); }
.dd-item-feat:hover { background: var(--red-50); }

.dd-foot {
  display: block;
  margin-top: 8px;
  padding: 12px 12px 10px;
  border-top: 1px solid var(--ink-100);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-500);
  text-decoration: none;
  text-align: center;
  border-radius: 0 0 10px 10px;
  transition: background 180ms ease;
}
.dd-foot:hover { background: var(--red-50); }

/* Right-side actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 180ms ease;
  position: relative;
}
.icon-btn:hover {
  background: var(--ink-50);
  color: var(--ink-900);
}

.lang-btn {
  width: auto;
  padding: 0 12px;
  gap: 4px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  height: 38px;
}
.lang-btn .lang-current { line-height: 1; }
.lang-btn svg { opacity: 0.5; transition: transform 240ms ease; }
.lang-btn:hover svg { transform: translateY(1px); }

/* Cart button — refined, less garish */
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 38px;
  background: var(--ink-900);
  color: white;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: all 180ms ease;
  margin-left: 8px;
}
.cart-btn:hover {
  background: var(--red-500);
  transform: translateY(-1px);
}
.cart-btn-label { line-height: 1; }
.cart-count {
  background: var(--red-500);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.cart-btn:hover .cart-count { background: white; color: var(--red-500); }
.cart-count.empty { display: none; }

@media (max-width: 1024px) {
  .cart-btn-label { display: none; }
  .cart-btn { padding: 0 12px; gap: 6px; }
}

/* Industry bar — quieter, refined */
.industry-bar {
  background: var(--ink-950);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative !important;
  top: auto !important;
}
.industry-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.industry-bar-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 10px;
}
.industry-toggle {
  padding: 6px 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.industry-toggle:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}
.industry-toggle.active {
  background: white;
  color: var(--ink-900);
  border-color: white;
}
@media (max-width: 540px) {
  .industry-bar-label { display: none; }
  .industry-bar-inner { gap: 6px; padding: 0 16px; }
  .industry-toggle { padding: 6px 12px; font-size: 0.76rem; }
}

/* =============================================
   MOBILE — drawer + responsive header
   ============================================= */
@media (max-width: 1024px) {
  .nav-list { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .nav { grid-template-columns: auto 1fr auto; }
  .nav-actions .icon-btn:not(.lang-btn) { display: none; }
}
@media (max-width: 600px) {
  .lang-btn { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 320ms;
}
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 280ms ease;
}
.mobile-drawer.is-open .mobile-drawer-overlay { opacity: 1; }

.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: white;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 380ms cubic-bezier(.16, 1, .3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-100);
  flex-shrink: 0;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 24px;
  -webkit-overflow-scrolling: touch;
}

/* Accordion sections in drawer */
.m-acc {
  border-bottom: 1px solid var(--ink-100);
  padding: 4px 0;
}
.m-acc:last-of-type { border-bottom: none; }
.m-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  transition: background 180ms ease;
  letter-spacing: -0.01em;
}
.m-acc summary:hover { background: var(--ink-50); }
.m-acc summary::-webkit-details-marker { display: none; }
.m-acc summary::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg);
  transition: transform 240ms ease;
  margin-right: 8px;
}
.m-acc[open] summary::after { transform: rotate(-135deg); }
.m-acc a {
  display: block;
  padding: 11px 28px;
  font-size: 0.92rem;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: 6px;
  margin: 0 4px;
  transition: all 150ms ease;
}
.m-acc a:hover { background: var(--ink-50); color: var(--red-500); }
.m-acc a.m-acc-feat {
  color: var(--red-500);
  font-weight: 700;
  margin-top: 4px;
}

.mobile-drawer-cta {
  margin-top: 24px;
  padding: 0 12px;
}
.mobile-drawer-cta .btn-block { width: 100%; }

/* =============================================
   MOBILE FIXES v10.1 — comprehensive
   ============================================= */

/* Header layout: simplify on mobile (hamburger | logo | cart) */
@media (max-width: 1024px) {
  .site-header .nav {
    display: flex;
    justify-content: space-between;
    height: 60px;
    gap: 12px;
    padding: 0;
  }
  .menu-toggle {
    display: inline-flex;
    order: 0;
    flex-shrink: 0;
  }
  .brand {
    order: 1;
    flex: 0 1 auto;
  }
  .brand img { height: 28px; }
  .nav-list { display: none !important; }
  .nav-actions {
    order: 2;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
  }
  /* Hide search + lang on mobile — accessible from drawer */
  .nav-actions .icon-btn:not(.cart-btn),
  .nav-actions .lang-btn { display: none; }
  .cart-btn {
    margin-left: 0;
    padding: 0 12px;
    height: 36px;
  }
  .cart-btn-label { display: none; }
}

/* Industry bar — hide on small mobile (it's also in drawer) */
@media (max-width: 768px) {
  .industry-bar { padding: 6px 0; }
  .industry-bar-label { display: none; }
  .industry-bar-inner { gap: 4px; padding: 0 12px; }
  .industry-toggle {
    padding: 5px 10px;
    font-size: 0.74rem;
    flex: 1;
    text-align: center;
    max-width: 130px;
  }
}
@media (max-width: 380px) {
  .industry-bar { display: none; }
}

/* Hero — much shorter on mobile, scenes auto-cycle if not js-hero */
@media (max-width: 768px) {
  .js-hero .hero-immersive { height: 280vh; }
  .hero-scene { padding: 16px; }
  .hero-scene h1 { font-size: clamp(2rem, 11vw, 3.4rem); max-width: 14ch; }
  .hero-scene-eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; margin-bottom: 18px; }
  .hero-scene-eyebrow::before, .hero-scene-eyebrow::after { width: 20px; }
  .hero-scene-sub { font-size: 0.95rem; }
  .hero-scene-ctas { gap: 8px; flex-direction: column; width: 100%; max-width: 320px; margin: 32px auto 0; }
  .hero-scene-ctas .btn { width: 100%; padding: 14px 22px; font-size: 0.92rem; }
  .scroll-hint { bottom: 16px; font-size: 0.65rem; }
  .scroll-hint .line { height: 24px; }
  .scene-indicator { right: 12px; gap: 6px; }
  .scene-indicator .dot { width: 6px; height: 6px; }
  .hero-skip { top: 14px; right: 14px; padding: 7px 12px; font-size: 0.7rem; }
}

/* Hero apps grid — 2x2 mobile */
@media (max-width: 600px) {
  .hero-apps { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 320px; }
  .hero-app { padding: 14px 8px; font-size: 0.78rem; }
  .hero-app svg { width: 28px; height: 28px; }
}

/* Section spacing — tighter on mobile */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
  .container { padding: 0 16px; }
  .h-display { font-size: clamp(2rem, 9vw, 3rem); }
  .h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .lead { font-size: 1rem; }
}

/* Trust strip mobile */
@media (max-width: 768px) {
  .trust-strip { padding: 40px 0; }
  .trust-strip-grid { gap: 10px; margin-bottom: 28px; }
  .trust-card { padding: 14px 16px; gap: 12px; }
  .trust-card-icon { width: 38px; height: 38px; }
  .trust-card-title { font-size: 0.92rem; }
  .trust-card-sub { font-size: 0.78rem; }
  .trust-credentials { padding: 24px 20px; gap: 24px; }
  .trust-credentials-block img { max-height: 64px; }
  .trust-credentials-label { font-size: 0.66rem; margin-bottom: 10px; }
}

/* Calc2 mobile — proper sizing */
@media (max-width: 1000px) {
  .calc2 { gap: 20px; }
}
@media (max-width: 768px) {
  .hero-calc-section { padding: 56px 0; }
  .calc2-input, .calc2-output { padding: 24px 20px; border-radius: 18px; }
  .calc2-input { gap: 24px; }
  .calc2-projects { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .calc2-project { padding: 10px 4px; gap: 6px; }
  .calc2-project-icon svg { width: 20px; height: 20px; }
  .calc2-project-icon { width: 22px; height: 22px; }
  .calc2-project-label { font-size: 0.7rem; }
  .calc2-presets { gap: 6px; }
  .calc2-preset { padding: 6px 12px; font-size: 0.78rem; }
  .calc2-qty input { font-size: 1.1rem; padding: 10px 0; }
  .calc2-qty-btn { width: 42px; font-size: 1.2rem; }
  .calc2-tons { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .calc2-metric { padding: 12px; }
  .calc2-metric-value { font-size: 1.3rem; }
  .calc2-metric-value-sm { font-size: 0.95rem; }
  .calc2-product img { width: 48px; height: 48px; }
  .calc2-product-meta strong { font-size: 0.95rem; }
  .calc2-cta { padding: 14px 18px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .calc2-projects { grid-template-columns: repeat(2, 1fr); }
  .calc2-metrics { grid-template-columns: 1fr 1fr; }
  .calc2-metrics > :nth-child(3) { grid-column: span 2; }
}

/* Counters — tighter on mobile */
@media (max-width: 768px) {
  .counters-section { padding: 48px 0; }
  .counters-grid { gap: 0; }
  .counter-item { padding: 24px 12px; }
  .counter-num { font-size: clamp(2rem, 9vw, 3rem); }
  .counter-label { font-size: 0.7rem; letter-spacing: 0.14em; margin-top: 8px; }
}

/* Apps section mobile */
@media (max-width: 900px) {
  .apps-grid { gap: 12px; }
  .app-card { aspect-ratio: 4/5; }
  .app-card-content { padding: 24px 20px; }
  .app-card-title { font-size: 1.4rem; }
  .app-card-desc { display: none; } /* always-on doesn't work without hover */
}

/* Brand tiles mobile */
@media (max-width: 768px) {
  .brand-tiles-grid { gap: 10px; }
  .brand-tile { padding: 24px 16px; min-height: 200px; gap: 12px; }
  .brand-tile-logo { max-height: 56px; }
  .brand-tile-name { font-size: 1rem; }
  .brand-tile-sub { font-size: 0.76rem; }
}

/* Brand marquee mobile */
@media (max-width: 768px) {
  .brand-marquee { padding: 28px 0; }
  .brand-marquee-track { gap: 36px; animation-duration: 50s; }
  .brand-marquee-track img { height: 32px !important; max-width: 120px !important; }
}

/* Sistema + Guía cards mobile */
@media (max-width: 768px) {
  .grid-collapse-mobile > a { min-height: 240px !important; padding: 32px 24px !important; }
  .grid-collapse-mobile h2.h2,
  .grid-collapse-mobile .h2 { font-size: 1.4rem !important; }
  .grid-collapse-mobile img[alt*="silo"], .grid-collapse-mobile img[alt*="Cover"] {
    max-height: 200px !important; right: -10px !important;
  }
}

/* Final CTA section mobile */
@media (max-width: 768px) {
  .section-red { padding: 48px 16px; }
  .section-red h2.h1 { font-size: 1.5rem; }
  .section-red .lead { font-size: 0.95rem; }
}

/* Floats mobile — smaller, less obtrusive */
@media (max-width: 768px) {
  .float-whatsapp {
    width: 48px; height: 48px;
    bottom: 90px; right: 14px;
  }
  .float-whatsapp svg { width: 22px; height: 22px; }
  .float-top {
    width: 40px; height: 40px;
    bottom: 150px; right: 14px;
  }
  .float-top svg { width: 16px; height: 16px; }
  .scroll-progress { display: none; } /* less chrome on mobile */
}

/* Sticky mobile CTA — better safe-area */
.sticky-cta-mobile {
  background: rgba(5, 5, 5, 0.96);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.sticky-cta-mobile a {
  padding: 12px 14px;
  font-size: 0.88rem;
}

/* Cookie consent mobile — sit above sticky cta + safe area */
@media (max-width: 768px) {
  .cookie-consent {
    bottom: calc(80px + env(safe-area-inset-bottom));
    right: 12px; left: 12px;
    max-width: none;
    padding: 12px 14px;
  }
  .cookie-text strong { font-size: 0.84rem; }
  .cookie-text p { font-size: 0.74rem; }
}

/* Page-hero mobile (interior pages) */
@media (max-width: 768px) {
  .page-hero { padding: 64px 0 48px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-hero .lead { font-size: 0.95rem; }
  .breadcrumb { margin-bottom: 16px; font-size: 0.78rem; }
}

/* Product hero mobile */
@media (max-width: 900px) {
  .product-hero { gap: 24px; padding: 32px 0 48px; }
  .product-visual { padding: 6%; }
  .product-info h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .product-info .summary { font-size: 1rem; }
  .spec-grid { gap: 10px; margin: 16px 0 24px; }
  .spec { padding: 12px; }
  .presentation-grid { gap: 8px; }
  .presentation { padding: 12px; }
  .presentation-size { font-size: 0.95rem; }
}

/* Footer mobile */
@media (max-width: 900px) {
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { gap: 24px; margin-bottom: 32px; }
  .footer-col h4 { font-size: 0.74rem; margin-bottom: 12px; }
  .footer-col a { font-size: 0.88rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Body padding for sticky-cta + safe area */
@media (max-width: 768px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Toast mobile positioning (above sticky cta) */
@media (max-width: 768px) {
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; left: 12px; max-width: none; }
}

/* Industry badge mobile */
@media (max-width: 768px) {
  .industry-badge {
    top: auto;
    bottom: calc(150px + env(safe-area-inset-bottom));
    right: 14px;
    font-size: 0.78rem;
    padding: 9px 14px;
  }
}

/* Search modal mobile */
@media (max-width: 768px) {
  .search-modal { padding: 12px; align-items: flex-start; }
  .search-modal-inner { border-radius: 12px; }
  .search-modal-header { padding: 16px; gap: 10px; }
  .search-modal-header input { font-size: 1rem; }
  .search-result { padding: 12px 16px; }
  .search-result-img { width: 36px; height: 36px; }
}

/* Industry-bar dropdown panel positioning fix on mobile */
@media (max-width: 1024px) {
  .dd-panel { display: none; }
  .has-dd:hover .dd-panel,
  .has-dd.is-open .dd-panel,
  .has-dd:focus-within .dd-panel { display: none; }
}

/* Drawer accordion — smoother */
.m-acc[open] summary {
  background: var(--ink-50);
}
.m-acc summary { user-select: none; }

/* Make sure nothing breaks if JS hasn't injected drawer yet */
.mobile-drawer { display: none; }
.mobile-drawer.is-open { display: block; }
@media (max-width: 1024px) {
  .mobile-drawer { display: block; }
}
