/* CaboTaxi styles for shared page templates. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  --ct-ivory: #f5f0e7;
  --ct-sand: #e4d5bf;
  --ct-paper: #fffdf9;
  --ct-charcoal: #242522;
  --ct-muted: #66645d;
  --ct-ocean: #123d4a;
  --ct-ocean-strong: #0b303b;
  --ct-terracotta: #a85f43;
  --ct-terracotta-dark: #82442f;
  --ct-line: rgba(36, 37, 34, 0.16);
  --ct-line-light: rgba(255, 255, 255, 0.18);
  --ct-success: #27614f;
  --ct-error: #a23c32;
  --ct-radius-sm: 8px;
  --ct-radius: 14px;
  --ct-radius-lg: 24px;
  --ct-container: 1220px;
  --ct-gutter: clamp(18px, 3.4vw, 48px);
  --ct-display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ct-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ct-header-height: 72px;
}

html { scroll-padding-top: calc(var(--ct-header-height) + 20px); }
html.ct-menu-lock,
html.ct-menu-lock body { overflow: hidden; }

body.ct-legacy-page {
  --font-body: var(--ct-body);
  --font-display: var(--ct-display);
  --bg: var(--ct-ivory);
  --bg2: #eee7dc;
  --card: var(--ct-paper);
  --surface: #fff;
  --surface2: #faf6ef;
  --text: var(--ct-charcoal);
  --muted: var(--ct-muted);
  --muted2: #7b786f;
  --gold: var(--ct-terracotta);
  --gold2: #d3a38d;
  --border: var(--ct-line);
  --border2: rgba(36, 37, 34, 0.24);
  --shadow: 0 18px 46px rgba(41, 36, 28, 0.09), 0 3px 10px rgba(41, 36, 28, 0.05);
  --radius: var(--ct-radius);
  --radius2: var(--ct-radius-lg);
  margin: 0;
  color: var(--ct-charcoal);
  background: var(--ct-ivory);
  font-family: var(--ct-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ct-legacy-page *,
.ct-legacy-page *::before,
.ct-legacy-page *::after { box-sizing: border-box; }
.ct-legacy-page button,
.ct-legacy-page input,
.ct-legacy-page select,
.ct-legacy-page textarea { font-family: var(--ct-body); }
.ct-legacy-page img,
.ct-legacy-page svg { max-width: 100%; }
.ct-legacy-page [hidden] { display: none !important; }
.ct-legacy-page main { min-height: 45vh; }
.ct-legacy-page main::before { opacity: 0.38; }
.ct-legacy-page .container,
.ct-container {
  width: min(100%, calc(var(--ct-container) + (var(--ct-gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--ct-gutter);
}

/* Global CaboTaxi shell */
.ct-skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ct-ocean);
  border-radius: var(--ct-radius-sm);
  text-decoration: none;
  transform: translateY(-140%);
}
.ct-skip-link:focus { transform: none; }

.ct-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--ct-header-height);
  border-bottom: 1px solid rgba(36, 37, 34, 0.09);
  background: rgba(245, 240, 231, 0.96);
}
@supports (backdrop-filter: blur(12px)) {
  .ct-header { background: rgba(245, 240, 231, 0.88); backdrop-filter: blur(14px); }
}
.ct-header__inner {
  min-height: var(--ct-header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.ct-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ct-charcoal);
  text-decoration: none;
  white-space: nowrap;
}
.ct-brand__wordmark {
  display: block;
  font-family: var(--ct-display);
  font-size: 1.68rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.ct-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
}
.ct-nav a {
  position: relative;
  color: #454641;
  font-size: 0.83rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}
