/* ================================================
   KOH CHANG HOTEL-FINDER – Stylesheet
   Aesthetic: Tropical Luxury / Editorial Magazine
   Fonts: Playfair Display + DM Sans
   ================================================ */

:root {
  --sand: #F5EDD6;
  --sand-light: #FDF8EE;
  --ocean: #1B5C73;
  --ocean-dark: #0D3545;
  --ocean-mid: #2A7A96;
  --ocean-light: #4BA3BE;
  --coral: #E8613A;
  --coral-light: #F07850;
  --palm: #2D6A4F;
  --palm-light: #40916C;
  --gold: #C9A84C;
  --gold-light: #E0C06A;
  --white: #FFFFFF;
  --text-dark: #1A2332;
  --text-mid: #4A5568;
  --text-light: #7A8896;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand-light);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

.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;
}

/* ===== SCREENS ===== */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }
#screen-landing:not(.active),
#screen-loading:not(.active) { display: none; }

.screen.active {
  animation: screenReveal 0.45s ease both;
}

@keyframes screenReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: rgba(253, 248, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
}

.quiz-mode #screen-landing .navbar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.quiz-mode .navbar-quiz {
  animation: navDrop 0.45s ease both;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 24px; }
.nav-link {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover { color: var(--coral); }

.btn-back, .btn-restart {
  background: none;
  border: 1.5px solid var(--ocean-mid);
  color: var(--ocean-mid);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.btn-back:hover, .btn-restart:hover {
  background: var(--ocean-mid);
  color: var(--white);
}

/* ===== LANDING SCREEN ===== */
#screen-landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0D3545 0%, #1B5C73 35%, #2A7A96 65%, #4BA3BE 100%);
}

.landing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(75, 163, 190, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(201, 168, 76, 0.15) 0%, transparent 60%);
}

.wave-decoration {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: var(--sand-light);
  clip-path: ellipse(60% 100% at 50% 100%);
  opacity: 0.9;
}

/* Floating palm leaves */
.landing-bg::before, .landing-bg::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50% 50% 0 50%;
  opacity: 0.06;
  background: var(--gold);
}
.landing-bg::before { top: -50px; right: -80px; transform: rotate(30deg); }
.landing-bg::after { bottom: 80px; left: -100px; transform: rotate(-20deg); width: 400px; height: 200px; }

.landing-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 112px 24px 110px;
  max-width: 700px;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge-pill {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.highlight-text {
  color: var(--gold-light);
  font-style: italic;
}

.subline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 18px 40px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(232, 97, 58, 0.45);
  letter-spacing: 0.01em;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 32px rgba(232, 97, 58, 0.45); }
  50% { transform: translateY(-3px); box-shadow: 0 16px 46px rgba(232, 97, 58, 0.5); }
}

.btn-primary:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
  animation-play-state: paused;
  box-shadow: 0 12px 40px rgba(232, 97, 58, 0.55);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: var(--transition);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.time-hint {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 14px;
}

.hero-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px auto 0;
  max-width: 620px;
  position: relative;
  z-index: 4;
}

.hero-steps span {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(13, 53, 69, 0.1);
  color: var(--ocean-dark);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(13, 53, 69, 0.18);
}

.beach-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 40px;
  animation: fadeUp 0.8s 0.2s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.beach-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 400;
  backdrop-filter: blur(4px);
}

/* ===== QUIZ SCREEN ===== */
#screen-quiz {
  background: var(--sand-light);
  min-height: 100vh;
}

.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.progress-bar-wrap {
  height: 6px;
  background: rgba(27, 92, 115, 0.15);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ocean-mid), var(--gold));
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 10%;
}

.progress-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 40px;
  text-align: right;
}

