/* Consultora DA Ingeniería: colores tomados de su logo. Sin dependencias: se edita directo. */
:root {
  --azul: #0859aa;
  --azul-oscuro: #0b2a52;
  --gris: #474a4f;
  --texto: #1f2933;
  --suave: #5b6670;
  --fondo: #ffffff;
  --fondo-suave: #f2f6fb;
  --borde: #dde5ee;
  --radio: 14px;
  --sombra: 0 8px 28px rgba(8, 40, 90, 0.1);
  --ancho: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6rem; color: var(--azul-oscuro); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding-inline: 1.25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.saltar {
  position: absolute; left: 0.5rem; top: -4rem; background: var(--azul); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 50;
}
.saltar:focus { top: 0.5rem; }

:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borde); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }

.marca { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.marca img { width: 52px; height: auto; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.05; }
.marca__texto small { color: var(--gris); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }
.marca__texto strong { color: var(--gris); font-size: 1.15rem; }
.marca__texto strong span { color: var(--azul); }

.menu-boton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--borde); border-radius: 10px; background: #fff; color: var(--azul-oscuro); cursor: pointer; }

.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--borde); padding: 0.75rem 1.25rem 1.25rem; flex-direction: column; gap: 0.25rem; box-shadow: var(--sombra); }
.menu.abierto { display: flex; }
.menu a { padding: 0.65rem 0.25rem; text-decoration: none; color: var(--azul-oscuro); font-weight: 600; }
.menu a.boton { color: #fff; text-align: center; margin-top: 0.5rem; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px;
  padding: 0.7rem 1.4rem; border-radius: 10px; border: 2px solid var(--azul); background: var(--azul); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s;
}
.boton:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); transform: translateY(-1px); }
.boton--claro { background: #fff; color: var(--azul); }
.boton--claro:hover { background: var(--azul); color: #fff; border-color: var(--azul); }
.boton--chico { min-height: 40px; padding: 0.4rem 1.1rem; font-size: 0.95rem; }
.botones { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Portada ---------- */
.portada { background: linear-gradient(135deg, #ffffff 0%, var(--fondo-suave) 60%, #e3edf9 100%); overflow: hidden; }
.portada__fila { display: grid; gap: 2rem; padding-block: 2.5rem 3rem; align-items: center; }
.portada h1 { font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -0.02em; }
.portada h1 span { color: var(--azul); }
.portada__bajada { font-size: 1.1rem; color: var(--suave); max-width: 34rem; margin-bottom: 1.5rem; }
.portada__imagen img { width: 100%; max-height: 420px; object-fit: cover; object-position: left center; border-radius: 20px; box-shadow: var(--sombra); }
.etiqueta { color: var(--azul); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.etiqueta--clara { color: #9cc7f5; }

.valores { background: var(--azul-oscuro); color: #fff; }
.valores__lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; padding-block: 1rem; text-align: center; font-weight: 600; }

/* ---------- Secciones ---------- */
.seccion { padding-block: 3.5rem; }
.seccion--fondo { background: var(--fondo-suave); }
.seccion__titulo { max-width: 40rem; margin-bottom: 2rem; }
.seccion__titulo h2, .seccion h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.seccion__titulo p:last-child { color: var(--suave); margin-bottom: 0; }

.grilla { display: grid; gap: 1.1rem; }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.4rem; box-shadow: 0 1px 2px rgba(8, 40, 90, 0.04); transition: box-shadow 0.2s, transform 0.2s; }
.tarjeta:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.tarjeta h3 { font-size: 1.15rem; }
.tarjeta p { color: var(--suave); margin: 0; font-size: 0.97rem; }

.icono { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 0.9rem; color: #fff; }
.icono svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icono--azul { background: #0859aa; }
.icono--turquesa { background: #0f8f98; }
.icono--violeta { background: #5b3fb8; }
.icono--verde { background: #1e9a4b; }
.icono--rojo { background: #d6402a; }
.icono--gris { background: #5b6068; }

/* ---------- Productos ---------- */
.producto { background: #fff; border: 1px solid var(--borde); border-top: 4px solid var(--azul); border-radius: var(--radio); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.2rem; }
.producto h3 { font-size: 1.25rem; margin-bottom: 0; }
.producto__tipo { color: var(--azul); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.producto p { color: var(--suave); font-size: 0.97rem; }
.producto .boton { align-self: flex-start; margin-top: auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 1rem; }
.chips li { background: var(--fondo-suave); border: 1px solid var(--borde); color: var(--azul-oscuro); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.82rem; font-weight: 600; }
.insignia { display: inline-block; margin-left: 0.4rem; background: #fff3d6; color: #8a5a00; border-radius: 999px; padding: 0.05rem 0.6rem; font-size: 0.75rem; }
.nota { margin-top: 1.5rem; color: var(--suave); }

/* ---------- Nosotros ---------- */
.dos-columnas { display: grid; gap: 2rem; align-items: start; }
.pasos { list-style: none; counter-reset: paso; display: grid; gap: 1rem; }
.pasos li { counter-increment: paso; background: var(--fondo-suave); border-radius: var(--radio); padding: 1.1rem 1.2rem 1.1rem 4rem; position: relative; display: flex; flex-direction: column; }
.pasos li::before { content: counter(paso); position: absolute; left: 1.1rem; top: 1.05rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-weight: 700; }
.pasos strong { color: var(--azul-oscuro); }
.pasos span { color: var(--suave); }

.clientes { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }

/* ---------- Contacto ---------- */
.contacto { background: linear-gradient(135deg, var(--azul-oscuro), #0c3f7d); color: #e6eef8; padding-block: 3.5rem; }
.contacto h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.contacto a { color: #fff; }
.datos { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.datos li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; }
.datos svg { width: 24px; height: 24px; fill: none; stroke: #9cc7f5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.formulario { background: #fff; color: var(--texto); border-radius: var(--radio); padding: 1.5rem; box-shadow: var(--sombra); }
.formulario h3 { margin-bottom: 1rem; }
.campo { margin-bottom: 1rem; }
.campo label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; color: var(--azul-oscuro); }
.campo input, .campo textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid #b9c6d6; border-radius: 10px; font: inherit; color: inherit; background: #fff; }
.campo input:focus, .campo textarea:focus { outline: 3px solid #f5a623; outline-offset: 1px; border-color: var(--azul); }
.formulario .boton { width: 100%; }
.formulario__nota { color: var(--suave); font-size: 0.85rem; margin: 0.6rem 0 0; text-align: center; }

/* ---------- Pie y WhatsApp ---------- */
.pie { background: #08203f; color: #b8c7da; padding-block: 1.5rem; font-size: 0.9rem; }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.pie p { margin: 0; }
.redes { list-style: none; display: flex; gap: 1rem; }
.redes a { color: #fff; }

.whatsapp-flotante {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); transition: transform 0.15s;
}
.whatsapp-flotante:hover { transform: scale(1.06); }

[hidden] { display: none !important; }

/* ---------- Pantallas más grandes ---------- */
@media (min-width: 720px) {
  .menu-boton { display: none; }
  .menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.4rem; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .menu a { padding: 0.25rem 0; }
  .menu a.boton { margin: 0; padding: 0.4rem 1.1rem; }
  .valores__lista { grid-template-columns: repeat(4, 1fr); }
  .grilla { grid-template-columns: repeat(2, 1fr); }
  .dos-columnas { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (min-width: 960px) {
  .portada__fila { grid-template-columns: 1.1fr 0.9fr; padding-block: 4rem 4.5rem; }
  .grilla { grid-template-columns: repeat(3, 1fr); }
  .portada__imagen img { max-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
