/* =========================================
   GREENWAY TRANSFERS — Main Stylesheet
   Cancún & Riviera Maya Private Transportation
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* ── BRAND PALETTE — Greenway Transfers Official ── */

  /* Greens */
  --green-primary: #9CCD53;
  /* Verde lima primario — CTAs, botones, highlights */
  --green-mid: #A7DB59;
  /* Verde lima medio — hovers, gradients */
  --green-soft: #CFE6B1;
  /* Verde suave — backgrounds secundarios */
  --green-pale: #F4FEE1;
  /* Verde casi blanco — card backgrounds, inputs */

  /* Backwards compat aliases */
  --green-light: #A7DB59;
  --green-accent: #9CCD53;

  /* Teal accent */
  --teal: #0097B2;
  /* Azul teal — elementos de acento especiales */

  /* Grays */
  --gray-lightest: #F6F6F5;
  /* Gris muy claro — page backgrounds */
  --gray-light: #C5C4BE;
  /* Gris claro — borders, dividers */
  --gray-mid: #757475;
  /* Gris medio — texto secundario */
  --gray-dark: #4F4F50;
  /* Gris oscuro — texto principal sobre fondo claro */

  /* Dark / Black */
  --dark: #4F4F50;
  /* Dark base — text dark */
  --dark-2: #2a2a2a;
  /* Más oscuro — hero backgrounds, nav dark */
  --black: #000000;
  /* Negro puro */

  /* Whites */
  --white: #FFFFFF;
  --off-white: #F6F6F5;
  /* = gray-lightest */

  /* Text */
  --gray-text: #757475;
  /* Texto secundario */
  --text-dark: #4F4F50;
  /* Texto principal */
  --text-black: #000000;
  /* Texto muy oscuro / headings */

  /* Gold — kept for backwards compat but replaced with teal */
  --gold: #0097B2;
  --gold-light: #33B5CA;

  /* Shadows — adapted to green-primary */
  --shadow-sm: 0 2px 12px rgba(156, 205, 83, .12);
  --shadow-md: 0 8px 32px rgba(156, 205, 83, .18);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .14);

  /* Layout */
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

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

ul {
  list-style: none
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

input,
select,
textarea {
  font-family: inherit
}

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.section-tag {
  display: inline-block;
  background: var(--green-soft);
  color: #4F4F50;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-black);
  line-height: 1.2;
  font-weight: 700
}

.section-title span {
  color: var(--green-primary)
}

.section-subtitle {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap
}

.btn-primary {
  background: #4F4F50;
  color: var(--white)
}

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.btn-gold {
  background: var(--green-primary);
  color: var(--text-black)
}

.btn-gold:hover {
  background: var(--green-mid);
  color: var(--text-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.btn-outline {
  border: 2px solid #4F4F50;
  color: #4F4F50;
  background: transparent
}

.btn-outline:hover {
  background: var(--green-primary);
  color: #1a1a1a
}

.btn-white {
  background: var(--white);
  color: #4F4F50
}

.btn-white:hover {
  background: var(--green-soft);
  transform: translateY(-2px)
}

.text-center {
  text-align: center
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* ── TOPBAR ── */
.topbar {
  background: #9CCD53;          /* Verde lima oficial de la marca */
  color: var(--white);
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;            /* No wrappear en desktop */
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;               /* No se encoge */
}
/* Link base */
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;          /* ← CLAVE: evita que se rompa en múltiples líneas */
  text-decoration: none;
  transition: opacity .2s;
  line-height: 1;
}
.topbar-link:hover {
  opacity: .75;
  color: #fff;
}
/* Ícono: tamaño fijo pequeño, alineado verticalmente */
.topbar-icon {
  width: 14px;                  /* ← Más pequeño (era 18px heredado por el SVG) */
  height: 14px;
  fill: #fff;
  flex-shrink: 0;
  display: block;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Selects dentro del topbar ── */
.nav-select {
  appearance: none;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 5px 26px 5px 10px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: var(--transition);
}
.nav-select:hover,
.nav-select:focus {
  outline: none;
  background-color: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.6);
}
.nav-select option {
  background: #2a2a2a;
  color: #fff;
}

/* ── Responsive topbar ── */
@media(max-width:768px) {
  .topbar-left a.topbar-link:last-child {
    display: none;              /* Oculta email en tablet, queda solo tel */
  }
}
@media(max-width:480px) {
  .topbar { display: none; }   /* Oculta toda la topbar en mobile muy pequeño */
}

/* ── LANGUAGE & CURRENCY SELECTOR ── */
.nav-select {
  appearance: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  padding: 6px 28px 6px 10px;
  border-radius: 6px;
  font-size: .8rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: var(--transition)
}

.nav-select:hover {
  border-color: var(--green-accent)
}

.topbar .nav-select {
  background-color: rgba(255, 255, 255, .08)
}

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition)
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .12)
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #4F4F50;
  line-height: 1.1
}

.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--gray-text);
  text-transform: uppercase
}