.question-card {
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(27,92,115,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.question-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.question-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.question-hint {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.options-grid.single-col { grid-template-columns: 1fr; }
.options-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 2px solid rgba(27, 92, 115, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.option-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-mid));
  opacity: 0;
  transition: opacity 0.3s;
}

.option-btn:hover {
  border-color: var(--ocean-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-btn:hover::before { opacity: 0.04; }

.option-btn.selected {
  border-color: var(--ocean-mid);
  background: var(--ocean-dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27, 92, 115, 0.3);
}

.option-btn.selected::after {
  content: '✓';
  position: absolute;
  right: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ocean-dark);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 2;
}

.option-icon {
  font-size: 1.5rem;
  min-width: 32px;
  position: relative;
  z-index: 1;
}

.option-text {
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

.option-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.option-text small {
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 400;
}

.multi-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn-next-question {
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 22px rgba(232, 97, 58, 0.28);
}

.btn-next-question:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
}

.multi-hint {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* ===== LOADING SCREEN ===== */
#screen-loading {
  background: linear-gradient(160deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content {
  text-align: center;
  padding: 40px;
  color: var(--white);
  max-width: 500px;
}

.loading-island {
  font-size: 5rem;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.loading-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  opacity: 0.95;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  opacity: 0.4;
  transition: opacity 0.5s;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
}

.loading-step.done {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}

.ls-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 1.5s ease infinite;
}

.loading-step.done .ls-dot {
  background: #4ADE80;
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.loading-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 16px;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  border-radius: 100px;
  width: 0%;
  transition: width 0.3s ease;
}

/* ===== RESULTS SCREEN ===== */
#screen-results { background: var(--sand-light); }

.results-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 24px 60px;
}

/* Beach Hero */
.beach-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 60%, var(--ocean-mid) 100%);
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.6s ease both;
}

.beach-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(75,163,190,0.3) 0%, transparent 60%);
}

.beach-hero-inner { position: relative; z-index: 1; }

.match-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ocean-dark);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 22px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.beach-hero-title {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 6px;
}

.beach-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.beach-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.beach-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beach-feature-pill {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Secondary Beach */
.secondary-beach {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--ocean-light);
}

.secondary-beach-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-label {
  color: var(--text-light);
  font-size: 0.85rem;
}

.secondary-name {
  color: var(--ocean-dark);
  font-weight: 600;
}

.secondary-score {
  background: rgba(27, 92, 115, 0.1);
  color: var(--ocean-mid);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.result-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(27,92,115,0.1);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: -24px 0 34px;
  box-shadow: var(--shadow-sm);
}

.result-summary strong {
  display: block;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.45;
}

.summary-kicker {
  display: block;
  color: var(--ocean-mid);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.summary-action {
  flex: 0 0 auto;
  background: var(--coral);
  color: var(--white);
  border-radius: 8px;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(232, 97, 58, 0.22);
  transition: var(--transition);
}

.summary-action:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
}

/* Hotels Section */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.section-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.hotels-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 92, 115, 0.08);
  transition: var(--transition);
  position: relative;
  animation: fadeUp 0.5s ease both;
}

.hotel-photo {
  display: block;
  height: 210px;
  aspect-ratio: 16 / 10;
  margin: -22px -22px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(27,92,115,0.18), rgba(201,168,76,0.18));
  text-decoration: none;
}

.hotel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hotel-photo span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: var(--white);
  background: rgba(13, 53, 69, 0.72);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hotel-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.hotel-photo.photo-error {
  display: none;
}

.hotel-photo-placeholder {
  display: block;
  text-decoration: none;
  background:
    radial-gradient(circle at 24% 22%, rgba(109,171,60,0.24), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(71,160,255,0.22), transparent 36%),
    linear-gradient(135deg, #eff8f5, #e7f3fb 52%, #f7fbf8);
  border-bottom: 1px solid rgba(51,73,96,0.08);
  color: #334960;
}

.hotel-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(51,73,96,0.1);
  border-radius: 10px;
}

.hotel-photo-placeholder-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}

.hotel-placeholder-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 8px 20px rgba(51,73,96,0.12);
  font-size: 1.45rem;
}

.hotel-photo-placeholder span {
  position: absolute;
  left: 14px;
  bottom: 38px;
  background: rgba(255,255,255,0.78);
  color: #334960;
  border: 1px solid rgba(51,73,96,0.12);
  box-shadow: none;
}

.hotel-photo-placeholder small {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(51,73,96,0.12);
  color: #334960;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(51,73,96,0.10);
}

.hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 92, 115, 0.18);
}

.hotel-rank {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: var(--ocean-dark);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.hotel-card:first-child .hotel-rank {
  background: var(--gold);
  color: var(--ocean-dark);
}

.hotel-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.hotel-meta { flex: 1; }

.hotel-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  padding-right: 40px;
}

.hotel-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 16px;
}

.hotel-highlight {
  background: rgba(201,168,76,0.13);
  color: #7A5B08;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 0.74rem;
  font-weight: 700;
}

.hotel-stars { color: var(--gold); font-size: 0.85rem; }

.hotel-price {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-top: 4px;
}

.hotel-price strong {
  color: var(--ocean-dark);
  font-size: 1rem;
  font-weight: 700;
}

.hotel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-beach { background: #E0F2FE; color: #0369A1; }
.badge-pool { background: #DCFCE7; color: #166534; }
.badge-family { background: #FEF3C7; color: #92400E; }
.badge-adults { background: #F3E8FF; color: #6B21A8; }
.badge-match { background: rgba(27,92,115,0.08); color: var(--ocean); }

.hotel-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 18px;
}

.hotel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #003580;
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.btn-booking:hover { background: #0046AA; transform: translateY(-1px); }

.booking-unavailable {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--text-mid);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.btn-booking-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #39b54a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--transition);
}

.btn-booking-help:hover {
  background: #2f9a3f;
  transform: translateY(-1px);
}

.btn-transfer-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-transfer-small:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-1px);
}

/* Transfer Banner */
.transfer-banner {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.transfer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.transfer-text { flex: 1; min-width: 250px; }
.transfer-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.transfer-text p {
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.transfer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.transfer-list li { font-size: 0.88rem; opacity: 0.9; }

.transfer-prices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.transfer-price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 10px 14px;
  border-radius: 8px;
  gap: 2px 16px;
}

.route { font-size: 0.85rem; opacity: 0.9; }
.price { font-weight: 700; font-size: 1rem; color: var(--gold-light); }
.vehicle {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  opacity: 0.72;
}

.btn-transfer {
  display: block;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
  margin-top: 6px;
}
.btn-transfer:hover { background: var(--coral-light); transform: translateY(-2px); }

/* Lead Section */
.lead-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,0.2);
}

