/* ============================================================
   HOUSE FOR ALL – CAN THO HOMESTAY
   styles.css — Main Stylesheet
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* -- Colors -- */
  --white:          #ffffff;
  --beige:          #f8f4ee;
  --beige-dark:     #ede8df;
  --border:         #e0dbd0;

  /* Green accent palette */
  --green:          #4a7c5f;
  --green-dark:     #2c5640;
  --green-light:    #eaf2ed;

  /* OTA brand colors */
  --booking-blue:   #003580;
  --airbnb-red:     #ff5a5f;
  --agoda-dark-red: #b71c1c;

  /* Typography */
  --text-dark:      #1a1a1a;
  --text-mid:       #444444;
  --text-muted:     #777777;

  /* -- Typography -- */
  --font:           'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* -- Layout -- */
  --container:      1140px;
  --nav-h:          68px;
  --section-py:     88px;

  /* -- Effects -- */
  --radius:         14px;
  --radius-sm:      8px;
  --shadow:         0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-md:      0 10px 40px rgba(0, 0, 0, 0.12);
  --trans:          0.3s ease;
}


/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */

/* Centered max-width wrapper */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section padding */
.section {
  padding: var(--section-py) 0;
}

/* Background variants */
.bg-beige { background-color: var(--beige); }
.bg-green  { background-color: var(--green-dark); }

/* Centered section header block */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Small uppercase label above heading */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* Main section heading */
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}

/* Left-aligned variant (used in Room section) */
.section-title.left {
  text-align: left;
}

/* Section subheading */
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   4. SCROLL FADE-IN ANIMATION
      Elements with .fade-in are invisible by default.
      JavaScript (IntersectionObserver) adds .visible when
      they enter the viewport.
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 24px;
  /* Transparent over the hero; turns white on scroll */
  background: transparent;
  transition: background var(--trans), box-shadow var(--trans);
}

/* State: page has been scrolled */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  transition: color var(--trans);
}

.navbar.scrolled .nav-logo {
  color: var(--text-dark);
}

.logo-icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* Logo image — used in navbar and footer */
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 15px;
  border-radius: 50px;
  transition: color var(--trans), background var(--trans);
}

.navbar.scrolled .nav-links a {
  color: var(--text-mid);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--green);
  background: var(--green-light);
}

/* Active link state (set by JS on scroll) */
.navbar.scrolled .nav-links a.active-link {
  color: var(--green);
  background: var(--green-light);
}

/* "Book Now" CTA button in nav */
.nav-links a.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 22px;
}

.nav-links a.nav-cta:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

/* Hamburger toggle button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans), background var(--trans);
  transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

/* Animate hamburger → X when open */
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Full-bleed background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Subtle parallax-style zoom animation */
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Dark gradient overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30)  0%,
    rgba(0, 0, 0, 0.52) 55%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
  /* Entry animation on page load */
  animation: fadeUp 1s ease 0.15s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
  margin-bottom: 44px;
}

/* Hero CTA buttons row */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Animated down-arrow scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.2s ease infinite;
  opacity: 0.8;
  transition: opacity var(--trans);
}

.hero-scroll-hint:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}


/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform    var(--trans),
    box-shadow   var(--trans),
    background   var(--trans),
    color        var(--trans),
    border-color var(--trans);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn:active {
  transform: translateY(-1px);
}

/* Large variant used in Book Now section */
.btn-large {
  padding: 16px 38px;
  font-size: 0.98rem;
}

/* Booking.com — deep blue */
.btn-booking {
  background: var(--booking-blue);
  color: var(--white);
}
.btn-booking:hover { background: #002568; }

/* Airbnb — coral red */
.btn-airbnb {
  background: var(--airbnb-red);
  color: var(--white);
}
.btn-airbnb:hover { background: #e54147; }

/* Agoda — dark red */
.btn-agoda {
  background: var(--agoda-dark-red);
  color: var(--white);
}
.btn-agoda:hover { background: #9b1515; }

/* Zalo — brand blue */
.btn-zalo {
  background: #0068ff;
  color: var(--white);
}
.btn-zalo:hover { background: #0055cc; }


/* ============================================================
   8. HIGHLIGHTS SECTION
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.highlight-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ============================================================
   9. GALLERY SECTION
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

/* Wide item that spans 2 columns */
.gallery-item--large {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--beige-dark); /* fallback while image loads */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Caption that reveals on hover */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 28px 14px 12px;
  opacity: 0;
  transition: opacity var(--trans);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}


/* ============================================================
   10. THE ROOM SECTION
   ============================================================ */
.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.room-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.room-content .section-eyebrow {
  display: block;
  margin-bottom: 10px;
}

.room-content .section-title {
  margin-bottom: 18px;
}

.room-description {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Amenities list */
.amenities-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.amenities-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.amenity-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.amenities-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.amenities-list span {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* ============================================================
   11. WHY STAY HERE SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--green);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Large "ghost" number — decorative */
.why-number {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  color: transparent;
  -webkit-text-stroke: 2px var(--green-light);
}

.why-card:hover .why-number {
  -webkit-text-stroke-color: var(--green);
  transition: -webkit-text-stroke-color var(--trans);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.68;
}


/* ============================================================
   12. LOCATION SECTION
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.location-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.location-detail strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.location-detail span,
.location-detail a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.location-detail a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--trans);
}

.location-detail a:hover { color: var(--green-dark); }

.location-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.78;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Map iframe container */
.location-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* Quick info row — 4 columns across the top */
.location-details-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Two-map grid: drawn map + Google Maps side by side */
.location-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.location-map-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-map-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

.location-drawn-map {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.location-map-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.location-map-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-map-note a:hover { color: var(--green-dark); }

.location-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.78;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
   ============================================================ */
.book {
  text-align: center;
}

.book-content {
  padding: 12px 0;
}

.book-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.book-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 46px;
}

.book-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Add visible border to buttons on dark background */
.bg-green .btn {
  border-color: rgba(255, 255, 255, 0.18);
}


/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.65);
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 52px;
}

/* Footer brand / logo column */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
  transition: opacity var(--trans);
}
.footer-logo:hover { opacity: 0.85; }

.footer-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

/* Social links row below footer tagline */
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 50px;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.social-link:hover {
  background: #1877f2;       /* Facebook blue */
  color: var(--white);
  border-color: #1877f2;
}

/* Generic footer column */
.footer-col h4 {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--trans);
}

