/* Cabo Transportations v3.3 — cohesive brand pass.
   Keeps the archival sky, destination collage and original logo, while using
   one contemporary type, spacing, color and component system site-wide. */

:root {
  --brand-navy: #3f5f78;
  --brand-navy-deep: #29465f;
  --brand-teal: #5daeb6;
  --brand-teal-dark: #427f89;
  --brand-teal-pale: #edf7f7;
  --brand-coral: #ef3a2f;
  --brand-coral-dark: #d83027;
  --brand-ink: #223249;
  --brand-muted: #617178;
  --brand-paper: #ffffff;
  --brand-soft: #f5f9f9;
  --brand-line: #cbdadd;
  --ink: var(--brand-ink);
  --ink-deep: var(--brand-navy-deep);
  --ink-soft: var(--brand-navy);
  --paper: var(--brand-paper);
  --sand: var(--brand-teal-pale);
  --sand-deep: #d6e9ea;
  --gold: var(--brand-coral);
  --gold-light: #bce3e6;
  --sage: var(--brand-teal);
  --muted: var(--brand-muted);
  --line: rgba(63, 95, 120, 0.18);
  --shadow-sm: 0 8px 24px rgba(34, 50, 73, 0.08);
  --shadow-lg: 0 22px 52px rgba(34, 50, 73, 0.16);
  --serif: "FCC Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "FCC Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ac-sans: var(--sans);
  --rf-sans: var(--sans);
}

html {
  scroll-padding-top: 105px;
}

body,
body:not(.cabo-admin-ui) {
  color: var(--brand-ink);
  background: var(--brand-paper);
  font-family: var(--sans);
}

h1,
h2,
h3,
h4,
.faq-list summary {
  font-family: var(--sans) !important;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.eyebrow,
.kicker,
.service-card__number,
.fleet-card__title span {
  color: var(--brand-teal-dark);
}

.eyebrow,
.kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.eyebrow--light,
.section--navy .kicker {
  color: #bfe4e7;
}

.button,
.footer-button,
.mobile-conversion-bar a {
  border-radius: 7px;
}

.button--action,
.button--gold,
.mobile-book,
.footer-button {
  color: #fff !important;
  background: var(--brand-coral);
  border-color: var(--brand-coral);
  box-shadow: 0 6px 16px rgba(216, 48, 39, 0.2);
}

.button--action:hover,
.button--gold:hover,
.mobile-book:hover,
.footer-button:hover {
  background: var(--brand-coral-dark);
  border-color: var(--brand-coral-dark);
  box-shadow: 0 4px 12px rgba(216, 48, 39, 0.18);
}

/* Header: the sky and logo remain, but navigation becomes quiet and flat. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--brand-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.76)),
    url("../images/archive-theme/header-sky.jpg") center 44% / cover no-repeat;
  border: 0;
  border-bottom: 1px solid rgba(63, 95, 120, 0.16);
  box-shadow: 0 5px 20px rgba(34, 50, 73, 0.08);
  backdrop-filter: blur(8px);
}

.header__inner {
  min-height: 88px;
  gap: 28px;
}

.brand__logo {
  width: 188px;
}

.primary-nav {
  gap: 5px;
}

.primary-nav > a {
  min-height: 42px;
  padding: 0 11px;
  color: var(--brand-navy-deep);
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  text-shadow: none;
}

.primary-nav > a:not(.nav-cta)::after {
  right: 11px;
  bottom: 5px;
  left: 11px;
  display: block;
  height: 2px;
  background: var(--brand-teal);
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible {
  color: var(--brand-navy-deep);
  background: rgba(255, 255, 255, 0.52);
}

.primary-nav .nav-cta {
  min-height: 43px;
  margin-left: 7px;
  padding: 0 17px;
  color: #fff;
  background: var(--brand-coral);
  border: 0;
  border-radius: 7px;
  box-shadow: 0 6px 15px rgba(216, 48, 39, 0.2);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--brand-coral-dark);
}

.topbar {
  color: rgba(255, 255, 255, 0.88);
  background: var(--brand-navy-deep);
  border: 0;
}

.topbar__inner {
  min-height: 34px;
  justify-content: flex-end;
  gap: 24px;
  font-size: 10px;
}

.topbar__inner > div {
  gap: 22px;
}

.topbar p span,
.topbar a span {
  margin-right: 5px;
  color: #bfe4e7;
  font-size: 12px;
}

/* Home hero: one message, one clear booking surface. */
.home-hero {
  min-height: 680px;
  color: #fff;
  background: #dceff0;
}

.home-hero__image {
  inset: 22px 40% 22px 0;
  width: auto;
  height: auto;
  background-color: var(--brand-teal);
  background-image: url("../images/archive-theme/hero-collage.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero__overlay {
  inset: 22px 40% 22px 0;
  width: auto;
  height: auto;
  display: block;
  background: linear-gradient(90deg, rgba(34, 50, 73, 0.18), rgba(34, 50, 73, 0.03) 55%, rgba(34, 50, 73, 0.22));
}

body.home-page .home-hero__content,
.home-hero__content {
  min-height: 680px;
  padding-block: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 28px;
}

.hero-copy {
  width: min(520px, 94%);
  min-height: 455px;
  margin: 0;
  padding: 44px;
  justify-content: center;
  color: #fff;
  background: rgba(41, 70, 95, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(34, 50, 73, 0.22);
  text-align: left;
}

.hero-copy .eyebrow {
  margin-bottom: 13px;
  color: #bfe4e7;
  font-size: 10px;
}

body.home-page .home-hero .hero-copy h1,
.hero-copy h1,
.hero-copy h1:last-child {
  max-width: 460px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(39px, 4vw, 52px);
  font-weight: 730;
  line-height: 1.02;
}

.hero-copy > p:not(.eyebrow),
.hero-copy > p:not(.eyebrow):not(.archive-hero-quote) {
  max-width: 450px;
  margin: 0 0 23px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.hero-actions {
  margin-bottom: 20px;
  justify-content: flex-start;
  gap: 10px;
}

.hero-actions .button {
  min-height: 49px;
  padding-inline: 18px;
  border-radius: 7px;
  font-size: 11px;
}

.button--outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.55);
}

.button--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.hero-points {
  justify-content: flex-start;
  gap: 8px 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.hero-points span {
  color: #bfe4e7;
}

.home-hero__wizard {
  width: 100%;
  padding-top: 0;
}

/* Wizard: same surface language as the surrounding site. */
#booking.acw {
  color: var(--brand-ink);
  font-family: var(--sans);
}

#booking.acw .acw-main,
body.home-page .home-hero__wizard #booking.acw .acw-main {
  overflow: visible;
  border: 1px solid #b9cdd0;
  border-top: 1px solid #b9cdd0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(34, 50, 73, 0.15);
}

#booking.acw .wizard-intro {
  min-height: 70px;
  padding: 13px 18px;
  background: var(--brand-navy-deep);
  border-bottom: 3px solid var(--brand-teal);
  border-radius: 9px 9px 0 0;
}