.lead-options {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.lead-options .lead-section {
  margin-bottom: 0;
  height: 100%;
}

.lead-icon { font-size: 2.5rem; margin-bottom: 12px; }

.lead-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.lead-section p {
  color: var(--text-mid);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-lead {
  background: var(--ocean-dark);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lead:hover { background: var(--ocean); transform: translateY(-1px); }

.whatsapp-section {
  border-color: rgba(22, 101, 52, 0.18);
}

.btn-whatsapp {
  background: #128C7E;
}

.btn-whatsapp:hover {
  background: #0f766b;
}

.lead-fine {
  font-size: 0.78rem;
  color: var(--text-light);
}

.hidden { display: none !important; }

/* Social Proof */
.social-proof {
  margin-bottom: 40px;
  text-align: center;
}

.social-heading {
  color: var(--text-dark);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.social-count {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  border-left: 3px solid var(--gold);
}

.testimonial p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-style: italic;
}

.review-stars {
  display: block;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.testimonial span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.restart-section { text-align: center; margin-bottom: 40px; }

.btn-restart-big {
  background: none;
  border: 2px solid var(--ocean-mid);
  color: var(--ocean-mid);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-restart-big:hover {
  background: var(--ocean-dark);
  border-color: var(--ocean-dark);
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ocean-dark);
  color: rgba(255,255,255,0.7);
  padding: 20px 32px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-affiliate {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .navbar { padding: 14px 16px; }
  .landing-content { padding: 96px 16px 90px; }
  .headline { font-size: clamp(2.1rem, 12vw, 3rem); }
  .btn-primary { width: 100%; justify-content: center; padding-inline: 22px; }
  .hero-steps { grid-template-columns: 1fr; max-width: 360px; }
  .hero-steps span { padding: 11px 12px; }
  .quiz-container { padding: 88px 14px 48px; }
  .question-card { padding: 20px; }
  .progress-label { margin-bottom: 22px; }
  .options-grid { grid-template-columns: 1fr; }
  .options-grid.three-col { grid-template-columns: 1fr 1fr; }
  .beach-hero { padding: 30px 22px; }
  .result-summary { flex-direction: column; align-items: stretch; margin-top: -18px; }
  .summary-action { text-align: center; }
  .transfer-inner { flex-direction: column; gap: 24px; }
  .lead-options { grid-template-columns: 1fr; }
  .btn-lead { width: 100%; }
  .hotel-actions { flex-direction: column; }
  .btn-booking, .btn-transfer-small { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .trust-row { gap: 12px; }
  .options-grid.three-col { grid-template-columns: 1fr; }
  .results-container { padding: 80px 16px 40px; }
  .lead-section { padding: 28px 20px; }
  .transfer-banner { padding: 24px 20px; }
  .hotel-photo { height: 180px; }
  .hotel-card { padding: 18px; }
  .hotel-photo { margin: -18px -18px 18px; }
}

/* ===== KOHCHANG-ERLEBEN.COM CI ALIGNMENT ===== */
:root {
  --sand: #f6f6f6;
  --sand-light: #f6f6f6;
  --ocean: #334960;
  --ocean-dark: #253545;
  --ocean-mid: #0088cc;
  --ocean-light: #47a0ff;
  --coral: #47a0ff;
  --coral-light: #0088cc;
  --palm: #6dab3c;
  --palm-light: #82bd54;
  --gold: #f6b333;
  --gold-light: #ffd166;
  --white: #ffffff;
  --text-dark: #333333;
  --text-mid: #555f69;
  --text-light: #87909a;
  --shadow-sm: 0 2px 10px rgba(51, 73, 96, 0.08);
  --shadow-md: 0 8px 24px rgba(51, 73, 96, 0.14);
  --shadow-lg: 0 18px 46px rgba(51, 73, 96, 0.2);
  --radius: 5px;
  --radius-lg: 5px;
}

body,
button,
input,
.option-btn,
.btn-primary,
.btn-back,
.btn-restart,
.btn-next-question,
.btn-booking,
.btn-transfer-small,
.btn-transfer,
.btn-lead,
.btn-restart-big {
  font-family: 'Oxygen', Arial, sans-serif;
}

body {
  background: #f6f6f6;
  color: #333333;
  font-size: 15px;
  line-height: 1.8;
}

.headline,
.question-title,
.loading-title,
.beach-name,
.section-title,
.transfer-text h3,
.lead-section h3,
.hotel-name {
  font-family: 'Oxygen', Arial, sans-serif;
  color: #333333;
  font-weight: 700;
  letter-spacing: 0;
}

.navbar {
  background: rgba(51, 73, 96, 0.96);
  border-bottom: 0;
  padding: 15px 32px;
  min-height: 72px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

.logo {
  font-family: 'Kaushan Script', cursive;
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-link {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--gold-light);
}

.btn-back,
.btn-restart {
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 5px;
  color: #ffffff;
  font-weight: 700;
}

.btn-back:hover,
.btn-restart:hover {
  background: #47a0ff;
  border-color: #47a0ff;
}

#screen-landing {
  background:
    linear-gradient(rgba(51, 73, 96, 0.68), rgba(37, 53, 69, 0.82)),
    linear-gradient(135deg, #334960 0%, #0088cc 100%);
}

.bg-overlay {
  background:
    linear-gradient(180deg, rgba(51, 73, 96, 0.16), rgba(51, 73, 96, 0.54)),
    radial-gradient(ellipse 70% 55% at 50% 15%, rgba(255,255,255,0.16), transparent 68%);
}

.landing-bg::before,
.landing-bg::after {
  display: none;
}

.wave-decoration {
  background: #f6f6f6;
  opacity: 1;
}

.badge-pill {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.34);
  color: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.headline {
  color: #ffffff;
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  line-height: 1.18;
  text-transform: none;
  text-shadow: 0 2px 18px rgba(0,0,0,0.32);
}

.highlight-text {
  color: #ffd166;
  font-style: normal;
}

.subline {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

.trust-item,
.time-hint {
  color: rgba(255,255,255,0.82);
}

.btn-primary,
.btn-next-question,
.summary-action,
.btn-transfer,
.btn-lead {
  background: #47a0ff;
  border-radius: 5px;
  color: #ffffff;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary {
  padding: 15px 34px;
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 5px 18px rgba(71, 160, 255, 0.28); }
  50% { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(71, 160, 255, 0.34); }
}

.btn-primary:hover,
.btn-next-question:hover,
.summary-action:hover,
.btn-transfer:hover,
.btn-lead:hover {
  background: #0088cc;
  color: #ffffff;
}

.hero-steps span,
.question-card,
.secondary-beach,
.result-summary,
.hotel-card,
.lead-section,
.testimonial {
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #e6e9ec;
  box-shadow: var(--shadow-sm);
}

.hero-steps span {
  color: #334960;
  text-transform: uppercase;
}

.beach-badge,
.beach-feature-pill {
  border-radius: 5px;
}

.quiz-container,
.results-container {
  max-width: 960px;
}

.progress-bar-wrap,
.loading-bar-wrap {
  border-radius: 3px;
}

.progress-bar,
.loading-bar-fill {
  background: linear-gradient(90deg, #47a0ff, #6dab3c);
}

.question-number,
.summary-kicker {
  color: #0088cc;
  font-weight: 700;
}

.question-title,
.section-title,
.transfer-text h3,
.lead-section h3 {
  text-transform: uppercase;
}

.option-btn {
  border: 1px solid #e0e5e8;
  border-radius: 5px;
  box-shadow: none;
  font-weight: 400;
}

.option-btn:hover {
  border-color: #47a0ff;
  box-shadow: var(--shadow-sm);
}

.option-btn.selected {
  background: #334960;
  border-color: #334960;
}

.option-btn.selected::after,
.match-badge {
  background: #6dab3c;
  color: #ffffff;
  border-radius: 3px;
}

#screen-loading,
.beach-hero,
.transfer-banner,
.footer {
  background: #334960;
}

.beach-hero,
.transfer-banner {
  border-radius: 5px;
  box-shadow: var(--shadow-md);
}

.beach-hero::before {
  background: linear-gradient(135deg, rgba(71,160,255,0.18), rgba(109,171,60,0.18));
}

.beach-hero-title,
.beach-name,
.beach-desc,
.transfer-text h3,
.transfer-text p,
.transfer-list li {
  color: #ffffff;
}

.secondary-beach {
  border-left: 4px solid #47a0ff;
}

.secondary-name,
.hotel-price strong {
  color: #334960;
}

.section-title {
  font-size: 1.65rem;
}

.hotel-rank {
  background: #334960;
  border-radius: 3px;
}

.hotel-card:first-child .hotel-rank {
  background: #47a0ff;
  color: #ffffff;
}

.hotel-highlight {
  background: rgba(109,171,60,0.14);
  color: #4f8229;
  border-radius: 3px;
}

.badge {
  border-radius: 3px;
}

.btn-booking {
  border-radius: 5px;
  background: #003580;
  font-weight: 700;
}

.btn-transfer-small,
.btn-restart-big {
  border: 1px solid #47a0ff;
  border-radius: 5px;
  color: #0088cc;
  font-weight: 700;
}

.btn-transfer-small:hover,
.btn-restart-big:hover {
  background: #47a0ff;
  border-color: #47a0ff;
}

.transfer-price-item {
  border-radius: 5px;
  background: rgba(255,255,255,0.12);
}

.price,
.footer-links a:hover {
  color: #ffd166;
}

.btn-whatsapp {
  background: #25d366;
  border-radius: 50px;
}

.btn-whatsapp:hover {
  background: #128c7e;
}

.lead-fine a {
  color: #0088cc;
  font-weight: 700;
}

.footer {
  padding: 28px 32px;
  color: #959da7;
}

.footer-links a {
  color: #ffffff;
  font-weight: 700;
}

.btn-next-question:disabled,
.btn-next-question[aria-disabled="true"] {
  background: #d8dee4;
  color: #78838f;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-next-question:disabled:hover,
.btn-next-question[aria-disabled="true"]:hover {
  background: #d8dee4;
  color: #78838f;
  transform: none;
}

.hotel-reason {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #6dab3c;
  background: rgba(109,171,60,0.09);
  color: #334960;
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 700;
}

a:focus-visible,
button:focus-visible,
.option-btn:focus-visible,
.btn-primary:focus-visible,
.btn-back:focus-visible,
.btn-restart:focus-visible,
.btn-next-question:focus-visible,
.btn-booking:focus-visible,
.btn-transfer-small:focus-visible,
.btn-transfer:focus-visible,
.btn-lead:focus-visible,
.btn-restart-big:focus-visible,
.summary-action:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(71,160,255,0.28);
}

.option-btn:focus-visible {
  border-color: #47a0ff;
}

.btn-next-question:disabled:focus-visible,
.btn-next-question[aria-disabled="true"]:focus-visible {
  outline-color: #87909a;
  box-shadow: 0 0 0 5px rgba(135,144,154,0.22);
}

/* ===== RESULT PAGE REDESIGN ===== */
.results-container {
  max-width: 1220px;
}

.result-back-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: #334960;
  text-decoration: none;
  font-weight: 700;
}

.result-hero-card {
  position: relative;
  min-height: 350px;
  scroll-margin-top: 92px;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(51,73,96,0.18);
  background: #334960;
}

.result-hero-media {
  position: absolute;
  inset: 0;
}

.result-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-hero-media-fallback {
  background:
    linear-gradient(135deg, rgba(71,160,255,0.3), rgba(109,171,60,0.2)),
    #334960;
}

.result-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,53,69,0.86) 0%, rgba(13,53,69,0.58) 42%, rgba(13,53,69,0.18) 100%);
}

.beach-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(71,160,255,0.32), rgba(109,171,60,0.32)),
    linear-gradient(135deg, #dff4f7, #f5fbff);
  color: #334960;
  text-align: center;
}

.beach-photo-placeholder span {
  font-size: 3rem;
}

.beach-photo-placeholder strong {
  font-size: 1.25rem;
}

.result-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 66px 52px 44px;
  color: #ffffff;
}

.result-hero-card .match-badge {
  margin-bottom: 18px;
  background: #39b54a;
  color: #ffffff;
  border-radius: 5px;
  padding: 9px 18px;
}

.result-hero-card .beach-hero-title,
.result-hero-card .beach-name,
.result-hero-card .beach-desc {
  color: #ffffff;
}

.result-hero-card .beach-name {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  margin-bottom: 14px;
}

.result-hero-card .beach-desc {
  max-width: 680px;
  margin-bottom: 22px;
  font-weight: 400;
}

.result-hero-card .beach-feature-pill {
  background: rgba(255,255,255,0.92);
  color: #334960;
  border: 0;
  font-weight: 700;
}

.secondary-beach {
  margin: 0 0 28px;
  box-shadow: none;
  background: rgba(71,160,255,0.08);
}

.beach-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
}

.beach-detail-main,
.beach-detail-side,
.beach-gallery,
.vibe-mini-grid,
.map-card,
.quick-info-card {
  min-width: 0;
}

.beach-detail-main p {
  color: #334960;
  line-height: 1.65;
  margin-bottom: 14px;
  font-size: 1rem;
}

.beach-gallery-head,
.hotel-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 26px 0 14px;
}

