@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --background: 39 38% 97%;
  --foreground: 158 35% 12%;
  --card: 0 0% 100%;
  --card-foreground: 158 35% 12%;
  --primary: 158 55% 22%;
  --primary-foreground: 39 38% 97%;
  --primary-glow: 158 50% 32%;
  --secondary: 36 45% 92%;
  --secondary-foreground: 158 35% 18%;
  --muted: 36 30% 94%;
  --muted-foreground: 158 12% 38%;
  --accent: 18 88% 56%;
  --accent-foreground: 0 0% 100%;
  --accent-glow: 24 95% 62%;
  --whatsapp: 142 70% 42%;
  --whatsapp-foreground: 0 0% 100%;
  --border: 36 25% 88%;
  --input: 36 25% 88%;
  --ring: 158 55% 22%;
  --radius: 1rem;
  --gradient-sunset: linear-gradient(135deg, hsl(18 88% 56%), hsl(28 95% 62%));
  --gradient-tropical: linear-gradient(135deg, hsl(158 55% 22%), hsl(168 50% 32%));
  --gradient-hero-overlay: linear-gradient(180deg, hsl(158 55% 12% / 0.15) 0%, hsl(158 55% 12% / 0.65) 100%);
  --gradient-sand: linear-gradient(180deg, hsl(39 38% 97%), hsl(36 45% 92%));
  --shadow-card: 0 10px 30px -12px hsl(158 55% 22% / 0.18);
  --shadow-cta: 0 10px 28px -8px hsl(18 88% 56% / 0.55);
  --shadow-wa: 0 12px 30px -8px hsl(142 70% 42% / 0.55);
  --shadow-soft: 0 4px 16px -4px hsl(158 35% 12% / 0.08);
  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 960px);
}

.section {
  padding: 64px 0;
}

.bg-page {
  background: hsl(var(--background));
}

.gradient-sand {
  background-image: var(--gradient-sand);
}

.site-main {
  min-height: 100vh;
  background: hsl(var(--background));
}

.text-primary {
  color: hsl(var(--primary));
}

.muted-text {
  color: hsl(var(--muted-foreground));
}

.icon,
.icon-sm,
.icon-xs,
.icon-xl {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }
.icon-xl { width: 28px; height: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-full {
  width: 100%;
}

.btn-large {
  min-height: 56px;
  padding-inline: 28px;
  font-size: 1rem;
}

.btn-sunset {
  background-image: var(--gradient-sunset);
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-cta);
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary-glow));
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-whatsapp {
  background: hsl(var(--whatsapp));
  color: hsl(var(--whatsapp-foreground));
  box-shadow: var(--shadow-wa);
}

.btn-light {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.btn-light:hover {
  background: hsl(var(--background) / 0.9);
}

.btn-outline-light {
  color: hsl(var(--background));
  border: 1px solid hsl(var(--background) / 0.4);
  background: transparent;
}

.btn-outline-light:hover {
  background: hsl(var(--background) / 0.12);
}

.card {
  border: 1px solid hsl(var(--border));
  border-radius: 24px;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-soft);
}

.hover-lift {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hover-lift:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-glass {
  color: hsl(var(--background));
  background: hsl(var(--background) / 0.15);
  border: 1px solid hsl(var(--background) / 0.2);
  backdrop-filter: blur(10px);
}

.pill-accent {
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.15);
  border: 1px solid hsl(var(--accent) / 0.3);
}

.eyebrow {
  display: inline-block;
  color: hsl(var(--accent));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 650px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: hsl(var(--foreground));
}

.section-heading p {
  margin-top: 12px;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background: var(--gradient-hero-overlay);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 40px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: hsl(var(--background));
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  max-width: min(210px, 44vw);
  object-fit: contain;
  filter: drop-shadow(0 12px 24px hsl(var(--foreground) / 0.22));
}

.brand-title {
  display: block;
  max-width: min(320px, 42vw);
  overflow: hidden;
  color: hsl(var(--background));
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-shadow: 0 8px 24px hsl(var(--foreground) / 0.35);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: hsl(var(--accent-foreground));
  background-image: var(--gradient-sunset);
  box-shadow: var(--shadow-cta);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 68px);
  padding-top: 40px;
  padding-bottom: 96px;
}

