/* SIO Technology — Industrial Textile Infrastructure
   v2 — premium industrial, warm white + matte black, signal orange,
   petroleum-blue secondary, woven textures, blueprint overlays
*/

:root {
  /* warm industrial paper + ink */
  --paper:    #F1EDE5;     /* main warm off-white */
  --paper-2:  #E7E2D7;     /* slightly deeper paper */
  --paper-3:  #DAD3C4;     /* tonal divider */
  --ink:      #0E0F11;     /* matte black */
  --ink-2:    #18191C;
  --ink-3:    #232428;

  /* secondary industrial */
  --steel:    #6A6F76;     /* steel gray */
  --steel-2:  #4A4F57;
  --graphite: #1A1B1F;
  --petrol:   #15303F;     /* petroleum blue */
  --petrol-2: #1F4357;

  /* signal */
  --orange:    #DD4814;    /* industrial signal */
  --orange-hi: #F2581C;
  --orange-lo: #B23A0F;

  /* lines */
  --line:      rgba(14,15,17,0.14);
  --line-2:    rgba(14,15,17,0.28);
  --line-dark: rgba(255,255,255,0.12);
  --line-dark-2: rgba(255,255,255,0.22);

  --display: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1480px;
  --pad:  clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
/* Contener todo dentro del viewport */
*:not(.ticker-track):not(.diaadia-track):not(.carousel-slide) {
  max-width: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ─── Patterns ─────────────────────────────── */
/* Woven thread texture — built from multi-direction gradients */
.weave {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient( 90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(  0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    repeating-linear-gradient( 45deg, rgba(0,0,0,0.20) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 5px);
  background-size: 6px 6px, 6px 6px, 12px 12px, 8px 8px;
}
.weave-light {
  background-color: var(--paper-2);
  background-image:
    repeating-linear-gradient( 90deg, rgba(14,15,17,0.06) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(  0deg, rgba(14,15,17,0.06) 0 1px, transparent 1px 8px);
  background-size: 8px 8px;
}

/* Blueprint grid */
.blueprint {
  background-image:
    linear-gradient(to right, rgba(14,15,17,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,15,17,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blueprint-dark {
  background-color: #0A0A0A !important;
  color: #fff !important;
  background-image: 
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 40px 40px;
}
.blueprint-dark .section-title { color: #fff; }
.blueprint-dark .section-lede { color: rgba(255,255,255,0.7); }

/* ─── Container ─────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

.mono { font-family: var(--mono); letter-spacing: 0.02em; }

/* ─── Section header ─────────────────────────────── */
.section {
  padding: clamp(72px, 11vw, 160px) 0;
  position: relative;
}
.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.dark-petrol {
  background: var(--petrol);
  color: #EAF2F6;
}

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.dark .section-head, .dark-petrol .section-head {
  border-bottom-color: var(--line-dark);
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-head { gap: 12px; margin-bottom: 40px; padding-bottom: 20px; }
  .section-title { font-size: clamp(28px, 8vw, 44px); }
  .section-lede { font-size: 15px; margin-top: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
}

.section-id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: end;
}
.dark .section-id, .dark-petrol .section-id { color: rgba(255,255,255,0.55); }
.section-id .num { color: var(--orange); font-size: 13px; }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-title .signal { color: var(--orange); }
.section-title .thin { font-weight: 300; letter-spacing: -0.04em; }

.section-lede {
  margin-top: 28px;
  max-width: 640px;
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.55;
}
.dark .section-lede, .dark-petrol .section-lede { color: rgba(255,255,255,0.75); }

/* ─── Utility bar ─────────────────────────────── */
.utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 501; /* encima de la nav */
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink-3);
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.utility-bar .left, .utility-bar .right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.ubar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.ubar-link:hover { color: var(--orange); }
.ubar-link .social-icon-img { width: 13px; height: auto; filter: brightness(0) invert(0.65); transition: filter 0.2s; }
.ubar-link:hover .social-icon-img { filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(500%) hue-rotate(0deg); }
.utility-bar .dot {
  width: 7px;
  height: 7px;
  background: #46D27E;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(70,210,126,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@media (max-width: 800px) { .utility-bar .hide-sm { display: none; } }
@media (max-width: 480px) {
  .utility-bar { display: none; } /* Ocultar en mobile — info está en el footer */
}

/* ─── Nav ─────────────────────────────── */
.nav {
  position: fixed;
  top: 34px; /* debajo de la utility bar */
  left: 0;
  right: 0;
  z-index: 1300; /* por encima del .mobile-menu (1100) para que el botón X siga clickeable */
  background: rgba(241, 237, 229, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.nav-hidden { transform: translateY(calc(-100% - 34px)); }

/* Compensar utility bar (34px) + nav (76px) */
main { padding-top: 110px; }
@media (max-width: 480px) {
  .utility-bar { display: none; }
  .nav { top: 0; }
  .nav.nav-hidden { transform: translateY(-100%); }
  main { padding-top: 60px; }
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img { height: 38px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-text .word {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1;
}
.logo-text .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
  line-height: 1;
}
@media (max-width: 600px) { .logo-text { display: none; } }
@media (max-width: 480px) {
  .nav .container { height: 60px; padding: 0 16px; }
  .logo-img { height: 30px; }
  /* Touch target mínimo 44px para hamburger */
  .hamburger { width: 44px; height: 44px; }
}

.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 1px;
  width: 0;
  background: var(--orange);
  transition: width 0.18s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 980px) { .hide-mobile { display: none !important; } }
/* Helpers de contenido mobile vs desktop */
.show-on-mobile { display: none; }
@media (max-width: 600px) {
  .hide-on-mobile { display: none; }
  .show-on-mobile { display: inline; }
}

/* ─── Hamburger ─────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 8px;
  cursor: pointer;
  z-index: 1200;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) { .hamburger { display: flex; } }

/* ─── Mobile menu ─────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(14,15,17,0.65);
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu nav {
  background: var(--paper);
  width: min(320px, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  gap: 0;
  border-left: 2px solid var(--orange);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
}
.mobile-menu nav a {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
  display: block;
}
.mobile-menu nav a:first-child { border-top: 1px solid var(--line); }
.mobile-menu nav a:hover,
.mobile-menu nav a.active { color: var(--orange); }
.mobile-menu nav .btn {
  margin-top: 32px;
  text-align: center;
  justify-content: center;
}

/* ─── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  font-weight: 500;
  transition: all 0.18s ease;
  white-space: nowrap;
  position: relative;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.2s ease; font-family: var(--mono); }
.btn:hover .arrow { transform: translateX(4px); }
.dark .btn, .dark-petrol .btn { border-color: var(--paper); color: var(--paper); }
.dark .btn:hover, .dark-petrol .btn:hover { background: var(--paper); color: var(--ink); }
.dark .btn-primary, .dark-petrol .btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.dark .btn-primary:hover, .dark-petrol .btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ─── Registration marks (engineering drawing corners) ─── */
.regmarks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.regmarks::before, .regmarks::after,
.regmarks > i::before, .regmarks > i::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  opacity: 0.4;
}
.regmarks::before  { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.regmarks::after   { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.regmarks > i      { position: absolute; inset: 0; }
.regmarks > i::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.regmarks > i::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ─── Hero ─────────────────────────────── */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  /* Llena el viewport restante debajo de utility bar (34) + nav (76) */
  min-height: calc(100vh - 110px);
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  /* Al apilarse, el visual no debe heredar los 480px del layout de escritorio */
  .hero-right { min-height: 360px; }
}
@media (max-width: 700px) {
  .hero-right { min-height: 300px; }
}
@media (max-width: 480px) {
  .hero-left { padding: 32px 20px 40px; gap: 24px; }
  .hero-headline { font-size: clamp(38px, 10vw, 56px); margin: 20px 0 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 10px; gap: 8px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-right { min-height: 220px; }
}

.hero-left {
  padding: clamp(24px, 3vw, 44px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
  border-right: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .hero-left { border-right: none; border-bottom: 1px solid var(--line); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero-eyebrow .pip { width: 8px; height: 8px; background: var(--orange); display: inline-block; }
.hero-eyebrow b { color: var(--ink); font-weight: 500; }

.hero-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 18px 0 20px;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-headline .signal { color: var(--orange); }
.hero-headline .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) { .hero-ledger { grid-template-columns: repeat(2, 1fr); } }
.hero-ledger .cell {
  padding: 20px 18px 18px 0;
  border-right: 1px dashed var(--line);
}
.hero-ledger .cell:last-child { border-right: 0; }
.hero-ledger .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.hero-ledger .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-ledger .v sup { font-size: 0.45em; color: var(--orange); margin-left: 2px; vertical-align: top; line-height: 1; }

/* hero right — cinematic visual */
.hero-right {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
/* El piso de 480px aplica solo en el layout de escritorio (lado a lado).
   Por debajo de 1100px el hero se apila y manda la media query correspondiente. */
@media (min-width: 1101px) {
  .hero-right { min-height: 480px; }
}
.hero-visual {
  position: absolute;
  inset: 0;
  background:
    /* light streaks for cinematic feel */
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(221,72,20,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(21,48,63,0.7) 0%, transparent 60%),
    /* woven texture */
    repeating-linear-gradient( 45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.4) 0 1px, transparent 1px 7px),
    repeating-linear-gradient( 90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(  0deg, rgba(0,0,0,0.5) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, #14161A 0%, #0A0B0D 100%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, transparent 30%, rgba(0,0,0,0.4) 100%);
}
.hero-meta {
  position: absolute;
  inset: 0;
  padding: 32px;
  color: rgba(255,255,255,0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
.hero-meta .tag-tl { position: absolute; top: 32px; left: 32px; }
.hero-meta .tag-tr { position: absolute; top: 32px; right: 32px; text-align: right; }
.hero-meta .tag-bl { position: absolute; bottom: 32px; left: 32px; max-width: 60%; }
.hero-meta .tag-br { position: absolute; bottom: 32px; right: 32px; text-align: right; }
.hero-meta .tag-bl b { display: block; color: #fff; font-weight: 500; font-size: 11.5px; margin-bottom: 4px; }
.hero-meta .tag-bl span { color: rgba(255,255,255,0.6); }
.hero-meta .crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}
.hero-meta .crosshair::before, .hero-meta .crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.3);
}
.hero-meta .crosshair::before { left: 50%; top: -10px; bottom: -10px; width: 1px; margin-left: -0.5px; }
.hero-meta .crosshair::after  { top: 50%; left: -10px; right: -10px; height: 1px; margin-top: -0.5px; }
.hero-meta .crosshair span {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(12px, -50%);
  white-space: nowrap;
  font-size: 9.5px;
}

/* ─── Día a día ─────────────────────────────── */
.diaadia {
  background: var(--ink-2);
  padding: clamp(56px, 7vw, 96px) 0;
  overflow: hidden;
}
.diaadia-carousel-wrap {
  overflow: hidden;
  margin: 0 0 28px;
  width: 100%;
  max-width: 100%;
  touch-action: pan-y;
}
.diaadia-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.diaadia-card {
  flex: 0 0 calc((100% - 32px) / 3);
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.10);
}
.diaadia-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-3);
  cursor: pointer;
}
.diaadia-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  z-index: 2;
  transition: background 0.2s;
}
.diaadia-video-wrap:hover .diaadia-play-overlay { background: rgba(0,0,0,0.5); }
.diaadia-video-error {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}
.diaadia-video-wrap .diaadia-code {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  z-index: 1;
}
.diaadia-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}
.diaadia-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  position: relative;
  z-index: 1;
  background: rgba(221,72,20,0.10);
}
.play-icon svg { width: 26px; height: 26px; margin-left: 4px; }
.diaadia-coming {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.diaadia-code {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}
.diaadia-info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.diaadia-info b {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.diaadia-info span {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.diaadia-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.diaadia-controls button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}
.diaadia-controls button:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); }
.diaadia-controls button:disabled { opacity: 0.3; cursor: default; }
.diaadia-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.diaadia-dots span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}
.diaadia-dots span.active { background: var(--orange); }
@media (max-width: 900px) {
  .diaadia-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
  .diaadia-card { flex: 0 0 85%; }
}

/* ─── Abastecimiento block ─────────────────────────────── */
.abast-block {
  background: var(--petrol);
  color: #fff;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 2px solid var(--orange);
}
.abast-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.abast-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.abast-title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.15;
}
.abast-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0;
}
.abast-copy { flex: 1; min-width: 280px; }
.btn-sio-industrial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.2s;
}
.btn-sio-industrial:hover { background: var(--orange-hi); }
.abast-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.abast-step {
  background: rgba(255,255,255,0.04);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.abast-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.abast-step b {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.abast-step span:last-child {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .abast-steps { grid-template-columns: repeat(2, 1fr); }
  .abast-head { flex-direction: column; }
}
@media (max-width: 500px) {
  .abast-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .abast-block { padding: 36px 0; }
  .abast-head { flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .abast-title { font-size: 22px; }
  .abast-desc { font-size: 15px; }
  .btn-sio-industrial { width: 100%; justify-content: center; min-height: 48px; }
  .abast-step { padding: 20px 16px; }
  .abast-step b { font-size: 15px; }
  .abast-step span:last-child { font-size: 13px; }
}

/* ─── Stats strip (dark) ─────────────────────────────── */
.stats-strip {
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid var(--ink-3);
  overflow: hidden;
  padding: 48px 0;
}
.stats-strip .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .stats-strip .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .stats-strip { padding: 32px 0; }
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); }
  .stat-cell { padding: 24px 16px; border-right: none; background: var(--ink); gap: 8px; }
  .stat-cell .num { font-size: 44px; }
  .stat-cell .lbl { font-size: 10px; }
}
.stat-cell {
  padding: 0 32px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat-cell .num sup { font-size: 0.4em; color: var(--orange); vertical-align: top; }
.stat-cell .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.stat-cell .lbl b { color: #fff; font-weight: 500; }

/* ─── Empresa ─────────────────────────────── */
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
@media (max-width: 900px) { .empresa-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) {
  .empresa-grid { gap: 24px; }
  .empresa-copy h3 { font-size: 11px; }
  .empresa-list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; font-size: 14px; }
  .big-visual { aspect-ratio: 4/3; }
  /* Día a día mobile */
  .diaadia { padding: 40px 0; }
  .diaadia-card { flex: 0 0 82vw; }
  .diaadia-info { padding: 16px; }
  .diaadia-info b { font-size: 15px; }
  .diaadia-info span { font-size: 13px; }
  .diaadia-controls button { width: 44px; height: 44px; }
}
.empresa-copy h3 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin: 0 0 12px;
  font-weight: 500;
}
.empresa-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 18px;
  max-width: 56ch;
}
.empresa-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--ink);
}
.empresa-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-3);
  align-items: baseline;
}
.empresa-list .y {
  font-family: var(--mono);
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* big visual */
.big-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
  color: rgba(255,255,255,0.85);
}
.big-visual.wide { aspect-ratio: 16/9; min-height: 380px; }
.big-visual .v-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.big-visual:hover .v-bg { transform: scale(1.05); }

.big-visual .v-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,15,17,0.2) 0%, rgba(14,15,17,0.6) 100%);
  z-index: 1;
}

