/* ===========================================================
   MEKANEX — hoja de estilos principal
   Misma estructura visual que ASLAN INDUSTRIAL (empresa hermana),
   con la paleta negro / naranja del logo de MEKANEX.
   Mobile-first. Sin dependencias.
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }

:root {
  --c-black: #000000;
  --c-ink: #121212;
  --c-white: #fdfdfd;
  --c-orange: #ff7a00;
  --c-orange-2: #ff9a2e;
  --c-orange-text: #b84f00;      /* naranja oscuro para texto pequeño sobre fondo claro */
  --c-paper: #f5f4f1;
  --c-paper-2: #ececE8;
  --c-text: #1a1a1a;             /* títulos sobre fondo claro */
  --c-text-2: #333333;           /* texto corrido sobre fondo claro */
  --c-text-3: #595959;           /* etiquetas pequeñas sobre fondo claro */
  --c-on-dark: #f5f5f5;          /* texto corrido sobre fondo oscuro */
  --c-on-dark-2: #e2e2e2;        /* texto secundario sobre fondo oscuro */
  --c-line-on-dark: #2e2e2e;
  --c-line-on-light: #d6d5d0;

  --font-head: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gap: clamp(1rem, 2vw, 2rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --header-h: 84px;
  --btn-h: 52px;
}

a:focus-visible, button:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;            /* 18 px */
  line-height: 1.6;
  background: var(--c-white);
  color: var(--c-text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.25rem); text-wrap: balance; }   /* 40 – 68 px */
