/* =====================================================================
   AREA Panamá — base.css
   Reset, tokens, tipografía, layout, botones, formularios, header, footer.
   Portado del prototipo area-panama-site_home.html y adaptado a WordPress.
   ===================================================================== */

:root{
  --azul:#283C92; --rojo:#EA0029; --celeste:#00A6CE; --amarillo:#FFC844; --blanco:#FFFFFF;
  --ink:#101733; --muted:#5B6178; --line:#E9EBF3; --soft:#F6F7FB; --soft2:#EEF1FA;
  --azul-08:rgba(40,60,146,.08);
  --radius:18px; --radius-sm:12px; --radius-lg:26px;
  --shadow:0 1px 2px rgba(16,23,51,.04),0 12px 30px rgba(16,23,51,.06);
  --shadow-lg:0 2px 4px rgba(16,23,51,.05),0 28px 60px rgba(16,23,51,.12);
  --maxw:1180px;
  --header-h:80px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:var(--blanco);line-height:1.55;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5{margin:0;line-height:1.14;letter-spacing:-.02em;font-weight:700}
p{margin:0}
a{color:inherit;text-decoration:none}
img,svg,video{display:block;max-width:100%;height:auto}
ul,ol{margin:0}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--azul);outline-offset:2px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:var(--azul);padding:10px 16px;z-index:1000}
.skip-link:focus{left:8px;top:8px}

/* ---- layout ---- */
.container{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.section{padding:88px 0}
.section.tight{padding:56px 0}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--azul)}
.eyebrow.red{color:var(--rojo)}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.muted{color:var(--muted)}
.h1{font-size:clamp(38px,5.2vw,66px);font-weight:800;letter-spacing:-.03em}
.h2{font-size:clamp(28px,3.4vw,42px);font-weight:800}
.lead{font-size:18px;color:var(--muted)}
.sec-head.center{text-align:center;max-width:680px;margin:0 auto 50px}
.grid{display:grid;gap:24px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.center{text-align:center}
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:22px}.mt-3{margin-top:32px}

/* ---- brand / logo ---- */
.area-brand{display:flex;align-items:center;gap:11px}
.area-brand__mark{width:auto;flex:none}
.area-brand__mark path{fill:none;stroke:var(--rojo);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.area-brand__type b{display:block;font-size:26px;font-weight:800;color:var(--azul);line-height:.9}
.area-brand__type small{display:block;font-size:7px;font-weight:700;letter-spacing:.05em;color:var(--azul);margin-top:4px;line-height:1.25;text-transform:uppercase;max-width:150px}
.area-brand__img{height:46px;width:auto;max-width:210px;display:block}
.area-brand--portal .area-brand__type b{font-size:22px}
.area-brand--portal .area-brand__type small{font-size:6px}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:inherit;font-size:15px;font-weight:600;padding:13px 26px;border-radius:999px;border:1.6px solid transparent;cursor:pointer;transition:.18s ease;white-space:nowrap;text-align:center}
.btn:active{transform:translateY(1px)}
.btn-red{background:var(--rojo);color:#fff}
.btn-red:hover{background:#cc0024;box-shadow:0 10px 24px rgba(234,0,41,.26)}
.btn-primary{background:var(--azul);color:#fff}
.btn-primary:hover{background:#1f2f74;box-shadow:0 10px 24px rgba(40,60,146,.26)}
.btn-outline{background:#fff;color:var(--azul);border-color:#d8dcec}
.btn-outline:hover{border-color:var(--azul);background:var(--soft)}
.btn-ghost{background:transparent;color:var(--ink)}
.btn-ghost:hover{background:var(--soft)}
.btn-light{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.3)}
.btn-light:hover{background:rgba(255,255,255,.24)}
.btn-sm{padding:10px 18px;font-size:14px}
.btn-block{width:100%}

/* ---- forms ---- */
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
.input,select.input,textarea.input,
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],select,textarea{
  width:100%;font-family:inherit;font-size:15px;padding:13px 15px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);transition:.15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--azul);box-shadow:0 0 0 4px var(--azul-08)}
textarea{resize:vertical;min-height:120px}

/* ---- header ---- */
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;gap:22px;height:var(--header-h)}
.nav-links{display:flex;gap:2px;margin-left:12px;list-style:none;padding:0}
.nav-links a{display:block;font-size:14.5px;font-weight:500;color:#3a4060;padding:9px 12px;border-radius:9px;transition:.15s}
.nav-links a:hover{background:var(--soft);color:var(--azul)}
.nav-links .current-menu-item>a,.nav-links .current_page_item>a{color:var(--azul);font-weight:600;position:relative}
.nav-links .current-menu-item>a::after,.nav-links .current_page_item>a::after{content:"";position:absolute;left:12px;right:12px;bottom:1px;height:2px;background:var(--rojo);border-radius:2px}
.nav-links .sub-menu{display:none}
.nav-cta{margin-left:auto;display:flex;align-items:center;gap:10px}
.nav-burger{display:none;background:none;border:none;cursor:pointer;width:44px;height:44px;border-radius:10px;padding:0;place-items:center}
.nav-burger:hover{background:var(--soft)}
.nav-burger svg{width:24px;height:24px;stroke:var(--ink);stroke-width:2;fill:none}

/* ---- footer ---- */
.site-footer{background:var(--ink);color:#fff;padding:66px 0 26px}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr;gap:32px;padding-bottom:42px;border-bottom:1px solid rgba(255,255,255,.1)}
.site-footer .area-brand__type b{color:#fff}
.site-footer .area-brand__type small{color:rgba(255,255,255,.55)}
.site-footer .foot-tag{color:rgba(255,255,255,.6);font-size:13.5px;margin:18px 0;max-width:280px}
.site-footer h5{font-size:12.5px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.5);margin-bottom:15px;font-weight:700}
.site-footer .menu,.site-footer ul{list-style:none;padding:0}
.site-footer .menu li,.site-footer ul li{margin-bottom:9px}
.site-footer a{font-size:13.5px;color:rgba(255,255,255,.78)}
.site-footer a:hover{color:#fff}
.foot-contact{font-size:13.5px;color:rgba(255,255,255,.78);line-height:1.7}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;font-size:13px;color:rgba(255,255,255,.5);flex-wrap:wrap;gap:12px}
.foot-bottom .links{display:flex;gap:24px}

/* ---- responsive base ---- */
@media(max-width:980px){
  .g4,.g3{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:repeat(2,1fr)}
  .section{padding:64px 0}
  .nav-links,.nav-cta .btn{display:none}
  .nav-burger{display:grid;margin-left:auto}
  .site-header.is-open .nav-links{display:flex;position:absolute;top:var(--header-h);left:0;right:0;flex-direction:column;background:#fff;border-bottom:1px solid var(--line);padding:14px 24px;gap:2px;box-shadow:var(--shadow-lg)}
  .site-header.is-open .nav-links a{padding:12px 8px}
}
@media(max-width:600px){
  .container{padding:0 18px}
  .g2,.g3,.g4{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .area-brand__type small{display:none}
  .foot-bottom{flex-direction:column;align-items:flex-start}
}