.logo-icon {
  width: 150px;
  /* height: 42px; */
  /* background: var(--green-primary); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--gray-text);
  transition: var(--transition);
  white-space: nowrap
}

.nav-links a:hover,
.nav-links a.active {
  color: #4F4F50;
  background: var(--green-pale)
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.nav-selects {
  display: flex;
  align-items: center;
  gap: 8px
}

.nav-selects .nav-select {
  background: var(--gray-lightest);
  border: 1px solid var(--gray-light);
  color: var(--dark);
  font-size: .8rem
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition)
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition)
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 20px 24px;
  border-top: 2px solid var(--green-pale);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition)
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-light)
}

.mobile-nav a:hover {
  color: var(--green-primary)
}

.mobile-nav-selects {
  display: flex;
  gap: 12px;
  margin-top: 16px
}

.mobile-nav-selects .nav-select {
  flex: 1;
  color: var(--dark);
  background: var(--gray-lightest);
  border: 1px solid var(--gray-light)
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 40%, #0d0d0d 100%);
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/bg.png') center/cover no-repeat;
  opacity: .18
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(82, 183, 136, .15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(201, 168, 76, .1) 0%, transparent 40%)
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(156, 205, 83, .15);
  border: 1px solid rgba(156, 205, 83, .3);
  color: var(--green-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px)
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px
}

.hero-title .accent {
  color: var(--green-accent)
}

.hero-title .gold {
  color: var(--gold-light)
}

.hero-desc {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap
}

.stat-item {
  text-align: center
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1
}

.stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
  letter-spacing: .05em;
  text-transform: uppercase
}

/* ── BOOKING FORM ── */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2
}

.booking-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 6px
}

.booking-card p {
  font-size: .88rem;
  color: var(--gray-text);
  margin-bottom: 24px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px
}

.form-row.single {
  grid-template-columns: 1fr
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: .03em
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #C5C4BE;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--dark);
  background: var(--gray-lightest);
  transition: var(--transition)
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1)
}

.form-submit {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: var(--green-primary);
  color: var(--text-black);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.form-submit:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.trip-type-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-light);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px
}

.trip-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: var(--transition);
  text-align: center
}

.trip-tab.active {
  background: var(--white);
  color: #4F4F50;
  box-shadow: var(--shadow-sm)
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: #2a2a2a;
  padding: 24px 0;
  overflow: hidden
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 30s linear infinite
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--green-primary);
  flex-shrink: 0
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ── WHY US ── */
.why-us {
  padding: 100px 0;
  background: var(--gray-lightest)
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px
}

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden
}

.why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block
}

.why-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md)
}

.why-image-badge strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #9CCD53;
  display: block;
  line-height: 1
}

.why-image-badge span {
  font-size: .78rem;
  color: var(--gray-text)
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  transition: var(--transition)
}

.feature-item:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px)
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: #4F4F50
}

.feature-text h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-size: .95rem
}

.feature-text p {
  font-size: .85rem;
  color: var(--gray-text);
  line-height: 1.6
}

/* ── SERVICES ── */
.services {
  padding: 100px 0;
  background: var(--white)
}

.services-header {
  text-align: center;
  margin-bottom: 60px
}

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

.service-card {
  background: var(--gray-lightest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  position: relative
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-accent)
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.service-card:hover .service-card-img img {
  transform: scale(1.08)
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .05em
}

.service-card-body {
  padding: 24px
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 8px
}

.service-card-body p {
  font-size: .87rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 16px
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px
}

.price-from {
  font-size: .75rem;
  color: var(--gray-text)
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-primary)
}

.price-pax {
  font-size: .75rem;
  color: var(--gray-text)
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-text)
}

.service-feature svg {
  width: 14px;
  height: 14px;
  fill: var(--green-primary);
  flex-shrink: 0
}

/* ── RATES / TARIFARIO ── */
.rates {
  padding: 100px 0;
  background: #1a1a1a
}

.rates-header {
  text-align: center;
  margin-bottom: 50px
}

.rates-header .section-title {
  color: var(--white)
}

.rates-header .section-subtitle {
  color: rgba(255, 255, 255, .65);
  margin: 0 auto 30px
}

.rates-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.rates-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .15);
  transition: var(--transition)
}

.rates-tab.active,
.rates-tab:hover {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary)
}

.rates-table-wrap {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  overflow-x: auto
}

.rates-table {
  width: 100%;
  border-collapse: collapse
}

.rates-table thead tr {
  background: #4F4F50
}

.rates-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap
}

.rates-table td {
  padding: 14px 16px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap
}

.rates-table tbody tr:hover {
  background: rgba(82, 183, 136, .08)
}

.rates-table .destination {
  font-weight: 600;
  color: var(--white)
}

.rates-table .price-cell {
  color: var(--green-accent);
  font-weight: 600
}

.rates-panel {
  display: none
}

.rates-panel.active {
  display: block
}

.rates-note {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, .5);
  font-size: .83rem
}

.rates-note a {
  color: var(--green-accent)
}

.currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px
}

.currency-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .6);
  transition: var(--transition)
}

.currency-btn.active {
  background: var(--green-primary);
  color: var(--text-black);
  border-color: var(--green-primary);
  font-weight: 700
}

/* ── DESTINATIONS ── */
.destinations {
  padding: 100px 0;
  background: var(--white)
}

.destinations-header {
  text-align: center;
  margin-bottom: 60px
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.dest-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.dest-card:hover img {
  transform: scale(1.1)
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px
}

.dest-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600
}

.dest-price {
  font-size: .82rem;
  color: var(--green-primary);
  margin-top: 4px
}

.dest-card.featured {
  grid-column: span 2;
  height: 320px
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-lightest)
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
  position: relative
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--green-primary), var(--teal));
  z-index: 0
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-primary);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #4F4F50;
  box-shadow: var(--shadow-sm)
}

