:root {
  --bg-navy: #0f213f;
  --bg-navy-soft: #17396b;
  --bg-card: rgba(255, 255, 255, 0.96);
  --text-light: #f7f4ef;
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-dark: #172640;
  --accent-red: #e52a23;
  --accent-yellow: #ffcc57;
  --border-soft: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 30px 70px rgba(7, 20, 40, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(180deg, #0a1730 0%, #10254b 100%);
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 26, 50, 0.92);
  border-bottom: 1px solid var(--border-soft);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-menu {
  display: contents;
}

.nav-overlay {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-phone:hover,
.nav-phone:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(229, 42, 35, 0.2);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(229, 42, 35, 0.3);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c63ba, #1a4a94);
  box-shadow: 0 8px 18px rgba(44, 99, 186, 0.35);
}

.nav-phone-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-phone-text small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-phone-text strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-phone-icon--whatsapp {
  width: 44px;
  height: 44px;
  background: transparent;
  box-shadow: none;
}

.nav-phone-icon--whatsapp img {
  width: 44px;
  height: 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 92px);
  background:
    linear-gradient(90deg, rgba(7, 20, 40, 0.86) 10%, rgba(18, 57, 108, 0.52) 100%),
    radial-gradient(circle at 85% 20%, rgba(82, 133, 225, 0.38), transparent 35%),
    url("https://trailtravel.com.mx/wp-content/uploads/2026/02/trail-travel-servicio-de-autobus.jpg")
      center/cover no-repeat;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 23, 48, 0.1) 0%, rgba(10, 23, 48, 0.55) 100%),
    radial-gradient(circle at left bottom, rgba(255, 204, 87, 0.08), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 88px 0 72px;
}

.hero-copy {
  max-width: 980px;
}

.availability-pill {
  width: fit-content;
  margin: 0 0 28px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef3fb;
  font-weight: 600;
}

.pill-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: #47be67;
  box-shadow: 0 0 0 6px rgba(71, 190, 103, 0.14);
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  word-spacing: 0.08em;
  font-weight: 800;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--accent-yellow);
}

.hero-text {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.8rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.iframe-shell {
  border-radius: 26px;
  height: 20rem;
  padding: 1rem;
  margin-top: 5rem;
}

.iframe-shell iframe {
  display: block;
  border: 0;
}

.info-strip {
  padding: 42px 0 70px;
  background: linear-gradient(180deg, #0e1f3e 0%, #0a1730 100%);
}

.app-showcase {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at 15% 50%, rgba(72, 126, 225, 0.18), transparent 30%),
    linear-gradient(90deg, #0f213f 0%, #1a3d74 100%);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 360px;
  padding: 0;
  border-radius: 56px;
  background: transparent;
  box-shadow: none;
}

.phone-notch {
  display: none;
}

.phone-screen {
  min-height: 700px;
  border-radius: 56px;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 56px;
  animation: phone-bounce 2s ease-in-out infinite;
}

.app-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  word-spacing: 0.06em;
}

.app-copy h2 span {
  color: var(--accent-yellow);
}

.app-copy p {
  max-width: 820px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.7;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.24s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-5px);
}

