/* ==========================================================================
   Polifusión Ingeniería — hoja de estilos principal
   Mobile-first. Paleta: negro grafito, verde corporativo, blanco y turquesa.
   ========================================================================== */

:root {
  --bg: #0a0d0c;
  --bg-2: #0f1412;
  --surface: #141a17;
  --surface-2: #19211d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --green: #00a651;
  --green-hi: #25c46c;
  --green-deep: #04351c;
  --turq: #2cc3c4;

  --text: #f3f6f4;
  --text-2: #cdd6d1;
  --muted: #9eaaa4;

  --f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; }

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--green);
  color: #03130a;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.04em; }
.text-green { color: var(--green-hi); }

.icon {
  width: 1.2em; height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 30px; height: 30px; }
.icon--xl { width: 56px; height: 56px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 22ch;
  text-wrap: balance;
}

.h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.65rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h3--lg { font-size: clamp(1.7rem, 3vw, 2.2rem); }

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 58ch;
}

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
}
.label .mono { color: var(--green-hi); }
.label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--f-mono);
  font-size: clamp(0.75rem, 1.6vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
}
.eyebrow__dot { width: 8px; height: 8px; background: var(--green); flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--green); color: #03130a; }
.btn--primary:hover { background: var(--green-hi); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); background: rgba(10, 13, 12, 0.25); }
.btn--ghost:hover { border-color: var(--green-hi); color: #fff; background: rgba(255, 255, 255, 0.04); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--whatsapp {
  justify-content: flex-start;
  gap: 18px;
  min-height: 76px;
  padding: 14px 24px;
  background: var(--green);
  color: #03130a;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.btn--whatsapp:hover { background: var(--green-hi); }
.btn--whatsapp span { display: grid; gap: 6px; text-align: left; }
.btn--whatsapp small {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.btn--whatsapp:hover .icon { transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-hi);
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(10, 13, 12, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-right: auto;
  flex: none;
}
/* Logotipo oficial (cuando se incorpore): nunca se recorta ni se deforma */
.brand__logo {
  height: 58px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}
.brand__wordmark { display: grid; gap: 4px; line-height: 1; }
.brand__wordmark strong {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #fff;
}
.brand__wordmark span {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.42em;
  color: var(--green-hi);
}
.brand__wordmark--lg strong { font-size: 1.9rem; }
.brand__wordmark--lg span { font-size: 0.75rem; letter-spacing: 0.5em; }

.header__cta { display: none; }

.nav-toggle {
  position: relative;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
body.nav-open .nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.nav__link {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-head);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav__link.is-active { color: var(--green-hi); }
.nav__mobile-extra { display: grid; gap: 12px; margin-top: 32px; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .nav-toggle, .nav__mobile-extra { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__link {
    position: relative;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    font-family: var(--f-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text-2);
    transition: color 0.2s;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 6px;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav__link:hover { color: #fff; }
  .nav__link.is-active { color: #fff; }
  .nav__link.is-active::after { transform: scaleX(1); }
}

/* ---------- Hero / Inicio ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(640px, 100svh);
  isolation: isolate;
  background: var(--bg);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img { object-fit: cover; object-position: 70% center; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 13, 12, 0.6) 0%, rgba(10, 13, 12, 0.55) 35%, rgba(10, 13, 12, 0.92) 72%, var(--bg) 100%);
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
}
.hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__subtitle {
  margin: 24px 0 0;
  max-width: 50ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__actions .btn { flex: 1 1 220px; }

.hero__pillars {
  border-top: 1px solid var(--line-strong);
  background: rgba(10, 13, 12, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pillars-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillars-bar li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0 20px 14px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--f-head);
  font-size: clamp(1rem, 3.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}
.pillars-bar li:first-child { border-left: 0; padding-left: 0; }
.pillars-bar .mono { font-size: 0.75rem; color: var(--green-hi); letter-spacing: 0.1em; }

@media (min-width: 768px) {
  .hero__media img { object-position: right center; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 12, 0.97) 0%, rgba(10, 13, 12, 0.88) 38%, rgba(10, 13, 12, 0.35) 72%, rgba(10, 13, 12, 0.15) 100%),
      linear-gradient(180deg, rgba(10, 13, 12, 0.5) 0%, transparent 30%, transparent 70%, rgba(10, 13, 12, 0.7) 100%);
  }
  .hero__content { justify-content: center; padding-bottom: 72px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .pillars-bar li {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 28px 0 28px 32px;
  }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: clamp(64px, 8vw, 112px); }
.section--flush-top { padding-top: 0; }
.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: end;
  }
}

/* ---------- Pilares (Diseño | Instalación | Mantenimiento) ---------- */
.pillars { display: grid; gap: 24px; }
.pillar {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pillar__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pillar__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-top: 3px solid var(--green);
}
.pillar__body p { color: var(--text-2); }
.pillar__num { margin: 0; font-size: 0.8125rem; color: var(--green-hi); }
.pillar .h3 { font-size: clamp(1.8rem, 3vw, 2.25rem); letter-spacing: 0.06em; }
.pillar .link-arrow { margin-top: auto; }

@media (min-width: 700px) and (max-width: 1023px) {
  .pillar { flex-direction: row; }
  .pillar__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 300px; }
  .pillar__body { border-top: 0; border-left: 3px solid var(--green); }
}
@media (min-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Empresa ---------- */
.about { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge {
  position: absolute;
  left: 0; bottom: 0;
  display: grid;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 18px 24px;
  background: var(--green);
  color: #03130a;
}
.about__badge-label { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; }
.about__badge strong {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0.06em;
  line-height: 1;
}
.about__text .h2 { margin-bottom: 28px; }
.about__text .lead { margin-bottom: 20px; color: var(--text); }
.about__text > p:not(.lead):not(.label) { color: var(--text-2); }

.checklist { display: grid; gap: 14px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checklist .icon { margin-top: 3px; color: var(--green-hi); stroke-width: 2.2; }

@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1.05fr; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-strong);
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 28px 16px 28px 0;
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stat__label {
  order: 2;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat__value {
  order: 1;
  margin-bottom: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 1;
}
.stat__plus { color: var(--green-hi); margin-right: 2px; }
.stat__value--text { color: #fff; }
.stat__note { order: 3; margin-top: 6px; font-size: 0.95rem; color: var(--text-2); line-height: 1.4; }

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 36px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 28px; }
}

.clients {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}
.clients__title {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
}
.clients__list { display: flex; flex-wrap: wrap; gap: 10px; }
.clients__list li {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.975rem;
  color: var(--text-2);
}
@media (min-width: 1024px) {
  .clients { grid-template-columns: 200px 1fr; align-items: start; }
  .clients__title { padding-top: 12px; }
}

/* ---------- Servicios ---------- */
.services {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg);
  transition: background-color 0.3s;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 3px;
  background: var(--green);
  transition: width 0.4s var(--ease);
}
.service:hover { background: var(--surface); }
.service:hover::before { width: 100%; }
.service__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.service__num { font-size: 0.875rem; color: var(--muted); }
.service__icon {
  width: 44px; height: 44px;
  fill: none;
  stroke: var(--green-hi);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service > p { color: var(--text-2); font-size: 1.0625rem; }
.service__list {
  display: grid;
  gap: 10px;
  margin: 6px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service__list li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.5;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  background: var(--turq);
}
.service .link-arrow { margin-top: auto; }

@media (min-width: 760px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

/* Metodología */
.process {
  display: grid;
  gap: 36px;
  margin-top: clamp(64px, 9vw, 112px);
}
.process__steps { display: grid; counter-reset: step; }
.process__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
}
.process__steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 32px; height: 2px;
  background: var(--green);
}
.process__steps .mono { grid-row: span 2; font-size: 0.875rem; color: var(--green-hi); padding-top: 4px; }
.process__steps strong {
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.process__steps span:last-child { color: var(--muted); font-size: 1rem; line-height: 1.5; }

@media (min-width: 640px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
@media (min-width: 960px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); }
  .process__steps li { grid-template-columns: 1fr; padding: 24px 0 8px; }
  .process__steps .mono { grid-row: auto; padding-top: 0; }
}
@media (min-width: 1200px) {
  .process { grid-template-columns: 240px 1fr; gap: 48px; }
  .process__steps { grid-template-columns: repeat(6, 1fr); column-gap: 24px; }
}

/* ---------- Aplicaciones ---------- */
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 64vh, 640px);
  isolation: isolate;
  overflow: hidden;
}
.banner > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 20, 18, 0.25) 0%, rgba(15, 20, 18, 0.65) 50%, var(--bg-2) 100%),
    linear-gradient(90deg, rgba(10, 13, 12, 0.7) 0%, rgba(10, 13, 12, 0) 70%);
}
.banner__content { padding-block: clamp(48px, 7vw, 80px) clamp(32px, 4vw, 48px); }
.banner__content .h2 { margin-bottom: 20px; }
.banner__content .lead { color: var(--text); }

.sectors {
  display: grid;
  gap: 1px;
  margin-top: clamp(24px, 4vw, 48px);
  background: var(--line);
  border: 1px solid var(--line);
}
.sector {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-2);
  transition: background-color 0.3s;
}
.sector:hover { background: var(--surface); }
.sector__icon {
  flex: none;
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--green-hi);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sector h3 {
  margin-bottom: 8px;
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}
.sector p { font-size: 1rem; color: var(--muted); line-height: 1.55; }

@media (min-width: 680px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sectors { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Ventajas PPR ---------- */
.fusion {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.fusion__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fusion__body > p { margin: 18px 0 28px; color: var(--text-2); max-width: 56ch; }
.fusion__steps { display: grid; }
.fusion__steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fusion__steps li:last-child { border-bottom: 1px solid var(--line); }
.fusion__step-num { font-size: 0.875rem; color: var(--green-hi); padding-top: 3px; }
.fusion__steps strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.fusion__steps p { color: var(--muted); font-size: 1rem; }

@media (min-width: 1024px) {
  .fusion { grid-template-columns: 1fr 1fr; }
}

.advantages {
  display: grid;
  gap: 0 40px;
  margin-top: clamp(64px, 9vw, 112px);
}
.advantage {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line-strong);
}
.advantage .mono { display: block; margin-bottom: 14px; font-size: 0.875rem; color: var(--turq); }
.advantage h3 {
  margin-bottom: 12px;
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.advantage p { color: var(--text-2); font-size: 1rem; line-height: 1.6; }

@media (min-width: 640px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .advantages { grid-template-columns: repeat(4, 1fr); } }

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}
.specs > div { padding: clamp(20px, 3vw, 32px); background: var(--surface); }
.specs dt {
  margin-bottom: 10px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.specs dd {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-hi);
  white-space: nowrap;
}
.specs small { font-size: 0.5em; font-weight: 600; color: var(--text-2); letter-spacing: 0.04em; }
.specs__note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); max-width: 80ch; }

@media (min-width: 900px) { .specs { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Banda CTA ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.cta-band__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 30, 17, 0.95) 0%, rgba(10, 13, 12, 0.9) 55%, rgba(10, 13, 12, 0.8) 100%);
}
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
.cta-band .h2 { margin-bottom: 16px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__actions .btn { flex: 1 1 220px; }

@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .cta-band__actions { justify-content: flex-end; }
  .cta-band__actions .btn { flex: 0 0 auto; }
}

