/* ============================================
   LUAL — Sitio web oficial
   Hoja de estilos principal
   Paleta: Marino Profundo + Cobre
   Tipografía: Montserrat (títulos) + Inter (cuerpo)
============================================ */

:root {
  /* Paleta de colores */
  --c-primary: #0A1F3D;        /* Marino profundo */
  --c-primary-light: #14315C;  /* Marino medio */
  --c-secondary: #2E5077;      /* Azul medio sobrio */
  --c-accent: #C8732D;         /* Cobre */
  --c-accent-hover: #B0641F;   /* Cobre oscuro */
  --c-accent-soft: #F5E8D8;    /* Cobre muy claro (fondos suaves) */

  /* Neutrales */
  --c-ink: #0F1620;            /* Texto principal */
  --c-ink-soft: #4A5568;       /* Texto secundario */
  --c-muted: #6B7280;          /* Texto auxiliar */
  --c-line: #E5E9F0;           /* Bordes y separadores */
  --c-bg: #FFFFFF;             /* Fondo principal */
  --c-bg-soft: #F8F9FB;        /* Fondo de secciones alternas */
  --c-bg-dark: #07172E;        /* Fondo muy oscuro */

  /* Tipografías */
  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  /* Espaciado y radios */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,31,61,.05), 0 2px 6px rgba(10,31,61,.06);
  --shadow-md: 0 4px 10px rgba(10,31,61,.06), 0 12px 32px rgba(10,31,61,.08);
  --shadow-lg: 0 12px 28px rgba(10,31,61,.12), 0 24px 60px rgba(10,31,61,.16);

  /* Layout */
  --maxw: 1180px;
  --nav-h: 72px;

  /* Transiciones */
  --t-fast: .18s ease;
  --t-med: .35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ===== Tipografía ===== */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { color: var(--c-ink-soft); }
.lead { font-size: 1.08rem; color: var(--c-ink); margin-bottom: 1rem; }