.store-image {
  width: 170px;
  height: auto;
  display: block;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-grid article {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-grid h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.info-grid p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phone-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.fleet-section {
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 50% 100%, rgba(38, 86, 164, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  color: var(--text-dark);
}

.fleet-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.fleet-heading p {
  margin: 0 0 14px;
  color: #2c63ba;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fleet-heading h2 {
  margin: 0;
  color: #102448;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  word-spacing: 0.05em;
}

.fleet-heading span {
  display: block;
  margin-top: 20px;
  color: #5e6d86;
  font-size: 1.15rem;
  line-height: 1.6;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fleet-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(26, 50, 95, 0.12);
  border: 2px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.fleet-card:hover,
.fleet-card:focus-within {
  transform: translateY(-10px);
  border-color: #2c63ba;
  box-shadow: 0 34px 70px rgba(26, 50, 95, 0.18);
}

.fleet-card img {
  width: 100%;
  height: 276px;
  display: block;
  object-fit: cover;
}

.fleet-card-body {
  padding: 28px 30px 30px;
}

.fleet-card-body h3 {
  margin: 0;
  color: #102448;
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.fleet-card-body p {
  margin: 12px 0 22px;
  color: #2c63ba;
  font-weight: 700;
}

.fleet-card-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: #4c5b74;
  font-size: 1.05rem;
}

.fleet-card-body li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}

.fleet-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef3d30;
  font-weight: 800;
}

.locations-section {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  color: var(--text-dark);
}

.locations-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.locations-heading p {
  margin: 0 0 12px;
  color: #2c63ba;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.locations-heading h2 {
  margin: 0;
  color: #102448;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  word-spacing: 0.05em;
}

.locations-heading span {
  display: block;
  margin-top: 14px;
  color: #64738c;
}

.locations-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 42px 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(26, 50, 95, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, #2c63ba, #1a4a94);
}

.location-card:hover,
.location-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(26, 50, 95, 0.16);
}

.location-card h3 {
  margin: 0 0 24px;
  min-height: 2.4em;
  color: #102448;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-spacing: 0.04em;
  text-transform: uppercase;
}

.location-card p,
.location-card span {
  display: flex;
  align-items: center;
  margin: 0 0 6px;
  color: #5d6d86;
  font-size: 1rem;
  line-height: 1.65;
  gap: 10px;
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin-right: 0;
  box-sizing: border-box;
  border-radius: 12px;
  background: linear-gradient(135deg, #2c63ba, #1a4a94);
}

.location-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin-top: 1rem;
  padding: 22px 24px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2c63ba, #1a4a94);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.location-button .location-button-label,
.location-button .location-button-arrow {
  display: flex;
  align-items: center;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.location-button .location-button-label {
  font-weight: 800;
}

.location-button .location-button-arrow {
  font-size: 1rem;
  transition: transform 0.24s ease;
}

.location-button:hover .location-button-arrow {
  transform: translateX(4px);
}

.location-button:hover,
.location-button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(44, 99, 186, 0.28);
}

.support-band {
  padding: 42px 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 98, 98, 0.25), transparent 22%),
    linear-gradient(90deg, #e12121 0%, #d61c1c 100%);
}

.support-band-content {
  text-align: center;
}

.support-band-content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  word-spacing: 0.05em;
}

.support-band-content p {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, 0.84);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2fe06d 0%, #1fc45a 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(22, 203, 88, 0.32);
  text-transform: uppercase;
  font-size: 0.92rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 36px rgba(22, 203, 88, 0.38);
  filter: brightness(1.03);
}

.site-footer {
  padding: 38px 0 24px;
  background: #0f213f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-brand-link {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 360px;
  margin: 14px 0 0;
  line-height: 1.7;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.46);
}

