/* ============ Design tokens ============ */
:root {
  /* Brand: a single deep teal used consistently for every interactive/accent
     surface, plus a muted amber reserved only for "featured/promo" badges. */
  --brand: #0E7A70;
  --brand-dark: #0B5F58;
  --brand-light: #E5F3F1;
  --brand-tint: #F0F8F7;

  --gold: #C68A34;
  --gold-light: #FBF0DE;

  --bg-gradient: linear-gradient(135deg, #0FA89A 0%, #2FD7C6 42%, #5B7FE0 100%);

  --white: #ffffff;
  --bg-page: #FFFFFF;
  --bg-alt: #F6F8F8;

  --text-dark: #101828;
  --text-body: #344054;
  --text-muted: #667085;

  --border: #E3E8E8;
  --border-strong: #D0D7D7;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.08);
  --shadow-hover: 0 16px 32px rgba(16, 24, 40, 0.12);

  --font-heading: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--text-dark); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ============ Card building block ============ */
.glass-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* Solid white button — used on colored surfaces (hero, closing CTA band) */
.btn-primary {
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-hover); }

/* Outlined button — secondary action on colored surfaces */
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }

/* Solid brand button — used on white card surfaces (Book now, etc.) */
.btn-accent {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  width: 100%;
  margin-top: 14px;
}
.btn-accent:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }

.btn-phone {
  background: var(--white);
  color: var(--brand-dark);
  border: 1.5px solid var(--border-strong);
  padding: 10px 18px;
  font-size: 0.88rem;
}
.btn-phone:hover { border-color: var(--brand); }

.btn-full { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  display: block;
  height: 28px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}
.site-footer .logo-text { color: var(--white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-body);
  padding: 8px 4px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover { color: var(--text-dark); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-call-mobile { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--border);
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.lang-btn.is-active {
  background: var(--brand);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Floating call button ============ */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(14, 122, 112, 0.4);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(14, 122, 112, 0.4); }
  50% { box-shadow: 0 8px 22px rgba(14, 122, 112, 0.4), 0 0 0 10px rgba(14, 122, 112, 0.14); }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: linear-gradient(160deg, #0B5F58 0%, #0E7A70 50%, #17968A 100%);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-illustration {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
.hero-slide.is-active .hero-illustration { transform: scale(1); }
.illustration-amirsoy { background-image: url('assets/images/hero/amirsoy.jpg'); }
.illustration-charvak { background-image: url('assets/images/hero/charvak.jpg'); }
.illustration-jade    { background-image: url('assets/images/hero/jade.webp'); }
.illustration-chimgan { background-image: url('assets/images/hero/chimgan.jpg'); }

@media (prefers-reduced-motion: reduce) {
  .hero-illustration { transition: none; transform: none; }
}

.hero-slide-label {
  position: absolute;
  left: 28px;
  bottom: 90px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,22,28,0.6) 0%, rgba(6,22,28,0.25) 45%, rgba(6,22,28,0.1) 70%),
    linear-gradient(180deg, rgba(6,28,28,0.15) 0%, rgba(6,22,32,0.55) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 720px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero p {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
  max-width: 560px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  right: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active { background: var(--white); transform: scale(1.3); }

/* ============ Hot tours ticker ============ */
.marquee-section {
  background: var(--brand-dark);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track { width: 100%; overflow: hidden; }
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  padding-right: 18px;
}
.marquee-item { color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.95rem; }
.marquee-item strong { color: var(--white); font-family: var(--font-heading); font-weight: 600; }
.marquee-soon { color: #F2C879; font-weight: 700; }
.marquee-sep { color: rgba(255,255,255,0.35); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: 90px 0; background: var(--bg-page); }
.section-tint { background: var(--bg-alt); }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-heading h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.grid { display: grid; gap: 24px; }

/* ============ Services ============ */
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { padding: 32px 26px; text-align: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* ============ Horizontal scroll rows (destinations) ============ */
.scroll-row-wrap { overflow-x: auto; padding: 8px 0 20px; scrollbar-width: thin; }
.scroll-row {
  display: flex;
  gap: 22px;
  padding: 0 24px;
  width: max-content;
}
.dest-card, .dest-card-soon {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }

.dest-card-image {
  height: 160px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.dest-image-khiva     { background-image: url('assets/images/destinations/khiva.jpg'); }
.dest-image-tashkent  { background-image: url('assets/images/destinations/tashkent.jpg'); }
.dest-image-fergana   { background-image: url('assets/images/destinations/fergana.jpg'); }
.dest-image-termez    { background-image: url('assets/images/destinations/termez.jpg'); }
.dest-image-chimgan   { background-image: url('assets/images/hero/charvak.jpg'); }
.dest-image-samarkand { background-image: var(--bg-gradient); }

.dest-card-body {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.dest-region {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 6px;
}
.dest-card h3 { font-size: 1.3rem; }
.dest-card p { color: var(--text-muted); font-size: 0.92rem; flex-grow: 1; }
.dest-price { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); }
.dest-price span { font-weight: 500; font-size: 0.85rem; color: var(--text-muted); }

.dest-card-soon {
  align-items: center;
  text-align: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 26px;
}

/* Globe + plane "coming soon" animation */
.globe-anim {
  position: relative;
  width: 100px; height: 100px;
  margin: 0 auto 14px;
  color: var(--brand);
}
.globe-svg {
  width: 100%; height: 100%;
  animation: spin-globe 14s linear infinite;
}
.plane-svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  transform-origin: -20px 0;
  animation: fly-plane 6s linear infinite;
}
@keyframes spin-globe { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fly-plane {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

.badge-soon {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ============ Packages ============ */
.packages-grid { grid-template-columns: repeat(3, 1fr); }
.package-card { position: relative; text-align: left; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }

.package-card-image {
  height: 150px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.package-image-standard { background: var(--bg-gradient); }
.package-image-comfort  { background-image: url('assets/images/destinations/khiva.jpg'); }
.package-image-uzungol  { background-image: url('assets/images/international/turkey-bungalow.jpg'); }
.package-image-istanbul { background-image: url('assets/images/international/istanbul.jpg'); }
.package-image-shanghai { background-image: url('assets/images/international/shanghai-hotel.avif'); }

.package-card-body { padding: 30px 28px 34px; position: relative; }

.package-sub { color: var(--text-muted); font-size: 0.9rem; }
.package-price { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.package-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-body);
  border-top: 1px solid var(--border);
}
.package-list li:first-child { border-top: none; }
.package-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.package-popular { border: 1.5px solid var(--brand); box-shadow: var(--shadow-md); }
.badge-popular {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.package-soon { align-items: center; text-align: center; justify-content: center; padding: 34px 28px; }

.package-featured { position: relative; }
.badge-new {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

/* ============ Destinations detail (Chimgan sub-section) ============ */
.destinations-detail { margin-top: 64px; }
.destinations-detail .section-heading { margin-bottom: 36px; }
.destinations-detail .section-heading h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* ============ About us ============ */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}
.about-cert { padding: 16px; text-align: center; }
.about-cert img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: var(--shadow-md);
}
.about-cert figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--text-muted); }
.about-content { padding: 32px; }
.about-content > p { color: var(--text-body); margin-bottom: 20px; }
.about-facts { list-style: none; margin: 0 0 20px; padding: 0; }
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  font-size: 0.92rem;
}
.about-facts li:first-child { border-top: none; }
.about-facts li span { color: var(--text-muted); }
.about-facts li strong { color: var(--text-dark); font-weight: 700; text-align: right; }
.about-facts li strong a { color: var(--brand); }
.about-map-link { font-weight: 700; color: var(--brand); }
.about-map-link:hover { color: var(--brand-dark); }

/* ============ Chimgan section ============ */
.chimgan-grid { grid-template-columns: repeat(3, 1fr); }
.chimgan-card { padding: 30px 26px; text-align: left; }
.chimgan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.chimgan-duration {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.chimgan-card h3 { font-size: 1.25rem; }
.itinerary li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 8px 0;
  border-top: 1px dashed var(--border);
}
.itinerary li:first-child { border-top: none; }
.itinerary li strong { color: var(--brand-dark); }
.chimgan-note {
  margin-top: 12px;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ============ Branches ============ */
.branches-grid { grid-template-columns: repeat(3, 1fr); }
.branches-grid-single { grid-template-columns: minmax(280px, 480px); justify-content: center; }
.branch-card { padding: 30px 26px; }
.branch-card p { color: var(--text-muted); font-size: 0.92rem; }
.branch-card a { display: inline-block; font-weight: 700; color: var(--brand); margin-right: 16px; }

/* ============ CTA ============ */
.cta-section { padding-bottom: 100px; }
.cta-inner {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  border: none;
}
.cta-inner h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-footer {
  background: var(--text-dark);
  padding: 60px 0 0;
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 12px; }
.footer-links, .footer-contact, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 700;
}
.footer-links a, .footer-contact a, .footer-contact p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

.footer-map-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-map-text h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.footer-map-text p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 14px; }
.footer-map-link { font-weight: 700; color: var(--brand); }
.footer-map-link:hover { color: var(--white); }
.footer-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-map iframe { display: block; filter: grayscale(0.15) contrast(1.05); }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.2s ease;
}
.social-icons a:hover { background: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============ Booking Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  position: relative;
  background: var(--white);
  transform: translateY(16px);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-hover);
}
.modal-overlay.is-open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-dark);
}
.modal-close:hover { background: var(--border); }

.modal-tour-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 16px 0 22px;
  font-weight: 700;
  color: var(--brand-dark);
}

