:root {
  /* Claro y fresco: menta y blanco con navy de Gestiona. Motivo: una carretera literal con paradas para cada servicio. */
  --navy: #253E88;
  --navy-d: #172A63;
  --teal: #4BB5AF;
  --teal-d: #2E948E;
  --mint: #E7F6F4;
  --mint-2: #D3EFEC;
  --ink: #16224A;
  --muted: #5B6789;
  --line: #D9E8E7;
  --display: "Outfit", "Segoe UI", Arial, sans-serif;
  --body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: #fff; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal-d); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.015em; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--teal-d); background: #fff; border: 1px solid var(--mint-2); border-radius: 999px; padding: 6px 14px 6px 8px; }
.tag::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); box-shadow: inset 0 0 0 5px #fff; }

header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 42px; width: auto; }
.nav ul { display: flex; gap: 8px; list-style: none; background: var(--mint); border-radius: 999px; padding: 6px; }
.nav ul a { display: block; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy); padding: 8px 18px; border-radius: 999px; transition: background .2s; }
.nav ul a:hover { background: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-d); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
@media (max-width: 820px) { .nav ul { display: none; } }

.hero { background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); padding: 56px 0 0; overflow: hidden; }
.hero-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 700; line-height: 1.0; color: var(--navy); margin-top: 22px; }
.hero h1 mark { background: linear-gradient(180deg, transparent 62%, rgba(75,181,175,.45) 62%); color: inherit; padding: 0 .06em; }
.hero .lead { font-size: 20px; color: var(--muted); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.highway { position: relative; margin-top: 175px; padding: 0; }
.road { position: relative; height: 120px; background: var(--navy-d); border-radius: 60px 60px 0 0; overflow: hidden; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: repeating-linear-gradient(90deg, #F4D35E 0 46px, transparent 46px 84px); background-size: 84px 6px; animation: drive 1.6s linear infinite; }
.road::after { content: ""; position: absolute; inset: 14px 0 auto; height: 2px; background: rgba(255,255,255,.18); box-shadow: 0 90px 0 rgba(255,255,255,.18); }
@keyframes drive { to { background-position: -84px 0; } }
.car { position: absolute; top: 50%; left: -60px; width: 46px; height: 22px; margin-top: -38px; border-radius: 8px; background: var(--teal); box-shadow: 0 0 18px rgba(75,181,175,.8); animation: car 9s linear infinite; }
.car.c2 { margin-top: 14px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.6); animation-duration: 12s; animation-delay: -5s; }
@keyframes car { to { left: 105%; } }
.stops { list-style: none; position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0 24px; }
.stop { display: grid; justify-items: center; gap: 8px; text-align: center; }
.pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: #fff; border: 2px solid var(--teal); display: grid; place-items: center; box-shadow: 0 14px 24px -14px rgba(23,42,99,.5); }
.pin svg { width: 24px; height: 24px; transform: rotate(45deg); fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lbl { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--navy); line-height: 1.25; max-width: 15ch; }
.stops { transform: translateY(calc(-100% - 22px)); }
.stop .lbl { order: -1; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .stops { grid-template-columns: repeat(3, 1fr); row-gap: 18px; position: static; transform: none; margin-bottom: 18px; } .highway { margin-top: 48px; } }

section { padding: 104px 0; }
.about { background: var(--navy-d); color: #fff; padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.about-g { width: 180px; height: 180px; border-radius: 40px; background: #fff; display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.about-g img { width: 64%; transform: rotate(6deg); }
.about .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #A6E3DE; }
.about .tag::before { box-shadow: inset 0 0 0 5px var(--navy-d); }
.about p.big { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.32; margin-top: 18px; }
.about p.big b { color: #8EDBD5; font-weight: 600; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-g { width: 130px; height: 130px; border-radius: 30px; } }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.05; color: var(--navy); margin-top: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--mint); border-radius: 36px; padding: 48px; }
.row + .row { margin-top: 22px; }
.row .num { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--teal); opacity: .55; }
.row h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--navy); line-height: 1.1; margin: 10px 0 14px; }
.row p { color: var(--muted); max-width: 30em; }
.row .go { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 600; color: var(--teal-d); text-decoration: none; border-bottom: 2px solid currentColor; }
.route { list-style: none; position: relative; display: grid; gap: 12px; padding-left: 0; }
.route::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 3px; background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 18px); }
.route li { position: relative; display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: 0 12px 26px -22px rgba(23,42,99,.6); }
.rdot { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-left: 0; }
.rdot svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route b { font-family: var(--display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.row.alt { background: #fff; border: 2px solid var(--mint-2); }
.sipap { position: relative; height: 240px; border-radius: 28px; background: var(--mint); display: grid; grid-template-columns: 1fr .8fr 1fr .8fr 1fr; align-items: center; padding: 0 22px; }
.cli { display: grid; justify-items: center; gap: 8px; position: relative; top: 13px; }
.cli .av { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); display: grid; place-items: center; box-shadow: 0 16px 30px -18px rgba(75,181,175,.9); }
.cli .av svg { width: 52%; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cli b { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.flow { margin: 0 6px !important; }
.flow.rev::before { animation-direction: reverse; }
.bk { aspect-ratio: 1; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -22px rgba(23,42,99,.6); }
.bk svg { width: 44%; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow { position: relative; height: 10px; margin: 0 10px; border-radius: 5px; background: rgba(37,62,136,.12); overflow: hidden; }
.flow::before { content: ""; position: absolute; top: 0; bottom: 0; width: 34%; border-radius: 5px; background: linear-gradient(90deg, transparent, var(--teal), transparent); animation: pass 1.8s ease-in-out infinite; }
@keyframes pass { from { left: -34%; } to { left: 100%; } }
.flow-l { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--navy); background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: 0 10px 20px -16px rgba(23,42,99,.6); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; padding: 30px; border-radius: 28px; } .row.alt .sipap { order: 2; } }

.contacto { background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.ct-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.ct-info h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.05; color: var(--navy); margin: 14px 0 14px; }
.ct-lead { color: var(--muted); font-size: 19px; }
.ct-cards { display: grid; gap: 12px; margin-top: 30px; }
.ct-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 16px 18px; text-decoration: none; box-shadow: 0 14px 30px -24px rgba(23,42,99,.6); transition: transform .2s; }
a.ct-card:hover { transform: translateX(4px); }
.ct-card .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--mint); display: grid; place-items: center; }
.ct-card .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-card .ic.wa { background: #25D366; }
.ct-card .ic.wa svg { fill: #fff; stroke: none; }
.ct-card b { display: block; font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 16px; }
.ct-card span.t { color: var(--muted); font-size: 15.5px; }
.ct-card .map { color: var(--teal-d); font-weight: 700; text-decoration: none; font-size: 14.5px; }
form { background: #fff; color: var(--ink); border-radius: 32px; padding: 40px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; position: relative; box-shadow: 0 40px 80px -50px rgba(23,42,99,.6); border: 2px solid var(--mint-2); }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
input, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #F6FAFA; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
input::placeholder, textarea::placeholder { color: #9AA5BE; }
input.err, textarea.err { border-color: #C0392B; background: #FDF3F2; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; }
legend { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { display: inline-flex; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-opt span { font-size: 15px; font-weight: 700; color: var(--navy); background: var(--mint); border: 2px solid transparent; border-radius: 999px; padding: 8px 16px; transition: background .15s, color .15s, border-color .15s; }
.pill-opt:hover span { border-color: var(--teal); }
.pill-opt input:checked + span { background: var(--teal); color: #fff; }
.pill-opt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 14px; color: var(--muted); }
.form-msg { display: none; background: var(--mint); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.form-msg.show { display: block; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; padding: 26px; } }

footer { background: var(--navy-d); color: #AFBBD9; font-size: 14.5px; padding: 30px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer img { height: 28px; width: auto; }
footer a { color: #fff; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 20; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