.big-visual .v-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}
.big-visual .v-cap .t b { display: block; color: #fff; font-weight: 500; font-size: 12px; margin-bottom: 4px; letter-spacing: 0.08em; }
.big-visual .v-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.big-visual .v-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  display: inline-block;
}
.big-visual .v-code {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}

/* alt orange-tinted big visual */
.big-visual.warm .v-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(221,72,20,0.45) 0%, transparent 70%),
    repeating-linear-gradient( 30deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-30deg, rgba(0,0,0,0.4) 0 1px, transparent 1px 7px),
    linear-gradient(155deg, #2A1006 0%, #0E0604 100%);
}
.big-visual.petrol .v-bg {
  background:
    radial-gradient(ellipse 70% 70% at 60% 40%, rgba(56,140,180,0.30) 0%, transparent 60%),
    repeating-linear-gradient( 45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.5) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #15303F 0%, #08151D 100%);
}

/* ─── Productos (dark) ─────────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) {
  .prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .prod-card .pic { height: 240px; }
  .prod-card .body { padding: 20px 16px; gap: 12px; }
  .prod-card h4 { font-size: 26px; }
  .prod-card p { font-size: 14px; }
  .chip { font-size: 10px; padding: 6px 8px; }
  .mat-bar { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .mat { padding: 16px 12px; gap: 6px; min-width: 0; }
  .mat-name { font-size: clamp(13px, 4vw, 17px); word-break: break-word; line-height: 1.1; }
  .mat-meta { font-size: 9.5px; }
}
.prod-card {
  background: var(--ink);
  padding: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s ease;
}
.prod-card:hover { background: var(--ink-2); }
.prod-card .pic {
  height: 380px; /* Reducido de 500px+ para mayor eficiencia vertical */
  overflow: hidden;
}
.prod-card .body {
  padding: 32px 40px; /* Compactado ligeramente */
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prod-card .name {
  font-size: 42px; /* Reducido levemente para balancear */
  line-height: 1;
}
@media (max-width: 1400px) {
  .prod-card .pic { height: 320px; }
  .prod-card .name { font-size: 36px; }
}
.prod-card .pnum {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.prod-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.025em;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}
.prod-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--line-dark-2);
  color: rgba(255,255,255,0.85);
}