#bookingForm { display: flex; flex-direction: column; gap: 6px; }
#bookingForm label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-top: 10px; }
#bookingForm input, #bookingForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  resize: vertical;
}
#bookingForm input:focus, #bookingForm textarea:focus {
  border-color: var(--brand);
}

.form-error {
  display: none;
  color: #B3261E;
  background: #FBEAE9;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-top: 10px;
}
.form-error.is-visible { display: block; }

.form-success {
  display: none;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
}
.form-success.is-visible { display: block; }

#bookingForm.is-hidden, .modal-call.is-hidden { display: none; }

.modal-call {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.modal-call a { display: block; font-weight: 700; color: var(--brand); margin-top: 4px; font-size: 1rem; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid, .chimgan-grid, .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 280px 1fr; }
  .branches-grid-single { grid-template-columns: minmax(240px, 1fr); }
}

@media (max-width: 940px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { max-height: 420px; padding: 16px 24px 24px; }
  .main-nav a { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav-call-mobile {
    display: flex;
    margin-top: 8px;
    background: var(--brand);
    color: var(--white);
    padding: 12px 16px !important;
    border-radius: 10px;
    justify-content: center;
    font-weight: 700;
    border-bottom: none !important;
  }
  .header-actions .btn-phone { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .services-grid, .packages-grid, .chimgan-grid, .branches-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-facts li { flex-direction: column; gap: 2px; }
  .about-facts li strong { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-map-row { grid-template-columns: 1fr; }
  .hero-content { text-align: left; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; }
  .stat-card { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .dest-card, .dest-card-soon { width: 78vw; }
  .lang-switch { display: none; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.05rem; }
  .modal { padding: 24px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-call, .marquee-content, .globe-svg, .plane-svg, .hero-slide {
    animation: none !important;
    transition: none !important;
  }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
