/* ==========================================================================
   Viaexport Global 360° — Hoja de estilos principal
   Paleta de marca (brandbook): #0057B8 / #148CE3 / #76C7FF / blanco
   Tipografía: Poppins (alternativa web más cercana a Gilroy)
   ========================================================================== */

:root{
  --blue-900:#012a5e;
  --blue-800:#013a7a;
  --blue-700:#0057B8;   /* azul corporativo principal */
  --blue-600:#0f6fd1;
  --blue-500:#148CE3;   /* azul degradado medio */
  --blue-300:#76C7FF;   /* azul claro */
  --blue-100:#eaf4ff;
  --white:#ffffff;
  --ink:#0b1b33;
  --gray-700:#44526b;
  --gray-500:#6b7890;
  --gray-300:#c7d2e2;
  --gray-100:#f4f8fc;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-sm:0 4px 14px rgba(1,42,94,.08);
  --shadow-md:0 14px 34px rgba(1,42,94,.14);
  --container:1180px;
  --gradient-brand:linear-gradient(120deg,var(--blue-700) 0%,var(--blue-500) 60%,var(--blue-300) 100%);
  --gradient-dark:linear-gradient(135deg,var(--blue-900) 0%,var(--blue-700) 100%);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Poppins",-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--white);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0 0 .5em; font-weight:800; line-height:1.15; letter-spacing:-.01em; }
p{ margin:0 0 1em; color:var(--gray-700); }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
@media (max-width:800px){ section{ padding:60px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue-700); margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--blue-500); display:inline-block;
}
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.lede{ font-size:1.08rem; font-weight:300; color:var(--gray-700); }

.text-light .eyebrow{ color:var(--blue-300); }
.text-light h1,.text-light h2,.text-light h3,.text-light p{ color:var(--white); }
.text-light .lede{ color:#dcebff; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 26px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; transition:all .2s ease; white-space:nowrap;
}
.btn-primary{ background:var(--blue-700); color:var(--white); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--blue-800); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-light{ background:var(--white); color:var(--blue-700); }
.btn-light:hover{ background:var(--blue-100); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.55); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-outline-dark{ background:transparent; border-color:var(--blue-700); color:var(--blue-700); }
.btn-outline-dark:hover{ background:var(--blue-100); }
.btn-whatsapp{ background:#25D366; color:#fff; }
.btn-whatsapp:hover{ background:#1fb959; transform:translateY(-2px); }
.btn-block{ width:100%; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid var(--gray-300);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:24px; }
.brand{ display:flex; align-items:center; }
.brand img{ height:42px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{ font-weight:600; font-size:.95rem; color:var(--ink); position:relative; padding:6px 0; }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--blue-500);
  transition:width .2s ease;
}
.main-nav a:hover::after,.main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--blue-700); }
.header-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--ink); border-radius:2px; }

@media (max-width:900px){
  .main-nav{
    position:fixed; inset:70px 0 0 0; background:var(--white); flex-direction:column;
    align-items:flex-start; padding:28px 24px; gap:20px; transform:translateX(100%);
    transition:transform .25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ font-size:1.1rem; width:100%; }
  .nav-toggle{ display:flex; }
  .header-actions .btn-primary span.long{ display:none; }
}

/* Hero */
.hero{ position:relative; overflow:hidden; background:var(--gradient-dark); padding:120px 0 100px; }
.hero::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 82% 20%, rgba(118,199,255,.35), transparent 45%),
             radial-gradient(circle at 15% 85%, rgba(20,140,227,.35), transparent 40%);
}
.hero-grid{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(2.1rem,4.4vw,3.4rem); }
.hero .lede{ max-width:520px; margin-bottom:30px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px; }
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-size:1.6rem; font-weight:800; color:var(--white); }
.hero-stats div span{ font-size:.82rem; color:#c9dfff; }
.hero-art{ position:relative; }
.route-card{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:var(--radius-lg);
  padding:26px; backdrop-filter:blur(6px);
}

/* Logo mark used decoratively */
.mark-badge{
  display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border-radius:12px; background:var(--blue-100); flex:none;
}
.mark-badge img{ height:26px; width:auto; }

/* Cards */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--gray-300); border-radius:var(--radius-lg);
  padding:30px; transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.card .icon{
  width:54px; height:54px; border-radius:14px; background:var(--gradient-brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.card .icon svg{ width:26px; height:26px; stroke:var(--white); }
.card h3{ font-size:1.12rem; }
.card p{ margin-bottom:0; font-size:.95rem; }

.section-alt{ background:var(--gray-100); }
.section-dark{ background:var(--gradient-dark); }

/* Pillars / values */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:800px){ .pillars{ grid-template-columns:1fr; } }
.pillar{ text-align:left; padding:28px; border-radius:var(--radius-md); background:var(--white); box-shadow:var(--shadow-sm); }
.pillar .num{ font-size:.78rem; font-weight:700; color:var(--blue-500); letter-spacing:.12em; }

/* Mission / Vision */
.mv-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
@media (max-width:800px){ .mv-grid{ grid-template-columns:1fr; } }
.mv-card{
  border-radius:var(--radius-lg); padding:34px; color:var(--white); background:var(--gradient-brand);
}
.mv-card.alt{ background:var(--gradient-dark); }
.mv-card h3{ color:var(--white); font-size:1.3rem; }
.mv-card p{ color:#eaf4ff; margin-bottom:0; }

.quote-block{
  border-left:4px solid var(--blue-500); padding:6px 0 6px 24px; margin:36px 0;
  font-size:1.3rem; font-weight:300; font-style:italic; color:var(--ink);
}

/* Timeline / process */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step; }
@media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:8px; }
.step .step-num{
  width:38px; height:38px; border-radius:50%; background:var(--blue-700); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}