h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); text-wrap: balance; }    /* 28 – 44 px */
h3 { font-size: 1.35rem; }
p { max-width: 62ch; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}
section { position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[id^="eq-"] { scroll-margin-top: calc(var(--header-h) + 16px); }

.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.bg-black { background: var(--c-black); color: var(--c-on-dark); }
.bg-ink { background: var(--c-ink); color: var(--c-on-dark); }
.bg-paper { background: var(--c-paper); color: var(--c-text-2); }
.bg-white { background: var(--c-white); color: var(--c-text-2); }
.bg-black h1, .bg-black h2, .bg-black h3, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-white h1, .bg-white h2, .bg-white h3, .bg-paper h2, .bg-paper h3 { color: var(--c-text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: currentColor; display: inline-block; }
.bg-white .eyebrow, .bg-paper .eyebrow { color: var(--c-orange-text); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--c-text-2); margin-top: 1rem; }
.bg-black .section-head p, .bg-ink .section-head p { color: var(--c-on-dark); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Botones (mín. 52 px de alto, sin transparencias) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--btn-h);
  padding: 0.7rem 2rem;
  font-family: var(--font-head);
  font-size: 1rem;                /* 16 px */
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-orange); color: #000; border-color: var(--c-orange); box-shadow: 0 6px 22px rgba(255, 122, 0, 0.35); }
.btn-primary:hover { background: var(--c-orange-2); border-color: var(--c-orange-2); box-shadow: 0 8px 28px rgba(255, 154, 46, 0.5); transform: translateY(-1px); }
.btn-lg { min-height: 60px; padding: 0.8rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9375rem; }   /* 15 px, sigue midiendo 52 px */
.btn-outline-dark { border-color: #000; color: #000; background: #fff; }
.btn-outline-dark:hover { background: #000; color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: #000; }
.btn-outline-light:hover { background: #fff; color: #000; }
.btn-block { width: 100%; }
.icon-wa { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 500; background: var(--c-black); border-bottom: 1px solid var(--c-line-on-dark); }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; display: block; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.6rem); }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.9375rem;           /* 15 px */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.5rem 0.1rem;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--c-orange); border-color: var(--c-orange); }
.main-nav li { position: relative; }
.main-nav .nav-caret { display: inline-block; width: 0.6em; height: 0.6em; margin-left: 0.35em; fill: currentColor; vertical-align: -0.05em; transition: transform 0.15s ease; }
.main-nav .has-dropdown:hover .nav-caret, .main-nav .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; background: var(--c-black); border: 1px solid #3a3a3a; border-radius: 4px; padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60;
}
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 2px); }
.dropdown-menu li { position: static; }
.dropdown-menu ul { display: block; }
.dropdown-menu a { display: block; padding: 0.75rem 0.9rem; font-size: 0.9375rem; border-bottom: 0; border-radius: 3px; white-space: nowrap; }
.dropdown-menu a:hover { background: #1f1f1f; color: var(--c-orange); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn { display: none; }
.nav-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; color: #fff; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-black); z-index: 400;
  padding: 1.25rem clamp(1.25rem, 6vw, 2.5rem) 2.5rem; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--c-line-on-dark); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.mobile-nav .btn { margin-top: 1.75rem; color: #000; border-bottom: 2px solid var(--c-orange); font-size: 1rem; }
.mobile-submenu-item { border-bottom: 1px solid var(--c-line-on-dark); }
.mobile-submenu-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.mobile-submenu-toggle svg { width: 0.75em; height: 0.75em; fill: currentColor; transition: transform 0.25s ease; flex: none; }
.mobile-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-submenu ul { padding: 0 0 0.75rem 1rem; }
.mobile-submenu a { padding: 0.75rem 0; font-size: 1.0625rem; font-weight: 500; border-bottom: 0; color: var(--c-on-dark-2); }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; background: var(--c-black); color: #fff; }
@media (min-width: 900px) { .hero { min-height: 84vh; } }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.86) 72%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.1) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: clamp(4rem, 12vw, 6.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; margin-bottom: 1.4rem; text-shadow: 0 2px 18px rgba(0,0,0,0.65); }
.hero h1 em { color: var(--c-orange); font-style: normal; }
.hero .lede { font-size: clamp(1.125rem, 1.5vw, 1.375rem); max-width: 50ch; color: #fff; margin-bottom: 2.2rem; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Soluciones (tarjetas numeradas) ---------- */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.sol-card { position: relative; overflow: hidden; background: var(--c-ink); border-radius: 4px; min-height: 380px; display: flex; align-items: flex-end; }
.sol-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.5s ease; }
.sol-card:hover > img { transform: scale(1.045); }
.sol-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.86) 62%, rgba(0,0,0,0.97) 100%); }
.sol-card .sol-body { position: relative; z-index: 1; padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; width: 100%; }
.sol-num { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; color: var(--c-orange); margin-bottom: 0.5rem; }
.sol-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.6rem; color: #fff; }
.sol-card p { color: var(--c-on-dark); margin-bottom: 1.2rem; max-width: 44ch; }
.sol-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; border-bottom: 3px solid var(--c-orange); padding-bottom: 0.15rem; }
.sol-link:hover { color: var(--c-orange); }
.sol-link svg { width: 0.9em; height: 0.9em; fill: currentColor; }
.sol-feature { min-height: 460px; }
.sol-feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
@media (min-width: 720px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-feature { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .solutions-grid { grid-template-columns: repeat(6, 1fr); }
  .sol-feature { grid-column: span 3; grid-row: span 2; min-height: 620px; }
  .sol-card:not(.sol-feature) { grid-column: span 3; }
}

.arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-text); border-bottom: 3px solid var(--c-orange); padding-bottom: 0.2rem; }
.arrow-link svg { width: 0.9em; height: 0.9em; fill: currentColor; }
.arrow-link:hover { color: var(--c-orange-text); }
.bg-black .arrow-link, .bg-ink .arrow-link { color: #fff; }
.bg-black .arrow-link:hover, .bg-ink .arrow-link:hover { color: var(--c-orange); }

/* ---------- Banner de empresa hermana ---------- */
.sister-card { border: 1px solid var(--c-line-on-light); border-radius: 6px; padding: clamp(2rem, 6vw, 4rem); text-align: center; background: var(--c-white); max-width: 800px; margin: 0 auto; }
.sister-plate { display: flex; width: fit-content; align-items: center; justify-content: center; background: #000; border-radius: 8px; padding: clamp(1rem, 3vw, 1.6rem) clamp(1.6rem, 5vw, 2.6rem); margin: 0 auto 1.6rem; }
.sister-plate img { height: clamp(48px, 9vw, 72px); width: auto; }
.sister-tag { display: table; margin: 0 auto 1.3rem; font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; background: #000; color: var(--c-orange); padding: 0.45rem 1rem; border-radius: 999px; }
.sister-card h2 { margin-bottom: 0.9rem; }
.sister-card p { margin: 0 auto 1.9rem; color: var(--c-text-2); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.about-grid h2 { margin-bottom: 1.25rem; }
.about-grid p + p { margin-top: 1rem; }
.about-values { display: grid; gap: 1.25rem; margin-top: 2rem; }
.value-item { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 0.5rem; border-top: 3px solid var(--c-orange); padding-top: 1rem; }
.value-item .cap-n { grid-row: span 2; font-family: var(--font-head); font-weight: 600; color: var(--c-orange-text); font-size: 1.25rem; letter-spacing: 0.06em; line-height: 1.2; }
.value-item h3 { margin-bottom: 0.3rem; }
.about-media { position: relative; min-height: 340px; border-radius: 4px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr 0.85fr; } }

/* ---------- Clientes (una tarjeta por logo, igual que Aslan) ---------- */
.clients-row { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: center; gap: 32px; }
.client-chip {
  background: #fdfdfd;
  border-radius: 6px;
  padding: 18px 26px;
  height: 96px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.client-chip:hover img { filter: grayscale(0); opacity: 1; }
@media (min-width: 900px) {
  .clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; max-width: 664px; margin: 0 auto; }
  .client-chip { width: 200px; }
}

/* ---------- Industrias ---------- */
.industry-list { border-top: 1px solid var(--c-line-on-light); }
.industry-row { display: flex; align-items: baseline; gap: clamp(1rem, 4vw, 2.5rem); padding: clamp(1.1rem, 2.5vw, 1.6rem) 0; border-bottom: 1px solid var(--c-line-on-light); }
.industry-row .idx { font-family: var(--font-head); font-weight: 600; color: var(--c-orange-text); font-size: 1.125rem; flex: none; width: 2.2rem; }
.industry-row h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); flex: 1; }
.industry-row span.tag { flex: none; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-3); display: none; }
@media (min-width: 640px) { .industry-row span.tag { display: block; } }