.how-step h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: .95rem
}

.how-step p {
  font-size: .84rem;
  color: var(--gray-text);
  line-height: 1.6
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px
}

.reviews-ticker {
  display: flex;
  gap: 24px;
  animation: slide-reviews 40s linear infinite
}

.reviews-ticker:hover {
  animation-play-state: paused
}

.review-card {
  background: var(--gray-lightest);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-width: 360px;
  max-width: 360px;
  border: 1px solid var(--gray-light)
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--green-primary)
}

.review-text {
  font-size: .9rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: #4F4F50;
  flex-shrink: 0
}

.reviewer-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark)
}

.reviewer-origin {
  font-size: .78rem;
  color: var(--gray-text)
}

@keyframes slide-reviews {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ── BLOG PREVIEW ── */
.blog-preview {
  padding: 100px 0;
  background: var(--gray-lightest)
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e0e0de;
  transition: var(--transition)
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md)
}

.blog-card-img {
  height: 200px;
  overflow: hidden
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06)
}

.blog-card-body {
  padding: 24px
}

.blog-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #757475;
  margin-bottom: 10px
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3
}

.blog-card-body p {
  font-size: .85rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 16px
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--gray-text)
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px
}

.cta-content p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center
}

.whatsapp-btn {
  background: #25D366;
  color: var(--white)
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

/* ── PARTNERS ── */
.partners {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light)
}

.partners-title {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 32px
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap
}

.partner-logo {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-text);
  opacity: .5;
  transition: var(--transition);
  letter-spacing: .05em;
  text-transform: uppercase
}

.partner-logo:hover {
  opacity: 1;
  color: var(--green-primary)
}

/* ── FOOTER ── */
footer {
  background: var( --green-accent);
  color: var(--white);
  padding: 80px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.651)
}

.footer-brand .logo-text {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: var(--green-primary)
}

.footer-brand .logo-sub {
  font-size: .7rem
}

.footer-desc {
  color: var(--white);
  font-size: .88rem;
  line-height: 1.7;
  margin: 16px 0 24px
}

.social-links {
  display: flex;
  gap: 10px
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition)
}

.social-link:hover {
  background: var(--teal);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--white)
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 20px
}

.footer-col ul li {
  margin-bottom: 10px
}

.footer-col ul li a {
  color: var(--white);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px
}

.footer-col ul li a:hover {
  color: var(--dark);
  padding-left: 4px
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  font-size: .88rem;
  margin-bottom: 12px;
  line-height: 1.5
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px
}

.footer-bottom-left {
  color: var(--white);
  font-size: .82rem
}

.footer-bottom-right {
  display: flex;
  gap: 20px
}

.footer-bottom-right a {
  color: var(--white);
  font-size: .82rem;
  transition: var(--transition)
}

.footer-bottom-right a:hover {
  color: var(--white)
}

.payment-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px
}

.payment-icon {
  background: rgba(255, 255, 255, .08);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em
}

/* ── FLOATING WHATSAPP ── */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px
}

.float-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite
}

.float-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .6)
}

.float-wa-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white)
}

.float-wa-tooltip {
  background: var(--white);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition)
}

.float-wa:hover .float-wa-tooltip {
  opacity: 1;
  transform: translateX(0)
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4)
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .7), 0 0 0 8px rgba(37, 211, 102, .15)
  }
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  transform: translateY(10px)
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0)
}

.scroll-top:hover {
  background: #4F4F50
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: var(--white)
}

/* ── ANIMATION CLASSES ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0)
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0)
}

.delay-1 {
  transition-delay: .1s
}

.delay-2 {
  transition-delay: .2s
}

.delay-3 {
  transition-delay: .3s
}

.delay-4 {
  transition-delay: .4s
}

/* ── BLOG PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark-2), var(--green-primary));
  padding: 80px 0;
  text-align: center
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px
}

.page-hero p {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem
}

.blog-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 80px 0
}

.blog-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 20px
}

.sidebar-widget {
  background: var(--gray-lightest);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-light)
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .dest-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .dest-card.featured {
    grid-column: span 2
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .how-grid::before {
    display: none
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0
  }

  .hero-stats {
    gap: 20px
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .dest-grid {
    grid-template-columns: 1fr 1fr
  }

  .dest-card.featured {
    grid-column: span 2
  }

  .blog-grid {
    grid-template-columns: 1fr
  }

  .blog-full-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .nav-links,
  .nav-cta .btn {
    display: none
  }

  .hamburger {
    display: flex
  }

  .nav-selects {
    display: none
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .rates-table th,
  .rates-table td {
    padding: 10px 12px;
    font-size: .8rem
  }
}

@media(max-width:480px) {
  .dest-grid {
    grid-template-columns: 1fr
  }

  .dest-card.featured {
    grid-column: span 1;
    height: 280px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero-actions {
    flex-direction: column
  }

  .cta-actions {
    flex-direction: column;
    align-items: center
  }
}

/* ══════════════════════════════════════════
   RATES LIST (Card-Row Design)
══════════════════════════════════════════ */

/* ── Controls Bar ── */
.rates-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08)
}

.rates-search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative
}

.rates-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, .4);
  pointer-events: none
}

.rates-search-input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  color: var(--white);
  font-size: .88rem;
  font-family: var(--font-body);
  transition: var(--transition)
}

.rates-search-input::placeholder {
  color: rgba(255, 255, 255, .35)
}