.ct-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--ct-terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}
.ct-nav a:hover::after,
.ct-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.ct-header__actions { display: flex; align-items: center; gap: 10px; }
.ct-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
.ct-button:hover { transform: translateY(-1px); }
.ct-button--small { min-height: 42px; padding: 10px 17px; font-size: 0.84rem; }
.ct-button--primary { color: #fff; background: var(--ct-ocean); }
.ct-button--primary:hover { background: var(--ct-ocean-strong); }
.ct-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--ct-line);
  border-radius: 50%;
  color: var(--ct-charcoal);
  background: transparent;
  cursor: pointer;
}
.ct-menu-button span { width: 17px; height: 1.5px; background: currentColor; transition: transform 160ms ease; }
.ct-menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.ct-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.ct-mobile-menu {
  position: fixed;
  z-index: 999;
  top: var(--ct-header-height);
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px var(--ct-gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--ct-ivory);
}
.ct-mobile-menu nav { display: flex; flex-direction: column; align-items: stretch; }
.ct-mobile-menu a {
  padding: 15px 2px;
  border-bottom: 1px solid var(--ct-line);
  font-family: var(--ct-display);
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  line-height: 1.15;
  text-decoration: none;
}
.ct-mobile-menu a[aria-current="page"] { color: var(--ct-terracotta-dark); }
.ct-mobile-menu .ct-mobile-menu__book {
  margin-top: 20px;
  padding: 15px 20px;
  color: #fff;
  background: var(--ct-ocean);
  border: 0;
  border-radius: 999px;
  font-family: var(--ct-body);
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
}

.ct-footer {
  padding: 64px 0 26px;
  color: #fff;
  border-top: 0;
  background: #1f211e;
}
.ct-footer__primary {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 140px);
  padding-bottom: 54px;
}
.ct-footer .ct-brand,
.ct-footer .ct-brand__wordmark { color: #fff; }
.ct-footer .ct-brand__wordmark { font-size: 1.72rem; }
.ct-footer__primary > div > p {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}
.ct-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ct-footer__nav strong,
.ct-footer__nav a { display: block; }
.ct-footer__nav strong {
  margin-bottom: 12px;
  color: #d79b83;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.ct-footer__nav a {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ct-footer__nav a:hover { color: #fff; }
.ct-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ct-line-light);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
}