/* ---------- Contacto ---------- */
.contact { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact__info .h2 { margin-bottom: 20px; }
.contact__info .lead { margin-bottom: 32px; }
.contact__list { margin-top: 32px; border-top: 1px solid var(--line); }
.contact__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact__list .icon { margin-top: 4px; color: var(--green-hi); width: 22px; height: 22px; }
.contact__list div { display: grid; gap: 2px; min-width: 0; }
.contact__list a, .contact__list div > span:last-child {
  font-size: 1.0625rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact__list a:hover { color: var(--green-hi); }
.contact__k { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.contact__form-wrap {
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}

@media (min-width: 1024px) {
  .contact { grid-template-columns: 0.85fr 1.15fr; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
}

.form__grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--text-2); }
.field label span { color: var(--green-hi); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 1rem; /* ≥16px evita el zoom automático en iOS */
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325c46c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }
.field ::placeholder { color: #6f7b75; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-hi);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.25);
}
.form.was-validated .field :invalid { border-color: #ff7b72; }

@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.form__footer .btn { flex: 1 1 100%; }
.form__hint { flex: 1 1 260px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.form__status { margin-top: 16px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-error { color: #ff8f86; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

@media (min-width: 640px) {
  .form__footer .btn { flex: 0 0 auto; }
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: clamp(8px, 2vw, 24px) 0;
}
.form-success:focus { outline: none; }
.form-success .icon { color: var(--green-hi); stroke-width: 2; }
.form-success p { color: var(--text-2); }
.form-success a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pie de página ---------- */
.site-footer {
  padding-top: clamp(56px, 8vw, 96px);
  background: #070908;
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 20px; max-width: 36ch; color: var(--muted); font-size: 1rem; }
.footer__title {
  margin-bottom: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turq);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col li { color: var(--text-2); font-size: 1rem; }
.footer__col a { display: inline-block; padding-block: 2px; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--green-hi); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #03130a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float:hover { transform: translateY(-2px); background: var(--green-hi); }
body.nav-open .wa-float { display: none; }

@media (min-width: 1100px) {
  .wa-float { right: 28px; bottom: 28px; width: 62px; height: 62px; }
}

/* ---------- Animaciones de entrada (solo con JS y sin reducción de movimiento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Páginas simples (gracias / 404) ---------- */
.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 64px;
}
.simple-page__inner { max-width: 640px; }
.simple-page .h2 { margin: 8px 0 20px; }
.simple-page .lead { margin-bottom: 32px; }
.simple-page__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Logotipo oficial integrado */
.brand__logo { object-fit: contain; }
.footer__logo {
  display: block;
  width: min(250px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}
@media (max-width: 420px) {
  .brand__logo { height: 48px; max-width: min(176px, 48vw); }
  .header__inner { gap: 12px; }
}
.about__media img { object-position: center; }