.rates-search-input:focus {
  outline: none;
  border-color: var(--green-accent);
  background: rgba(255, 255, 255, .1)
}

.rates-filter-select {
  padding: 10px 32px 10px 12px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: var(--white);
  font-size: .85rem;
  font-family: var(--font-body);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: var(--transition)
}

.rates-filter-select:focus {
  outline: none;
  border-color: var(--green-accent)
}

.rates-filter-select option {
  background: var(--dark-2);
  color: var(--white)
}

.rates-curr-pills {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  overflow: hidden
}

.rates-curr-pill {
  padding: 9px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
  white-space: nowrap;
  background: transparent
}

.rates-curr-pill.active {
  background: var(--green-primary);
  color: var(--text-black);
  font-weight: 700
}

.rates-curr-pill:not(.active):hover {
  background: rgba(255, 255, 255, .08);
  color: var(--white)
}

/* ── List Header ── */
.rates-list-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08)
}

/* Layout: route 2fr, 3 price cols 120px each, action 190px */
.rates-list-header {
  display: grid;
  grid-template-columns: 2fr 120px 120px 120px 190px;
  gap: 0;
  background: var(--green-primary);
  padding: 13px 20px;
  align-items: center
}

.rates-list-header span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85)
}

.rl-price {
  text-align: center
}

.rl-action {
  text-align: right
}

/* ── List Body Rows ── */
.rates-list-body {}

/* Desktop: route + p1 + p2 + p3 + action — prices-group is display:contents on desktop */
.rl-row {
  display: grid;
  grid-template-columns: 2fr 120px 120px 120px 190px;
  gap: 0;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .25s;
  cursor: default;
  animation: rowFadeIn .25s ease
}

.rl-prices-group {
  display: contents
}

/* transparent on desktop, children flow directly into grid */
@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.rl-row:last-child {
  border-bottom: none
}

.rl-row:hover {
  background: rgba(82, 183, 136, .07)
}

.rl-route-wrap {
  padding-right: 12px
}

.rl-origin-badge {
  display: inline-block;
  background: rgba(156, 205, 83, .2);
  color: var(--green-primary);
  font-size: .67rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 5px;
  letter-spacing: .04em;
  white-space: nowrap
}

.rl-route-name {
  font-weight: 600;
  color: var(--white);
  font-size: .88rem;
  line-height: 1.35;
  word-break: break-word
}

.rl-price-cell {
  text-align: center;
  padding: 0 4px
}

.rl-price-amount {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-accent);
  display: block;
  line-height: 1.25
}

.rl-price-sub {
  font-size: .67rem;
  color: rgba(255, 255, 255, .4);
  display: block;
  line-height: 1.3;
  white-space: nowrap
}

.rl-price-cell.empty .rl-price-amount {
  color: rgba(255, 255, 255, .2);
  font-size: .82rem
}

.rl-action-cell {
  display: flex;
  justify-content: flex-end;
  padding-left: 8px
}

.rl-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, .15);
  border: 1px solid rgba(37, 211, 102, .3);
  color: #25D366;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  min-width: 0
}

.rl-wa-btn svg {
  width: 14px;
  height: 14px;
  fill: #25D366;
  flex-shrink: 0
}

.rl-wa-btn:hover {
  background: #25D366;
  color: var(--white)
}

.rl-wa-btn:hover svg {
  fill: var(--white)
}

/* ── No Results ── */
.rates-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 20px;
  color: rgba(255, 255, 255, .35);
  text-align: center
}

.rates-no-results svg {
  width: 40px;
  height: 40px;
  fill: rgba(255, 255, 255, .2)
}

.rates-no-results span {
  font-size: .95rem
}

/* ══════════════════════════════════════════
   INSTANT ESTIMATOR
══════════════════════════════════════════ */
.estimator-wrap {
  margin-top: 36px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px
}

.estimator-label-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px
}

.estimator-accent-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-primary)
}

.estimator-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-primary)
}

.estimator-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px
}

.estimator-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap
}

.estimator-select {
  flex: 1;
  min-width: 160px;
  padding: 12px 32px 12px 14px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: var(--white);
  font-size: .87rem;
  font-family: var(--font-body);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff60' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: var(--transition)
}

.estimator-select:focus {
  outline: none;
  border-color: var(--green-accent)
}

.estimator-select option {
  background: var(--dark-2)
}

.estimator-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(45, 106, 79, .3);
  border: 1.5px solid var(--green-primary);
  border-radius: 10px;
  white-space: nowrap;
  min-width: 160px
}

.estimator-total-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px
}

.estimator-total-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-accent);
  line-height: 1;
  transition: all .3s
}

.estimator-wa-btn {
  flex-shrink: 0;
  background: #25D366;
  color: var(--white);
  font-size: .88rem;
  padding: 12px 18px;
  border-radius: 10px;
  align-items: center
}

.estimator-wa-btn:hover {
  background: #128C7E;
  transform: translateY(-2px)
}

.estimator-summary {
  margin-top: 14px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  font-style: italic
}

.estimator-total-price.bump {
  animation: priceBump .3s ease
}

@keyframes priceBump {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.15);
    color: var(--gold-light)
  }

  100% {
    transform: scale(1)
  }
}

/* ══════════════════════════════════════════
   PLACES AUTOCOMPLETE INPUT
══════════════════════════════════════════ */
.places-input-wrap {
  position: relative
}

