/* =========================================================
   SIID Ingeniería — Tema claro industrial (v2)
   Paleta: gris claro + azul fuerte + azul navy
   ========================================================= */

:root {
  /* Paleta clara */
  --color-bg:        #eef0f3;          /* Gris muy claro de fondo */
  --color-bg-2:      #e7eaef;          /* Variante para bandas */
  --color-surface:   #ffffff;          /* Tarjetas blancas */
  --color-surface-2: #f4f6f9;          /* Inputs / hover */
  --color-border:    #d8dde4;
  --color-line:      #e5e8ed;
  --color-text:      #0a1220;          /* Texto principal */
  --color-text-dim:  #475467;          /* Texto secundario */
  --color-text-mute: #6b7280;          /* Mute */

  /* Azules */
  --color-primary:   #0a66c2;          /* Azul fuerte (acción) */
  --color-primary-2: #084ea0;
  --color-primary-3: #06407d;
  --color-accent:    #0a3a7a;          /* Azul navy (acento secundario) */
  --color-accent-2: #0a2b58;
  --color-cyan:      #0891b2;          /* Cyan apoyo opcional */

  --color-success:   #128a5d;
  --color-warning:   #b45309;
  --color-danger:    #b91c1c;

  /* Tipografías */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 60, .06);
  --shadow:    0 6px 24px rgba(10, 30, 70, .08);
  --shadow-lg: 0 16px 48px rgba(10, 30, 70, .14);

  --container: 1200px;
  --header-h:  72px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 600px at 90% -10%, rgba(10,102,194,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(10,58,122,.06), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: auto, auto, 80px 80px, 80px 80px;
  background-attachment: fixed, fixed, scroll, scroll;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-2); }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .4em; color: var(--color-text); }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--color-text-dim); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--color-bg-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-primary);
  padding: 6px 10px; border: 1px solid rgba(10,102,194,.35);
  border-radius: 999px; background: rgba(10,102,194,.06);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; box-shadow: 0 0 10px rgba(10,102,194,.5); }