/* ===== Utilidades comunes ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.kicker::before,
.kicker::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.kicker.light { color: var(--c-accent-soft); }
.kicker.light::before,
.kicker.light::after { background: var(--c-accent-soft); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--c-ink-soft); }

.accent { color: var(--c-accent); }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200,115,45,.32);
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200,115,45,.4);
}
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--c-accent); }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-line);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* Botón WhatsApp (CTA secundario en el hero) */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.28);
}
.btn-whatsapp:hover {
  background: #1FB955;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  color: #fff;
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-primary);
}
.logo-mark {
  width: 5px;
  height: 28px;
  background: var(--c-accent);
  border-radius: 2px;
  display: block;
}
.logo-text {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .02em;
}
.logo-light { color: #fff; }
.logo-light .logo-text { color: #fff; }

/* ===== Navegación ===== */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.nav.scrolled {
  border-color: var(--c-line);
  box-shadow: 0 2px 12px rgba(10,31,61,.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a:not(.nav-cta):hover { color: var(--c-accent); }
.nav-links a:not(.nav-cta).active { color: var(--c-accent); }
.nav-links a:not(.nav-cta).active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.nav-cta { padding: 9px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 40px 0 60px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-bg-dark) 0%, var(--c-primary) 55%, var(--c-primary-light) 100%);
  color: #fff;
}
.hero-bg {
  /* Patrón decorativo legacy. Ya no se usa porque la foto del hero ocupa todo el fondo. */
  display: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "content"
    "trust";
  gap: 36px;
  z-index: 5;
  min-height: calc(100vh - var(--nav-h) - 100px);
}
.hero-trust { position: relative; z-index: 5; }
.hero-trust-label { position: relative; z-index: 6; }
.hero-content {
  grid-area: content;
  align-self: start;
  max-width: 680px;
  width: 100%;
  padding-top: 32px;
}

/* Foto como FONDO de todo el hero (full-bleed). El overlay marino del lado izquierdo da legibilidad al texto. */
.hero-visual {
  position: absolute;
  inset: 0;
  grid-area: unset;
  align-self: unset;
  aspect-ratio: unset;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(160deg, #14315C 0%, #07172E 100%);
  box-shadow: none;
}
/* Overlay marino sobre la foto: fuerte en la izquierda (donde está el texto) y atenuado a la derecha */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(7,23,46,.95) 0%,
    rgba(7,23,46,.88) 25%,
    rgba(7,23,46,.6) 55%,
    rgba(7,23,46,.3) 100%);
  z-index: 2;
  pointer-events: none;
}
/* Overlay vertical inferior para legibilidad de los logos */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 55%,
    rgba(7,23,46,.5) 80%,
    rgba(7,23,46,.88) 100%);
  z-index: 3;
  pointer-events: none;
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
/* Decoración del placeholder (sello SVG + caption) ya no se usa cuando hay foto full-bg */
.hv-decoration, .hv-caption { display: none; }
/* Reglas legacy del placeholder (mantengo por compatibilidad, ya no se renderiza) */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--c-accent); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.78);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.hero-ctas .btn-ghost { color: #fff; }
.hero-ctas .btn-ghost:hover { color: var(--c-accent); }

/* Lista de promesas (reduce fricción del CTA) */
.hero-promise {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.hero-promise li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-left: 20px;
  white-space: nowrap;
}
.hero-promise li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--c-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Franja inferior del hero: logos en una sola fila centrada */
.hero-trust {
  grid-area: trust;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  width: 100%;
}
.hero-trust-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  text-align: center;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Líneas cobre a ambos lados, mismo estilo editorial que el kicker */
.hero-trust-label::before,
.hero-trust-label::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
/* Marquee de logos: carrusel automático infinito */
.hero-logos-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade en los bordes para que los logos aparezcan/desaparezcan suaves */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hero-logos-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: hero-marquee 42s linear infinite;
}
.hero-logos-track:hover {
  animation-play-state: paused;
}
.hero-logos-track img {
  flex-shrink: 0;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity var(--t-fast);
}
.hero-logos-track img:hover { opacity: 1; }

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Respeto al usuario que prefiere movimiento reducido (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
  .hero-logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 32px;
  }
}

