/* ==========================================================================
   envo — Logistics · Cargo · Courier
   Brand colors sampled from official brand manual:
   navy #1E3760 · card navy #243B5D · orange #F16521 · sea #06456E
   ========================================================================== */

/* ---------- Fonts (self-hosted, offline ready) ---------- */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:300; font-display:swap;
  src:url('../fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap;
  src:url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:800; font-display:swap;
  src:url('../fonts/poppins-800.woff2') format('woff2'); }

/* ---------- Design tokens ---------- */
:root {
  --navy:       #1E3760;
  --navy-2:     #243B5D;
  --navy-deep:  #152741;
  --sea:        #06456E;
  --orange:     #F16521;
  --orange-dk:  #D4531A;
  --bg:         #EFEFEF;
  --mist:       #D9DFE4;
  --white:      #ffffff;
  --ink:        #22344E;
  --muted:      #5A6B82;
  --line:       #E3E8EE;

  --ff: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 45px -18px rgba(21, 39, 65, .28);
  --shadow-soft: 0 10px 30px -12px rgba(21, 39, 65, .18);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--ff);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid rgba(241,101,33,.55); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .9rem;
}
.kicker--light { color: #FFB98A; }
.title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700; line-height: 1.15; color: var(--navy);
  text-transform: uppercase; letter-spacing: .01em;
}
.title--light { color: var(--white); }
.text { color: var(--muted); margin-top: 1.1rem; max-width: 60ch; }
.text--light { color: #C9D4E2; margin-inline: auto; }

.dot {
  display: inline-block; width: .5em; height: .5em; border-radius: 50%;
  background: var(--orange); flex: none;
}

/* ---------- Icons ---------- */
.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .95rem 1.7rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 12px 26px -10px rgba(241,101,33,.65); }
.btn--orange:hover { background: var(--orange-dk); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--white); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1rem; }