#booking.acw .wizard-intro__mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  color: var(--brand-navy-deep);
}

#booking.acw .wizard-intro h2,
#booking.acw .ac-route-group__heading h4,
#booking.acw .ac-schedule-heading h4,
#booking.acw .wtitle,
#booking.acw .price__head h3,
#booking.acw .veh__name,
#booking.acw .estimate__total {
  font-family: var(--sans) !important;
  font-weight: 700;
}

#booking.acw .wizard-intro h2 {
  font-size: 23px;
}

#booking.acw .acw-steps {
  background: #f3f8f8;
}

#booking.acw .wstep,
#booking.acw .wstep__num {
  font-family: var(--sans);
}

#booking.acw .acw-body {
  padding: 22px;
}

#booking.acw .ac-route-row--destination,
#booking.acw .ac-route-group--schedule,
#booking.acw .contact-details__group {
  border-radius: 8px;
  background: #f7fbfb;
}

#booking.acw .field :where(input:not([type="radio"]):not([type="checkbox"]), select, textarea),
#booking.acw .datetime-display,
#booking.acw .toggle,
#booking.acw .qty-stepper,
#booking.acw .airport-disclosure,
#booking.acw .selected-pill,
#booking.acw .search-results,
#booking.acw .booking-notes {
  border-radius: 7px;
}

#booking.acw .acw-route > .wactions,
#booking.acw .ac-route-cta {
  border-radius: 8px;
  background: #edf6f6;
}

#booking.acw .btn {
  border-radius: 7px;
}

#booking.acw .veh {
  border-radius: 9px;
}

#booking.acw .acw-summary-card {
  padding: 21px;
  border: 1px solid #b9cdd0;
  border-top: 4px solid var(--brand-teal);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(34, 50, 73, 0.1);
}

#booking.acw .estimate__line--total {
  border-radius: 7px;
}

body.home-page .home-hero__wizard #booking.acw .wizard-intro {
  min-height: 62px;
  padding: 10px 14px;
}

body.home-page .home-hero__wizard #booking.acw .wizard-intro h2 {
  font-size: 20px;
}

body.home-page .home-hero__wizard #booking.acw .acw-body {
  padding: 14px;
}

