/* ============================================================
   PWM Ingenieros · Estilos base reutilizables (diseño nuevo)
   Para páginas construidas sobre el shell nuevo (contacto, etc.).
   Se combina con css/pwm-ui.css (barra + tema oscuro).
   ============================================================ */
:root{
  --blue:#1a3a6b; --blue-mid:#1e4fa0; --blue-light:#2e6dd4; --accent:#e8232a; --accent-soft:#f5a623;
  --bg:#f7f9fc; --surface:#ffffff; --border:#dde4ee; --text:#1a2637; --text-mid:#3d5170; --text-muted:#6b7fa0;
  --font-head:'Montserrat',system-ui,sans-serif; --font-body:'Source Sans 3',system-ui,sans-serif;
  --radius:10px; --shadow:0 4px 24px rgba(26,58,107,.10); --shadow-lg:0 12px 48px rgba(26,58,107,.16);
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.65;overflow-x:hidden}
img{max-width:100%}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4,h5{margin:0}

.container{max-width:1200px;margin:0 auto;padding:0 2rem}
.sec{padding:4.5rem 0}
.section-tag{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--font-head);font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-light);margin-bottom:.75rem}
.section-tag::before{content:'';width:28px;height:2px;background:var(--blue-light);border-radius:1px}
.section-title{font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;color:var(--blue);line-height:1.12;letter-spacing:-.02em;margin-bottom:.75rem}
.section-lead{font-size:1.02rem;color:var(--text-muted);line-height:1.75;max-width:620px}
.prose{color:var(--text-mid);line-height:1.8}
.prose h3{font-family:var(--font-head);color:var(--blue);font-size:1.15rem;margin:1.8rem 0 .6rem}
.prose p{margin:0 0 1.1rem}
.prose a{color:var(--blue-light);font-weight:600}

/* Botones */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-weight:700;font-size:.82rem;
  letter-spacing:.03em;text-transform:uppercase;padding:.8rem 1.6rem;border-radius:6px;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s,background .2s}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(232,35,42,.25)}
.btn-primary:hover{background:#c41d23;transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--blue);border:2px solid var(--border)}
.btn-ghost:hover{border-color:var(--blue);transform:translateY(-2px)}

/* Tarjetas / campos */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.6rem}
.field{margin-bottom:1rem}
.field label{display:block;font-family:var(--font-head);font-size:.76rem;font-weight:600;color:var(--text-mid);margin-bottom:.35rem}
.field input,.field textarea,.field select{width:100%;padding:.7rem .85rem;font:inherit;font-size:.92rem;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--blue-light);box-shadow:0 0 0 3px rgba(46,109,212,.12)}

/* Hero compacto para páginas internas */
.page-hero{background:linear-gradient(135deg,var(--blue) 0%,#0d2347 60%,#1a3a6b 100%);color:#fff;padding:3.5rem 0 3rem}
.page-hero .section-tag{color:var(--accent-soft)}.page-hero .section-tag::before{background:var(--accent-soft)}
.page-hero h1{font-family:var(--font-head);font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;line-height:1.1;letter-spacing:-.02em;margin:.2rem 0 .6rem}
.page-hero p{color:#cfd8e6;max-width:640px;font-size:1.02rem}

/* Footer */
footer{background:#0b1a2e;color:#fff;padding:3.2rem 0 1.6rem}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 2rem}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-brand img{height:44px;object-fit:contain;margin-bottom:1rem;filter:brightness(0) invert(1)}
.footer-brand p{font-size:.83rem;color:rgba(255,255,255,.55);line-height:1.7;max-width:280px;margin:0 0 1rem}
.footer-contact-mini a{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:rgba(255,255,255,.55);margin-bottom:.35rem;transition:color .2s}
.footer-contact-mini a:hover{color:#fff}
.footer-col h5{font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:1rem}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col ul li{margin-bottom:.5rem}
.footer-col ul li a{font-size:.82rem;color:rgba(255,255,255,.55);transition:color .2s;display:flex;align-items:center;gap:.3rem}
.footer-col ul li a:hover{color:#fff}
.footer-col ul li a::before{content:'›';color:var(--blue-light);font-weight:700}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-top:1.75rem}
.footer-bottom p{font-size:.78rem;color:rgba(255,255,255,.4);margin:0}
.footer-bottom a{color:rgba(255,255,255,.4)}.footer-bottom a:hover{color:rgba(255,255,255,.8)}
.footer-lang{display:flex;gap:.6rem}
.footer-lang a{font-size:.72rem;font-family:var(--font-head);font-weight:600;color:rgba(255,255,255,.35);letter-spacing:.06em;padding:.2rem .5rem;border:1px solid rgba(255,255,255,.12);border-radius:3px}
.footer-lang a:hover{color:#fff;border-color:rgba(255,255,255,.4)}
.footer-lang a.active{color:var(--blue-light);border-color:var(--blue-light)}
@media(max-width:860px){.footer-top{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:560px){.footer-top{grid-template-columns:1fr}.container{padding:0 1.1rem}.footer-inner{padding:0 1.1rem}}