/* ---------- Decorative blobs (brand manual circles) ---------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob--hero1 { width: 46vmin; height: 46vmin; right: -14vmin; top: -12vmin;
  border: 3.2vmin solid rgba(255,255,255,.07); }
.blob--hero2 { width: 30vmin; height: 30vmin; left: -12vmin; bottom: 8vmin;
  background: rgba(255,255,255,.05); }
.blob--about { width: 34vmin; height: 34vmin; left: -16vmin; bottom: -10vmin;
  background: rgba(30,55,96,.06); }
.blob--p1 { width: 52vmin; height: 52vmin; left: -18vmin; bottom: -24vmin;
  background: rgba(255,255,255,.05); }
.blob--p2 { width: 40vmin; height: 40vmin; right: -14vmin; top: -16vmin;
  border: 2.6vmin solid rgba(255,255,255,.06); }
.blob--adv { width: 36vmin; height: 36vmin; right: -12vmin; bottom: -14vmin;
  background: rgba(255,255,255,.06); }
.blob--t1 { width: 44vmin; height: 44vmin; left: -16vmin; top: -18vmin;
  border: 2.8vmin solid rgba(255,255,255,.06); }
.blob--t2 { width: 26vmin; height: 26vmin; right: 6%; bottom: -10vmin;
  background: rgba(241,101,33,.14); }
.blob--c1 { width: 38vmin; height: 38vmin; right: -16vmin; top: -12vmin;
  background: rgba(30,55,96,.05); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s, box-shadow .3s;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 39, 65, .92); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s;
}
.header.scrolled::before { opacity: 1; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand img { width: 132px; height: auto; transition: width .3s; }
.header.scrolled .brand img { width: 112px; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  position: relative; color: #DCE5EF; font-weight: 500; font-size: .93rem;
  padding: .55rem .8rem; border-radius: 10px;
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: .8rem; padding: .7rem 1.3rem; font-size: .88rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: .6rem; z-index: 70; }
.burger span {
  width: 26px; height: 2.5px; border-radius: 3px; background: var(--white);
  transition: transform .3s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3.5rem) 0 9rem;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/hero-containers.jpg') center/cover no-repeat;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120vmax 80vmax at 85% -20%, rgba(6,69,110,.35), transparent 60%),
    linear-gradient(105deg, rgba(21,39,65,.96) 0%, rgba(30,55,96,.88) 45%, rgba(30,55,96,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: #FFC49E; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: .5rem 1.1rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.01em;
}
.hero__title span { color: #FF9557; }
.hero__lead {
  margin-top: 1.4rem; max-width: 56ch; font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.13rem); color: #D8E1EC;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
  margin-top: 3.4rem; max-width: 720px;
}
.hero__stats li {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; backdrop-filter: blur(8px);
}
.hero__stats strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--white); display: block; line-height: 1.1; }
.hero__stats small { display: block; margin-top: .35rem; font-size: .78rem; line-height: 1.45; color: #B9C7D8; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(48px, 8vw, 110px); z-index: 1; }

/* ---------- Salidas ---------- */
.salidas { background: var(--white); padding: 0 0 1rem; margin-top: -4.2rem; position: relative; z-index: 5; }
.salidas__card {
  background: var(--navy-deep); color: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  display: grid; grid-template-columns: minmax(210px, .8fr) 2fr; gap: 1.4rem; align-items: center;
}
.salidas__title { font-size: 1.25rem; font-weight: 700; }
.salidas__sub { font-size: .85rem; color: #AEBDD1; margin-top: .2rem; }
.salidas__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.salidas__group { display: flex; flex-direction: column; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; width: fit-content;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .8rem; border-radius: 999px;
}
.chip--air { color: #FFD9C2; background: rgba(241,101,33,.18); border: 1px solid rgba(241,101,33,.45); }
.chip--sea { color: #BCD9EC; background: rgba(6,69,110,.35); border: 1px solid rgba(120,180,220,.35); }
.salidas__dates { display: flex; flex-wrap: wrap; gap: .45rem; }
.salidas__dates li {
  font-size: .8rem; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: .42rem .75rem; border-radius: 10px; white-space: nowrap;
}
.salidas__dates li:first-child { background: var(--orange); border-color: var(--orange); }

/* ---------- About ---------- */
.grid-2 { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/4.6; object-fit: cover; width: 100%;
}
.about__float {
  position: absolute; right: -1rem; bottom: 1.6rem;
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); padding: 1rem 1.2rem; max-width: 280px;
}
.about__float .ico { color: var(--orange); width: 1.6em; height: 1.6em; margin-top: .15rem; }
.about__float strong { display: block; color: var(--navy); font-size: .92rem; line-height: 1.35; }
.about__float span { font-size: .78rem; color: var(--muted); }
.about__quote {
  margin-top: 1.4rem; padding-left: 1.1rem;
  border-left: 4px solid var(--orange);
  font-weight: 600; color: var(--navy); font-size: 1.06rem;
}
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.badges li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 600; color: var(--navy);
  background: var(--bg); border: 1px solid var(--line);
  padding: .55rem 1rem; border-radius: 999px;
}
.badges .ico { color: var(--orange); width: 1.1em; height: 1.1em; }

/* ---------- Pilares ---------- */
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.pillar {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: transform .35s var(--ease), background .35s;
}
.pillar:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.pillar h3 {
  font-size: 1.18rem; font-weight: 700; color: var(--white);
  padding-bottom: .9rem; margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,.35);
}
.pillar p { font-size: .93rem; color: #C9D4E2; }
.values { display: grid; gap: .8rem; margin-top: .3rem; }
.values li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--white); font-size: .95rem; }

