:root{
  --blue:#1b138a;
  --blue2:#221a9c;
  --text:#111;
  --muted:#5b5b5b;
  --radius:18px;
  --shadow:0 14px 30px rgba(0,0,0,.18);
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit;text-decoration:none}
.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  cursor:pointer;
  user-select:none;
}
.btn--white{background:rgba(255,255,255,.96); color:var(--blue)}
.btn--ghost{background:rgba(255,255,255,.18); color:#fff; border:1px solid rgba(255,255,255,.35); box-shadow:none}
.btn--nav{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.52);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  padding:10px 14px;
  font-weight:800;
  backdrop-filter: blur(6px);
}
.btn--nav.btn--active{
  background:#f3f4f6;
  color:var(--blue);
  border-color:rgba(255,255,255,.92);
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
}
h1,h2,h3{margin:0}
.section{padding:84px 0}
.section--tight{padding:64px 0}
.section-title{
  font-size:44px;
  letter-spacing:-.8px;
  font-weight:950;
}
.section-title.center{text-align:center}
.upper{text-transform:uppercase}
.lead{font-size:18px; line-height:1.55; color:#222}
.muted{color:var(--muted)}
.grid-2{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:38px;
}
@media (max-width: 980px){
  .grid-2{grid-template-columns:1fr}
  .section{padding:64px 0}
  .section-title{font-size:34px}
}
.card{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card--blue{
  background:rgba(27,19,138,.92);
  color:#fff;
  padding:22px;
}
.card--blue h3{
  text-align:center;
  font-size:18px;
  font-weight:900;
  margin:4px 0 14px 0;
}
.card--blue ul{
  margin:0;
  padding-left:18px;
  font-size:18px;
  line-height:1.55;
}
.img{
  width:100%;
  border-radius:16px;
  display:block;
  object-fit:cover;
}
.hero{
  position:relative;
  min-height: 86vh;
  color:#fff;
  background-size:cover;
  background-position:center;
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.22) 100%);
}
.hero__content{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
}
.hero__header{
  padding:24px 0 0 0;
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
/* Light header variant (e.g., gracias.html) */
.hero__header--light{
  background:#fff;
}
.hero__header--light .btn--nav{
  background:#ffffff;
  color:#111;
  border:1px solid rgba(15,23,42,.14);
  box-shadow:0 8px 18px rgba(15,23,42,.10);
}
.hero__header--light .btn--nav:hover{
  background:#f3f4f6;
  border-color:rgba(15,23,42,.20);
}
.hero__header--light .btn--nav.btn--active{
  background:#111;
  color:#fff;
  border-color:#111;
  box-shadow:0 10px 22px rgba(15,23,42,.18);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{width:50px;height:50px}
.brand .brand__text{line-height:1.05;}
.brand .brand__name{
  font-weight:950;
  letter-spacing:.6px;
  font-size:18px;
  color:#111;
  background:rgba(255,255,255,.92);
  padding:6px 10px;
  border-radius:12px;
  display:inline-block;
}
.brand .brand__sub{
  font-weight:900;
  letter-spacing:.8px;
  font-size:10px;
  color:var(--blue);
  margin-top:6px;
  text-transform:uppercase;
  background:rgba(255,255,255,.92);
  padding:5px 10px;
  border-radius:12px;
  display:inline-block;
}
.navlinks{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.hero__main{
  flex:1;
  display:flex;
  align-items:center;
}
.hero__headline{max-width:720px;}
.hero__kicker{
  font-weight:950;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:22px;
}
.hero__title{
  margin-top:10px;
  font-weight:980;
  letter-spacing:-1.2px;
  text-transform:uppercase;
  font-size:74px;
  color:#170682;
  text-shadow:0 10px 30px rgba(0,0,0,.25);
}
.hero__cta{margin-top:24px}
@media (max-width: 980px){
  .hero{min-height: 72vh}
  .hero__title{font-size:42px}
  .hero__kicker{font-size:16px}
  .brand .brand__name{font-size:16px}
}
.bg-section{
  position:relative;
  color:#fff;
  background-size:cover;
  background-position:50% 45%;
}
.bg-section .bg-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.36) 55%, rgba(0,0,0,.30) 100%);
}
.bg-section .container{position:relative}
.coverage-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
}
.coverage-top h2{
  font-size:70px;
  line-height:1.0;
  letter-spacing:-1px;
  font-weight:980;
  text-transform:uppercase;
  margin-bottom:18px;
}
.coverage-top .lead, .coverage-top li{color:#fff}
.coverage-top ul{margin:10px 0 0 18px; padding:0; font-size:18px; line-height:1.55; max-width:780px}
.coverage-top .cta{margin-top:132px}
.coverage-cards{
  margin-top:56px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px 34px;
}
@media (max-width: 980px){
  .coverage-top{flex-direction:column}
  .coverage-top h2{font-size:44px}
  .coverage-top .cta{margin-top:14px; align-self:flex-start}
  .coverage-cards{grid-template-columns:1fr}
}
.section3{
  position:relative;
  color:#fff;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  padding:0;
}

.section3 .overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.05) 100%);
}
.section3 .container{
  position:relative;
  width:100%;
  padding:64px 24px 72px;
}