.beach-gallery-head h3 {
  color: #06324a;
  font-size: 1.35rem;
}

.beach-gallery-head span,
.hotel-section-head a {
  color: #0088cc;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.beach-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.beach-gallery-item {
  aspect-ratio: 1 / 0.82;
  border-radius: 8px;
  overflow: hidden;
  background: #e9f6fb;
  box-shadow: var(--shadow-sm);
}

.beach-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.beach-gallery-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #334960;
  background: linear-gradient(135deg, #e4f6fb, #f6fbf7);
}

.beach-gallery-placeholder span {
  font-size: 2rem;
}

.vibe-box {
  padding: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(71,160,255,0.13), rgba(109,171,60,0.12));
  border: 1px solid rgba(71,160,255,0.16);
}

.vibe-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #06324a;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.vibe-title span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.78);
}

.map-card,
.quick-info-card {
  background: #ffffff;
  border: 1px solid #dfe7ee;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.map-card {
  margin-bottom: 16px;
}

.map-placeholder {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #06324a;
  background:
    radial-gradient(circle at 30% 40%, rgba(109,171,60,0.28), transparent 24%),
    radial-gradient(circle at 70% 55%, rgba(71,160,255,0.25), transparent 26%),
    linear-gradient(135deg, #dff4f7, #eaf8ef);
}

.map-placeholder span {
  font-size: 2.25rem;
}

.map-card a {
  display: inline-flex;
  margin: -58px 14px 14px;
  position: relative;
  z-index: 1;
  background: #ffffff;
  color: #0088cc;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.quick-info-card {
  padding: 18px;
}

.quick-info-card h3 {
  color: #06324a;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.beach-info-row {
  display: grid;
  grid-template-columns: 28px 138px 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid #e8edf2;
  color: #334960;
  font-size: 0.9rem;
}

.beach-info-row strong {
  color: #06324a;
}

.vibe-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.vibe-mini-grid div {
  background: #ffffff;
  border: 1px solid #e6edf2;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.vibe-mini-grid span,
.vibe-mini-grid strong,
.vibe-mini-grid small {
  display: block;
}

.vibe-mini-grid strong {
  color: #06324a;
  font-size: 0.85rem;
}

.vibe-mini-grid small {
  color: #555f69;
  font-size: 0.74rem;
  line-height: 1.25;
}

.hotel-section-head {
  margin-top: 8px;
}

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

.hotel-card {
  padding: 14px;
  border-radius: 12px;
  overflow: hidden;
}

.hotel-photo {
  width: calc(100% + 28px);
  max-width: calc(100% + 28px);
  min-width: 0;
  height: 240px;
  aspect-ratio: auto;
  margin: -14px -14px 14px;
  border-radius: 12px 12px 0 0;
  box-sizing: border-box;
}

.hotel-rank {
  top: 12px;
  left: 12px;
  right: auto;
  width: auto;
  min-width: 92px;
  height: auto;
  padding: 8px 12px;
  border-radius: 7px;
  background: #39b54a;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.hotel-card:first-child .hotel-rank {
  background: #39b54a;
}

.hotel-top {
  margin-bottom: 10px;
}

.hotel-name {
  padding-right: 0;
  color: #06324a;
  font-size: 1.12rem;
}

.hotel-badges,
.hotel-highlights {
  margin-bottom: 10px;
}

.hotel-reason {
  border-left: 0;
  border-radius: 8px;
  background: #f2f7fb;
}

.btn-booking {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  background: #1e94ff;
}

.transfer-banner {
  background: linear-gradient(135deg, #fff6e8, #ffffff);
  color: #06324a;
  border: 1px solid #f0dfc3;
}

.transfer-text h3,
.transfer-text p {
  color: #06324a;
}

.transfer-prices {
  justify-content: center;
}

.transfer-banner .btn-transfer {
  background: #00505b;
}

@media (max-width: 1024px) {
  .beach-detail-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .result-hero-card {
    min-height: auto;
  }

  .result-hero-media {
    position: relative;
    height: 190px;
  }

  .result-hero-media::after {
    background: linear-gradient(180deg, rgba(13,53,69,0.1), rgba(13,53,69,0.42));
  }

  .result-hero-content {
    padding: 22px 18px 20px;
    background: #334960;
  }

  .result-hero-card .beach-name {
    font-size: 2.35rem;
  }

  .beach-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
  }

  .beach-gallery-item {
    min-width: 44%;
    scroll-snap-align: start;
  }

  .beach-info-row {
    grid-template-columns: 26px 112px 1fr;
    font-size: 0.84rem;
  }

  .vibe-mini-grid {
    grid-template-columns: 1fr;
  }

  .hotels-grid {
    grid-template-columns: 1fr;
  }

  .hotel-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotel-photo {
    height: 220px;
  }
}

/* ===== FINAL UX FIX: MAP, WHATSAPP FLOW, TRANSFER CROSS-SELL ===== */
.map-card {
  overflow: hidden;
}

.map-container {
  position: relative;
  overflow: hidden;
}

.map-embed-wrap {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(71,160,255,0.14), rgba(109,171,60,0.12)),
    #e9f4f6;
}

.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  z-index: 1;
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #334960;
  text-align: center;
  pointer-events: none;
}