/* materials grid */
.mat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  margin-top: 56px;
  border: 1px solid var(--line-dark);
}
@media (max-width: 700px) { .mat-bar { grid-template-columns: repeat(2, 1fr); } }
.mat {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.mat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 3px;
  background: var(--orange);
}
.mat-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.mat-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 2.4vw, 26px); /* fluido: evita que nombres largos se corten feo en tablet */
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ─── Servicios (light) ─────────────────────────────── */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .serv-grid { grid-template-columns: 1fr; } }

/* ─── Imágenes de clientes (dentro de Día a día) ─────────────────────────────── */
.clientes-fotos {
  margin-top: 56px;
  border-top: 1px solid var(--line-dark);
  padding-top: 48px;
}
.clientes-header {
  margin-bottom: 32px;
}
.clientes-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.clientes-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 30px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.clientes-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.cliente-foto-placeholder {
  aspect-ratio: 1;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
/* Fotos reales de clientes */
.cliente-foto {
  aspect-ratio: 1;
  background: var(--ink-3);
  overflow: hidden;
}
.cliente-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cliente-foto:hover img { transform: scale(1.04); }
.cliente-foto-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cliente-foto-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cliente-foto-inner svg {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.25);
}
.cliente-foto-inner span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-fotos { margin-top: 40px; padding-top: 32px; }
  .clientes-title { font-size: 18px; }
}