.section3 h2{
  font-size:54px;
  font-weight:980;
  letter-spacing:-1px;
  text-transform:uppercase;
}
.section3 .btn{margin-top:18px}
@media (max-width: 980px){
  .section3{padding:84px 0}
  .section3 h2{font-size:38px}
}
.blog{padding:84px 0;}
.blog .cards{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
@media (max-width: 980px){
  .blog .cards{grid-template-columns:1fr; gap:18px}
}
.blog-card{
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}
.blog-card .thumb{
  position:relative;
  height:210px;
  background-size:cover;
  background-position:center;
}
.blog-card .thumb .badge{position:absolute; left:14px; bottom:14px}
.blog-card .body{padding:16px 18px 18px}
.blog-card .meta{font-size:12px; color:#666; margin-bottom:8px}
.blog-card h3{font-size:18px; font-weight:950; color:var(--blue); line-height:1.25; margin-bottom:10px}
.blog-card .read{font-weight:800; color:var(--blue); text-decoration:underline}
.form-card{
  background:rgba(27,19,138,.92);
  color:#fff;
  border-radius:18px;
  padding:22px;
  box-shadow:var(--shadow);
}
.form-card h3{font-size:20px; font-weight:950; margin-bottom:14px}
label{display:block; font-weight:800; font-size:13px; margin:12px 0 6px}
input, textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  padding:12px 12px;
  outline:none;
  background:rgba(255,255,255,.08);
  color:#fff;
}
textarea{min-height:120px; resize:vertical}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.75)}
.form-actions{margin-top:14px}
.btn-submit{
  width:100%;
  background:#cfcfd7;
  color:#1a1a1a;
  border:none;
  padding:12px 16px;
  border-radius:12px;
  font-weight:950;
  cursor:pointer;
}
.footer{
  position:relative;
  color:#fff;
  background-size:cover;
  background-position:center;
  padding:70px 0;
}
.footer .overlay{
  position:absolute; inset:0;
  background:rgba(0,0,0,.62);
}
.footer .container{position:relative}
.footer .brand-foot{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer .brand-foot img{width:54px;height:54px; filter:brightness(0) invert(1)}
.footer h4{margin:18px 0 10px; font-size:16px; font-weight:950}
.footer p{margin:0; line-height:1.6; color:rgba(255,255,255,.92)}
.footer .cols{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
@media (max-width: 980px){
  .footer .cols{grid-template-columns:1fr}
}
.social{
  display:flex;
  gap:12px;
  margin-top:10px;
}
.social a{
  width:40px;height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
}
small.note{display:block; margin-top:18px; color:rgba(255,255,255,.75)}


/* Scroll reveal (suave) */
.reveal-up{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
  will-change:opacity, transform;
}
.reveal-up.in-view{
  opacity:1;
  transform:translateY(0);
}

/* Nosotros page */
.nos-hero{
  position:relative;
  min-height:95vh;
  background:url('assets/images/nosotros-hero.jpg') 60% 50%/cover no-repeat;
  color:#fff;
  padding:0;
}
.nos-hero .hero__content{min-height:95vh;}
.nos-hero .container{position:relative;}
.nos-hero h1{
  margin:0;
  font-size:56px;
  line-height:1.06;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
  max-width:820px;
  color:rgba(255,255,255,.96);
  text-shadow:0 18px 40px rgba(0,0,0,.45);
}
@media (max-width: 800px){
  .nos-hero{padding:84px 0 60px; min-height:60vh;}
  .nos-hero h1{font-size:40px;}
}

.nos-section{
  position:relative;
  background:url('assets/images/nosotros-bg-custom.jpg') center/cover no-repeat;
  padding:88px 0;
  color:#fff;
}
.nos-section::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.10) 100%);
}
.nos-section .container{position:relative; display:grid; grid-template-columns: 1fr; gap:32px; align-items:center;}
.nos-brand{
  position:absolute;
  right:32px;
  top:50%;
  transform:translateY(-50%);
  width:130px;
  height:auto;
  opacity:.95;
  pointer-events:none;
}
@media (max-width: 760px){
  .nos-brand{right:16px; width:96px;}
}
.nos-section h2{
  margin:0 0 18px;
  font-size:64px;
  line-height:1;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.nos-copy{
  font-size:16px;
  line-height:1.45;
  max-width:520px;
  opacity:.95;
}
.nos-list{
  margin:26px 0 0;
  padding-left:18px;
}
.nos-list li{margin:8px 0;}
.nos-map{
  display:flex;
  justify-content:flex-end;
}
.nos-map svg{
  width:min(520px, 90%);
  height:auto;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.nos-map .mini-logo{
  position:absolute;
  top:26px;
  right:28px;
  width:52px;
  height:auto;
  opacity:.95;
}
@media (max-width: 900px){
  .nos-section .container{grid-template-columns:1fr; gap:28px;}
  .nos-map{justify-content:flex-start;}
  .nos-section h2{font-size:46px;}
}

.nos-section .mini-logo{position:absolute; top:26px; right:28px; width:52px; height:auto; opacity:.95;}


/* --- FIXES FEB 2026 (requested) --- */

/* HERO: push text lower like Canva */
@media (min-width: 900px){
  .hero__main{ padding-top: 260px; padding-bottom: 140px; }
}
@media (max-width: 899px){
  .hero__main{ padding-top: 190px; padding-bottom: 90px; }
}

/* Remove white backgrounds around brand (logo + name pills) */
.brand{ background: transparent !important; padding: 0 !important; border-radius: 0 !important; gap: 14px; }
.brand__name, .brand__sub{ background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.brand__name{ text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.brand__sub{ text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* Footer logo should not invert / no white block */
.brand-foot img{ filter: none !important; background: transparent !important; }

/* Servicios banner: full hero-like height with text/button bottom-left */
.section3{ min-height: 80vh; display:flex; align-items:flex-end; }
.section3 .container{ padding-top: 0; padding-bottom: 90px; }
@media (max-width: 899px){
  .section3{ min-height: 70vh; }
  .section3 .container{ padding-bottom: 60px; }
}

/* Nosotros: floating COTIZA button */
.btn--cotiza-float{
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 9999;
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.btn--cotiza-float:hover{ transform: translateY(-1px); }



/* Footer exclusivo para nosotros.html */
.footer-nosotros {
  background-image: url("assets/images/footer-nosotros.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.footer-nosotros::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.footer-nosotros > * {
  position: relative;
  z-index: 1;
}

/* Aduana page */
.hero__overlay--side{
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.10) 100%);
}
.hero__sub{
  margin:14px 0 0;
  max-width:720px;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.adu-scope{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}
@media (max-width: 980px){
  .adu-scope{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}
}

.center-muted{color:var(--muted)}

.grid-3{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr;}
}

.seg-card{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
  padding:22px;
}
.seg-card h3{margin:0 0 8px; font-weight:950; letter-spacing:.4px}
.seg-card p{margin:0; line-height:1.55}

.steps{margin-top:18px; display:grid; gap:12px}
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(27,19,138,.06);
}
.step__n{
  width:34px;
  height:34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:#fff;
  font-weight:950;
}
.step__t{font-size:15px; line-height:1.45}

.adu-inbond .container{position:relative}
.inbond-box{
  max-width:720px;
  padding:26px;
  border-radius:22px;
  background:rgba(0,0,0,.42);
  box-shadow:0 16px 36px rgba(0,0,0,.28);
}
.inbond-box h2{
  margin:14px 0 10px;
  font-size:46px;
  line-height:1.05;
  font-weight:980;
  text-transform:uppercase;
}
.inbond-box .lead{color:rgba(255,255,255,.92)}
@media (max-width: 980px){
  .inbond-box h2{font-size:34px}
}

.logo-strip{
  border-radius:22px;
  background:rgba(27,19,138,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:18px 18px;
}
.logo-strip__label{font-weight:900; color:var(--blue); text-transform:uppercase; letter-spacing:.6px; font-size:12px}
.logo-strip__logo{height:34px; width:auto; opacity:.95}

/* Aduana page */
.hero__overlay--side{
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.10) 100%);
}
.hero__sub{
  margin:14px 0 0;
  max-width:720px;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.adu-scope{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}
@media (max-width: 980px){
  .adu-scope{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:28px;
}
@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr;}
}

.seg-card{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
  padding:22px;
}
.seg-card h3{margin:0 0 10px; font-weight:950; letter-spacing:.4px; color:var(--blue)}
.seg-card p{margin:0; line-height:1.55}

.steps{margin-top:22px; display:grid; gap:12px;}
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(27,19,138,.06);
}
.step__n{
  width:34px; height:34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  color:#fff;
  background:var(--blue);
  flex:0 0 auto;
}
.step__t{line-height:1.45; color:#111;}

.adu-inbond .container{position:relative}
.inbond-box{
  max-width:720px;
  padding:28px;
  border-radius:24px;
  background:rgba(0,0,0,.45);
  box-shadow:0 18px 42px rgba(0,0,0,.25);
}
.inbond-box h2{
  margin:12px 0 12px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.8px;
  font-weight:980;
  text-transform:uppercase;
}
.inbond-box .lead{color:rgba(255,255,255,.9); margin:0 0 18px;}
@media (max-width: 980px){
  .inbond-box h2{font-size:32px;}
}

.logo-strip{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:26px 18px;
  border-radius:24px;
  background:rgba(27,19,138,.06);
}
.logo-strip__label{font-weight:900; letter-spacing:.6px; text-transform:uppercase; color:rgba(0,0,0,.65)}
.logo-strip__logo{width:min(320px, 80%); height:auto; opacity:.95}




/* Chips / pills inside blue cards */
.chips{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
  font-size:14px;
  line-height:1.1;
  white-space:nowrap;
}
@media (max-width: 560px){
  .chip{ white-space:normal; }
}



/* Nosotros - panel y sección "Lo que nos define" */
.nos-section{ overflow:hidden; }
.nos-section__overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.30) 100%);
  pointer-events:none;
}
.nos-section .container{ position:relative; z-index:1; }