.hero-copy {
  color: hsl(var(--background));
}

.hero-copy h1 {
  margin-top: 16px;
  max-width: 720px;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.03;
}

.hero-lead {
  margin-top: 16px;
  max-width: 560px;
  color: hsl(var(--background) / 0.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.micro-copy {
  margin-top: 16px;
  color: hsl(var(--background) / 0.85);
  font-size: 0.875rem;
}

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.card-glass {
  padding: 20px;
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title h3 {
  font-size: 1.25rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: hsl(var(--foreground) / 0.9);
  font-size: 0.925rem;
}

.check-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: hsl(var(--accent));
  flex: 0 0 auto;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tour-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
}

.tour-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.tour-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-image-wrap img {
  transform: scale(1.055);
}

.duration-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: hsl(var(--background) / 0.95);
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.tour-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tour-body h3 {
  font-size: 1.35rem;
}

.tour-body p {
  margin-top: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.925rem;
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 8px;
  border-radius: 999px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 0.75rem;
}

.calculator-grid,
.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 32px;
}

.form-card {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 28px);
  box-shadow: var(--shadow-card);
}

.field {
  display: block;
}

.field > span,
.destination-group h3 {
  display: inline-block;
  margin-bottom: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination-group h3 {
  color: hsl(var(--foreground));
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.925rem;
}

.form-row {
  display: grid;
  gap: 20px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-select,
.stepper,
.date-wrap {
  width: 100%;
  min-height: 48px;
  border: 1px solid hsl(var(--input));
  border-radius: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.input-select {
  padding: 0 12px;
  font-weight: 650;
  outline: 0;
}

.input-select:focus {
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.18);
}

.input-text,
.input-textarea {
  width: 100%;
  border: 1px solid hsl(var(--input));
  border-radius: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  outline: 0;
  font-weight: 650;
}

.input-text {
  min-height: 48px;
  padding: 0 12px;
}

.input-textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.input-text:focus,
.input-textarea:focus {
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.18);
}

.input-text[aria-invalid="true"],
.input-textarea[aria-invalid="true"] {
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.16);
}

.booking-details {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px dashed hsl(var(--border));
  border-radius: 18px;
  background: hsl(var(--card));
}

.booking-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-details-head strong,
.booking-details-head span {
  display: block;
}

.booking-details-head strong {
  font-size: 1rem;
}

.booking-details-head span {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: right;
}

.stepper {
  display: flex;
  overflow: hidden;
  align-items: center;
}

.stepper button {
  display: grid;
  width: 48px;
  height: 48px;
  border: 0;
  place-items: center;
  background: transparent;
  color: hsl(var(--foreground));
}

.stepper button:hover {
  background: hsl(var(--secondary));
}

.stepper strong {
  flex: 1;
  text-align: center;
  font-size: 1rem;
}

.choice-row {
  display: grid;
  gap: 8px;
}

.choice-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice-btn {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid hsl(var(--input));
  border-radius: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.925rem;
  font-weight: 800;
  text-align: center;
  transition: var(--transition-base);
}

.choice-btn:hover {
  background: hsl(var(--secondary));
}

.choice-btn.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.car-choice {
  text-align: left;
}

.car-choice strong,
.car-choice small {
  display: block;
}

.car-choice small {
  margin-top: 2px;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

.car-choice.is-active small {
  color: hsl(var(--primary-foreground) / 0.8);
}

.date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.date-wrap .input-select {
  border: 0;
  background: transparent;
  padding-right: 44px;
}

.muted-icon {
  position: absolute;
  right: 14px;
  color: hsl(var(--muted-foreground));
}

.date-preview {
  display: block;
  margin-top: 8px;
  color: hsl(var(--muted-foreground));
}

.price-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 24px;
  border-radius: 24px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-card);
}