.places-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--green-primary);
  pointer-events: none;
  z-index: 1;
  opacity: .75;
  flex-shrink: 0
}

/* 13px left + 17px icon + 10px gap = 40px left padding for text */
.places-input {
  width: 100%;
  padding: 12px 14px 12px 46px !important;
  border: 1.5px solid #C5C4BE;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--dark);
  background: var(--gray-lightest);
  transition: var(--transition);
  font-family: var(--font-body)
}

.places-input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1)
}

.places-input::placeholder {
  color: #9eaaa5
}

/* Suggestions dropdown */
.places-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--green-pale);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  overflow: hidden;
  display: none;
  max-height: 240px;
  overflow-y: auto
}

.places-dropdown.open {
  display: block
}

.places-option {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background .2s;
  border-bottom: 1px solid var(--gray-light)
}

.places-option:last-child {
  border-bottom: none
}

.places-option:hover,
.places-option.highlighted {
  background: var(--green-soft)
}

.places-option-icon {
  width: 28px;
  height: 28px;
  background: var(--green-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px
}

.places-option-icon svg {
  width: 14px;
  height: 14px;
  fill: #757475
}

.places-option-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.2
}

.places-option-sub {
  font-size: .76rem;
  color: var(--gray-text);
  margin-top: 2px
}

/* Google attribution */
.places-powered {
  padding: 8px 14px;
  font-size: .72rem;
  color: var(--gray-text);
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 4px
}

/* Custom select wrapper */
.custom-select-wrap {
  position: relative
}

.custom-select-wrap select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid #C5C4BE;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--dark);
  background: var(--gray-lightest);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232D6A4F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: var(--transition);
  font-family: var(--font-body);
  cursor: pointer
}

.custom-select-wrap select:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1)
}

/* ══════════════════════════════════════════
   CUSTOM CALENDAR DATE PICKER
══════════════════════════════════════════ */
.date-picker-wrap {
  position: relative
}

.date-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--green-primary);
  pointer-events: none;
  z-index: 1;
  opacity: .75
}

.date-input {
  width: 100%;
  padding: 12px 14px 12px 46px !important;
  border: 1.5px solid #C5C4BE;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--dark);
  background: var(--gray-lightest);
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-body)
}

.date-input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1)
}

.date-input::placeholder {
  color: #9eaaa5
}

/* Calendar dropdown */
.date-calendar {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--green-pale);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  padding: 18px;
  min-width: 280px;
  display: none
}

.date-calendar.open {
  display: block;
  animation: calSlideIn .2s ease
}

@keyframes calSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px
}

.cal-month-year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark)
}

.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-pale);
  color: #4F4F50;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1
}

.cal-nav:hover {
  background: var(--green-primary);
  color: #1a1a1a
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 8px
}

.cal-weekdays span {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-text);
  padding: 4px 0;
  text-transform: uppercase
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark)
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: var(--green-soft);
  color: #4F4F50
}

.cal-day.selected {
  background: var(--green-primary);
  color: #1a1a1a;
  font-weight: 700
}

.cal-day.today {
  outline: 2px solid var(--green-primary);
  outline-offset: -2px;
  color: #4F4F50;
  font-weight: 700
}

.cal-day.today.selected {
  outline: none;
  color: var(--white)
}

.cal-day.disabled {
  color: var(--gray-light);
  cursor: not-allowed;
  pointer-events: none
}

.cal-day.empty {
  cursor: default;
  pointer-events: none
}

/* ── RESPONSIVE UPDATES ── */

/* Large tablet: slightly tighter columns */
@media(max-width:1100px) {

  .rates-list-header,
  .rl-row {
    grid-template-columns: 2fr 100px 100px 100px 160px;
    padding: 12px 16px
  }

  .rl-wa-btn {
    font-size: .76rem;
    padding: 8px 10px
  }
}

/* Tablet ≤860px: hide header, switch to 3-area layout */
@media(max-width:860px) {
  .rates-list-header {
    display: none
  }

  /* Reset grid: route | action on row1, prices full-width on row2 */
  .rl-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: "route action" "prices prices";
    gap: 4px 12px;
    padding: 14px 16px;
    align-items: start
  }

  .rl-route-wrap {
    grid-area: route
  }

  .rl-prices-group {
    display: flex;
    grid-area: prices;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px
  }

  .rl-action-cell {
    grid-area: action;
    justify-content: flex-end;
    align-self: start;
    padding-top: 4px
  }

  .rl-price-cell {
    text-align: left;
    display: flex;
    flex-direction: column;
    min-width: 70px
  }

  .rl-price-amount {
    font-size: .88rem
  }

  .rl-price-sub {
    font-size: .67rem
  }

  /* Controls */
  .rates-controls {
    flex-direction: column;
    align-items: stretch
  }

  .rates-search-wrap {
    min-width: 100%
  }

  .rates-filter-select {
    width: 100%
  }

  .rates-curr-pills {
    align-self: flex-start
  }

  /* Estimator */
  .estimator-row {
    flex-direction: column;
    gap: 10px
  }

  .estimator-select {
    width: 100%
  }

  .estimator-total {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: auto;
    width: 100%
  }

  .estimator-wa-btn {
    width: 100%;
    justify-content: center
  }

  /* Calendar */
  .date-calendar {
    min-width: 260px;
    right: 0;
    left: auto
  }
}