.map-fallback span {
  font-size: 2rem;
}

.map-container.map-fallback-visible .map-fallback {
  display: grid;
  pointer-events: auto;
}

.map-card a {
  margin: 14px;
  position: static;
  z-index: auto;
  max-width: calc(100% - 28px);
  white-space: normal;
}

.lead-options .lead-section {
  min-height: 0;
  height: auto;
}

.lead-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.whatsapp-section .lead-inner {
  gap: 12px;
}

.whatsapp-section .lead-icon,
.whatsapp-section h3,
.whatsapp-section p,
.whatsapp-section .btn-whatsapp,
.whatsapp-section .lead-fine {
  margin: 0;
}

.whatsapp-section .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  margin-top: 4px;
  position: static;
}

.whatsapp-section .lead-fine {
  max-width: 42rem;
  padding-top: 2px;
  line-height: 1.55;
}

.transfer-banner {
  margin: 12px 0 42px;
  padding: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(109,171,60,0.15), transparent 34%),
    linear-gradient(135deg, #fff7e8 0%, #ffffff 55%, #eef8f7 100%);
  border: 1px solid rgba(240, 223, 195, 0.95);
  color: #06324a;
  box-shadow: 0 18px 42px rgba(51,73,96,0.14);
  overflow: hidden;
}