/* Stats originales del hero (legacy, por si reusamos) */
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-num {
  font-family: var(--f-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-num span { color: var(--c-accent); margin-left: 2px; }
.stat-label {
  margin-top: 8px;
  font-size: .92rem;
  color: rgba(255,255,255,.62);
  line-height: 1.4;
}

/* Franja de indicadores entre hero y diferenciadores (trust band) */
.stats-strip {
  background: #fff;
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-strip .stat {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.stats-strip .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  height: 56%;
  width: 1px;
  background: var(--c-line);
}
.stats-strip .stat-num {
  font-family: var(--f-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.stats-strip .stat-num span { color: var(--c-accent); }
.stats-strip .stat-label {
  margin-top: 10px;
  font-size: .92rem;
  color: var(--c-ink-soft);
  line-height: 1.45;
}

/* ===== PILLARS / DIFERENCIADORES ===== */
.pillars { padding: 40px 0 72px; background: var(--c-bg); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.pillar {
  padding: 32px 28px;
  background: linear-gradient(155deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  color: #fff;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(200,115,45,.45);
  box-shadow: 0 16px 40px rgba(10,31,61,.25);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -8px rgba(200,115,45,.6);
  transition: background var(--t-med), transform var(--t-med);
}
.pillar:hover .pillar-icon,
.pillar:focus-within .pillar-icon { background: var(--c-accent-hover); transform: translateY(-2px); }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { margin-bottom: 10px; font-size: 1.12rem; color: #fff; }
.pillar p { font-size: .96rem; color: rgba(255,255,255,.78); }

/* ===== NOSOTROS ===== */
.about {
  padding: 40px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(200,115,45,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(46,80,119,.45) 0%, transparent 60%),
    linear-gradient(160deg, var(--c-bg-dark) 0%, var(--c-primary) 65%, var(--c-primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0px, transparent 80px, rgba(255,255,255,.025) 80px, rgba(255,255,255,.025) 81px);
  pointer-events: none;
}
.about .container { position: relative; }

/* Intro arriba (texto + tags) */
.about-intro {
  max-width: 960px;
  margin: 0 auto 40px;
  text-align: center;
}
.about-intro .kicker { justify-content: center; }
.about-intro h2 { color: #fff; margin-bottom: 18px; text-align: center; }
/* Mismo color de párrafo que la sección de Maquinaria para coherencia visual */
.about-intro .lead,
.about-intro p { color: rgba(255,255,255,.72); margin-bottom: 16px; text-align: justify; }
.about-intro strong { color: rgba(255,255,255,.72); font-weight: 600; }
.about-intro .about-tags {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 24px;
}
.about-intro .about-tags span {
  font-size: 12px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* Grid de 3 cards: Misión / Visión / Valores */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.purpose-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform var(--t-med), border-color var(--t-med);
}
.purpose-card::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
}
.purpose-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,115,45,.4);
}
.pc-tag {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.purpose-card p {
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.65;
}
.purpose-values { margin: 0; }
.purpose-values li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.55;
}
.purpose-values li:last-child { border-bottom: 0; padding-bottom: 0; }
.purpose-values li:first-child { padding-top: 0; }
.purpose-values strong {
  color: #fff;
  font-weight: 600;
}

/* Mantengo about-grid por compatibilidad (no se usa) */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 { color: #fff; margin-bottom: 18px; }
.about-text .lead { color: #fff; margin-bottom: 16px; }
.about-text p { color: rgba(255,255,255,.78); margin-bottom: 14px; }
.about-text strong { color: #fff; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.about-tags span {
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.about-card {
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.about-card::before {
  content: '';
  position: absolute;
  top: -2px; left: 36px; right: 36px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent) 40%, var(--c-accent) 60%, transparent);
  border-radius: 2px;
}
.about-card-eye {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.about-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.about-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-list strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.about-list span { color: rgba(255,255,255,.65); font-size: .92rem; }

/* Misión / Visión / Valores dentro del about-card */
.vm-block {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vm-block:first-of-type { padding-top: 0; }
.vm-block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.vm-block h4 {
  color: var(--c-accent);
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.vm-block p {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.6;
}
.values-list { margin-top: 4px; }
.values-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.5;
}
.values-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.values-list strong {
  color: #fff;
  font-weight: 600;
}

/* ===== SERVICIOS ===== */
.services { padding: 40px 0 72px; background: var(--c-bg); position: relative; }
.services-wrap { position: relative; }
/* Marquee de servicios: scroll automático con pausa al pasar/arrastrar */
.services-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 24px;
  cursor: grab;
  user-select: none;
  /* Fade en los bordes para look editorial */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  /* Ocultamos scrollbar — el carrusel ya indica que se puede mover */
  scrollbar-width: none;
}
.services-grid::-webkit-scrollbar { display: none; }
.services-grid.dragging { cursor: grabbing; }
.services-grid.dragging .service { pointer-events: none; }
.services-hint {
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 8px;
  font-style: italic;
}
.services-hint::before {
  content: '↔';
  margin-right: 8px;
  color: var(--c-accent);
  font-style: normal;
}
.service {
  flex: 0 0 calc((100% - 4 * 16px) / 5);
  min-width: 0;
  scroll-snap-align: start;
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  background: linear-gradient(155deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.service h3 { color: #fff; }
.service p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
  font-size: .9rem;
  color: rgba(255,255,255,.78);
}
@media (max-width: 1100px) {
  .service { flex: 0 0 calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 760px) {
  .service { flex: 0 0 85%; }
}
.service:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -8px rgba(200,115,45,.6);
  transition: background var(--t-med), transform var(--t-med);
}
.service:hover .service-icon { background: var(--c-accent-hover); color: #fff; transform: translateY(-2px); }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service p { font-size: .95rem; margin-bottom: 20px; flex: 1; }
.service-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--t-fast);
}
.service-link:hover { color: var(--c-accent-hover); }

/* ===== MAQUINARIA ===== */
.machinery {
  padding: 40px 0 72px;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(200,115,45,.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(46,80,119,.4) 0%, transparent 60%),
    linear-gradient(200deg, var(--c-primary) 0%, var(--c-bg-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.machinery::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0px, transparent 80px, rgba(255,255,255,.022) 80px, rgba(255,255,255,.022) 81px);
  pointer-events: none;
}
.machinery .container { position: relative; }
.machinery .section-head h2 { color: #fff; }
.machinery .section-sub { color: rgba(255,255,255,.72); }
.machinery-note { color: rgba(255,255,255,.72) !important; }
.machinery-note a { color: var(--c-accent) !important; }
.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.machine {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.25), 0 0 0 1px rgba(200,115,45,.1);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}
.machine:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(200,115,45,.3);
}
.machine-img {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%),
    repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255,255,255,.03) 14px, rgba(255,255,255,.03) 15px);
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.machine-img .placeholder {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.machine-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.machine-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.machine-body h3 { margin-bottom: 14px; font-size: 1.08rem; }
.machine-specs {
  margin-bottom: 22px;
  flex: 1;
}
.machine-specs li {
  font-size: .9rem;
  color: var(--c-ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid var(--c-line);
}
.machine-specs li:last-child { border-bottom: 0; }
.machinery-note {
  text-align: center;
  margin-top: 32px;
  color: var(--c-ink-soft);
  font-size: .95rem;
}
.machinery-note a {
  color: var(--c-accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ===== PROYECTOS ===== */
.projects { padding: 40px 0 72px; background: var(--c-bg); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.project {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-img.placeholder-img {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}
.project-meta { padding: 22px 24px; }
.project-meta h3 { margin: 8px 0 8px; font-size: 1.05rem; }
.project-meta p { font-size: .92rem; }

/* ===== CLIENTES / TRUST ===== */
.trust {
  padding: 60px 0;
  background:
    linear-gradient(135deg, var(--c-bg-dark) 0%, var(--c-primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(200,115,45,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(200,115,45,.1) 0%, transparent 70%);
  pointer-events: none;
}
.trust-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.trust h2 { color: #fff; margin-bottom: 16px; }
.trust p { color: rgba(255,255,255,.72); margin-bottom: 40px; }
.logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.logo-slot {
  height: 120px;
  padding: 22px 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Uniformidad B/N: silueta blanca sobre el fondo oscuro */
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.logo-slot:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(200,115,45,.4);
  transform: translateY(-2px);
}
.logo-slot:hover img {
  opacity: 1;
}
/* Fallback de texto si la imagen no carga todavía (alt visible mientras Lu sube los archivos) */
.logo-slot img[alt]:not([src*=".png"]):not([src*=".jpg"]):not([src*=".svg"]) {
  filter: none;
}

/* ===== CONTACTO ===== */
.contact {
  padding: 40px 0 72px;
  background:
    radial-gradient(ellipse 40% 30% at 0% 0%, rgba(200,115,45,.06) 0%, transparent 70%),
    #fff;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-list { margin-top: 32px; }
.contact-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}
.contact-list li:last-child { border-bottom: 0; }
.ci-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-accent);
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 14px; color: var(--c-primary); font-weight: 600; margin-bottom: 2px; }
.contact-list span { font-size: 15px; color: var(--c-ink-soft); }
.contact-list a { font-size: 15px; color: var(--c-ink-soft); transition: color var(--t-fast); }
.contact-list a:hover { color: var(--c-accent); }
.contact-list em { font-size: 12px; color: var(--c-muted); font-style: italic; }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 24px; font-size: 1.3rem; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-ink);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(200,115,45,.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 14px;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer { background: var(--c-bg-dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 18px; font-size: .92rem; color: rgba(255,255,255,.5); }
.footer-col h4 {
  color: #fff;
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; font-size: .94rem; }
.footer-col a { color: rgba(255,255,255,.6); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--c-accent); }
.footer-contact li { color: rgba(255,255,255,.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  z-index: 90;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37,211,102,.6);
}
.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ===== Animaciones de scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .purpose-grid { grid-template-columns: 1fr; gap: 16px; }

  /* HERO MÓVIL: foto como fondo de toda la sección con overlay marino sobre el texto */
  .hero { position: relative; overflow: hidden; }
  .hero-bg { opacity: 0; }

  .hero-visual {
    position: absolute;
    inset: 0;
    grid-area: unset;
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
    align-self: unset;
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(160deg, #14315C 0%, #07172E 100%);
  }
  .hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    background: linear-gradient(180deg,
      rgba(7,23,46,.92) 0%,
      rgba(7,23,46,.85) 45%,
      rgba(7,23,46,.7) 75%,
      rgba(7,23,46,.85) 100%);
    z-index: 4;
  }
  .hero-visual::after { display: none; }
  .hero-visual img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center;
    width: 100%;
    height: 100%;
  }
  .hv-decoration, .hv-caption { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "content"
      "trust";
    gap: 36px;
    position: relative;
    z-index: 2;
  }
  .hero-content { grid-area: content; }
  .hero-trust { grid-area: trust; padding-top: 24px; }
  /* Marquee más rápido y compacto en móvil */
  .hero-logos-track { gap: 44px; animation-duration: 28s; }
  .hero-logos-track img { max-height: 32px; }
}

/* ============================================
   RESPONSIVE — MÓVIL ESTÁNDAR (≤ 760px)
   Ajustes integrales sin tocar la versión de escritorio.
============================================ */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 15.5px; }

  /* Contenedor con un poco menos de aire lateral para ganar ancho útil */
  .container { padding: 0 18px; }

  /* ===== NAVEGACIÓN MÓVIL ===== */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-primary);
    border-top: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--t-med);
    box-shadow: 0 16px 32px rgba(0,0,0,.25);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 8px; color: #fff !important; text-align: center; }
  .nav-links a:not(.nav-cta).active::after { display: none; }

  /* ===== HERO MÓVIL — versión más compacta y mobile-nativa ===== */
  .hero { padding: 24px 0 28px; min-height: auto; overflow: hidden; }
  .hero-inner { min-height: auto; gap: 24px; max-width: 100%; }
  .hero-content {
    padding-top: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  /* Overlay más oscuro para que el texto se lea perfecto sobre la foto */
  .hero-visual::before {
    background: linear-gradient(180deg,
      rgba(7,23,46,.96) 0%,
      rgba(7,23,46,.92) 55%,
      rgba(7,23,46,.88) 100%) !important;
  }
  .hero .eyebrow {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 16px;
    letter-spacing: .14em;
    gap: 6px;
    max-width: 100%;
  }
  /* H1 en mobile: tamaño compacto y proporcionado */
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -.02em;
  }
  /* CRÍTICO: override del max-width de escritorio para evitar desborde */
  .hero-sub {
    font-size: .95rem;
    line-height: 1.55;
    margin: 0 0 22px 0;
    max-width: 100%;
  }
  /* CTAs: tamaño justo, centrados, no se desbordan */
  .hero-ctas {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
    padding: 13px 22px;
    font-size: 14.5px;
    justify-content: center;
    border-radius: 10px;
  }
  /* Checkmarks distribuidos en 2 columnas para mejor balance visual */
  .hero-promise {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    align-items: start;
    max-width: 100%;
  }
  .hero-promise li {
    font-size: 12px;
    white-space: normal;
    line-height: 1.35;
  }

  /* ===== Sección de logos del hero — más grandes y visibles ===== */
  .hero-trust { padding-top: 22px; max-width: 100%; }
  .hero-trust-label {
    font-size: 10.5px;
    letter-spacing: .2em;
    gap: 10px;
    margin-bottom: 18px;
    max-width: 100%;
  }
  .hero-trust-label::before,
  .hero-trust-label::after { width: 18px; }
  .hero-logos-marquee { max-width: 100%; }
  .hero-logos-track { gap: 40px; animation-duration: 26s; }
  .hero-logos-track img { max-height: 36px; }

  /* ===== STATS / TRUST ===== */
  .stats-strip { padding: 40px 0; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stats-strip .stat:not(:last-child)::after { display: none; }
  .stats-strip .stat-num { font-size: 2.1rem; }

  /* ===== SECCIONES — espaciado uniforme y más compacto ===== */
  .pillars, .services, .about, .machinery, .projects, .contact { padding: 40px 0 48px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.45rem; line-height: 1.2; }
  .section-sub { font-size: .95rem; }
  .kicker {
    font-size: 11px;
    letter-spacing: .16em;
    gap: 8px;
    margin-bottom: 10px;
  }
  .kicker::before, .kicker::after { width: 18px; }

  /* ===== POR QUÉ LUAL (pillars) ===== */
  .pillars-grid { gap: 16px; }
  .pillar { padding: 24px 22px; }
  .pillar-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .pillar-icon svg { width: 24px; height: 24px; }
  .pillar h3 { font-size: 1.05rem; }
  .pillar p { font-size: .92rem; }

  /* ===== QUIÉNES SOMOS ===== */
  .about-intro { margin-bottom: 32px; }
  .about-intro .lead,
  .about-intro p {
    text-align: left; /* el justify se ve mal en columnas estrechas */
    font-size: .98rem;
  }
  .about-intro .about-tags {
    flex-wrap: wrap; /* CRÍTICO: permitir que los tags bajen de línea */
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .about-intro .about-tags span {
    font-size: 12px;
    white-space: nowrap; /* cada chip individual no se parte */
  }
  .purpose-card { padding: 24px 20px; }
  .purpose-card h3 { font-size: 1.05rem; }

  /* ===== SERVICIOS (carrusel) ===== */
  .service { padding: 22px 20px; }
  .service h3 { font-size: 1.02rem; }
  .service p { font-size: .9rem; }
  .services-hint { font-size: 12px; }

  /* ===== MAQUINARIA ===== */
  .machines-grid { gap: 20px; }
  .machine-img { aspect-ratio: 16/10; }
  .machine-body { padding: 20px; }

  /* ===== PROYECTOS ===== */
  .projects-grid { gap: 20px; }

  /* ===== CLIENTES (logos grid) ===== */
  .logos-row { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .logo-slot { padding: 14px; }

  /* ===== CONTACTO ===== */
  .contact-grid { gap: 32px; }
  .contact-info { padding: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-form h3 { font-size: 1.15rem; margin-bottom: 18px; }
  /* iOS hace zoom al enfocar inputs <16px — forzamos 16px para evitarlo */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  /* ===== FOOTER ===== */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  /* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ============================================
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 420px)
   iPhone SE, Android compactos.
============================================ */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .hero-sub { font-size: .96rem; }
  .btn { padding: 12px 20px; font-size: 14px; }

  /* Hero un toque más compacto */
  .hero { padding: 24px 0 32px; }
  .hero .eyebrow { font-size: 10.5px; padding: 5px 10px; }
  .hero-trust-label { font-size: 10.5px; }
  .hero-logos-track { gap: 28px; animation-duration: 22s; }
  .hero-logos-track img { max-height: 22px; }

  /* Secciones aún más compactas */
  .pillars, .services, .about, .machinery, .projects, .contact { padding: 40px 0 48px; }
  .section-head { margin-bottom: 28px; }

  /* Cards un poco más estrechas */
  .pillar { padding: 22px 18px; }
  .machine-body { padding: 18px; }
  .contact-form { padding: 22px 18px; }

  /* Logos grid: 2 por fila con menos gap */
  .logos-row { gap: 10px; }

  /* WhatsApp float más discreto */
  .whatsapp-float { width: 48px; height: 48px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ===== Accesibilidad: reducir movimiento ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-float { animation: none; }
}

/* Foco accesible */
*:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