.footer-col ul a:hover { color: var(--white); }

/* Location / contact column */
.footer-contact p {
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.footer-map-link {
  font-size: 0.86rem;
  color: #6dbf8e;
  transition: color var(--trans);
}

.footer-map-link:hover { color: #a0ddb8; }

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   15. RESPONSIVE — TABLET  (≤ 920px)
   ============================================================ */
@media (max-width: 920px) {
  :root { --section-py: 64px; }

  /* Show hamburger, hide desktop links */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 28px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  }
  .nav-links.open { display: flex; }

  /* Override link colors inside mobile drawer */
  .nav-links a,
  .navbar.scrolled .nav-links a {
    color: var(--text-dark) !important;
    padding: 14px 28px;
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
    text-align: left;
  }
  .nav-links a.nav-cta {
    margin: 12px 24px 0;
    width: calc(100% - 48px);
    border-radius: 50px;
    text-align: center;
  }

  /* Room: stack vertically */
  .room-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .room-image img { height: 340px; }

  /* Gallery: 2 columns */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--large { grid-column: span 1; }

  /* Location: stack vertically */
  .location-details-row { grid-template-columns: repeat(2, 1fr); }
  .location-maps-grid   { grid-template-columns: 1fr; }

  /* Footer: 2-column */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  /* Brand spans full width */
  .footer-brand { grid-column: span 2; }
}


/* ============================================================
   16. RESPONSIVE — MOBILE  (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-py: 52px; }

  /* Stack hero buttons vertically */
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }

  .highlights-grid { grid-template-columns: 1fr; }

  /* Single-column gallery on very small screens */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .why-grid { grid-template-columns: 1fr; }

  /* Location: single column on mobile */
  .location-details-row { grid-template-columns: 1fr; }

  /* Stack book buttons */
  .book-buttons { flex-direction: column; align-items: center; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}


/* ============================================================
   17. LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-left: 14px;
  flex-shrink: 0;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
}

.lang-switcher a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.lang-switcher a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

/* Scrolled state — dark navbar */
.navbar.scrolled .lang-switcher a { color: var(--text-mid); }
.navbar.scrolled .lang-switcher a:hover { color: var(--green); background: var(--green-light); }
.navbar.scrolled .lang-switcher a.active { color: var(--green-dark); background: var(--green-light); }

.lang-switcher .sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}
.navbar.scrolled .lang-switcher .sep {
  color: var(--border);
}


/* ============================================================
   18. WHY ICON (replaces numbered .why-number for VI redesign)
   ============================================================ */
.why-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 18px;
}


/* ============================================================
   19. PRICING SECTION
   ============================================================ */
.pricing { background: var(--white); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.pricing-ota-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pricing-ota-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-ota-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.pricing-booking .pricing-ota-icon { background: #e8f0ff; color: var(--booking-blue); }
.pricing-airbnb  .pricing-ota-icon { background: #fff0f0; color: var(--airbnb-red); }
.pricing-agoda   .pricing-ota-icon { background: #ffeaea; color: var(--agoda-dark-red); }

.pricing-platform-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pricing-platform-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.pricing-check-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity var(--trans), transform var(--trans);
  color: var(--white);
  text-decoration: none;
}

.pricing-check-btn:hover { opacity: 0.88; transform: translateY(-2px); }

.pricing-check-booking { background: var(--booking-blue); }
.pricing-check-airbnb  { background: var(--airbnb-red); }
.pricing-check-agoda   { background: var(--agoda-dark-red); }

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   20. REVIEWS SECTION
   ============================================================ */
.reviews { }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--trans), box-shadow var(--trans);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f5a623;
  font-size: 1.15rem;
  letter-spacing: 3px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.review-flag { font-size: 1.5rem; flex-shrink: 0; }

.review-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.review-country {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-platform {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: normal;
  white-space: nowrap;
}

.reviews-cta {
  text-align: center;
}

.reviews-all-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 10px 24px;
  border-radius: 50px;
  transition: background var(--trans), color var(--trans);
}

.reviews-all-link:hover {
  background: var(--green);
  color: var(--white);
}


/* ============================================================
   RESPONSIVE — new sections (tablet ≤ 920px)
   ============================================================ */
@media (max-width: 920px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .reviews-grid  { grid-template-columns: 1fr; }
}

/* Mobile ≤ 600px */
@media (max-width: 600px) {
  .pricing-cards { max-width: 100%; }
}