@media (max-width: 1100px) {
  .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 16px 0;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 70;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 26, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
    z-index: 55;
  }

  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    padding: 110px 28px 40px;
    background: rgba(11, 26, 50, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: -24px 0 48px rgba(5, 12, 26, 0.5);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    z-index: 60;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .nav-phone {
    width: 100%;
  }

  .hero-content {
    padding-top: 56px;
  }

  .search-card {
    padding: 22px;
  }

  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .locations-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-copy {
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .brand-text {
    font-size: 1.3rem;
  }

  .brand-logo {
    height: 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
    white-space: normal;
  }

  .hero-text {
    font-size: 1rem;
  }

  .search-card {
    margin-top: 34px;
    padding: 18px;
    border-radius: 24px;
  }

  .search-tabs {
    flex-wrap: wrap;
  }

  .search-tabs span {
    width: 100%;
    text-align: center;
  }

  .iframe-shell {
    overflow: hidden;
    border-radius: 18px;
    height: 512px;
  }

  .iframe-shell iframe {
    width: 125%;
    height: 640px;
    transform: scale(0.8);
    transform-origin: top left;
  }

  .app-showcase {
    padding: 58px 0 42px;
  }

  .phone-mockup {
    width: min(100%, 360px);
  }

  .phone-screen {
    min-height: 620px;
    border-radius: 48px;
  }

  .phone-screen-image {
    border-radius: 48px;
  }

  .app-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .fleet-section {
    padding: 64px 0 56px;
  }

  .fleet-heading {
    margin-bottom: 34px;
  }

  .fleet-heading h2 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .fleet-heading span {
    font-size: 1rem;
  }

  .locations-section {
    padding: 62px 0 52px;
  }

  .locations-heading {
    margin-bottom: 28px;
  }

  .support-band {
    padding: 34px 0;
  }

  .location-card {
    padding: 24px 24px 22px;
    border-radius: 24px;
  }

  .location-card h3 {
    margin-bottom: 18px;
    font-size: 1.45rem;
  }

  .location-card p,
  .location-card span {
    margin-bottom: 14px;
    font-size: 0.96rem;
  }

  .location-button {
    margin-top: 12px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }
}

.services-page {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  color: var(--text-dark);
}

.services-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.services-intro p {
  margin: 0 0 14px;
  color: #2c63ba;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-intro h1 {
  margin: 0;
  color: #102448;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.services-intro span {
  display: block;
  margin-top: 20px;
  color: #5e6d86;
  font-size: 1.15rem;
  line-height: 1.6;
}

.service-block {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-top: 0;
  padding-top: 96px;
}

.service-block-alt {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.service-block:first-of-type {
  padding-top: 0;
}

.service-block + .service-block {
  border-top: 1px solid rgba(16, 36, 72, 0.08);
}

.service-block img {
  position: sticky;
  top: 112px;
  width: 100%;
  height: 460px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 30px 64px rgba(26, 50, 95, 0.16);
}

.service-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(44, 99, 186, 0.1);
  color: #2c63ba;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-copy h2 {
  margin: 0 0 16px;
  color: #102448;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: -0.02em;
}

.service-copy h3 {
  margin: 40px 0 16px;
  color: #102448;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-lead {
  margin: 0;
  max-width: 640px;
  color: #4c5b74;
  font-size: 1.1rem;
  line-height: 1.65;
}

.service-footnote {
  margin: 10px 0 0;
  color: #8a97ac;
  font-size: 0.85rem;
  font-style: italic;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  color: #4c5b74;
  font-size: 1.02rem;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef3d30;
  font-weight: 800;
}

.service-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-routes > div {
  padding: 22px 24px;
  border-radius: 20px;
  background: #f6f8fc;
}

.service-routes h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.service-routes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4c5b74;
  display: grid;
  gap: 8px;
}

.service-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 204, 87, 0.16);
  color: #8a5c00;
  font-weight: 600;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(26, 50, 95, 0.1);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.98rem;
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}

.price-table thead th {
  background: #102448;
  color: #ffffff;
  font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
  background: #f6f8fc;
}

.price-table tbody td {
  color: #2c3a54;
}

.schedule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #4c5b74;
}

