:root {
  --ink: #15201f;
  --muted: #5d6a67;
  --line: #dfe7e3;
  --paper: #fbf7ef;
  --white: #ffffff;
  --teal: #07536a;
  --teal-dark: #062d3b;
  --gold: #f3b72f;
  --coral: #d71920;
  --taxi-red: #d71920;
  --city-blue: #0b5d7a;
  --leaf: #7aa95c;
  --shadow: 0 24px 80px rgba(19, 28, 34, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--taxi-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  color: #293735;
  font-size: 0.92rem;
}

.main-nav a,
.header-cta {
  padding: 11px 15px;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(7, 93, 89, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--taxi-red), #a90f15);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 112px 24px 44px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: scale(1.02);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: hero-fade 18s infinite;
}

.slide-one {
  background-image: url("assets/taxis-aaa-hero.png");
  opacity: 1;
}

.slide-two {
  background-image: url("assets/taxis-aaa-rain.png");
  animation-delay: 6s;
}

.slide-three {
  background-image: url("assets/taxis-aaa-day.png");
  animation-delay: 12s;
}

@keyframes hero-fade {
  0%,
  29% {
    opacity: 1;
  }

  35%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 29, 0.92) 0%, rgba(7, 20, 29, 0.68) 45%, rgba(7, 20, 29, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 20, 29, 0.18) 0%, rgba(7, 20, 29, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 42px;
  align-items: end;
  width: min(1180px, 100%);
  min-height: calc(92vh - 156px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 700px;
  padding-bottom: 54px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions,
.card-head,
.footer-links,
.closing-cta {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-action,
.submit-button {
  gap: 10px;
  color: #10201d;
  background: var(--gold);
  box-shadow: 0 18px 38px rgba(244, 178, 61, 0.25);
}

.primary-action {
  padding: 0 22px;
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.booking-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.card-head h2 {
  margin: 0;
  font-size: 1.65rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0d4c33;
  background: #e4f5e8;
  font-size: 0.78rem;
  font-weight: 800;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a35d;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #263330;
  font-size: 0.84rem;
  font-weight: 900;
}

select,
input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--taxi-red) 50%),
    linear-gradient(135deg, var(--taxi-red) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

select:focus,
input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(7, 93, 89, 0.12);
}

.address-field {
  position: relative;
}

.manual-address {
  border-color: rgba(215, 25, 32, 0.28);
  background: #fff8e8;
}

.field-help {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vehicle-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6f4;
}

.vehicle-option {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.vehicle-option.active {
  color: var(--white);
  background: var(--taxi-red);
}

.quote-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 16px;
  border-radius: 8px;
  background: #eef5f1;
}

.quote-result span {
  color: var(--muted);
  font-weight: 800;
}

.quote-result strong {
  grid-row: span 2;
  align-self: center;
  color: var(--taxi-red);
  font-size: 2rem;
}

.quote-result small {
  color: var(--muted);
}

.quote-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: -22px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(20, 35, 34, 0.13);
}

.trust-strip div {
  padding: 22px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1.45rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.brand-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto 0;
}

.brand-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-gallery figure {
  margin: 0;
}

.gallery-feature,
.gallery-stack img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 62px rgba(19, 28, 34, 0.13);
}

.gallery-feature {
  position: relative;
  min-height: 420px;
}

.gallery-feature figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 420px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(6, 45, 59, 0.78);
  backdrop-filter: blur(14px);
  line-height: 1.5;
}

.gallery-feature span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.gallery-stack {
  display: grid;
  gap: 16px;
}

.gallery-stack img {
  min-height: 202px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(240px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-intro h2,
.experience-copy h2,
.closing-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-intro p:not(.eyebrow),
.experience-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.route-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: stretch;
}

.route-grid,
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.route-card,
.fleet-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(16, 33, 31, 0.06);
}