/* Mobile ≤580px: action goes below prices too */
@media(max-width:580px) {
  .rl-row {
    grid-template-columns: 1fr;
    grid-template-areas: "route" "prices" "action";
    gap: 8px
  }

  .rl-action-cell {
    justify-content: flex-start;
    padding-top: 0
  }

  .rl-wa-btn {
    width: 100%;
    justify-content: center
  }

  .rl-prices-group {
    gap: 10px
  }

  .rates-curr-pills {
    width: 100%
  }

  .rates-curr-pill {
    flex: 1;
    text-align: center
  }
}

@media(max-width:400px) {
  .rl-prices-group {
    flex-direction: column;
    gap: 4px
  }

  .rl-price-cell {
    flex-direction: row;
    align-items: baseline;
    gap: 6px
  }

  .rl-price-sub {
    font-size: .65rem
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — COMPREHENSIVE AUDIT v2
══════════════════════════════════════════ */

/* ── 1024px: Tablet landscape ── */
@media(max-width:1024px) {

  /* Booking card in hero: allow full width on its own row */
  .hero-content {
    gap: 32px
  }

  .booking-card {
    padding: 24px
  }

  /* Services: 2 cols */
  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  /* Destinations: 2 cols */
  .dest-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .dest-card.featured {
    grid-column: span 2;
    height: 300px
  }

  /* How it works: 2x2 grid */
  .how-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .how-grid::before {
    display: none
  }

  /* Blog: 2 cols */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  /* Footer: 2 cols */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    row-gap: 36px
  }
}

/* ── 768px: Tablet portrait ── */
@media(max-width:768px) {

  /* Hero: single column */
  .hero-content {
    grid-template-columns: 1fr;
    padding: 48px 0 40px
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem)
  }

  .hero-stats {
    gap: 18px
  }

  .stat-num {
    font-size: 1.4rem
  }

  /* Booking card */
  .booking-card {
    padding: 20px
  }

  .form-row {
    grid-template-columns: 1fr
  }

  /* Booking form trip tabs: smaller text */
  .trip-tab {
    font-size: .72rem;
    padding: 7px 6px
  }

  /* Nav */
  .nav-links,
  .nav-cta .btn,
  .nav-selects {
    display: none
  }

  .hamburger {
    display: flex
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr
  }

  /* Dest grid */
  .dest-grid {
    grid-template-columns: 1fr 1fr
  }

  .dest-card {
    height: 220px
  }

  .dest-card.featured {
    grid-column: span 2;
    height: 260px
  }

  /* How: single column */
  .how-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto
  }

  /* Blog: single column */
  .blog-grid {
    grid-template-columns: 1fr
  }

  /* Blog full (blog.html) */
  .blog-full-grid {
    grid-template-columns: 1fr
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }

  /* Calendar: open right-aligned to stay in viewport */
  .date-calendar {
    left: auto;
    right: 0;
    min-width: 250px
  }

  /* Topbar: hide email, show only phone */
  .topbar-left a:last-child {
    display: none
  }

  /* Trust strip: faster */
  .trust-items {
    animation-duration: 20s
  }
}

/* ── 640px: Large mobile ── */
@media(max-width:640px) {
  .container {
    padding: 0 16px
  }

  /* Hero */
  .hero-content {
    padding: 36px 0 32px
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  /* Section spacing */
  .why-us,
  .services,
  .destinations,
  .how-it-works,
  .testimonials,
  .blog-preview,
  .cta-section {
    padding: 64px 0
  }

  .rates {
    padding: 64px 0
  }

  /* Dest: single col */
  .dest-grid {
    grid-template-columns: 1fr
  }

  .dest-card {
    height: 200px
  }

  .dest-card.featured {
    grid-column: span 1;
    height: 220px
  }

  /* Section title smaller */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem)
  }

  /* Footer: single col */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  footer {
    padding: 56px 0 0
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: stretch
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center
  }

  /* Partners */
  .partners-logos {
    gap: 20px
  }

  /* Booking card */
  .booking-card {
    border-radius: 14px;
    padding: 18px
  }

  .trip-type-tabs {
    gap: 2px
  }

  .trip-tab {
    font-size: .68rem;
    padding: 6px 5px
  }

  /* Float WA */
  .float-wa {
    bottom: 16px;
    right: 16px
  }

  .float-wa-btn {
    width: 52px;
    height: 52px
  }

  /* Scroll top */
  .scroll-top {
    bottom: 82px;
    right: 16px
  }
}

/* ── 480px: Mobile ── */
@media(max-width:480px) {
  .topbar {
    display: none
  }

  /* hide topbar on very small screens, info in footer */
  .navbar .container {
    height: 60px
  }

  .logo-text {
    font-size: 1.2rem
  }

  /* Review cards: slightly smaller */
  .review-card {
    min-width: 280px;
    max-width: 280px;
    padding: 20px
  }

  /* Why grid: image first, copy below */
  .why-grid {
    grid-template-columns: 1fr
  }

  .why-image img {
    height: 260px
  }

  /* Estimator stacked */
  .estimator-wrap {
    padding: 20px 16px
  }

  .estimator-title {
    font-size: .92rem
  }

  /* Rates controls stacked tight */
  .rates-controls {
    padding: 14px
  }

  .rates-list-header {
    display: none
  }

  /* Form fields: full touch targets */
  .places-input,
  .date-input,
  .custom-select-wrap select {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: .9rem
  }

  /* Calendar centered */
  .date-calendar {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    min-width: 260px
  }
}