.nos-panel{
  max-width:780px;
  padding:28px 28px 24px;
  border-radius:22px;
  background:rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.nos-panel h2{ margin:0 0 14px; color:#fff; }
.nos-panel .nos-copy{ margin:0 0 16px; color:rgba(255,255,255,.92); font-size:18px; line-height:1.55; }
.nos-mini{
  margin-top:6px;
  font-weight:800;
  letter-spacing:.02em;
  color:rgba(255,255,255,.92);
}
.nos-scope{
  margin:16px 0 0;
  color:rgba(255,255,255,.88);
  line-height:1.5;
}
.nos-scope strong{ color:#fff; }

.define-section{
  padding:84px 0;
  background:#fff;
  color:var(--text);
}
.define-title{
  margin:0 0 28px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.02em;
}
.define-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}
.define-card{
  background:#f2f4fb;
  border-radius:22px;
  padding:22px 22px 20px;
  box-shadow:0 14px 30px rgba(0,0,0,.10);
}
.define-card h3{
  margin:0 0 10px;
  font-size:18px;
  color:var(--text);
  font-weight:900;
}
.define-card p{
  margin:0;
  color:rgba(0,0,0,.68);
  line-height:1.55;
}

@media (max-width: 1100px){
  .define-grid{ grid-template-columns:repeat(2, 1fr); }
  .define-title{ font-size:38px; }
}
@media (max-width: 640px){
  .define-grid{ grid-template-columns:1fr; }
  .define-title{ font-size:34px; }
  .nos-panel{ padding:22px 18px 18px; }
  .nos-panel .nos-copy{ font-size:16px; }
}