.route-card {
  display: grid;
  gap: 14px;
  min-height: 170px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.route-card:hover,
.route-card.active {
  border-color: rgba(7, 93, 89, 0.35);
  transform: translateY(-3px);
}

.route-card.active {
  background: #fff4e2;
}

.route-card span {
  color: var(--taxi-red);
  font-weight: 900;
}

.route-card strong {
  font-size: 1.2rem;
}

.route-card small {
  align-self: end;
  color: var(--muted);
}

.route-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(243, 183, 47, 0.2), transparent 34%),
    linear-gradient(135deg, var(--teal-dark), #08202b 48%, #461316);
  box-shadow: 0 24px 64px rgba(8, 34, 35, 0.2);
}

.route-panel-top strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
}

.route-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.route-stats span {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.route-stats strong {
  color: var(--white);
  font-size: 1.05rem;
}

.route-bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.panel-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #10201d;
  background: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.destination-loop {
  padding: 72px 0;
  overflow: hidden;
  background: #edf4f6;
}

.loop-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(280px, 0.75fr);
  gap: 30px;
  align-items: end;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 26px;
}

.loop-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1.04;
}

.loop-window {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.loop-window::before,
.loop-window::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(12vw, 150px);
  height: 100%;
  pointer-events: none;
}

.loop-window::before {
  left: 0;
  background: linear-gradient(90deg, #edf4f6, rgba(237, 244, 246, 0));
}

.loop-window::after {
  right: 0;
  background: linear-gradient(270deg, #edf4f6, rgba(237, 244, 246, 0));
}

.loop-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 8px 12px;
  animation: destination-scroll 34s linear infinite;
}

.loop-window:hover .loop-track {
  animation-play-state: paused;
}

.loop-track button {
  display: grid;
  gap: 8px;
  min-width: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(24, 42, 39, 0.07);
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.loop-track span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

@keyframes destination-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .route-explorer,
  .section-intro,
  .loop-head {
    grid-template-columns: 1fr;
  }
}

.experience-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 78px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(215, 25, 32, 0.28), transparent 32%),
    linear-gradient(135deg, var(--teal-dark), #172a34 58%, #2d1216);
}

.experience-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.operation-card {
  display: grid;
  gap: 14px;
}

.operation-card > img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.timeline div {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 50%;
  color: #10201d;
  background: var(--gold);
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.fleet-grid {
  grid-template-columns: repeat(3, 1fr);
}

.fleet-card {
  padding: 18px;
}

.fleet-visual {
  height: 160px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  background: #0c2632;
}

.fleet-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.fleet-card:hover .fleet-visual img {
  transform: scale(1.05);
}

.fleet-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 45, 59, 0.08), rgba(6, 45, 59, 0.5));
}

.fleet-visual::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #10201d;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fleet-visual.sedan::after {
  content: "1-3 pax";
}

.fleet-visual.suv::after {
  content: "Comfort";
}

.fleet-visual.van::after {
  content: "Grupo";
}

.fleet-card h3 {
  margin: 20px 0 8px;
}

.fleet-card p {
  min-height: 52px;
  color: var(--muted);
  line-height: 1.55;
}

.fleet-card span {
  color: var(--taxi-red);
  font-weight: 900;
}

.closing-cta {
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 38px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--taxi-red), var(--teal-dark));
}

.closing-cta .eyebrow {
  color: #ffd88a;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 5px 0 0;
}

.footer-links {
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-content,
  .section-intro,
  .experience-band {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .route-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .brand-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-stack {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand small,
  .header-cta .icon {
    display: none;
  }

  .header-cta {
    padding-inline: 13px;
  }

  .hero {
    min-height: auto;
    padding: 94px 14px 28px;
  }

  .hero-content {
    min-height: 0;
    gap: 26px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .booking-card {
    padding: 18px;
  }

  .form-grid,
  .route-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .route-stats {
    grid-template-columns: 1fr;
  }

  .gallery-feature {
    min-height: 300px;
  }

  .gallery-feature figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
    background: var(--teal-dark);
  }

  .gallery-stack {
    grid-template-columns: 1fr;
  }

  .loop-track button {
    min-width: 190px;
  }

  .section {
    padding: 64px 0;
  }

  .experience-band {
    padding-block: 58px;
  }

  .closing-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .closing-cta {
    padding: 26px;
  }
}