.summary-label {
  color: hsl(var(--primary-foreground) / 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-price {
  margin-top: 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.45rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.price-card > p {
  margin-top: 8px;
  color: hsl(var(--primary-foreground) / 0.82);
  font-size: 0.78rem;
  line-height: 1.6;
}

.wa-preview {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid hsl(var(--background) / 0.2);
  border-radius: 14px;
  background: hsl(var(--background) / 0.1);
  color: hsl(var(--primary-foreground) / 0.92);
  font-size: 0.75rem;
  line-height: 1.6;
}

.wa-preview strong {
  color: inherit;
}

.price-card .btn {
  margin-top: 20px;
}

.summary-foot {
  margin-top: 12px !important;
  text-align: center;
  font-size: 0.7rem !important;
}

.builder-options {
  display: grid;
  gap: 24px;
}

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

.destination-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.destination-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 13px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  text-align: left;
  transition: var(--transition-base);
}

.destination-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.destination-card.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.destination-check {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid hsl(var(--input));
  border-radius: 6px;
  background: hsl(var(--background));
  color: transparent;
}

.destination-card.is-active .destination-check {
  border-color: hsl(var(--background) / 0.4);
  background: hsl(var(--background) / 0.2);
  color: hsl(var(--primary-foreground));
}

.destination-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.4;
}

.builder-summary {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.muted-label {
  color: hsl(var(--muted-foreground));
}

.route-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.925rem;
  line-height: 1.5;
}

.route-list li::before {
  counter-increment: route;
  content: counter(route);
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.65rem;
  font-weight: 800;
}

.warning-box {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: 14px;
  background: hsl(var(--accent) / 0.1);
  font-size: 0.75rem;
  line-height: 1.5;
}

.warning-box .icon-sm {
  color: hsl(var(--accent));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stat-card {
  border-radius: 14px;
  background: hsl(var(--secondary));
  padding: 12px;
}

.stat-card small {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 4px;
  color: hsl(var(--foreground));
  font-size: 1rem;
}

.light-preview {
  background: hsl(var(--secondary));
  border-color: transparent;
  color: hsl(var(--secondary-foreground));
}

.builder-summary .btn {
  margin-top: 20px;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: hsl(var(--accent));
}

.star-fill {
  fill: currentColor;
}

.testimonial-card p {
  flex: 1;
  margin-top: 12px;
  color: hsl(var(--foreground) / 0.9);
  font-size: 0.925rem;
  line-height: 1.7;
}

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

.reviewer img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.reviewer strong,
.reviewer span {
  display: block;
}

.reviewer strong {
  font-size: 0.925rem;
}

.reviewer span {
  margin-top: 2px;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-soft);
}

.trust-badge .icon {
  color: hsl(var(--primary));
}

.trust-badge span {
  font-size: 0.875rem;
  font-weight: 700;
}

.urgency-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.glow-orb {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background-image: var(--gradient-sunset);
  filter: blur(60px);
  opacity: 0.3;
}

.urgency-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.urgency-inner h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.urgency-inner p {
  max-width: 650px;
  margin: 16px auto 0;
  color: hsl(var(--background) / 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.urgency-inner .btn {
  margin-top: 32px;
}

.urgency-inner small {
  display: block;
  margin-top: 12px;
  color: hsl(var(--background) / 0.72);
}

.site-footer {
  padding: 40px 20px 112px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  text-align: center;
  font-size: 0.875rem;
}

.site-footer p + p {
  margin-top: 4px;
  font-size: 0.75rem;
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: hsl(var(--whatsapp));
  color: hsl(var(--whatsapp-foreground));
  box-shadow: var(--shadow-wa);
  animation: pulse-soft 2s ease-in-out infinite;
  transition: var(--transition-base);
}

.floating-whatsapp:hover {
  transform: scale(1.05);
}

.sticky-mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
}

.sticky-mobile-cta .btn {
  min-height: 48px;
  padding-inline: 14px;
  font-size: 0.875rem;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background-image: var(--gradient-sand);
}

.not-found-card {
  max-width: 420px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.not-found-card h1 {
  font-size: 4rem;
}

.not-found-card p {
  margin: 8px 0 24px;
  color: hsl(var(--muted-foreground));
}

.animate-fade-up {
  animation: fade-up 0.5s ease-out both;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@media (max-width: 980px) {
  .tour-grid,
  .testimonial-grid,
  .badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content,
  .calculator-grid,
  .builder-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .price-card,
  .builder-summary {
    position: static;
  }

  .destination-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .container-narrow {
    width: min(100% - 32px, 1120px);
  }

  .section,
  .urgency-section {
    padding: 56px 0;
  }

  .btn-top {
    display: none;
  }

  .hero-content {
    min-height: calc(100svh - 60px);
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 116px;
  }

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

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

  .tour-grid,
  .testimonial-grid,
  .badge-grid,
  .destination-grid,
  .destination-grid.compact,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .choice-row.three {
    grid-template-columns: 1fr;
  }

  .sticky-mobile-cta {
    display: grid;
  }
}

@media (min-width: 721px) {
  .site-footer {
    padding-bottom: 40px;
  }

  .floating-whatsapp {
    right: 24px;
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Pixel-parity refinements for the original React/Tailwind layout */
.container {
  width: 100%;
  max-width: 1152px;
  padding-inline: 20px;
}

.container-narrow {
  width: 100%;
  max-width: 1024px;
  padding-inline: 20px;
}

.section {
  padding: 64px 0;
}

.section-heading h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.hero-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 1152px;
  padding-top: 40px;
  padding-bottom: 128px;
  min-height: 88svh;
}

.hero-copy h1 {
  max-width: none;
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: 700;
}

.hero-card {
  max-width: 384px;
}

.tour-body h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.calculator-grid,
.builder-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.date-field {
  position: relative;
}

.date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid hsl(var(--input));
  border-radius: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.date-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.18);
}

.muted-icon-inline {
  color: hsl(var(--muted-foreground));
}

.calendar-popover {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 8px);
  width: 302px;
  padding: 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--popover, var(--card)));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-card);
}