/* ---------- Ubicación ---------- */
.location-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.location-info address { font-style: normal; margin: 1.1rem 0 1rem; color: var(--c-text-2); }
.location-info p { color: var(--c-text-2); margin-bottom: 1.2rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.area-chips li { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid #b9b8b2; background: #fff; padding: 0.4rem 0.9rem; border-radius: 999px; color: var(--c-text); }
.map-frame { position: relative; width: 100%; padding-top: 66%; border-radius: 4px; overflow: hidden; border: 1px solid var(--c-line-on-light); background: var(--c-paper-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .location-grid { grid-template-columns: 0.95fr 1.05fr; align-items: center; }
  .map-frame { padding-top: 0; height: 460px; }
}

/* ---------- Contacto final ---------- */
.contact-final { text-align: center; }
.contact-final h2 { max-width: 22ch; margin: 0 auto 1.1rem; }
.contact-final p { margin: 0 auto 2.2rem; color: var(--c-on-dark); font-size: 1.25rem; }
.contacto-final-section { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Redes sociales ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: flex-start; }
.social-row a, .social-row .is-disabled > span.ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid #4a4a4a; border-radius: 999px; transition: border-color 0.15s ease, background-color 0.15s ease; }
.social-row a:hover { background: var(--c-orange); border-color: var(--c-orange); }
.social-row a:hover svg { fill: #000; }
.social-row svg { width: 22px; height: 22px; fill: #fff; }
.social-row .is-disabled { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; cursor: not-allowed; }
.social-row .is-disabled > span.ico { border-style: dashed; }
.social-row .is-disabled svg { fill: #8a8a8a; }
.social-row .is-disabled .soon { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-dark-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); color: var(--c-on-dark); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 3px solid var(--c-orange); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--c-line-on-dark); }
.footer-brand img { height: 64px; width: auto; display: block; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--c-on-dark); margin-bottom: 0.7rem; }
.footer-brand .tag { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-orange); display: block; margin-bottom: 1.2rem; }
.footer-brand .sister-link { display: block; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--c-line-on-dark); font-size: 1.0625rem; color: var(--c-on-dark); }
.footer-brand .sister-link b { color: #fff; }
.footer-brand .sister-link:hover b { color: var(--c-orange); }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-orange); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a, .footer-col address, .footer-col .is-off { color: #fff; font-size: 1.0625rem; font-style: normal; }
.footer-col a:hover { color: var(--c-orange); }
.footer-col .is-off { color: var(--c-on-dark-2); cursor: not-allowed; }
.footer-col .is-off small { display: inline-block; margin-left: 0.4rem; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px dashed #6a6a6a; padding: 0.1rem 0.5rem; border-radius: 999px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.75rem 0 2.25rem; font-size: 1rem; color: var(--c-on-dark-2); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.5fr 0.9fr 1.3fr 0.9fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 600; width: 64px; height: 64px; border-radius: 999px; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform 0.15s ease; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }

/* ---------- Reveal on scroll (mejora progresiva) ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.visually-hidden:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto; background: var(--c-orange); color: #000; padding: 0.8rem 1.1rem; z-index: 1000; font-weight: 700; }

/* =============== Páginas internas =============== */
.page-hero { padding-top: clamp(4.5rem, 10vw, 7rem); padding-bottom: clamp(2.25rem, 5vw, 3.25rem); border-bottom: 3px solid var(--c-orange); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lede { max-width: 58ch; color: var(--c-on-dark); font-size: 1.25rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-family: var(--font-head); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-on-dark); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--c-orange); }

.line-index { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }
.line-index a { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border: 2px solid #8a8a8a; padding: 0.6rem 1.1rem; border-radius: 999px; color: #fff; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.line-index a:hover { background: var(--c-orange); border-color: var(--c-orange); color: #000; }
.line-index a b { color: var(--c-orange); margin-right: 0.4rem; }
.line-index a:hover b { color: #000; }

.line-head { display: grid; gap: 0.75rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 52rem; }
.line-head .line-n { font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.14em; color: var(--c-orange-text); }
.line-head p { color: var(--c-text-2); }

.eq-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.eq-card { background: #fff; border: 1px solid var(--c-line-on-light); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.bg-white .eq-card { background: var(--c-paper); }
.eq-media { position: relative; aspect-ratio: 16 / 9.4; background: var(--c-ink); overflow: hidden; }
.eq-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.eq-card:hover .eq-media img { transform: scale(1.04); }
.eq-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.eq-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--c-text); }
.eq-body p { color: var(--c-text-2); margin-bottom: 1rem; }
.eq-specs { display: grid; gap: 0.4rem; margin: 0 0 1.2rem; font-size: 1.0625rem; color: var(--c-text-2); }
.eq-specs li { padding-left: 1.2rem; position: relative; }
.eq-specs li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.6rem; height: 3px; background: var(--c-orange); }
.eq-body .eq-cta { margin-top: auto; }
@media (min-width: 680px) { .eq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .eq-grid { grid-template-columns: repeat(3, 1fr); } }
@supports not (aspect-ratio: 16 / 9) { .eq-media { height: 220px; } }

.split { display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch; }
.split-media { min-height: 340px; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-body { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.split-body h2 { margin-bottom: 1.1rem; }
.split-body p { color: var(--c-on-dark); margin-bottom: 1rem; }
.cap-list { display: grid; gap: 0.85rem; margin: 1.25rem 0 2rem; }
.cap-list li { display: flex; gap: 0.9rem; align-items: baseline; color: var(--c-on-dark); }
.cap-list .cap-n { font-family: var(--font-head); font-weight: 600; color: var(--c-orange); font-size: 1rem; flex: none; width: 1.9rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .split-media { min-height: 100%; }
}

.industry-card-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 3vw, 2.5rem); }
.industry-card { border-top: 3px solid var(--c-orange); padding-top: 1.4rem; }
.industry-card .idx { font-family: var(--font-head); font-weight: 600; color: var(--c-orange-text); font-size: 1.125rem; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }
.industry-card h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); margin-bottom: 0.6rem; }
.industry-card p { color: var(--c-text-2); margin-bottom: 1.1rem; }
.industry-card .rel-label { display: block; font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3); margin-bottom: 0.6rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list a { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid #b9b8b2; background: #fff; color: var(--c-text); padding: 0.45rem 0.9rem; border-radius: 999px; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.chip-list a:hover { background: #000; color: var(--c-orange); border-color: #000; }
@media (min-width: 860px) { .industry-card-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.6rem, 1.6vw, 1.1rem); }
.gallery-item { position: relative; border-radius: 4px; overflow: hidden; min-height: 180px; background: var(--c-ink); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.92) 100%); }
.gallery-item .tag { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.75rem; z-index: 1; color: #fff; font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } .gallery-item { min-height: 240px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.steps-list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.step-item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; border-top: 3px solid var(--c-orange); padding-top: 1.1rem; }
.step-item .step-n { font-family: var(--font-head); font-weight: 600; font-size: 1.8rem; color: var(--c-orange-text); line-height: 1; }
.step-item h3 { margin-bottom: 0.3rem; color: var(--c-text); }
.step-item p { color: var(--c-text-2); }
@media (min-width: 900px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.text-block p { color: var(--c-text-2); margin-bottom: 1.1rem; max-width: 66ch; }
.cert-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.cert-list li { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 1rem; background: #000; color: #fff; padding: 0.65rem 1.1rem; border-radius: 3px; border-left: 4px solid var(--c-orange); }

/* Móvil: los botones grandes pueden partir en dos líneas sin desbordar */
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 0.8rem 1.25rem; }
  .hero-ctas .btn, .contact-final .btn, .location-info .btn { width: 100%; }
  h3 { font-size: 1.25rem; }
}

/* ---------- Industrias con foto (tarjetas) ---------- */
.ind-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 640px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .ind-grid.wide { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ind-grid.wide { grid-template-columns: repeat(2, 1fr); } }
.ind-card { position: relative; display: flex; flex-direction: column; background: #0d0d0d; color: var(--c-on-dark); border-radius: 4px; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.ind-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--c-orange); transition: width 0.35s ease; }
.ind-card:hover::after, .ind-card:focus-within::after { width: 100%; }
.ind-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ind-card:hover .ind-media img { transform: scale(1.06); }
.ind-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(13,13,13,0.7) 72%, #0d0d0d 100%); }
.ind-body { position: relative; z-index: 1; margin-top: -2.75rem; padding: 0 1.4rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.ind-num { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.1em; color: var(--c-orange); margin-bottom: 0.25rem; }
.ind-body h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); color: #fff; margin-bottom: 0.5rem; transition: color 0.2s ease; }
.ind-card:hover .ind-body h3 { color: var(--c-orange); }
.ind-body p { font-size: 1.125rem; color: var(--c-on-dark); margin-bottom: 1.1rem; }
.ind-body .sol-link, .ind-body .chip-list { margin-top: auto; align-self: flex-start; }
.ind-body .chip-list a { background: #1c1c1c; color: #fff; border-color: #444; }
.ind-body .chip-list a:hover { background: var(--c-orange); border-color: var(--c-orange); color: #000; }

.h1-line { display: block; }
