/* =========================================================
   VIATLA · Vidrios y Aluminios Tlacolula
   Hoja de estilos principal (diseño 2026)
   ========================================================= */

:root {
  --navy-900: #071a2f;
  --navy-800: #0b2545;
  --navy-700: #13375f;
  --steel-500: #5b7088;
  --steel-300: #b8c4d2;
  --steel-100: #eef2f6;
  --glass: #29b6c5;
  --glass-600: #1595a4;
  --amber: #f2a541;
  --white: #ffffff;
  --ink: #1b2533;
  --muted: #5d6b7c;
  --line: #e2e8ef;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(7, 26, 47, .06);
  --shadow: 0 18px 40px -18px rgba(7, 26, 47, .35);
  --container: 1200px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--glass-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--steel-100); }
.section--dark { background: var(--navy-800); color: #d8e2ee; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--glass-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--glass); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(41, 182, 197, .8); }
.btn--primary:hover { background: #3fc6d4; color: var(--navy-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy-800); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(7, 26, 47, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .85); font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav__links a.is-active { color: var(--navy-900); background: var(--white); }
.nav__cta { margin-left: 10px; }
.nav__cta.btn { padding: 10px 20px; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 26, 47, .94) 0%, rgba(7, 26, 47, .75) 45%, rgba(7, 26, 47, .25) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { max-width: 720px; padding: 140px 0 120px; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--glass); }
.hero p { font-size: 1.2rem; color: #cfdae6; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 165, 65, .25); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--white), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; } }

/* Encabezado de páginas internas */
.page-hero { position: relative; color: var(--white); padding: 190px 0 110px; overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 47, .7), rgba(7, 26, 47, .92)); }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: #cfdae6; font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.breadcrumb a { color: var(--glass); }

/* ---------- Franja de datos ---------- */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Bloques de dos columnas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.media-stack { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: end; }
.media-stack img:first-child { aspect-ratio: 3 / 4; }
.media-stack img:last-child { aspect-ratio: 3 / 3.4; margin-bottom: 40px; }
.badge-float {
  position: absolute; left: -24px; bottom: 32px; background: var(--navy-800); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow); max-width: 220px;
}
.badge-float strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--glass); line-height: 1; }
.badge-float span { font-size: .85rem; }

.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(41, 182, 197, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231595a4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__link { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(4px); }

.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; display: block; color: var(--white); isolation: isolate; box-shadow: var(--shadow-sm); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 47, 0) 35%, rgba(7, 26, 47, .92)); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.cat-card__num { font-family: var(--font-head); font-size: .8rem; color: var(--glass); font-weight: 700; letter-spacing: .14em; }
.cat-card h3 { color: var(--white); margin: 6px 0 4px; font-size: 1.3rem; }
.cat-card span { font-size: .88rem; opacity: .8; }
.cat-card:hover { color: var(--white); }

.value-card { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--glass), var(--navy-700)); color: var(--white); margin-bottom: 20px; }
.value-card .icon svg { width: 26px; height: 26px; }
.value-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--dark .value-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .value-card p { color: #b7c5d6; }

/* Misión / visión */
.mv-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.2fr; }
.mv-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.mv-card__body { padding: 38px; }
.mv-card__body p { color: var(--muted); }

/* ---------- Productos ---------- */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; padding: 72px 0; border-bottom: 1px solid var(--line); }
.product:last-child { border-bottom: 0; }
.product--reverse .product__media { order: 2; }
.product__media { position: sticky; top: 110px; }
.product__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.product__tag { position: absolute; top: 18px; left: 18px; background: rgba(7, 26, 47, .8); color: var(--white); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 26px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--steel-100); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--navy-800); }
.chips--num { counter-reset: n; }
.chips--num li::before { counter-increment: n; content: counter(n) "."; color: var(--glass-600); font-weight: 700; margin-right: 6px; }
.sub-title { font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); font-weight: 700; margin: 22px 0 0; }
.brands { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0; }
.brand-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 800; color: var(--navy-800); letter-spacing: .02em; }
.brand-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glass); }

/* Galería miniatura (catálogos) */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.thumbs button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--steel-100); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.thumbs button:hover img { transform: scale(1.08); opacity: .9; }

/* ---------- Servicios ---------- */
.service { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service__num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--glass); line-height: 1; }
.service h3 { font-size: 1.12rem; }
.service p { color: var(--muted); margin: 0 0 .5em; font-size: .95rem; }

.feature-band { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; color: var(--white); isolation: isolate; padding: 64px; }
.feature-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 47, .95), rgba(7, 26, 47, .55)); }
.feature-band h2, .feature-band h3 { color: var(--white); }
.feature-band p { color: #d0dbe7; max-width: 560px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 60%, #165a73); border-radius: calc(var(--radius) + 6px); padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: var(--white); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 182, 197, .35), transparent 70%); }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { margin: 0; color: #c8d5e3; }
.cta .btn { position: relative; z-index: 1; flex: none; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.info-item .icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(41, 182, 197, .12); color: var(--glass-600); }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 4px; font-size: .95rem; }
.info-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.mail-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy-800); }
.field input, .field textarea {
  font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--steel-100);
  transition: border-color .2s, background .2s, box-shadow .2s; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glass); background: var(--white); box-shadow: 0 0 0 4px rgba(41, 182, 197, .15); }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-row img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.thanks { text-align: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--navy-800); max-width: 760px; margin: 0 auto; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-900); color: #9fb0c3; padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4d1df; }
.site-footer a:hover { color: var(--glass); }
.site-footer .brand { margin-bottom: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--white); transition: background .2s, transform .2s; }
.social a:hover { background: var(--glass); color: var(--navy-900); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
.footer-bottom a { color: #c4d1df; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Visor de imágenes ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 28, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #c4d1df; margin-top: 14px; font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--glass); color: var(--navy-900); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Animación al desplazar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .product, .contact-grid { gap: 44px; }
}
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 90px 22px 22px;
    background: var(--navy-900); transform: translateX(100%); transition: transform .35s ease, visibility .35s;
    visibility: hidden;
  }
  .nav__links.is-open { transform: none; visibility: visible; box-shadow: -20px 0 40px rgba(0, 0, 0, .3); }
  .nav__links a { padding: 14px 18px; border-radius: 12px; }
  .nav__cta { margin: 12px 0 0; }
  .nav__toggle { position: relative; z-index: 2; }
  .split, .product, .contact-grid, .mv-card { grid-template-columns: 1fr; }
  .split--reverse .split__media, .product--reverse .product__media { order: 0; }
  .product__media { position: relative; top: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .feature-band { padding: 44px 32px; }
  .badge-float { left: 16px; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .grid--2, .grid--3, .grid--4, .photo-row, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat strong { font-size: 1.6rem; }
  .form-card { padding: 26px; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .media-stack { grid-template-columns: 1fr 1fr; }
  .brand__tag { display: none; }
  .lightbox { padding: 60px 12px; }
  .cat-card { aspect-ratio: 4 / 3.4; }
}