/* ── Touch: improve tap targets ── */
@media(hover:none) and (pointer:coarse) {
  .cal-day {
    min-height: 36px
  }

  .rl-wa-btn {
    min-height: 40px
  }

  .places-option {
    padding: 14px 16px
  }

  .trip-tab {
    min-height: 36px
  }

  .btn {
    min-height: 44px
  }
}

/* Flight number field — no icon, plain padding */
.flight-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #C5C4BE;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--dark);
  background: var(--gray-lightest);
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: .06em
}

.flight-input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1)
}

.flight-input::placeholder {
  color: #9eaaa5;
  letter-spacing: 0
}

/* ── Force icon spacing — overrides Google Places API injected styles ── */
.pac-container {
  z-index: 99999 !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--green-pale) !important;
  box-shadow: 0 20px 60px rgba(45, 106, 79, .2) !important;
  font-family: var(--font-body) !important;
  margin-top: 4px !important
}

.pac-item {
  padding: 10px 16px !important;
  font-size: .87rem !important;
  cursor: pointer !important;
  border-top: 1px solid var(--gray-light) !important;
  line-height: 1.4 !important
}

.pac-item:hover {
  background: var(--green-pale) !important
}

.pac-item-query {
  font-weight: 600 !important;
  color: var(--dark) !important;
  font-size: .88rem !important
}

.pac-matched {
  color: var(--green-primary) !important;
  font-weight: 700 !important
}

.places-input-wrap input[type="text"] {
  padding-left: 46px !important
}

.date-picker-wrap input[type="text"] {
  padding-left: 46px !important
}

/* ══ DEFINITIVE ICON FIX — flex architecture ══
   Replaces absolute-positioned icon with inline-flex layout.
   Icon sits naturally to the left, gap is guaranteed.
   Works even when Google Places API injects styles.
══════════════════════════════════════════════ */
.places-input-wrap,
.date-picker-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  transition: var(--transition);
  overflow: visible;
}

.places-input-wrap:focus-within,
.date-picker-wrap:focus-within {
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1);
}

/* Icon now part of flex flow — no absolute needed */
.places-icon,
.date-icon {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--green-primary);
  opacity: .75;
  margin-left: 14px;
  pointer-events: none;
}

/* Input fills remaining space — no left padding needed for icon */
.places-input,
.date-input {
  flex: 1;
  padding: 12px 14px 12px 10px !important;
  /* 10px gap after icon */
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  min-width: 0;
  /* prevent flex overflow */
}

/* Dropdown still anchors to wrapper */
.places-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
}

/* Date calendar anchors to wrapper */
.date-calendar {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
}

/* ══════════════════════════════════════════
   DYNAMIC DATE ROWS
══════════════════════════════════════════ */

/* Animated show/hide */
.date-row {
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

.date-row-rt {
  animation: slideDownFade .32s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Return date picker: gold accent */
.date-picker-return {
  border-color: var(--gray-light) !important;
}

.date-picker-return:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .12) !important;
}

.date-icon-return {
  fill: var(--gold) !important;
  opacity: .85 !important;
}

.date-input-return::placeholder {
  color: #9eaaa5;
}

/* Return calendar — open to the right on desktop so it doesn't overflow */
.date-calendar-right {
  left: auto !important;
  right: 0 !important;
}

@media(max-width:640px) {
  .date-calendar-right {
    right: auto !important;
    left: 0 !important;
  }
}

/* Label with icon */
.form-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: .03em;
  margin-bottom: 6px;
}

/* ── Calendar in-range highlight (between arrival and return) ── */
.cal-day.in-range {
  background: var(--green-pale);
  color: var(--green-primary);
  border-radius: 0;
}

.cal-day.in-range:first-child,
.cal-day.selected+.cal-day.in-range {
  border-radius: 8px 0 0 8px;
}

.cal-day.in-range+.cal-day.selected,
.cal-day.in-range:last-child {
  border-radius: 0 8px 8px 0;
}

/* ══════════════════════════════════════════
   ESTIMATOR — CUSTOM DROPDOWNS (no native select)
   Fixes mobile overflow issue
══════════════════════════════════════════ */

.est-field-group {
  margin-bottom: 12px;
}

/* Base custom select */
.est-custom-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.est-custom-select:hover,
.est-custom-select:focus {
  border-color: var(--green-accent);
  outline: none;
}

.est-custom-select.open {
  border-color: var(--green-accent);
  background: rgba(255, 255, 255, .1);
}

.est-select-value {
  color: var(--white);
  font-size: .87rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
}

.est-select-arrow {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, .5);
  flex-shrink: 0;
  transition: transform .25s ease;
}

.est-custom-select.open .est-select-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel — always constrained within .estimator-wrap */
.est-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  z-index: 10000;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
  max-height: 260px;
  overflow-y: auto;
  /* Prevent any overflow outside viewport */
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.est-custom-select.open .est-select-dropdown {
  display: block;
  animation: estDDOpen .18s ease;
}

@keyframes estDDOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Route dropdown: full width, taller items for readability */
#estRouteSelect .est-select-dropdown {
  max-height: 280px;
}

/* Option items */
.est-option {
  padding: 11px 16px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  line-height: 1.4;
  word-break: break-word;
  font-family: var(--font-body);
}

.est-option:last-child {
  border-bottom: none;
}

.est-option:hover,
.est-option.selected {
  background: rgba(82, 183, 136, .2);
  color: var(--white);
}