/* The dedicated booking page gets straight to the steps. */
.booking-hero {
  background: var(--brand-navy-deep);
}

.booking-hero__inner {
  min-height: 118px;
  padding-block: 22px;
  align-items: center;
  gap: 48px;
}

.booking-hero .eyebrow {
  margin-bottom: 8px;
}

.booking-hero h1 {
  font-size: clamp(30px, 3.3vw, 40px);
  font-weight: 700;
}

.booking-hero__inner > p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

body.booking-page .airport-wizard-page {
  padding: 34px 0 72px;
  background: #f3f8f8;
}

body.booking-page #booking.acw .wizard-intro {
  display: none;
}

body.booking-page #booking.acw .acw-steps {
  border-radius: 9px 9px 0 0;
}

/* Consistent rhythm and surfaces below the fold. */
.confidence-strip {
  background: var(--brand-navy-deep);
}

.confidence-grid {
  min-height: 104px;
}

.confidence-grid > div {
  padding-block: 20px;
}

.trust-check {
  color: var(--brand-navy-deep);
  background: #bfe4e7;
}

.traveler-proof {
  background: #223c53;
}

.traveler-proof__inner {
  min-height: 126px;
}

.traveler-proof blockquote p {
  font-family: var(--sans);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.traveler-proof__inner > a {
  color: #bfe4e7;
}

.section {
  padding-block: 76px;
}

.section--paper,
.journey-section,
.faq-section {
  background: #fff;
}

.section--sand {
  background: var(--brand-teal-pale);
}

.section--navy,
.included-section {
  background: var(--brand-navy);
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading h2,
.journey-copy h2,
.faq-intro h2,
.included-layout h2,
.closing-cta h2 {
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading > p:not(.eyebrow),
.split-heading > p,
.journey-copy > p:not(.eyebrow),
.faq-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
}

.service-card,
.route-card,
.fleet-card {
  border: 1px solid rgba(63, 95, 120, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.service-card {
  min-height: 330px;
}

.service-card--featured {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(41, 70, 95, 0.95), rgba(63, 95, 120, 0.87)),
    url("../images/real/suburban-resort-arrival.webp") center / cover;
}

.service-card h3,
.fleet-card__title h3,
.route-card h3 {
  font-weight: 700;
}

.route-card {
  border: 1px solid rgba(66, 127, 137, 0.34);
  background: rgba(255, 255, 255, 0.82);
}

.route-card__line span {
  background: var(--brand-teal-dark);
}

.route-card__line i {
  background: repeating-linear-gradient(90deg, var(--brand-teal-dark) 0 5px, transparent 5px 10px);
}

.route-card h3 span,
.route-card button,
.fleet-card__conversion a,
.faq-intro a {
  color: var(--brand-navy);
}

.fleet-card {
  overflow: hidden;
}

.fleet-card__image > span {
  color: #fff;
  background: rgba(66, 127, 137, 0.92);
  border-radius: 5px;
}

.fleet-card__conversion strong {
  font-family: var(--sans);
  font-weight: 750;
}

.journey-steps li > span {
  color: #fff;
  background: var(--brand-teal-dark);
  font-family: var(--sans);
}

body .button--navy {
  color: #fff !important;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.faq-list {
  border-top-color: var(--line);
}

.faq-list details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.faq-list summary {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.closing-cta {
  padding-block: 72px;
  background:
    linear-gradient(90deg, rgba(41, 70, 95, 0.97), rgba(63, 95, 120, 0.84)),
    url("../images/archive-theme/hero-collage.jpg") center / cover;
}

.site-footer,
.funnel-footer {
  background: var(--brand-navy-deep);
}

.brand__logo--footer {
  width: 168px;
}

.whatsapp-float span {
  background: var(--brand-teal-dark);
}

@media (max-width: 1100px) {
  .brand__logo {
    width: 174px;
  }

  .primary-nav > a {
    padding-inline: 8px;
    font-size: 11px;
  }

  body.home-page .home-hero__content,
  .home-hero__content {
    grid-template-columns: minmax(0, 0.75fr) minmax(500px, 1.25fr);
    gap: 20px;
  }

  .hero-copy {
    width: 100%;
    padding: 34px;
  }
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: none;
  }

  .header__inner {
    min-height: 82px;
  }

  .brand__logo {
    width: 174px;
  }

  .nav-toggle {
    display: block;
    border: 1px solid rgba(63, 95, 120, 0.22);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.66);
  }

  .nav-toggle > span:not(.sr-only) {
    height: 2px;
    background: var(--brand-navy-deep);
  }

  .primary-nav {
    top: var(--mobile-nav-top, 82px);
    padding: 24px;
    align-items: stretch;
    gap: 0;
    background: rgba(41, 70, 95, 0.99);
  }

  .primary-nav > a,
  .primary-nav .nav-cta {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 15px 4px;
    justify-content: flex-start;
    color: #fff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 650;
    text-shadow: none;
  }

  .primary-nav > a:hover,
  .primary-nav > a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .primary-nav .nav-cta {
    min-height: 52px;
    margin-top: 18px;
    padding-inline: 18px;
    justify-content: center;
    background: var(--brand-coral);
    border: 0;
    border-radius: 7px;
    font-size: 13px;
  }

  .topbar__inner {
    min-height: 34px;
    justify-content: center;
  }

  .topbar__inner > div {
    display: flex;
  }

  .topbar__inner p {
    display: none;
  }

  .home-hero {
    min-height: auto;
    background: #dceff0;
  }

  .home-hero__image,
  .home-hero__overlay {
    inset: 0 0 auto;
    width: 100%;
    height: 520px;
  }

  .home-hero__image {
    background-position: center;
    background-size: cover;
  }

  .home-hero__overlay {
    display: block;
    background: linear-gradient(180deg, rgba(34, 50, 73, 0.08), rgba(34, 50, 73, 0.22));
  }

  body.home-page .home-hero__content,
  .home-hero__content {
    min-height: auto;
    padding-block: 28px 42px;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy {
    width: min(650px, 100%);
    min-height: 464px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 12px;
  }

  .home-hero__wizard {
    max-width: 720px;
    margin-inline: auto;
  }

  .booking-hero__inner {
    min-height: 126px;
    padding-block: 20px;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .booking-hero__inner > p {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 24px, 1200px);
  }

  .header__inner {
    min-height: 76px;
  }

  .brand__logo {
    width: 158px;
  }

  .topbar__inner {
    min-height: 32px;
  }

  .topbar__inner > div {
    width: 100%;
    justify-content: center;
    gap: 7px 14px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .home-hero__image,
  .home-hero__overlay {
    height: 420px;
  }

  .home-hero__image {
    background-position: center top;
    background-size: auto 420px;
  }

  body.home-page .home-hero__content,
  .home-hero__content {
    padding-block: 18px 28px;
    gap: 24px;
  }

  .hero-copy {
    min-height: 402px;
    padding: 28px 24px;
  }

  body.home-page .home-hero .hero-copy h1,
  .hero-copy h1,
  .hero-copy h1:last-child {
    margin-bottom: 15px;
    font-size: clamp(34px, 10.6vw, 43px);
    line-height: 1.02;
  }

  .hero-copy > p:not(.eyebrow),
  .hero-copy > p:not(.eyebrow):not(.archive-hero-quote) {
    margin-bottom: 19px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    margin-bottom: 16px;
    flex-direction: row;
  }

  .hero-actions .button,
  .hero-actions .button--outline-light {
    width: auto;
    min-height: 46px;
    flex: 1 1 145px;
    padding-inline: 12px;
  }

  .hero-points {
    flex-direction: row;
    gap: 7px 13px;
  }

  #booking.acw .wizard-intro {
    border-radius: 8px 8px 0 0;
  }

  #booking.acw .acw-main,
  body.home-page .home-hero__wizard #booking.acw .acw-main {
    border-radius: 9px;
  }

  body.booking-page .airport-wizard-page {
    padding: 20px 0 54px;
  }

  .booking-hero__inner {
    min-height: 112px;
    gap: 7px;
  }

  .booking-hero h1 {
    font-size: 29px;
  }

  .booking-hero__inner > p {
    font-size: 11px;
  }

  .section {
    padding-block: 56px;
  }

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

  .section-heading h2,
  .journey-copy h2,
  .faq-intro h2,
  .included-layout h2,
  .closing-cta h2 {
    font-size: 34px;
  }

  .service-card,
  .route-card,
  .fleet-card {
    border-radius: 9px;
  }

  .traveler-proof__inner {
    padding-block: 30px;
  }

  .closing-cta {
    padding-block: 58px;
  }

  .mobile-conversion-bar {
    background: rgba(255, 255, 255, 0.98);
    border-color: #c4d5d8;
  }

  .mobile-help {
    color: var(--brand-navy-deep);
    border-color: var(--brand-navy-deep) !important;
  }
}

@media (max-width: 440px) {
  .brand__logo {
    width: 150px;
  }

  .hero-copy {
    min-height: 410px;
    padding-inline: 21px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .button--outline-light {
    width: 100%;
    flex-basis: auto;
  }

  .hero-points {
    gap: 6px 10px;
    font-size: 9px;
  }
}