/* ---------- Servicios ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.svc {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc__media { position: relative; overflow: hidden; }
.svc__media img { aspect-ratio: 16/11; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__tag {
  position: absolute; left: 1rem; top: 1rem;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--orange); color: var(--white);
  box-shadow: 0 10px 22px -8px rgba(241,101,33,.7);
}
.svc__tag .ico { width: 1.35em; height: 1.35em; }
.svc__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { color: var(--navy); font-size: 1.22rem; font-weight: 700; }
.svc__body p { font-size: .9rem; color: var(--muted); margin-top: .6rem; flex: 1; }
.svc__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.svc__meta li {
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--sea); background: rgba(6,69,110,.08);
  padding: .32rem .7rem; border-radius: 999px;
}

/* ---------- Ventaja (split) ---------- */
.adv { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 560px; }
.adv__media { position: relative; overflow: hidden; }
.adv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adv__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,55,96,.25), rgba(30,55,96,.55));
}
.adv__panel { position: relative; background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.adv__list { display: grid; gap: 1.9rem; margin-top: 2.4rem; }
.adv__list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.adv__ico {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--orange); color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(241,101,33,.75);
}
.adv__ico .ico { width: 1.5em; height: 1.5em; }
.adv__list h3 { font-size: 1.06rem; font-weight: 700; color: var(--white); }
.adv__list p { font-size: .88rem; color: #C2CFDF; margin-top: .3rem; max-width: 46ch; }

/* ---------- Ruta ---------- */
.route { background: var(--bg); overflow: hidden; }
.route__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin-top: 3.4rem; position: relative;
}
.route__steps::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%;
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--sea));
}
.route__step { text-align: center; position: relative; padding: 0 .6rem; }
.route__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto;
  border-radius: 50%; background: var(--orange); color: var(--white);
  font-size: 1.65rem; font-weight: 800; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg), 0 14px 28px -10px rgba(241,101,33,.65);
  transition: transform .3s var(--ease);
}
.route__step:hover .route__num { transform: scale(1.08); }
.route__step h3 { margin-top: 1.1rem; color: var(--navy); font-size: 1.08rem; font-weight: 700; }
.route__step p { font-size: .84rem; color: var(--muted); margin-top: .45rem; }
.route__banner { position: relative; margin-top: 3.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.route__banner img { width: 100%; height: clamp(240px, 34vw, 380px); object-fit: cover; }
.route__banner figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 3.2rem 2rem 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(21,39,65,.9));
  color: var(--white); font-weight: 600; text-align: center;
}

