/* Diseño de cabecera, portada, rutas, servicios, vehículo y pie de página. */
/* Diseño base */
.header {
  background: var(--blue);
  color: white;
  position: relative;
  z-index: 1001;
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.6px;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.6px;
  font-weight: 500;
}

.brand-mark {
  font-style: italic;
  font-size: 41px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
}

.brand-mark span {
  display: inline-block;
  vertical-align: top;
  font-size: 23px;
  margin-left: 7px;
}

.nav nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.nav nav a {
  opacity: .85;
}

.nav nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: transparent;
  border: 1px solid #ffffff50;
  font-size: 12px;
  min-height: 43px;
  padding: 10px 14px;
  gap: 8px;
}

.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading>p {
  max-width: 335px;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 3px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.service-grid article {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 12px;
  position: relative;
  background: #fff;
}

.service-icon {
  display: flex;
  width: 49px;
  height: 49px;
  justify-content: center;
  align-items: center;
  font-size: 29px;
  color: var(--blue);
  background: var(--pale);
  border-radius: 11px;
  margin-bottom: 30px;
}

.service-grid h3 {
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: -.6px;
}

.service-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 70px;
}

.service-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 25px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.service-grid a span {
  font-size: 23px;
}

.service-grid .service-blue {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.service-blue .service-icon {
  background: #ffffff18;
  color: #a6c5ff;
}

.service-blue p {
  color: #c3d2ee;
}

.service-blue a {
  color: white;
  border-color: #ffffff26;
}

.vehicle-section {
  background: #e8f0ff;
  padding: 60px 0;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-items: center;
}

.vehicle-map {
  margin-inline: auto;
  width: min(100%, 400px);
  height: auto;
}

.vehicle-title p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.vehicle-info {
  border-left: 1px solid #cbd9f1;
  padding-inline: clamp(16px, 4vw, 64px);
}

.capacity {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.capacity strong {
  font-family: 'Segoe UI',Arial,sans-serif;
  font-size: 62px;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--blue);
}

.capacity small {
  font-size: 26px;
  letter-spacing: -1px;
}

.capacity>span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5c7297;
}

.vehicle-info p {
  margin-inline: auto;
  font-size: 13px;
  max-width: 340px;
  color: var(--muted);
}

.text-link {
  font-weight: 700;
  color: var(--blue);
  font-size: 12px;
}

.text-link span {
  margin-left: 12px;
}

.closing {
  background: var(--navy);
  color: white;
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}

.closing:after {
  content: '↗';
  position: absolute;
  font-family: Arial,sans-serif;
  font-size: 420px;
  line-height: .8;
  right: 10%;
  top: 10px;
  color: #ffffff04;
  pointer-events: none;
}

.closing .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 35px;
  position: relative;
  z-index: 1;
}

.closing .eyebrow {
  color: #b9ceff;
  font-size: 9px;
}

.closing h2 {
  font-size: 48px;
  margin: 0;
}

.light-button {
  background: #fff;
  color: var(--blue);
}

.phone-icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  vertical-align: -0.2em;
}

.closing .light-button {
  white-space: nowrap;
  gap: 12px;
}

.light-button:hover {
  background: #e7eeff;
}

.site-footer {
  padding: clamp(36px, 4vw, 56px) 0 26px;
  background: #171717;
  color: var(--muted);
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  text-align: center;
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
  padding-bottom: 32px;
}

.footer-main .brand {
  width: fit-content;
  margin-inline: auto;
}

.footer-about p {
  max-width: 43ch;
  margin: 16px 0 8px;
}

.footer-social h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
}

.footer-social ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.social-profile svg {
  width: 20px;
  height: 20px;
}

.site-footer a:not(.brand):hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #323232;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom > p {
  margin: 12px 0 0;
}

.footer-bottom details {
  max-width: 600px;
  margin: 0 auto;
  font-size: 12px;
}

.footer-bottom details p {
  margin-top: 12px;
  text-align: start;
}