/* Catalog */
.cat-card{ overflow:hidden; }
.cat-card .cat-head{
  height:120px; background:var(--gradient-brand); display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-md); margin-bottom:20px;
}
.cat-card .cat-head svg{ width:46px; height:46px; stroke:#fff; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tag{
  font-size:.8rem; font-weight:600; padding:6px 12px; border-radius:999px; background:var(--blue-100);
  color:var(--blue-700);
}
.catalog-note{
  margin-top:40px; padding:22px 26px; border-radius:var(--radius-md); background:var(--blue-100);
  border:1px dashed var(--blue-500); font-size:.95rem; color:var(--blue-800);
}

/* CTA band */
.cta-band{
  background:var(--gradient-brand); border-radius:var(--radius-lg); padding:56px; text-align:center;
  color:var(--white);
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:#eaf4ff; max-width:560px; margin:0 auto 26px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  display:flex; gap:16px; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--gray-300);
}
.contact-card:last-child{ border-bottom:none; }
.contact-card .icon-sm{
  width:44px; height:44px; border-radius:12px; background:var(--blue-100); flex:none;
  display:flex; align-items:center; justify-content:center;
}
.contact-card .icon-sm svg{ width:20px; height:20px; stroke:var(--blue-700); }
.contact-card h4{ margin:0 0 4px; font-size:1rem; }
.contact-card p{ margin:0; font-size:.95rem; }

.form-card{ background:var(--white); border:1px solid var(--gray-300); border-radius:var(--radius-lg); padding:34px; box-shadow:var(--shadow-sm); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; color:var(--ink); }
.field input,.field select,.field textarea{
  width:100%; padding:13px 14px; border-radius:var(--radius-sm); border:1px solid var(--gray-300);
  font-family:inherit; font-size:.95rem; color:var(--ink); background:var(--white); transition:border-color .2s;
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--blue-500); }
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:.82rem; color:var(--gray-500); margin-top:10px; }

/* Map / address block */
.map-frame{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--gray-300); height:280px;
}
.map-frame iframe{ width:100%; height:100%; border:0; }

/* Footer */
.site-footer{ background:var(--blue-900); color:#cfe0f9; padding:64px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:44px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer .brand{
  display:inline-flex; background:var(--white); padding:12px 18px; border-radius:var(--radius-md);
}
.site-footer .brand img{ height:34px; }
.site-footer p{ color:#a9c2e6; font-size:.92rem; }
.site-footer h5{ color:#fff; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul a{ color:#cfe0f9; font-size:.92rem; }
.site-footer ul a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:22px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.82rem; color:#89a4cc;
}
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex;
  align-items:center; justify-content:center;
}
.social-row a svg{ width:17px; height:17px; stroke:#fff; }
.social-row a:hover{ background:var(--blue-500); }

/* Utilities */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.center{ text-align:center; }
.wa-fab{
  position:fixed; right:22px; bottom:22px; z-index:90; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(0,0,0,.25);
}
.wa-fab svg{ width:28px; height:28px; fill:#fff; }
.wa-fab:hover{ transform:scale(1.06); }

.page-hero{
  background:var(--gradient-dark); padding:150px 0 70px; position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 10%, rgba(118,199,255,.3), transparent 45%);
}
.page-hero h1{ font-size:clamp(1.9rem,3.6vw,2.7rem); position:relative; }
.page-hero p{ position:relative; max-width:600px; }
.breadcrumb{ font-size:.85rem; color:#bcd6ff; margin-bottom:16px; position:relative; }
.breadcrumb a{ color:#bcd6ff; } .breadcrumb a:hover{ color:#fff; }