/* Legacy content, expressed with CaboTaxi's palette and spacing. */
.ct-legacy-page h1,
.ct-legacy-page h2,
.ct-legacy-page h3,
.ct-legacy-page .section-title h1,
.ct-legacy-page .section-title h2,
.ct-legacy-page .hero__copy h1 {
  font-family: var(--ct-display);
  color: var(--ct-charcoal);
  letter-spacing: -0.035em;
}
.ct-legacy-page .hero { padding: clamp(32px, 4vw, 54px) 0 clamp(34px, 4.6vw, 62px); }
.ct-legacy-page .hero__card {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius-lg);
  background: var(--ct-paper);
  box-shadow: 0 22px 58px rgba(41, 36, 28, 0.1);
}
.ct-legacy-page .hero__copy { padding: clamp(28px, 4.5vw, 58px); }
.ct-legacy-page .hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4.6vw, 4.65rem);
  font-weight: 650;
  line-height: 0.98;
}
.ct-legacy-page .hero__copy p {
  max-width: 58ch;
  margin-bottom: 18px;
  color: var(--ct-muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}
.ct-legacy-page .hero__media {
  min-height: 430px;
  aspect-ratio: auto;
  border: 0;
  background-color: var(--ct-sand);
}
.ct-legacy-page .hero__media::after {
  background: linear-gradient(180deg, rgba(18, 61, 74, 0.02), rgba(18, 61, 74, 0.2));
}
.ct-legacy-page .trust-row { gap: 8px; margin: 20px 0 18px; }
.ct-legacy-page .trust-chip,
.ct-legacy-page .fleet-pills span,
.ct-legacy-page .guest-reviews__themes span {
  color: #474740;
  border-color: rgba(36, 37, 34, 0.15);
  background: #f4efe5;
}
.ct-legacy-page .trust-dot { background: var(--ct-terracotta); box-shadow: 0 0 0 3px rgba(168, 95, 67, 0.12); }

.ct-legacy-page .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}
.ct-legacy-page .btn--primary { color: #fff; border-color: var(--ct-ocean); background: var(--ct-ocean); }
.ct-legacy-page .btn--primary:hover { border-color: var(--ct-ocean-strong); background: var(--ct-ocean-strong); }
.ct-legacy-page .btn--outline,
.ct-legacy-page .btn--subtle { color: var(--ct-charcoal); border-color: var(--ct-line); background: transparent; }
.ct-legacy-page .btn--outline:hover,
.ct-legacy-page .btn--subtle:hover { border-color: var(--ct-ocean); color: var(--ct-ocean); background: rgba(18, 61, 74, 0.04); }

.ct-legacy-page .section,
.ct-legacy-page.page-home .section,
.ct-legacy-page.page-home-theme .section { padding: clamp(54px, 7vw, 90px) 0; }
.ct-legacy-page main > .section + .section { border-top: 1px solid rgba(36, 37, 34, 0.08); }
.ct-legacy-page .section-title { margin-bottom: 28px; }
.ct-legacy-page .section-title h1,
.ct-legacy-page .section-title h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.75rem);
  font-weight: 650;
  line-height: 1;
}
.ct-legacy-page .section-title p {
  max-width: 64ch;
  color: var(--ct-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.ct-legacy-page .section-kicker,
.ct-legacy-page .fleet-kicker,
.ct-legacy-page .hero__eyebrow,
.ct-legacy-page .book-hero__eyebrow,
.ct-legacy-page .tour-hero__eyebrow,
.ct-legacy-page .review-hero__eyebrow {
  color: var(--ct-terracotta-dark);
  font-family: var(--ct-body);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ct-legacy-page .card,
.ct-legacy-page .mini-card,
.ct-legacy-page .route-card,
.ct-legacy-page .veh-card,
.ct-legacy-page .contact-card,
.ct-legacy-page .contact-privacy,
.ct-legacy-page .tour-booking-panel,
.ct-legacy-page .tour-booking-form.card {
  border-color: var(--ct-line);
  background: var(--ct-paper);
  box-shadow: 0 16px 42px rgba(41, 36, 28, 0.07);
}
.ct-legacy-page .card,
.ct-legacy-page .contact-card,
.ct-legacy-page .tour-booking-panel,
.ct-legacy-page .tour-booking-form.card { border-radius: var(--ct-radius-lg); }
.ct-legacy-page .mini-card,
.ct-legacy-page .route-card,
.ct-legacy-page .veh-card { border-radius: var(--ct-radius); }
.ct-legacy-page .card-inner { padding: clamp(22px, 3vw, 36px); }
.ct-legacy-page .mini-card p,
.ct-legacy-page .route-card p,
.ct-legacy-page .veh-card p,
.ct-legacy-page .help { color: var(--ct-muted); }
.ct-legacy-page .mini-ico,
.ct-legacy-page .route-card__tag { color: var(--ct-terracotta-dark); }
.ct-legacy-page .mini-card:hover,
.ct-legacy-page .route-card:hover { border-color: rgba(168, 95, 67, 0.42); box-shadow: 0 20px 46px rgba(41, 36, 28, 0.1); }

.ct-legacy-page .field input,
.ct-legacy-page .field select,
.ct-legacy-page .field textarea {
  color: var(--ct-charcoal);
  border-color: rgba(36, 37, 34, 0.22);
  border-radius: var(--ct-radius-sm);
  background: #fff;
}
.ct-legacy-page .field input:focus,
.ct-legacy-page .field select:focus,
.ct-legacy-page .field textarea:focus {
  border-color: var(--ct-ocean);
  box-shadow: 0 0 0 3px rgba(18, 61, 74, 0.12);
}
.ct-legacy-page .steps-dot.is-active,
.ct-legacy-page .progress-bar > span { background: var(--ct-ocean); }

.ct-legacy-page.page-fleet .section:first-of-type .container,
.ct-legacy-page.page-404 .section:first-of-type .container {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius-lg);
  background: #f8f3eb;
  box-shadow: none;
}
.ct-legacy-page .fleet-hero__aside { color: #fff; border-color: transparent; background: var(--ct-ocean); }
.ct-legacy-page .fleet-hero__aside p { color: rgba(255, 255, 255, 0.7); }
.ct-legacy-page .veh-card__media { background-color: var(--ct-sand); }
.ct-legacy-page .fleet-rates { border-color: var(--ct-line); background: #f7f2e9; }

.ct-legacy-page .contact-card { background: var(--ct-ocean); }
.ct-legacy-page .contact-card h3,
.ct-legacy-page .contact-card .contact-meta__value { color: #fff; }
.ct-legacy-page .contact-card p,
.ct-legacy-page .contact-card .contact-meta__label { color: rgba(255, 255, 255, 0.68); }
.ct-legacy-page .contact-card__eyebrow { color: #efbda8; }
.ct-legacy-page .contact-card .btn--primary { color: var(--ct-charcoal); border-color: #fff; background: #fff; }
.ct-legacy-page .contact-card .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.ct-legacy-page .route-detail-breadcrumb,
.ct-legacy-page .tour-detail-breadcrumb { padding-top: 22px; color: var(--ct-muted); }
.ct-legacy-page .route-detail-breadcrumb a,
.ct-legacy-page .tour-detail-breadcrumb a { color: var(--ct-ocean); }
.ct-legacy-page .tour-confirmation__payment,
.ct-legacy-page .tour-confirmation__ticket { border-color: var(--ct-line); background: var(--ct-paper); }

.ct-legacy-page.page-tip .tip-page-main { background: var(--ct-ivory); }
.ct-legacy-page.page-tip .tip-card { border-color: var(--ct-line); box-shadow: 0 22px 58px rgba(41, 36, 28, 0.1); }

@media (max-width: 1040px) {
  .ct-nav { gap: 16px; }
  .ct-nav a { font-size: 0.76rem; }
}

@media (max-width: 900px) {
  :root { --ct-header-height: 66px; }
  .ct-nav { display: none; }
  .ct-header__inner { grid-template-columns: auto 1fr auto; }
  .ct-header__actions { grid-column: 3; }
  .ct-menu-button { display: flex; }
  .ct-footer__primary { grid-template-columns: 1fr; gap: 38px; }
  .ct-legacy-page .hero__card { grid-template-columns: 1fr; }
  .ct-legacy-page .hero__media { min-height: 330px; }
}

@media (max-width: 680px) {
  :root { --ct-gutter: 18px; }
  .ct-brand__wordmark { font-size: 1.45rem; }
  .ct-header__inner { gap: 9px; }
  .ct-header__book { min-height: 39px; padding: 9px 13px; font-size: 0.74rem; }
  .ct-header__actions { gap: 7px; }
  .ct-footer { padding-top: 48px; }
  .ct-footer__primary { padding-bottom: 38px; }
  .ct-footer__nav { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ct-footer__nav > div:last-child { grid-column: 1 / -1; }
  .ct-footer__bottom { flex-direction: column; gap: 5px; }
  .ct-legacy-page .hero { padding: 20px 0 34px; }
  .ct-legacy-page .hero__card { border-radius: 18px; }
  .ct-legacy-page .hero__copy { padding: 26px 22px 28px; }
  .ct-legacy-page .hero__copy h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .ct-legacy-page .hero__media { min-height: 260px; }
  .ct-legacy-page .section,
  .ct-legacy-page.page-home .section,
  .ct-legacy-page.page-home-theme .section { padding: 48px 0; }
  .ct-legacy-page .section-title { align-items: flex-start; flex-direction: column; }
  .ct-legacy-page .section-title h1,
  .ct-legacy-page .section-title h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .ct-legacy-page .btn { width: 100%; }
  .ct-legacy-page .hero__cta { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .ct-header__book { display: none; }
  .ct-brand__wordmark { font-size: 1.32rem; }
  .ct-footer__nav { grid-template-columns: 1fr; }
  .ct-footer__nav > div:last-child { grid-column: auto; }
}