/* ---------- Rastreo ---------- */
.track { text-align: center; }
.track__wrap { position: relative; z-index: 1; }
.track__form { display: flex; gap: .7rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.track__form input {
  width: min(420px, 100%); padding: 1rem 1.4rem;
  border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.09); color: var(--white);
  transition: border .25s, background .25s;
}
.track__form input::placeholder { color: #93A7BF; }
.track__form input:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,.13); }
.track__result {
  margin: 2.2rem auto 0; max-width: 640px; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 1.6rem 1.8rem;
  animation: fadeUp .5s var(--ease) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.track__row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.track__code { font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; color: var(--white); }
.track__state {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  background: var(--orange); color: var(--white);
  padding: .4rem .95rem; border-radius: 999px;
}
.track__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.6rem; }
.track__steps li { text-align: center; font-size: .8rem; font-weight: 600; color: #8FA3BC; position: relative; padding-top: 2.4rem; }
.track__steps li i {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.track__steps li::before {
  content: ""; position: absolute; top: 9px; left: calc(-50% + 14px); right: calc(50% + 14px);
  height: 2px; background: rgba(255,255,255,.14);
}
.track__steps li:first-child::before { display: none; }
.track__steps li.done { color: var(--white); }
.track__steps li.done i { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(241,101,33,.18); }
.track__steps li.active { color: #FFC49E; }
.track__steps li.active i { border-color: var(--orange); animation: pulse 1.4s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241,101,33,.5); }
  50% { box-shadow: 0 0 0 9px rgba(241,101,33,0); }
}
.track__hint { margin-top: 1.4rem; font-size: .74rem; color: #8FA3BC; }

/* ---------- Tarifas ---------- */
.rates { background: var(--bg); }
.rates .container { text-align: center; }
.rates__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 1.6rem; justify-content: center; margin-top: 3rem;
}
.rate {
  background: var(--navy-2); color: var(--white);
  border-radius: var(--radius); padding: 2.4rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.rate:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rate--featured { background: var(--navy-deep); }
.rate h3 {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-size: 1.15rem; font-weight: 700;
  padding-bottom: 1.1rem; margin-bottom: 1.3rem;
  border-bottom: 2px solid rgba(255,255,255,.3);
}
.rate__price { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: .02em; }
.rate__price sup { font-size: .45em; font-weight: 700; margin-right: .1em; color: #FFB98A; }
.rate__note { margin: .8rem auto 1.6rem; font-size: .9rem; color: #C9D4E2; max-width: 30ch; }
.rates__fine { margin-top: 1.8rem; font-size: .78rem; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.c-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), border-color .3s;
}
.c-card:hover { transform: translateY(-5px); border-color: rgba(241,101,33,.5); }
.c-card__ico {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 15px;
  background: rgba(30,55,96,.07); color: var(--navy);
  transition: background .3s, color .3s;
}
.c-card:hover .c-card__ico { background: var(--orange); color: var(--white); }
.c-card h3 { font-size: .98rem; font-weight: 700; color: var(--navy); }
.c-card p { font-size: .86rem; color: var(--muted); margin-top: .15rem; }
.contact__sub { margin-top: 3.2rem; color: var(--navy); font-size: 1.3rem; font-weight: 700; }
.wh__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.wh {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wh:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.wh h4 { color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.wh address { margin-top: .5rem; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.wh__tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); background: rgba(241,101,33,.1);
  padding: .3rem .7rem; border-radius: 999px;
}
.news {
  margin-top: 3.2rem; background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 2.2rem 2rem;
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  align-items: center; justify-content: space-between;
}
.news__title { font-size: 1.15rem; font-weight: 500; max-width: 34ch; }
.news__row { display: flex; gap: .7rem; flex-wrap: wrap; }
.news__row input {
  min-width: min(320px, 100%); padding: .95rem 1.3rem;
  border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.09); color: var(--white);
}
.news__row input::placeholder { color: #93A7BF; }
.news__row input:focus { outline: none; border-color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #B9C7D8; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}
.footer__brand img { width: 150px; }
.footer__brand p { margin-top: 1.1rem; font-size: .88rem; max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: rgba(255,255,255,.07);
  color: var(--white); transition: background .3s, transform .3s var(--ease);
}
.footer__social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer__col h4 {
  color: var(--white); font-size: .95rem; font-weight: 700;
  margin-bottom: 1.1rem; letter-spacing: .04em;
}
.footer__col a, .footer__col p { display: block; font-size: .88rem; padding: .28rem 0; color: #B9C7D8; transition: color .25s; }
.footer__col a:hover { color: #FF9557; }
.footer__wa a { color: #FF9557; font-weight: 600; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0 1.6rem; font-size: .78rem; color: #8FA3BC;
  text-align: center;
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 1.4rem; z-index: 55;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  color: var(--white); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--wa { bottom: 1.4rem; background: #22B358; }
.fab--wa .ico { width: 1.7em; height: 1.7em; }
.fab--top {
  bottom: 5.6rem; background: var(--navy); border: 1px solid rgba(255,255,255,.15);
  opacity: 0; visibility: hidden;
}
.fab--top.show { opacity: 1; visibility: visible; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px);
  background: var(--navy-deep); color: var(--white);
  padding: .9rem 1.5rem; border-radius: 14px; font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  z-index: 80; max-width: min(90vw, 480px); text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid, .pillars__grid, .contact__grid, .wh__grid { grid-template-columns: repeat(2, 1fr); }
  .route__steps { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
  .route__steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 65;
    flex-direction: column; justify-content: center; gap: .4rem;
    background: rgba(21, 39, 65, .98); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-size: 1.15rem; padding: .7rem 1rem; }
  .nav-cta { margin: 1rem 0 0; }
  body.menu-open { overflow: hidden; }
  .grid-2 { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .adv { grid-template-columns: 1fr; }
  .adv__media { min-height: 320px; }
  .salidas__card { grid-template-columns: 1fr; }
  .salidas__groups { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .brand img { width: 108px; }
  .header.scrolled .brand img { width: 96px; }
  .hero__stats { grid-template-columns: 1fr; gap: .7rem; }
  .hero__stats li { display: flex; align-items: center; gap: 1rem; }
  .hero__stats small { margin-top: 0; }
  .services__grid, .pillars__grid, .contact__grid, .wh__grid { grid-template-columns: 1fr; }
  .rates__grid { grid-template-columns: 1fr; }
  .route__steps { grid-template-columns: 1fr 1fr; }
  .about__float { right: .8rem; left: .8rem; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .news { flex-direction: column; align-items: flex-start; }
  .track__steps { gap: .2rem; }
  .track__steps li { font-size: .68rem; }
  .track__result { padding: 1.3rem 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