.calendar-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-head strong {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.calendar-head button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  line-height: 1;
}

.calendar-head button:hover {
  background: hsl(var(--secondary));
}

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

.calendar-weekdays span {
  display: grid;
  height: 32px;
  place-items: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  font-weight: 500;
}

.calendar-day {
  display: grid;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

.calendar-day:hover:not(:disabled) {
  background: hsl(var(--secondary));
}

.calendar-day.is-selected {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.calendar-day.is-today:not(.is-selected) {
  background: hsl(var(--secondary));
}

.calendar-day.is-outside {
  color: hsl(var(--muted-foreground) / 0.45);
}

.calendar-day:disabled {
  color: hsl(var(--muted-foreground) / 0.35);
  cursor: not-allowed;
}

@media (min-width: 640px) {
  .hero-copy h1 {
    font-size: 3rem;
    line-height: 1.05;
  }

  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .container,
  .container-narrow {
    padding-inline: 40px;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .hero-copy h1 {
    font-size: 3.75rem;
  }

  .hero-lead {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 96px;
  }

  .btn-top {
    display: inline-flex;
  }

  .floating-whatsapp {
    right: 24px;
    bottom: 24px;
  }

  .site-footer {
    padding-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .calculator-grid,
  .builder-grid {
    grid-template-columns: 1fr;
  }

  .price-card,
  .builder-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .btn-top {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    justify-self: start;
  }

  .sticky-mobile-cta {
    display: grid;
  }
}

@media (max-width: 639px) {
  .topbar {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    height: 38px;
    max-width: 42vw;
  }

  .brand-title {
    max-width: 44vw;
    font-size: 0.95rem;
  }

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

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

  .tour-grid,
  .testimonial-grid,
  .badge-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .destination-grid.compact,
  .choice-row.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .destination-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .calendar-popover {
    width: min(302px, calc(100vw - 40px));
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .booking-details-head {
    display: grid;
  }

  .booking-details-head span {
    text-align: left;
  }
}

/* Demo mode */
.demo-version-badge {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
  text-align: center;
  white-space: nowrap;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .topbar-actions .btn-top {
    display: none;
  }
}

.btn.is-demo-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.12);
}

.btn.is-demo-disabled:hover,
.btn.is-demo-disabled:active {
  transform: none;
}
