/* TECNIMETAL — hoja de estilos global */
:root{
  --azul:#1b2a90;
  --azul-oscuro:#141f6b;
  --azul-claro:#eef1ff;
  --blanco:#ffffff;
  --gris:#f4f5f8;
  --texto:#22263a;
  --texto-suave:#5a6072;
  --verde-wa:#25d366;
  --radio:14px;
  --sombra:0 4px 18px rgba(20,31,107,.10);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;color:var(--texto);background:var(--blanco);line-height:1.55}
img{max-width:100%;display:block}
a{color:var(--azul);text-decoration:none}

/* ---------- header ---------- */
header{background:var(--azul);position:sticky;top:0;z-index:50;box-shadow:var(--sombra)}
.nav{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;flex-wrap:wrap;gap:.5rem}
.logo{color:#fff;font-weight:800;font-size:1.25rem;letter-spacing:.5px}
.logo span{opacity:.85;font-weight:400}
nav ul{display:flex;list-style:none;gap:.2rem;flex-wrap:wrap}
nav a{color:#fff;padding:.45rem .7rem;border-radius:8px;font-size:.92rem;font-weight:600}
nav a:hover,nav a.activo{background:rgba(255,255,255,.16)}
.tel-header{color:#fff;font-size:.85rem;opacity:.9}

/* ---------- hero ---------- */
.hero{background:linear-gradient(160deg,var(--azul) 0%,var(--azul-oscuro) 100%);color:#fff;padding:2.6rem 1rem 2.2rem;text-align:center}
.hero h1{font-size:clamp(1.5rem,4vw,2.3rem);max-width:850px;margin:0 auto .6rem}
.hero p{max-width:700px;margin:0 auto 1.2rem;opacity:.92}
.hero .cta-row{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}

/* ---------- botones ---------- */
.btn{display:inline-block;padding:.75rem 1.5rem;border-radius:999px;font-weight:700;font-size:1rem;transition:transform .15s}
.btn:hover{transform:translateY(-2px)}
.btn-blanco{background:#fff;color:var(--azul)}
.btn-wa{background:var(--verde-wa);color:#fff}
.btn-azul{background:var(--azul);color:#fff}

/* ---------- secciones ---------- */
section{padding:2.4rem 1rem}
.contenedor{max-width:1100px;margin:0 auto}
.seccion-gris{background:var(--gris)}
.seccion-azul-claro{background:var(--azul-claro)}
h2.titulo{font-size:clamp(1.3rem,3vw,1.8rem);color:var(--azul);text-align:center;margin-bottom:.4rem}
p.subtitulo{text-align:center;color:var(--texto-suave);max-width:680px;margin:0 auto 1.6rem}

/* ---------- tarjetas de producto ---------- */
.grid{display:grid;gap:1.1rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.card{background:#fff;border-radius:var(--radio);box-shadow:var(--sombra);padding:1.3rem;display:flex;flex-direction:column}
.card h3{color:var(--azul);margin-bottom:.4rem;font-size:1.08rem}
.card .detalle{color:var(--texto-suave);font-size:.92rem;flex:1}
.card ul{margin:.5rem 0 .5rem 1.1rem;font-size:.92rem;color:var(--texto-suave)}
.precio{font-size:1.35rem;font-weight:800;color:var(--azul);margin:.6rem 0 .2rem}
.precio small{font-size:.85rem;font-weight:600;color:var(--texto-suave)}
.card .btn{margin-top:.7rem;text-align:center;font-size:.92rem;padding:.6rem 1rem}
.etiqueta{display:inline-block;background:var(--azul-claro);color:var(--azul);font-size:.75rem;font-weight:700;padding:.15rem .6rem;border-radius:999px;margin-bottom:.5rem;width:fit-content}

/* ---------- tablas ---------- */
.tabla-wrap{overflow-x:auto;border-radius:var(--radio);box-shadow:var(--sombra)}
table{width:100%;border-collapse:collapse;background:#fff;font-size:.93rem;min-width:520px}
th{background:var(--azul);color:#fff;text-align:left;padding:.7rem .8rem}
td{padding:.65rem .8rem;border-bottom:1px solid #e8eaf2}
tr:last-child td{border-bottom:none}
td.p{font-weight:800;color:var(--azul);white-space:nowrap}
.nota-tabla{font-size:.82rem;color:var(--texto-suave);margin-top:.5rem}

/* ---------- dolores / necesidades ---------- */
.dolores{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.dolor{background:#fff;border-left:4px solid var(--azul);border-radius:10px;box-shadow:var(--sombra);padding:.9rem 1rem;font-size:.93rem}
.dolor strong{color:var(--azul);display:block;margin-bottom:.2rem}

/* ---------- ventajas ---------- */
.ventajas{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.ventaja{background:var(--azul-claro);border-radius:10px;padding:.8rem 1rem;font-size:.93rem;display:flex;gap:.55rem;align-items:flex-start}
.ventaja::before{content:"✔";color:var(--azul);font-weight:800}

/* ---------- acordeones (contenido profundo) ---------- */
details{background:#fff;border-radius:10px;box-shadow:var(--sombra);margin-bottom:.7rem;overflow:hidden}
details summary{cursor:pointer;padding:.9rem 1.1rem;font-weight:700;color:var(--azul);list-style:none;position:relative}
details summary::after{content:"+";position:absolute;right:1.1rem;font-size:1.2rem}
details[open] summary::after{content:"–"}
details .cuerpo{padding:0 1.1rem 1.1rem;color:var(--texto);font-size:.95rem}
details .cuerpo p{margin-bottom:.7rem}
details .cuerpo ul{margin:.3rem 0 .8rem 1.2rem}

/* ---------- bloques varios ---------- */
.marcas{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.marca{background:#fff;border:2px solid var(--azul-claro);color:var(--azul);font-weight:800;padding:.5rem 1.1rem;border-radius:10px;font-size:.95rem}
.cta-final{background:var(--azul);color:#fff;text-align:center;border-radius:var(--radio);padding:2rem 1.2rem}
.cta-final h2{margin-bottom:.5rem}
.cta-final p{opacity:.9;margin-bottom:1rem}
.migas{font-size:.82rem;color:var(--texto-suave);padding:.7rem 1rem;max-width:1100px;margin:0 auto}
.migas a{color:var(--texto-suave)}

/* ---------- footer ---------- */
footer{background:var(--azul-oscuro);color:#fff;padding:2.2rem 1rem 5.5rem;margin-top:2rem}
.footer-grid{max-width:1100px;margin:0 auto;display:grid;gap:1.6rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
footer h4{margin-bottom:.6rem;font-size:1rem}
footer a{color:#cdd4ff;font-size:.9rem}
footer li{list-style:none;margin-bottom:.35rem}
.footer-bottom{max-width:1100px;margin:1.5rem auto 0;border-top:1px solid rgba(255,255,255,.15);padding-top:1rem;font-size:.8rem;opacity:.7;text-align:center}

/* ---------- whatsapp flotante ---------- */
.wa-flotante{position:fixed;right:18px;bottom:18px;z-index:99;background:var(--verde-wa);color:#fff;border-radius:999px;display:flex;align-items:center;gap:.5rem;padding:.8rem 1.2rem;font-weight:800;box-shadow:0 6px 20px rgba(0,0,0,.25);font-size:1rem}
.wa-flotante svg{width:22px;height:22px;fill:#fff}
.wa-flotante:hover{transform:scale(1.05)}
@media(max-width:600px){.wa-flotante span{display:none}.wa-flotante{padding:.9rem}}

/* ---------- imagenes ---------- */
.card img.prod{width:100%;height:170px;object-fit:cover;border-radius:10px;margin-bottom:.7rem;background:var(--gris)}
.galeria{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.galeria figure{margin:0;background:#fff;border-radius:12px;box-shadow:var(--sombra);overflow:hidden}
.galeria img{width:100%;height:190px;object-fit:cover;display:block}
.galeria figcaption{padding:.55rem .8rem;font-size:.85rem;color:var(--texto-suave);font-weight:600}
@media(max-width:700px){
  .galeria img{height:150px}
  .card img.prod{height:150px}
  nav a{padding:.4rem .5rem;font-size:.85rem}
  .hero{padding:2rem 1rem 1.8rem}
  section{padding:1.8rem .9rem}
}

/* logo imagen */
.logo img{height:38px;width:auto;display:block}
@media(max-width:700px){.logo img{height:30px}}

/* ---------- landings ---------- */
.video-wrap{position:relative;width:100%;max-width:760px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--radio);overflow:hidden;box-shadow:var(--sombra);background:#000}
.video-wrap iframe{width:100%;height:100%;border:0}
.formulario{background:#fff;border-radius:var(--radio);box-shadow:var(--sombra);padding:1.5rem;max-width:560px;margin:0 auto}
.formulario label{display:block;font-weight:700;color:var(--azul);font-size:.9rem;margin:.8rem 0 .25rem}
.formulario input,.formulario select,.formulario textarea{width:100%;padding:.7rem .8rem;border:2px solid #dfe3f0;border-radius:10px;font-size:1rem;font-family:inherit}
.formulario input:focus,.formulario select:focus,.formulario textarea:focus{outline:none;border-color:var(--azul)}
.formulario button{width:100%;margin-top:1.1rem;padding:.9rem;border:0;border-radius:999px;background:var(--verde-wa);color:#fff;font-size:1.05rem;font-weight:800;cursor:pointer}
.formulario button:hover{filter:brightness(1.05)}
.formulario .privacidad{font-size:.75rem;color:var(--texto-suave);text-align:center;margin-top:.6rem}
.check-lista{list-style:none;max-width:700px;margin:0 auto}
.check-lista li{padding:.45rem 0 .45rem 1.8rem;position:relative;font-size:1rem}
.check-lista li::before{content:"✔";position:absolute;left:0;color:var(--azul);font-weight:800}