/* ─── Abastecimiento inset (dentro de Servicios) ─────────────────────────────── */
.abast-inset {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 40px;
  background: var(--paper-2);
}
.abast-inset-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.abast-inset-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  color: var(--ink);
  line-height: 1.15;
}
.abast-inset-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0;
}
@media (max-width: 480px) {
  .abast-inset { padding: 24px 16px; margin-top: 28px; }
  .abast-inset-head { flex-direction: column; gap: 16px; }
  .abast-inset-title { font-size: 20px; }
  .abast-inset-desc { font-size: 14px; }
  .abast-inset .btn-sio-industrial { width: 100%; justify-content: center; }
  .abast-inset .abast-steps { grid-template-columns: 1fr; }
}
/* Steps dentro del inset (fondo claro) */
.abast-inset .abast-steps {
  background: rgba(14,15,17,0.06);
  border: 1px solid var(--line-2);
}
.abast-inset .abast-step {
  background: var(--paper);
}
.abast-inset .abast-step b { color: var(--ink); }
.abast-inset .abast-step span:last-child { color: var(--steel); }

/* ─── Servicios acordeón (mobile) ─────────────────────────────── */
.serv-accordion {
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.accordion-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.accordion-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.accordion-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.accordion-icon {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
}
.accordion-body {
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}
.accordion-item.open .accordion-title { color: var(--orange); }
@media (max-width: 480px) {
  .serv { padding: 24px 16px; gap: 14px; min-height: auto; }
  .serv h4 { font-size: 24px; }
  .serv p { font-size: 14px; }
}
.serv {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  position: relative;
  transition: background 0.2s ease;
}
.serv:hover { background: var(--paper-2); }
.serv .index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.serv .index b { color: var(--orange); font-weight: 500; }
.serv h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin: 0;
  text-transform: uppercase;
}
.serv p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}
.serv .specs {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.serv .specs span {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.serv .specs span:last-child { border-bottom: 0; }
.serv .specs span b { color: var(--ink); font-weight: 500; }

/* Specs dentro del acordeón (mobile) — mismo formato label / valor que en las cards */
.accordion-body .specs {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}
.accordion-body .specs span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.accordion-body .specs span:last-child { border-bottom: 0; }
.accordion-body .specs span b {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* ─── Productos terminados ─────────────────────────────── */
.term-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .term-grid { grid-template-columns: repeat(2, 1fr); } }

.term {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s ease;
}
.term:hover { background: var(--paper-2); }
.term .pic { aspect-ratio: 1; }
.term .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.term .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.term .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.term .code {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.term .desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 4px;
}

/* ─── Contacto ─────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) {
  /* Info de contacto */
  .contact-info { position: static; }
  .cinfo { grid-template-columns: 100px 1fr; gap: 8px; padding: 14px 0; }
  .cinfo .value { font-size: 14px; }
  .cinfo .value.small { font-size: 13px; }
  /* Formulario */
  .form { padding: 20px 16px; gap: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  /* CRÍTICO: font-size mínimo 16px en inputs para evitar zoom en iOS */
  .field input, .field textarea, .field select { font-size: 16px; padding: 12px 0; }
  .field textarea { min-height: 100px; }
  /* Botón submit full-width y altura mínima 48px */
  .form-foot { flex-direction: column; gap: 12px; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 13px; }
  /* Mapa */
  .contact-map { height: 220px; margin-top: 28px; }
  /* File upload */
  .file-label { min-height: 48px; display: flex; align-items: center; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--ink);
}
.cinfo {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cinfo .label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
}
.cinfo .value {
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.cinfo .value.small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

.form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 600px) { .form { padding: 28px; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.contact-map {
  margin-top: 64px;
  height: 400px;
  width: 100%;
  border: 1px solid var(--line);
  filter: grayscale(1) invert(0.9) contrast(1.2) brightness(0.9);
  opacity: 0.85;
  transition: all 0.3s ease;
}
.contact-map:hover {
  filter: grayscale(0.5) invert(0) contrast(1) brightness(1);
  opacity: 1;
}
@media (max-width: 900px) { .contact-map { height: 300px; margin-top: 48px; } }

.field label .req { color: var(--orange); }
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
  font-weight: 500;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--orange); }

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-bottom-color: var(--orange); }

.err-msg {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.field textarea { min-height: 110px; font-family: var(--display); font-weight: 500; }
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.file-input-wrapper {
  position: relative;
  width: 100%;
}
.file-input-wrapper input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -1;
}
.file-label {
  display: block;
  padding: 14px 18px;
  background: var(--paper-3);
  border: 1px dashed var(--line);
  color: var(--ink-3) !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--body) !important;
}
.file-input-wrapper:hover .file-label {
  border-color: var(--orange);
  background: var(--paper-2);
  color: var(--ink) !important;
}