.section-title { max-width: 760px; margin-bottom: 12px; }
.section-lead { max-width: 720px; color: var(--color-text-dim); margin-bottom: 44px; font-size: 1.02rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: var(--font-sans); font-size: .95rem;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, #1273d8, #084ea0); color: #fff;
  box-shadow: 0 8px 22px rgba(10,102,194,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { color: #fff; background: linear-gradient(180deg, #1a7ee0, #0a55ad); }
.btn--accent {
  background: linear-gradient(180deg, #14457f, #0a2b58); color: #fff;
  box-shadow: 0 8px 22px rgba(10,58,122,.30), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn--accent:hover { color: #fff; }
.btn--ghost {
  background: #fff; color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(10,102,194,.04); }
.btn--lg { padding: 16px 26px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.brand__logo { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: var(--color-text); }
.brand__sub  { color: var(--color-text-mute); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav__link { color: var(--color-text-dim); padding: 10px 14px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.nav__link:hover, .nav__link.is-active { color: var(--color-primary); background: rgba(10,102,194,.06); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: #fff; border: 1px solid var(--color-border); color: var(--color-text); padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; }

@media (max-width: 1080px) {
  .nav__menu, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__menu {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 12px 16px;
    background: #fff; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__menu .nav__link { padding: 14px; border-bottom: 1px solid var(--color-border); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 100px 0 88px; border-bottom: 1px solid var(--color-border); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(700px 360px at 75% 25%, rgba(10,102,194,.18), transparent 60%),
    radial-gradient(700px 360px at 15% 80%, rgba(10,58,122,.12), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5vw, 4rem); }
.hero__title .accent { color: var(--color-primary); }
.hero__title .accent2 { color: var(--color-accent); }
.hero__lead { font-size: 1.1rem; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-border); border-radius: 999px; padding: 6px 12px; color: var(--color-text-dim); font-family: var(--font-mono); font-size: .8rem; background: #fff; }

.hero__visual {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 30% 20%, rgba(10,102,194,.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(10,58,122,.12), transparent 50%),
    linear-gradient(180deg, #fbfcfe, #f0f3f7);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 75%);
}
.hero__visual svg.logo-art { position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-primary); font-weight: 700; }
.stat__label { color: var(--color-text-mute); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }

/* Cards */
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-3px); border-color: rgba(10,102,194,.45); box-shadow: var(--shadow); }
.card__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(10,102,194,.10); color: var(--color-primary); border: 1px solid rgba(10,102,194,.22); margin-bottom: 14px; }
.card__icon--accent { background: rgba(10,58,122,.10); color: var(--color-accent); border-color: rgba(10,58,122,.25); }
.card__media { aspect-ratio: 4/3; border-radius: var(--radius); margin: -22px -22px 16px -22px; border-bottom: 1px solid var(--color-border); background: linear-gradient(180deg, #f7f9fc, #eef2f7); display: grid; place-items: center; }
.card__media svg { width: 55%; height: 55%; opacity: .9; }
.card__title { color: var(--color-text); margin-bottom: 6px; }
.card__text { color: var(--color-text-dim); font-size: .95rem; margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .9rem; font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Producto */
.product { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm); }
.product:hover { transform: translateY(-3px); border-color: rgba(10,102,194,.45); box-shadow: var(--shadow); }
.product__media { aspect-ratio: 4/3; position: relative; background: linear-gradient(180deg, #f7f9fc, #e9eef5); display: grid; place-items: center; border-bottom: 1px solid var(--color-border); }
.product__media svg { width: 60%; height: 60%; opacity: .85; }
.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__tag { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--color-accent); font-weight: 600; }
.product__title { color: var(--color-text); font-size: 1.05rem; margin: 0; }
.product__price { color: var(--color-text); font-weight: 700; }
.product__price small { color: var(--color-text-mute); font-weight: 400; font-size: .8rem; margin-right: 4px; }
.product__cta { margin-top: auto; display: flex; gap: 8px; }
.product__cta .btn { flex: 1; padding: 10px 14px; font-size: .85rem; justify-content: center; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 18px; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.logo-cell { height: 56px; display: grid; place-items: center; color: var(--color-text-mute); font-family: var(--font-mono); font-size: .85rem; letter-spacing: .12em; border-right: 1px dashed var(--color-line); text-transform: uppercase; text-align: center; padding: 0 6px; }
.logo-cell:last-child { border-right: none; }

/* Testimonio */
.testimonial { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.testimonial__quote { color: var(--color-text); font-size: 1.02rem; }
.testimonial__author { color: var(--color-text-mute); font-family: var(--font-mono); font-size: .82rem; margin-top: 12px; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(135deg, rgba(10,102,194,.10), rgba(10,58,122,.06)),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow-sm);
}
.cta-band__text h3 { font-size: 1.5rem; }
.cta-band__text p { margin: 0; }
@media (max-width: 720px) { .cta-band { flex-direction: column; align-items: flex-start; } }

/* Footer */
.site-footer { background: #0a1220; border-top: 1px solid var(--color-border); padding: 56px 0 22px; margin-top: 72px; color: #cbd2dc; }
.site-footer p, .site-footer span { color: #9ba6b4; }
.site-footer .brand__name, .site-footer .brand__sub, .site-footer h4 { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: #9ba6b4; font-size: .9rem; max-width: 320px; }
.footer h4, .site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-mono); font-weight: 600; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { color: #c2c9d3; font-size: .95rem; }
.footer__list a:hover { color: #fff; }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid #1a2436; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8a93a0; font-size: .85rem; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: #14213a; color: #d4dbe6; display: grid; place-items: center; border: 1px solid #1a2436; transition: background .2s, color .2s, transform .15s; }
.social-link:hover { background: #1c3563; color: #fff; transform: translateY(-1px); }

/* Forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 8px; }
.form__row--2 { grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .form__row--2 { grid-template-columns: 1fr; } }
label { color: var(--color-text); font-size: .9rem; font-weight: 500; }
.input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: inherit; font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,102,194,.18);
}
textarea { min-height: 130px; resize: vertical; }
.hint { color: var(--color-text-mute); font-size: .82rem; }
.fieldset { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.fieldset legend { padding: 0 8px; color: var(--color-text); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }

/* Página hero */
.page-hero { padding: 72px 0 44px; border-bottom: 1px solid var(--color-border); position: relative; background: linear-gradient(180deg, #f3f6fb, var(--color-bg)); }
.page-hero__inner { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.breadcrumbs { font-family: var(--font-mono); font-size: .8rem; color: var(--color-text-mute); letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a { color: var(--color-text-dim); }
.breadcrumbs span { margin: 0 8px; color: var(--color-line); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--color-text-dim); }
.check-list svg { flex: 0 0 auto; color: var(--color-primary); margin-top: 4px; }
.check-list li strong { color: var(--color-text); }

/* Tabla */
table.spec { width: 100%; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; font-size: .92rem; box-shadow: var(--shadow-sm); }
table.spec th, table.spec td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
table.spec th { background: var(--color-surface-2); color: var(--color-text); font-weight: 700; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
table.spec td { color: var(--color-text-dim); }
table.spec tr:last-child td { border-bottom: none; }

/* WhatsApp flotante */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(37,211,102,.4);
  transition: transform .15s ease;
}
.fab-whatsapp:hover { transform: scale(1.06); color: #fff; }

/* Filter chips */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-btn { background: var(--color-surface); color: var(--color-text-dim); border: 1px solid var(--color-border); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-family: var(--font-mono); letter-spacing: .04em; transition: all .15s; }
.chip-btn:hover, .chip-btn.is-active { color: var(--color-primary); border-color: var(--color-primary); background: rgba(10,102,194,.08); }

/* Timeline */
.timeline { display: grid; gap: 18px; }
.timeline__item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.timeline__dot { width: 28px; height: 28px; border-radius: 50%; background: rgba(10,102,194,.10); border: 1px solid rgba(10,102,194,.45); color: var(--color-primary); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; font-weight: 700; }
.timeline__title { color: var(--color-text); font-weight: 700; }

/* Utilidad no-wrap */
.nowrap { white-space: nowrap; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(3n) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(odd) { border-right: 1px dashed var(--color-line); }
  .logo-cell:nth-child(even) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   v3 — Estilos para galería tipo Forza, sin precios
   ========================================================= */

/* Hero con foto de fondo */
.hero--photo {
  position: relative; overflow: hidden;
  padding: 120px 0; min-height: 560px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--color-border);
  background: #0a1220;
}
.hero--photo .hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(.6) saturate(1.05);
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(10,18,32,.85) 30%, rgba(10,58,122,.45) 80%, transparent);
}
.hero--photo .container { position: relative; z-index: 2; }
.hero--photo h1, .hero--photo .hero__title { color: #fff; }
.hero--photo .hero__lead { color: #cfd6e1; }
.hero--photo .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #a9c7f0; }
.hero--photo .eyebrow::before { background: #3aa6ff; box-shadow: 0 0 10px #3aa6ff; }
.hero--photo .hero__chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #cfd6e1; }

/* Card con foto grande arriba */
.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(10,102,194,.45); }
.feature__media { aspect-ratio: 16/10; background: #0e1726 center/cover no-repeat; }
.feature__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature__tag { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--color-accent); font-weight: 600; }
.feature__title { color: var(--color-text); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0; }
.feature__text { color: var(--color-text-dim); margin: 0; }
.feature__cta { margin-top: auto; display: flex; gap: 8px; padding-top: 6px; }

/* Split section (texto + media grande) */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #0e1726 center/cover no-repeat;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
}

/* Tabla espesores estilo Forza */
.spec-table { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.spec-table thead th { background: var(--color-primary); color: #fff; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
.spec-table tbody td:first-child { font-weight: 700; color: var(--color-text); }
.spec-table tbody tr:nth-child(even) td { background: var(--color-surface-2); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .spec-2lines { display:flex; flex-direction:column; line-height:1.25; }
.spec-table .spec-2lines small { color: var(--color-text-mute); font-size: .78rem; font-weight: 400; }

/* Industrias chips grandes */
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries .ind-chip { padding: 10px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); font-weight: 500; box-shadow: var(--shadow-sm); }

/* Lista de beneficios estilo Forza */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.benefit__eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin-bottom: 8px; }
.benefit__title { color: var(--color-text); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.benefit__list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.benefit__list li { display: flex; gap: 10px; color: var(--color-text-dim); }
.benefit__list li::before { content: "✓"; color: var(--color-primary); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { padding: 16px 20px; font-weight: 600; color: var(--color-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > div { padding: 0 20px 18px; color: var(--color-text-dim); }
.faq details[open] { border-color: rgba(10,102,194,.4); }

/* Hero CTA strip oscura (sustituye cta-band cuando se quiere fuerte) */
.cta-dark {
  background: linear-gradient(135deg, #0a1220, #0a3a7a);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow);
}
.cta-dark h3 { color: #fff; font-size: 1.6rem; }
.cta-dark p { color: #cfd6e1; margin: 0; }
@media (max-width: 720px) { .cta-dark { flex-direction: column; align-items: flex-start; } }

/* Marcas / clientes (logos cuadrados con fondo) */
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.client-card { aspect-ratio: 1/1; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); display: grid; place-items: center; padding: 14px; box-shadow: var(--shadow-sm); }
.client-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Página hero variant claro */
.page-hero--photo { background: #0a1220; color: #fff; padding: 88px 0 64px; position: relative; overflow: hidden; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; opacity: .35; background-size: cover; background-position: center; filter: saturate(1.1); }
.page-hero--photo .container { position: relative; z-index: 2; }
.page-hero--photo h1, .page-hero--photo p, .page-hero--photo .eyebrow { color: #fff; }
.page-hero--photo .breadcrumbs { color: #9aa9bf; }
.page-hero--photo .breadcrumbs a { color: #cfd6e1; }
.page-hero--photo .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #a9c7f0; }

/* =========================================================
   v3.1 — Mejoras móvil (smartphone)
   ========================================================= */

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section--tight { padding: 36px 0; }
  .section-lead { font-size: .98rem; margin-bottom: 28px; }

  /* Hero móvil más compacto */
  .hero, .hero--photo { padding: 64px 0 48px; min-height: auto; }
  .hero__title { font-size: clamp(1.7rem, 6vw, 2.2rem) !important; }
  .hero__lead { font-size: 1rem !important; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .hero__chips { gap: 6px; }
  .hero__chip { font-size: .72rem; padding: 4px 10px; }

  /* Header móvil */
  .site-header { padding: 0; }
  .brand__logo { width: 32px; height: 32px; }
  .brand__name { font-size: .95rem; }
  .brand__sub { font-size: .65rem; letter-spacing: .18em; }
  .nav__cta .btn { padding: 10px 14px; font-size: .85rem; }

  /* Tabla espesores con scroll horizontal */
  .spec-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table table { min-width: 480px; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: .85rem; }

  /* Stats en 2 columnas en móvil */
  .stats { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .stat { padding: 14px; }
  .stat__num { font-size: 1.4rem; }
  .stat__label { font-size: .68rem; }

  /* Cards móvil */
  .card { padding: 18px; }
  .feature__body { padding: 16px; gap: 8px; }
  .feature__title { font-size: 1.05rem; }

  /* Hero visual (cuadro decorativo) más pequeño */
  .hero__visual { max-width: 280px !important; margin: 24px auto 0 !important; }

  /* CTA bands en columna */
  .cta-band, .cta-dark { flex-direction: column; align-items: flex-start; padding: 24px; gap: 16px; }
  .cta-dark h3, .cta-band__text h3 { font-size: 1.2rem; }
  .cta-dark .btn, .cta-band .btn { width: 100%; justify-content: center; }

  /* Páginas internas */
  .page-hero { padding: 56px 0 32px; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2rem); }

  /* Forms móvil */
  .fieldset { padding: 14px; }
  .input, select, textarea { font-size: 16px; /* evita zoom iOS */ }
  .btn--lg { padding: 14px 20px; font-size: .95rem; width: 100%; justify-content: center; }

  /* Footer móvil */
  .footer__grid { gap: 24px; }
  .footer__bottom { font-size: .78rem; }
  .social-row { gap: 8px; }

  /* WhatsApp flotante más chico */
  .fab-whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }

  /* Industrias chips */
  .ind-chip { padding: 8px 12px; font-size: .9rem; }

  /* Filtros productos / portafolio */
  .filter-bar { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; margin: 0 -18px 18px; padding-left: 18px; padding-right: 18px; }
  .chip-btn { flex: 0 0 auto; font-size: .8rem; padding: 7px 12px; }

  /* Benefits/timeline tighter */
  .benefit { padding: 18px; }
  .benefit__title { font-size: 1.1rem; }
  .timeline__item { grid-template-columns: 28px 1fr; gap: 10px; }
  .timeline__dot { width: 24px; height: 24px; font-size: .72rem; }

  /* Logos clientes 2 columnas */
  .client-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mapa contacto */
  iframe[title*="SIID"], iframe[title*="Oficinas"], iframe[title*="Taller"] { height: 260px !important; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem !important; }
  .hero__title { font-size: 1.7rem !important; line-height: 1.15; }
  .stats { grid-template-columns: 1fr !important; }
  .stat__num { font-size: 1.6rem; }
  .footer__brand p { font-size: .85rem; }
}

/* Override inline grid-template-columns en móvil */
@media (max-width: 720px) {
  .grid-2[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  /* CTA con flex inline también colapsa */
  .cta-band > div[style*="flex"] { flex-direction: column; width: 100%; }
  .cta-band > div[style*="flex"] .btn { width: 100%; justify-content: center; }
  /* Iframe maps en columna llenan ancho */
  iframe { width: 100% !important; }
}