.transfer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.transfer-text {
  min-width: 0;
}

.transfer-eyebrow {
  margin: 0 0 10px;
  color: #0088cc;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.transfer-text h3 {
  margin: 0 0 12px;
  color: #06324a;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.16;
  text-transform: none;
}

.transfer-text p:not(.transfer-eyebrow) {
  max-width: 760px;
  margin: 0 0 18px;
  color: #334960;
  opacity: 1;
  line-height: 1.65;
}

.transfer-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.transfer-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: #334960;
  font-size: 0.92rem;
  line-height: 1.35;
}

.transfer-benefits li::before {
  content: '✓';
  flex: 0 0 auto;
  color: #39b54a;
  font-weight: 800;
}

.transfer-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-width: 0;
}

.transfer-price-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(51,73,96,0.11);
  box-shadow: 0 10px 24px rgba(51,73,96,0.09);
}

.transfer-price-card span,
.transfer-price-card small {
  display: block;
  color: #5b6b73;
  line-height: 1.45;
}

.transfer-price-card strong {
  display: block;
  margin: 5px 0 4px;
  color: #06324a;
  font-size: 1.18rem;
  line-height: 1.25;
}

.transfer-banner .btn-transfer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #00505b;
  color: #ffffff;
  border-radius: 8px;
  text-align: center;
}

.transfer-banner .btn-transfer:hover {
  background: #0088cc;
}

.transfer-microcopy {
  margin: 0;
  color: #5b6b73;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .transfer-inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .transfer-prices {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .lead-options {
    grid-template-columns: 1fr;
  }

  .transfer-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .map-embed-wrap {
    min-height: 280px;
  }

  .map-embed {
    min-height: 260px;
  }

  .transfer-inner {
    padding: 22px 18px;
    gap: 20px;
  }

  .transfer-text h3 {
    font-size: 1.45rem;
  }

  .transfer-price-card {
    padding: 16px;
  }

  .whatsapp-section .btn-whatsapp {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 64px;
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .headline {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .hero-steps span {
    font-size: 0.78rem;
  }

  .question-card {
    animation-name: fadeUp;
  }
}