.schedule-list li {
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.schedule-list li::before {
  content: "🕒";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.contact-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(26, 50, 95, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--contact-accent, #2c63ba);
}

.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(26, 50, 95, 0.16);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--contact-accent, #2c63ba);
  box-shadow: 0 14px 28px var(--contact-accent-shadow, rgba(44, 99, 186, 0.32));
  transition: transform 0.28s ease;
}

.contact-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

.contact-card:hover .contact-icon {
  transform: scale(1.08) rotate(-4deg);
}

.contact-card h3 {
  margin: 0 0 10px;
  color: #102448;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.contact-card p {
  margin: 0 0 26px;
  color: #5d6d86;
  font-size: 1.05rem;
  line-height: 1.6;
  word-break: break-word;
}

.contact-card:last-child p {
  margin-bottom: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--contact-accent, #2c63ba);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.contact-button-label,
.contact-button-arrow {
  display: flex;
  align-items: center;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.contact-button-label {
  font-weight: 800;
}

.contact-button-arrow {
  font-size: 1rem;
  transition: transform 0.24s ease;
}

.contact-button:hover .contact-button-arrow {
  transform: translateX(4px);
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px var(--contact-accent-shadow, rgba(44, 99, 186, 0.32));
}

.contact-card-mail,
.contact-card-tourism,
.contact-card-phone,
.contact-card-address {
  --contact-accent: linear-gradient(135deg, #2c63ba, #1a4a94);
  --contact-accent-shadow: rgba(44, 99, 186, 0.32);
}

@media (max-width: 1100px) {
  .service-block,
  .service-block-alt {
    grid-template-columns: 1fr;
  }

  .service-block img {
    position: static;
    height: 280px;
  }

  .service-routes,
  .check-list {
    grid-template-columns: 1fr;
  }
}

.routes-section {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  color: var(--text-dark);
}

.routes-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.routes-heading p {
  margin: 0 0 12px;
  color: #2c63ba;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.routes-heading h2 {
  margin: 0;
  color: #102448;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  word-spacing: 0.05em;
}

.routes-heading span {
  display: block;
  margin-top: 14px;
  color: #64738c;
}

.routes-columns {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.routes-column {
  padding: 32px 34px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(26, 50, 95, 0.1);
}

.routes-column h3 {
  margin: 0 0 16px;
  color: #102448;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.routes-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #4c5b74;
  font-size: 1.02rem;
}

.routes-column li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}

.routes-column li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef3d30;
  font-weight: 800;
}

.routes-schedules {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.schedule-card {
  padding: 32px 34px;
  border-radius: 24px;
  background: #f6f8fc;
  border: 1px solid rgba(44, 99, 186, 0.15);
}

.schedule-card h3 {
  margin: 0 0 16px;
  color: #102448;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.schedule-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #4c5b74;
  font-size: 0.98rem;
  line-height: 1.5;
}

.routes-cta {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.routes-cta a {
  color: #2c63ba;
  font-weight: 700;
  text-decoration: none;
}

.routes-cta a:hover,
.routes-cta a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .routes-columns,
  .routes-schedules {
    grid-template-columns: 1fr;
  }
}

.legal-page {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  color: var(--text-dark);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-heading {
  margin: 0 0 40px;
}

.legal-heading p {
  margin: 0 0 12px;
  color: #2c63ba;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-heading h1 {
  margin: 0;
  color: #102448;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-body {
  color: #3c4a63;
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-body h2 {
  margin: 40px 0 12px;
  color: #102448;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.legal-body h3 {
  margin: 28px 0 10px;
  color: #102448;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.legal-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.legal-body p {
  margin: 0 0 16px;
}

.legal-body ol {
  margin: 0 0 32px;
  padding-left: 22px;
  display: grid;
  gap: 20px;
}

.legal-body ol li {
  padding-left: 6px;
}

.legal-body ol li p {
  margin: 10px 0 0;
}

.legal-body a {
  color: #2c63ba;
  font-weight: 700;
  text-decoration: underline;
}

.legal-highlight {
  font-weight: 800;
  color: #102448;
  letter-spacing: 0.02em;
}

.legal-contact-box {
  margin: 8px 0 44px;
  padding: 26px 30px;
  border-radius: 20px;
  background: #f6f8fc;
  border: 1px solid rgba(44, 99, 186, 0.15);
}

.legal-contact-box p {
  margin: 0 0 8px;
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.legal-note {
  color: #64738c;
  font-size: 0.95rem;
}

.legal-download-wrap {
  text-align: center;
  margin-top: 48px;
}

.legal-download-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c63ba, #1a4a94);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(44, 99, 186, 0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.legal-download-button:hover,
.legal-download-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(44, 99, 186, 0.34);
}