.footer-bottom a {
  text-decoration: underline;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: white;
  color: var(--blue);
  padding: 12px;
  z-index: 2000;
}

.skip-link:focus {
  top: 10px;
}

/* Paleta actual azul y negro */
body {
  background: var(--ground);
}

.header {
  background: #171717;
  border-bottom: 1px solid #232323;
}

.nav {
  height: 78px;
}

.nav nav {
  font-size: 14px;
  font-weight: 600;
}

.nav nav a {
  opacity: 1;
}

.nav-cta {
  background: #164acb;
  border: 1px solid transparent;
}

.nav-cta svg {
  color: #bad7ff;
}

.nav-cta:hover {
  background: #133fae;
}

.masthead {
  margin: 28px var(--photo-inset);
  border-radius: var(--radius-panel);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101821;
}

.masthead-photo, .masthead-photo img, .masthead::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.masthead-photo {
  z-index: -2;
}

.masthead-photo img {
  object-fit: cover;
  object-position: center 54%;
}

.masthead::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #04070deb 0%, #050810b8 26%, #05081138 53%, transparent 72%), linear-gradient(0deg, #07101b80, transparent 32%);
}

.masthead-inner {
  min-height: clamp(435px, 34.5vw, 580px);
  display: flex;
  align-items: center;
  padding-block: 58px 82px;
}

.masthead-copy {
  width: min(49%, 620px);
}

.route-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  font: 700 12px/1.5 'Segoe UI', Arial, sans-serif;
  letter-spacing: .16em;
  color: #225cfa;
}

.route-kicker i {
  width: 30px;
  height: 3px;
  background: #225cfa;
}

.route-kicker span {
  color: #99b7ff;
}

.masthead h1 {
  margin: 0 0 22px;
  color: #f6f8fc;
  font-size: clamp(58px, 5.6vw, 94px);
  font-weight: 800;
  letter-spacing: -.067em;
  line-height: .99;
}

.masthead h1 span {
  display: inline;
  color: #225cfa;
}

.masthead-copy > p:last-child {
  margin: 0;
  max-width: 37ch;
  color: #d0d9e7;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.action-dock {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 36px));
  margin: -72px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #292929;
  border-top: 3px solid #225cfa;
  background: #121212;
  box-shadow: 0 16px 35px #0004;
}

.dock-link {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 90px;
  padding: 18px 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #f6f8fc;
}

.dock-link:focus-visible {
  outline-offset: -4px;
}

.dock-link + .dock-link {
  border-left: 1px solid #292929;
}

.dock-link svg {
  width: 32px;
  height: 32px;
  color: #225cfa;
}

.dock-link b {
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.dock-link:hover, .dock-link:focus-visible {
  background: #212121;
}

.route-feature {
  padding-block: clamp(55px, 5.5vw, 86px);
}

.route-feature-inner {
  text-align: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(20px, 3vw, 40px);
}

.route-portrait {
  --photo-ratio: 4 / 3;
  margin: 0;
}

@media (width > 1050px) {
  .route-portrait {
    --photo-ratio: 16 / 9;
  }
}

.route-portrait img {
  width: 100%;
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--blue);
  object-fit: cover;
  object-position: 50% 33%;
}

@media (width > 600px) {
  .route-feature-inner {
    max-width: 1040px;
  }

  .route-portrait {
    /* La altura de la fila viene del texto, independientemente de la imagen. */
    align-self: stretch;
    container-type: size;
    display: grid;
    place-items: center end;
  }

  .route-portrait img {
    width: min(100cqw, calc(100cqh * var(--photo-ratio)));
  }
}

.route-feature-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.route-feature-copy .route-kicker {
  justify-content: center;
  color: var(--accent);
  margin-bottom: 17px;
}

.route-feature-copy > p:not(.route-kicker) {
  max-width: 44ch;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 16px;
}

.route-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
}

.route-link:hover, .text-link:hover {
  text-decoration: underline;
}

