:root {
  --navy: #0F2A52;
  --blue: #1E4B8C;
  --green: #4CA64C;
  --gold: #F4C430;
  --ink: #111827;
  --muted: #6B7280;
  --soft: #F8F9FB;
  --line: #E5E7EB;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.alt { background: var(--soft); }

/* ─── Etiquetas y títulos (lenguaje validado: nada de tablas Excel) ─── */
.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
h2 { font-size: clamp(26px, 4vw, 34px); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.intro { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 40px; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1f3d 100%);
  color: #fff;
  padding: 84px 0 72px;
}
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 420px; }
.hero-logo { flex: 0 1 360px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin-bottom: 18px; }
.hero p.sub { font-size: 19px; color: #C9D6E8; margin-bottom: 32px; max-width: 520px; }
.hero .gold { color: var(--gold); }
.hero-strip { height: 6px; background: linear-gradient(90deg, var(--blue) 33%, var(--green) 33% 66%, var(--gold) 66%); }

/* ─── Botones ─── */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px;
  padding: 14px 28px; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, .45); }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-wa.outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--green); box-shadow: none;
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ─── Caso medido ─── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 36px 0; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 22px; border-top: 4px solid var(--green);
}
.alt .stat { background: #fff; }
.stat .num { font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat .what { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin: 6px 0 8px; }
.stat p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.note-green { font-style: italic; color: var(--green); font-size: 15px; }

/* Stats simples (quiénes somos) */
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 32px; }
.mini-stats div { text-align: center; padding: 18px 10px; background: var(--soft); border-radius: 10px; }
.mini-stats .num { font-size: 30px; font-weight: 800; color: var(--navy); }
.mini-stats .lbl { font-size: 13px; color: var(--muted); }

/* ─── Cards genéricas ─── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card .tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); }

/* ─── Marcas ─── */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.brand-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.brand-col h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 14px; }
.brand-col p { font-size: 15px; margin-bottom: 10px; }
.brand-col strong { color: var(--navy); }

/* ─── Proceso ─── */
.steps { counter-reset: paso; display: grid; gap: 0; }
.step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: paso; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.step .n::before { content: counter(paso); }
.step h3 { color: var(--navy); font-size: 17px; }
.step p { color: var(--muted); font-size: 15px; }

/* ─── Diferenciales ─── */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check .tick { color: var(--green); font-weight: 800; font-size: 18px; flex: none; }
.check strong { color: var(--navy); display: block; }
.check span { color: var(--muted); font-size: 14px; }

/* ─── Galería ─── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.shot { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(10, 31, 61, .88));
  color: #fff; font-size: 13px; padding: 26px 14px 12px;
}

/* ─── Garantías ─── */
.warranty { display: grid; gap: 0; }
.w-row { display: grid; grid-template-columns: 110px 200px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.w-row:last-child { border-bottom: none; }
.w-row .yrs { font-size: 24px; font-weight: 800; color: var(--navy); }
.w-row .item { font-weight: 700; color: var(--navy); }
.w-row .det { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .w-row { grid-template-columns: 90px 1fr; } .w-row .det { grid-column: 1 / -1; } }

/* ─── Contacto ─── */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-cols { flex: 1 1 480px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.c-group { margin-bottom: 20px; }
.c-group .label { margin-bottom: 2px; letter-spacing: 2px; }
.c-group .val { font-size: 16px; color: var(--navy); }
.c-group .val.big { font-size: 18px; font-weight: 700; }
.c-group .val a { color: var(--navy); text-decoration: none; }
.contact-card {
  flex: 0 1 300px; background: var(--navy); border-radius: 14px;
  border-top: 6px solid var(--gold);
  padding: 36px 28px; text-align: center; color: #fff;
}
.contact-card img { width: 200px; margin: 0 auto 22px; }
.contact-card .divider { width: 70px; height: 3px; background: var(--green); margin: 0 auto 22px; }
.contact-card .gracias { color: var(--gold); font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #C9D6E8; }
@media (max-width: 560px) { .contact-cols { grid-template-columns: 1fr; } }

/* ─── Footer ─── */
footer { background: #0a1f3d; color: #8FA5C4; font-size: 13px; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
footer a { color: #C9D6E8; text-decoration: none; }

/* ─── Banner cruzado (institucional ↔ escuelas) ─── */
.xlink { background: var(--soft); border: 1px dashed var(--line); border-radius: 12px; padding: 18px 22px; font-size: 15px; color: var(--muted); margin-top: 48px; }
.xlink a { font-weight: 700; }
