/* Página web de Fildlab (fildlab.com). Colores de la marca: azul #002E9A, gris #808285. */
:root {
  --azul: #002e9a;
  --azul-oscuro: #001f6b;
  --azul-claro: #e8eefb;
  --tinta: #0b1733;
  --tinta-2: #3d4a66;
  --gris: #808285;
  --linea: #dbe3f3;
  --fondo: #ffffff;
  --fondo-gris: #f4f7fc;
  --verde: #0ca30c;
  --radio: 16px;
  --sombra: 0 10px 30px rgba(0, 46, 154, 0.08);
  --titulos: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --texto: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--texto); color: var(--tinta); background: var(--fondo); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--titulos); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; margin-bottom: 1.6rem; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid #5b8cff; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.contenedor { width: min(1140px, 100% - 32px); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--azul); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 16px; }

.etiqueta { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); margin-bottom: .7rem; }
.etiqueta--clara { color: #b9cbff; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.boton:hover { transform: translateY(-1px); }
.boton--primario { background: var(--azul); color: #fff; box-shadow: 0 6px 18px rgba(0, 46, 154, .25); }
.boton--primario:hover { background: var(--azul-oscuro); }
.boton--borde { border: 2px solid var(--azul); color: var(--azul); background: #fff; }
.boton--borde:hover { background: var(--azul-claro); }
.boton--claro { background: var(--azul-claro); color: var(--azul); padding: .55rem 1rem; }
.boton--claro:hover { background: #d6e1fa; }
.boton--blanco { background: #fff; color: var(--azul); margin-top: 1.8rem; }
.boton--whatsapp { background: #128c4b; color: #fff; }
.boton--whatsapp:hover { background: #0e7a40; }
.boton--whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--linea); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.marca__textos { display: flex; flex-direction: column; gap: 4px; }
.marca__palabra { width: 108px; height: auto; }
.marca__lema { width: 108px; height: auto; }
.menu__lista { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.menu__lista a:not(.boton) { color: var(--tinta-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu__lista a:not(.boton):hover { color: var(--azul); }
.menu__interruptor, .menu__boton { display: none; }

@media (max-width: 860px) {
  .menu__boton { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--linea); cursor: pointer; padding: 0 10px; }
  .menu__boton span { height: 2px; background: var(--tinta); border-radius: 2px; }
  .menu__lista { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--linea); padding: .5rem 16px 1rem; box-shadow: var(--sombra); }
  .menu__lista li a:not(.boton) { display: block; padding: .8rem 0; border-bottom: 1px solid var(--linea); }
  .menu__accion { margin-top: .8rem; }
  .menu__accion .boton { width: 100%; padding: .8rem; }
  .menu__interruptor:checked ~ .menu__lista { display: flex; }
}

/* Portada */
.portada { background: radial-gradient(ellipse at 85% 10%, #e3ebff 0, transparent 55%), linear-gradient(180deg, #f6f9ff, #fff); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.portada__grilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.resalte { color: var(--azul); }
.portada__texto { font-size: 1.12rem; color: var(--tinta-2); margin: 1.3rem 0 2rem; max-width: 36rem; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 900px) { .portada__grilla { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .portada__acciones .boton { width: 100%; white-space: normal; } }

/* Ilustración del panel */
.panel-demo { background: #fff; border: 1px solid var(--linea); border-radius: 22px; padding: 1.3rem; box-shadow: 0 24px 60px rgba(0, 46, 154, .14); }
.panel-demo__cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--linea); }
.panel-demo__equipo { font-family: var(--titulos); font-weight: 700; }
.panel-demo__cliente { font-size: .85rem; color: var(--gris); }
.estado { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; color: #08640a; background: #e6f6e6; padding: .3rem .7rem; border-radius: 999px; }
.estado__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(12, 163, 12, .5); animation: latido 2s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 8px rgba(12, 163, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 163, 12, 0); } }
.panel-demo__tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1rem 0; }
.mini { background: var(--fondo-gris); border-radius: 12px; padding: .75rem; min-width: 0; }
.mini__nombre { font-size: .75rem; color: var(--tinta-2); }
.mini__valor { font-family: var(--titulos); font-weight: 800; font-size: 1.35rem; margin-top: .15rem; }
.mini__valor small { font-size: .7rem; color: var(--gris); font-weight: 600; }
.mini__ok { font-size: .74rem; color: #08640a; font-weight: 700; margin-top: .2rem; }
.mini__ref { font-size: .72rem; color: var(--tinta-2); margin-top: .2rem; }
.panel-demo__grafico { width: 100%; height: auto; }
@media (max-width: 420px) { .panel-demo__tarjetas { grid-template-columns: 1fr 1fr; } .mini:last-child { grid-column: span 2; } }

/* Secciones */
.seccion { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.seccion--gris { background: var(--fondo-gris); }
.seccion--azul { background: linear-gradient(135deg, var(--azul) 0%, #00297f 55%, #001c5a 100%); color: #fff; }
.seccion--azul h2, .seccion--azul h3 { color: #fff; }
.grilla { display: grid; gap: 1.2rem; }
.grilla--4 { grid-template-columns: repeat(4, 1fr); }
.grilla--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grilla--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grilla--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grilla--4 { grid-template-columns: 1fr; } }

.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.5rem; transition: box-shadow .2s, transform .2s; }
.tarjeta:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.tarjeta h3 { margin: 1rem 0 .5rem; }
.tarjeta p { color: var(--tinta-2); font-size: .95rem; }
.tarjeta--sector { border-top: 4px solid var(--azul); }
.tarjeta--sector h3 { margin-top: 0; }
.icono { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--azul-claro); fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Monitoreo */
.monitoreo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.monitoreo__texto { color: #d6e1ff; font-size: 1.05rem; margin-bottom: 1.4rem; }
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lista-check li { position: relative; padding-left: 2rem; color: #eef3ff; }
.lista-check li::before { content: ''; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pasos li { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radio); padding: 1.2rem; }
.pasos__numero { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; color: var(--azul); font-family: var(--titulos); font-weight: 800; }
.pasos p { color: #d6e1ff; font-size: .93rem; margin-top: .25rem; }
@media (max-width: 900px) { .monitoreo { grid-template-columns: 1fr; } }

/* Contacto */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contacto > div > p { color: var(--tinta-2); font-size: 1.05rem; }
.contacto__acciones { margin-top: 1.6rem; }
.datos { margin: 0; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: .5rem 1.4rem; box-shadow: var(--sombra); }
.datos > div { padding: 1rem 0; border-bottom: 1px solid var(--linea); }
.datos > div:last-child { border-bottom: 0; }
.datos dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.datos dd { margin: .25rem 0 0; font-weight: 600; }
.datos dd a { text-decoration: none; font-weight: 700; }
.pendiente { background: #fff4c2; border-radius: 6px; padding: 0 .3rem; }
@media (max-width: 860px) { .contacto { grid-template-columns: 1fr; } }

/* Pie */
.pie { background: var(--tinta); color: #c9d3e8; padding: 2.5rem 0; }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.marca--blanca { gap: .5rem; }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.pie__enlaces a { color: #c9d3e8; text-decoration: none; font-size: .92rem; }
.pie__enlaces a:hover { color: #fff; }
.pie__copia { font-size: .85rem; width: 100%; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.2rem; }