.est-option.selected {
  color: var(--green-accent);
  font-weight: 600;
}

/* Controls row: trip type + pax + total */
.est-controls-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.est-select-sm {
  flex: 1;
  min-width: 110px;
}

/* Total box */
.estimator-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 16px;
  background: rgba(45, 106, 79, .3);
  border: 1.5px solid var(--green-primary);
  border-radius: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.estimator-total-label {
  font-size: .68rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.estimator-total-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-accent);
  line-height: 1;
  transition: all .3s;
}

/* Full-width WA button */
.estimator-wa-btn-full {
  width: 100%;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 10px;
  font-size: .95rem;
  padding: 13px 20px;
  margin-bottom: 10px;
}

.estimator-wa-btn-full:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}

/* Summary line */
.estimator-summary {
  margin-top: 6px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  font-style: italic;
  line-height: 1.5;
}

/* ── Mobile adjustments ── */
@media(max-width:640px) {
  .est-controls-row {
    flex-direction: column;
    gap: 8px;
  }

  .estimator-total {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .est-select-dropdown {
    /* On mobile ensure dropdown never exceeds screen width */
    max-width: calc(100vw - 64px);
  }
}

/* ══════════════════════════════════════════
   BRAND PALETTE FINAL OVERRIDES
   Greenway Transfers Official Colors
   #9CCD53 · #A7DB59 · #CFE6B1 · #F4FEE1
   #0097B2 · #C5C4BE · #757475 · #4F4F50
══════════════════════════════════════════ */

/* Body background */
body {
  background: var(--white);
}

/* Why-us section */
.why-us {
  background: var(--gray-lightest);
}

/* Blog preview section */
.blog-preview {
  background: var(--gray-lightest);
}

/* How-it-works */
.how-it-works {
  background: var(--gray-lightest);
}

/* Partners strip */
.partners {
  border-top: 1px solid #C5C4BE;
}

.partner-logo:hover {
  color: var(--green-primary);
}

.partner-logo {
  color: #757475;
  opacity: .55;
}

/* Section subtitle color */
.section-subtitle {
  color: #757475;
}

/* Nav link color */
.nav-links a {
  color: #4F4F50;
}

/* Topbar link color */
.topbar-left a {
  color: rgba(255, 255, 255, .75);
}

.topbar-left a:hover {
  color: var(--green-primary);
}

/* Logo text */
.logo-sub {
  color: #757475;
}

/* Booking card form label */
.form-group label {
  color: #757475;
}

/* Custom select on booking form */
.custom-select-wrap select {
  color: #4F4F50;
  background: #F4FEE1;
  border-color: #C5C4BE;
}

.custom-select-wrap select:focus {
  border-color: #9CCD53;
  box-shadow: 0 0 0 3px rgba(156, 205, 83, .15);
}

/* Places / date input wrapper focus */
.places-input-wrap:focus-within,
.date-picker-wrap:focus-within {
  border-color: #9CCD53 !important;
  box-shadow: 0 0 0 3px rgba(156, 205, 83, .15) !important;
}

/* Form inputs background */
.places-input {
  background: #F4FEE1 !important;
  border-color: #C5C4BE !important;
  color: #4F4F50 !important;
}

.date-input {
  background: #F4FEE1 !important;
  border-color: #C5C4BE !important;
  color: #4F4F50 !important;
}

.places-input-wrap,
.date-picker-wrap {
  background: #F4FEE1 !important;
  border-color: #C5C4BE !important;
}

.flight-input {
  background: #F4FEE1 !important;
  border-color: #C5C4BE !important;
  color: #4F4F50 !important;
}

.places-input::placeholder,
.date-input::placeholder,
.flight-input::placeholder {
  color: #C5C4BE;
}

/* Trip type tabs */
.trip-tab {
  color: #757475;
}

.trip-tab.active {
  background: var(--white);
  color: #4F4F50;
}

/* Hero accent text */
.hero-title .accent {
  color: var(--green-primary) !important;
}

.hero-title .gold {
  color: var(--green-primary) !important;
}

.hero-desc {
  color: rgba(255, 255, 255, .78);
}

/* Service card hover */
.service-card:hover {
  border-color: var(--green-primary);
}

/* Feature item hover */
.feature-item:hover {
  border-color: var(--green-primary);
}

/* Dest card overlay */
.dest-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 55%);
}

/* Rating stars in reviews */
.review-stars svg {
  fill: #9CCD53;
}

/* Reviewer avatar */
.reviewer-avatar {
  background: var(--green-soft);
  color: #4F4F50;
}

/* Payment icons */
.payment-icon {
  background: var(--teal);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}

/* Footer bottom */
.footer-bottom-right a:hover {
  color: var(--dark);
}

/* Float WA pulse */
@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .7), 0 0 0 8px rgba(156, 205, 83, .1);
  }
}

/* Teal accent for special elements */
.teal-accent {
  color: var(--teal);
}

.teal-bg {
  background: var(--teal);
}

/* Rates note link */
.rates-note a {
  color: var(--green-primary);
}

/* Blog card hover */
.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #C5C4BE;
}

/* Estimator WA btn full */
.estimator-wa-btn-full {
  background: #25D366;
}

.estimator-wa-btn-full:hover {
  background: #128C7E;
}

/* Date return input accent */
.date-picker-return:focus-within {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 151, 178, .12) !important;
}

.date-icon-return {
  fill: var(--teal) !important;
}