.field-note {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  margin-top: 8px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 2px;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper-3);
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.file-list .fname {
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

.remove-file {
  background: none;
  border: 0;
  color: var(--steel);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.remove-file:hover {
  color: var(--orange);
}

.form-foot .note {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form .btn-primary { padding: 16px 24px; }
.form-success, .form-loading, .form-error {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-success { color: #46D27E; }
.form-loading { color: var(--steel); opacity: 0.7; }
.form-error   { color: #E63946; }

/* Confirmación de envío del formulario */
.form-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px;
  margin-bottom: 4px;
  border: 1px solid rgba(70, 210, 126, 0.45);
  background: rgba(70, 210, 126, 0.08);
  color: var(--ink);
}
.form-notice-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #46D27E;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}
.form-notice-error {
  border-color: rgba(230, 57, 70, 0.45);
  background: rgba(230, 57, 70, 0.08);
}
.form-notice-error .form-notice-icon {
  background: #E63946;
  color: #fff;
}
.form-notice strong,
.form-notice span:not(.form-notice-icon) {
  display: block;
}
.form-notice strong {
  margin-bottom: 4px;
  font-size: 16px;
}
.form-notice span:not(.form-notice-icon) {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}
.form-fallback {
  margin: -8px 0 0;
  color: var(--steel-2);
  font-size: 13px;
  line-height: 1.5;
}
.form-fallback a {
  color: var(--orange-lo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form .btn-primary:disabled {
  cursor: wait;
  opacity: 0.75;
}
@media (max-width: 480px) {
  .form-notice { gap: 10px; padding: 14px; }
  .form-notice strong { font-size: 15px; }
  .form-notice span:not(.form-notice-icon) { font-size: 13px; }
}

/* ─── Footer ─────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 28px;
  position: relative;
}
.footer-mark {
  text-align: center;
  border-block: 1px solid var(--line-dark);
  padding: 48px 0;
  margin: 0 0 56px;
  background: var(--ink-2);
}
.footer-mark img {
  height: clamp(80px, 14vw, 180px);
  width: auto;
  margin: 0 auto;
  display: block;
  filter: brightness(1.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) {
  .footer { padding: 48px 0 24px; }
  .footer-mark { padding: 32px 0; margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 10px; }
}
@media (max-width: 480px) {
  .wa { bottom: 16px; right: 16px; padding: 12px; border-radius: 50%; }
  .wa .lbl { display: none; }
  .wa svg { width: 22px; height: 22px; }
}
.footer h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--orange); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; margin: 0; max-width: 360px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── WhatsApp ─────────────────────────────── */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #1F8A37;
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: 0 12px 36px rgba(31,138,55,0.3), 0 0 0 4px rgba(31,138,55,0.12);
  transition: all 0.2s ease;
  font-weight: 600;
  border: 0;
}
.wa:hover { background: #25a342; transform: translateY(-2px); }
.wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.social-mini {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-mini a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  display: flex;
}
.social-mini a:hover { color: var(--orange); }
.social-mini svg { width: 15px; height: 15px; }

.social-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.15s ease;
}
.social-links svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.social-links .social-icon-img {
  height: 24px; /* Agrandado para compensar proporción */
  width: auto;
}

.social-mini svg {
  width: 15px;
  height: 15px;
}

.social-mini .social-icon-img {
  height: 18px;
  width: auto;
}

.social-icon-img {
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
  opacity: 0.8;
  object-fit: contain;
}

/* ─── Tweak overrides ─────────────────────────────── */
body.theme-dark {
  background: var(--ink);
  color: var(--paper);
}
body.theme-dark .nav { background: rgba(14,15,17,0.8); border-bottom-color: var(--line-dark); }
body.theme-dark .hero, body.theme-dark .section { background: var(--ink); color: var(--paper); }
body.theme-dark .hero-left { border-right-color: var(--line-dark); }
body.theme-dark .hero-headline, body.theme-dark .section-title { color: #fff; }
body.theme-dark .hero-sub, body.theme-dark .section-lede, body.theme-dark .empresa-copy p { color: rgba(255,255,255,0.78); }
body.theme-dark .hero-eyebrow, body.theme-dark .section-id { color: rgba(255,255,255,0.55); }
body.theme-dark .hero-eyebrow b { color: #fff; }
body.theme-dark .hero-ledger { border-top-color: var(--line-dark); }
body.theme-dark .hero-ledger .cell { border-right-color: var(--line-dark); }
body.theme-dark .hero-ledger .v { color: #fff; }
body.theme-dark .empresa-list { border-top-color: var(--paper); }
body.theme-dark .empresa-list li { border-bottom-color: var(--line-dark); }

body.font-space { --display: "Space Grotesk", system-ui, sans-serif; }
body.font-manrope { --display: "Manrope", system-ui, sans-serif; }

body.no-blueprint .blueprint, body.no-blueprint .blueprint-dark { background-image: none; }

/* fade-in helper */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in,
.in > .fade-up,
.in .fade-up {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}
.carousel-visual:hover .carousel-controls {
  opacity: 1 !important;
}
/* En touch las flechas se ocultan: el gesto principal es el swipe + los puntitos.
   Las ‹ › quedan solo para desktop (hover). */

/* WhatsApp flotante */
.wa { display: flex; }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 480px
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Utility bar ── */
  .utility-bar .container { flex-direction: column; gap: 4px; padding: 6px var(--pad); }
  .utility-bar .left, .utility-bar .right { justify-content: center; }

  /* ── Nav ── */
  .nav .container { padding: 0 16px; }
  .logo-img { height: 28px; }

  /* ── Hero ── */
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: clamp(24px, 5vw, 48px) 20px; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-headline { font-size: clamp(36px, 11vw, 56px); line-height: 0.95; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-right { height: 260px; }

  /* ── Abastecimiento ── */
  .abast-block { padding: 40px 0; }
  .abast-title { font-size: 20px; }
  .abast-desc { font-size: 15px; }
  .abast-steps { grid-template-columns: 1fr; }
  .abast-step b { font-size: 15px; }
  .abast-step span:last-child { font-size: 13px; }
  .btn-sio-industrial { width: 100%; justify-content: center; }

  /* ── Stats strip ── */
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell .num { font-size: 40px; }

  /* ── Secciones generales ── */
  .section { padding: clamp(48px, 8vw, 80px) 0; }
  .section-head { flex-direction: column; gap: 16px; }
  .section-title { font-size: clamp(28px, 8vw, 48px); }
  .section-lede { font-size: 15px; }
  .container { padding: 0 20px; }

  /* ── Empresa ── */
  .empresa-grid { grid-template-columns: 1fr; gap: 28px; }
  .empresa-copy h3 { font-size: 15px; }
  .empresa-list li { font-size: 14px; }

  /* ── Día a día ── */
  .diaadia-card { flex: 0 0 88vw; }
  .diaadia-info b { font-size: 15px; }
  .diaadia-info span { font-size: 13px; }

  /* ── Productos ── */
  .prod-grid { grid-template-columns: 1fr; gap: 24px; }
  .prod-card .body { padding: 20px 16px; }
  .prod-card h4 { font-size: 22px; }
  .mat-bar { grid-template-columns: repeat(2, 1fr); }

  /* ── Servicios ── */
  .serv-grid { grid-template-columns: 1fr; gap: 24px; }
  .serv { padding: 24px 20px; }
  .serv h4 { font-size: 20px; }

  /* ── Terminados ── */
  .term-grid { grid-template-columns: 1fr; gap: 20px; }

  /* ── Contacto ── */
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .form { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-map { height: 240px; margin-top: 32px; }
  .cinfo { flex-direction: column; gap: 2px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }

  /* ── WhatsApp ── */
  .wa { bottom: 16px; right: 16px; }
}
