/* ============================================================
   KhivaGo page-specific styles
   Inline <style> blocks were moved here to keep HTML clean.
   ============================================================ */

/* contact.html */
body.contact-page { background: #fbf7ef; }
.contact-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.94), rgba(26,44,66,.74)),
        url("../images/hero/places-hero.webp") center/cover;
    }
    .contact-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .contact-hero-text {
      max-width: 660px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .contact-main { padding: 70px 0 90px; }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .contact-icon {
      width: 58px;
      height: 58px;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(212,150,58,.12);
      color: var(--amber);
      font-size: 1.45rem;
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .btn-contact-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-contact-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .map-box {
      min-height: 330px;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(26,44,66,.82), rgba(212,150,58,.55)),
        url("../images/hero/khiva-map.webp") center/cover;
      position: relative;
    }
    .map-pin {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      box-shadow: 0 18px 42px rgba(0,0,0,.26);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* event-detail.html */
body.event-detail-page { background: #fbf7ef; }
.event-detail-hero {
      padding: 130px 0 54px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.74)),
        url("../images/hero/events-hero.webp") center/cover;
    }
    .event-detail-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .hero-stat {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .hero-stat strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.7rem;
      line-height: 1;
    }
    .detail-main { padding: 42px 0 90px; }
    .detail-gallery {
      display: grid;
      grid-template-columns: 1.5fr .8fr .8fr;
      grid-template-rows: 210px 210px;
      gap: 12px;
      margin-bottom: 28px;
    }
    .gallery-item {
      overflow: hidden;
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }
    .gallery-item:hover img { transform: scale(1.04); }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .booking-sidebar {
      position: sticky;
      top: 100px;
    }
    .btn-event-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-event-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .timeline-item {
      position: relative;
      padding-left: 34px;
      padding-bottom: 24px;
      border-left: 2px solid rgba(212,150,58,.3);
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -8px;
      top: 3px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 0 5px rgba(212,150,58,.16);
    }
    .ticket-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 16px;
      background: #fffdf9;
      transition: var(--transition);
    }
    .ticket-card:hover {
      transform: translateY(-4px);
      border-color: rgba(212,150,58,.45);
      box-shadow: var(--shadow-soft);
    }
    .ticket-price {
      color: var(--navy);
      font-size: 2rem;
      font-weight: 900;
      line-height: 1;
    }
    .map-box {
      min-height: 260px;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(26,44,66,.82), rgba(212,150,58,.55)),
        url("../images/hero/khiva-map.webp") center/cover;
      position: relative;
    }
    .map-pin {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      box-shadow: 0 18px 42px rgba(0,0,0,.26);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* events.html */
body.events-page { background: #fbf7ef; }
.events-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.94), rgba(26,44,66,.72)),
        url("../images/hero/events-hero.webp") center/cover;
    }
    .events-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .events-hero-text {
      max-width: 660px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .event-search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .event-list-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }
    .event-list-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .event-cover {
      height: 260px;
      object-fit: cover;
    }
    .date-tile {
      width: 72px;
      min-width: 72px;
      border-radius: 16px;
      background: var(--navy);
      color: var(--white);
      text-align: center;
      overflow: hidden;
    }
    .date-tile strong {
      display: block;
      font-size: 2rem;
      line-height: 1;
      padding-top: 12px;
    }
    .date-tile span {
      display: block;
      background: var(--amber);
      color: var(--navy);
      font-weight: 900;
      padding: 6px 0;
      margin-top: 10px;
    }
    .btn-event-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-event-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }

/* Detail review sections */
.review-section {
  --review-deep: #142638;
  margin-top: 32px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(26,44,66,.1);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(30,20,10,.08);
}

.review-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.review-title {
  margin: 8px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}

.review-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff8e8;
  border: 1px solid rgba(212,150,58,.28);
  border-radius: 999px;
  color: var(--text-sub);
  font-weight: 800;
  white-space: nowrap;
}

.review-score strong {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--amber);
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: #fffdf9;
  border: 1px solid rgba(26,44,66,.1);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(30,20,10,.06);
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--navy);
  color: var(--amber-light);
  font-weight: 900;
  letter-spacing: .02em;
}

.review-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.review-card span[data-field="review_country"],
.review-card time {
  color: var(--text-sub);
  font-size: .9rem;
}

.review-card p {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.75;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-images img {
  width: 140px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(26,44,66,.1);
}

.review-compose {
  margin-top: 22px;
}

.review-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(26,44,66,.14);
  border-radius: 14px;
  background: var(--white);
  color: var(--review-deep);
  box-shadow: 0 8px 20px rgba(30,20,10,.06);
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
  list-style: none;
}

.review-toggle::-webkit-details-marker {
  display: none;
}

.review-toggle:hover {
  border-color: rgba(212,150,58,.45);
  background: #fff8e8;
  color: var(--review-deep);
  transform: translateY(-1px);
}

.review-toggle i:first-child {
  color: var(--amber);
}

.review-toggle:hover i:first-child {
  color: var(--review-deep);
}

.review-toggle .fa-chevron-down {
  font-size: .85rem;
  transition: transform .25s ease;
}

.review-compose[open] .review-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.review-form {
  margin-top: 18px;
  padding: 20px;
  background-color: var(--review-deep);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 120px 120px;
  border: 1px solid rgba(20,38,56,.18);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(30,20,10,.07);
  position: relative;
  overflow: hidden;
}

.review-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.review-form h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
}

.review-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
}

.review-form-grid--simple {
  align-items: start;
}

.review-field {
  display: grid;
  gap: 8px;
}

.review-field--full {
  grid-column: 1;
}

.review-form-grid--simple > .review-field--full:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.review-form-grid--simple > .review-field--full:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

.review-field label {
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: .92rem;
}

.review-field input,
.review-field select,
.review-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(26,44,66,.14);
  border-radius: 12px;
  background: var(--white);
  color: var(--review-deep);
  outline: none;
  transition: var(--transition);
}

.review-field textarea {
  min-height: 116px;
  resize: vertical;
}

.review-field input[type="file"] {
  min-height: 112px;
  padding: 14px;
  border-style: dashed;
  border-color: rgba(212,150,58,.42);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  cursor: pointer;
}

.review-field input[type="file"]::file-selector-button {
  display: block;
  margin: 0 0 10px;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: var(--review-deep);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.review-field input[type="file"]::file-selector-button:hover {
  background: var(--amber);
  color: var(--review-deep);
}

.review-rating-field {
  align-self: stretch;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}

.review-rating-field legend {
  margin: 0 0 8px;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 800;
}

.review-star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  min-height: 42px;
  align-items: center;
}

.review-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-star-input label {
  color: rgba(255,255,255,.34);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.review-star-input label:hover,
.review-star-input label:hover ~ label,
.review-star-input input:checked ~ label {
  color: var(--amber);
}

.review-star-input label:hover {
  transform: translateY(-1px);
}

.review-star-input input:focus-visible + label {
  outline: 2px solid var(--amber-light);
  outline-offset: 4px;
  border-radius: 6px;
}

.review-field input:focus,
.review-field select:focus,
.review-field textarea:focus {
  border-color: var(--amber-light);
  box-shadow: 0 0 0 .22rem rgba(245,201,109,.22);
}

.review-submit {
  margin-top: 14px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--amber);
  color: var(--review-deep);
  box-shadow: 0 10px 24px rgba(212,150,58,.2);
  font-weight: 900;
  transition: var(--transition);
}

.review-submit:hover {
  background: var(--amber-light);
  color: var(--review-deep);
  transform: translateY(-2px);
}

/* guide-detail.html */
body.guide-detail-page { background: #fbf7ef; }
.profile-hero {
      padding: 130px 0 52px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.78)),
        url("../images/hero/guides-hero.webp") center/cover;
    }
    .profile-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.6rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .profile-photo {
      width: 100%;
      max-height: 440px;
      object-fit: cover;
      border-radius: 22px;
      border: 6px solid rgba(255,255,255,.16);
      box-shadow: 0 18px 60px rgba(0,0,0,.28);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .stat-card {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .stat-card strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.8rem;
      line-height: 1;
    }
    .detail-main { padding: 54px 0 90px; }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .booking-sidebar {
      position: sticky;
      top: 100px;
    }
    .review-initial {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
    }
    .btn-guide-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-guide-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .timeline-item {
      position: relative;
      padding-left: 34px;
      padding-bottom: 22px;
      border-left: 2px solid rgba(212,150,58,.3);
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -8px;
      top: 3px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 0 5px rgba(212,150,58,.16);
    }
    .package-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 16px;
      transition: var(--transition);
    }
    .package-card:hover {
      transform: translateY(-4px);
      border-color: rgba(212,150,58,.45);
      box-shadow: var(--shadow-soft);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* guides.html */
body.guides-page { background: #fbf7ef; }
.guides-hero {
      padding: 145px 0 72px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.76)),
        url("../images/hero/guides-hero.webp") center/cover;
    }
    .guides-hero-title {
      max-width: 780px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .guides-hero-text {
      max-width: 650px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .guide-avatar {
      height: 280px;
      object-fit: cover;
    }
    .guide-list-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }
    .guide-list-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .guide-status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #18b85b;
      display: inline-block;
    }
    .guide-price {
      font-size: 2rem;
      line-height: 1;
      color: var(--navy);
      font-weight: 900;
    }
    .btn-guide-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-guide-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .btn-guide-outline {
      border: 1px solid rgba(26,44,66,.18);
      border-radius: 999px;
      color: var(--navy);
      font-weight: 800;
      padding: 11px 20px;
    }
    .btn-guide-outline:hover {
      border-color: var(--amber);
      color: var(--navy);
      background: rgba(212,150,58,.12);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }

/* hotel-detail.html */
body.hotel-detail-page {
      background: #fbf7ef;
    }
.detail-hero {
      padding: 132px 0 34px;
      background:
        linear-gradient(135deg, rgba(13,21,32,.95), rgba(26,44,66,.84)),
        url("../images/hero/hotels-hero.webp") center/cover;
      color: var(--white);
    }

    .breadcrumb-khiva {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      color: rgba(255,255,255,.62);
      font-size: .88rem;
      margin-bottom: 22px;
    }

    .breadcrumb-khiva a {
      color: rgba(255,255,255,.78);
      transition: var(--transition);
    }

    .breadcrumb-khiva a:hover {
      color: var(--amber);
    }

    .detail-title-row {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
    }

    .detail-title {
      max-width: 760px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      line-height: .98;
      font-weight: 700;
      margin: 0 0 14px;
    }

    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      color: rgba(255,255,255,.76);
    }

    .detail-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .detail-meta i,
    .detail-rating i {
      color: var(--amber);
    }

    .detail-rating {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: var(--amber-light);
      font-weight: 700;
    }

    .detail-price-pill {
      min-width: 190px;
      padding: 18px 22px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 18px;
      text-align: right;
      backdrop-filter: blur(12px);
    }

    .detail-price-pill span {
      display: block;
      color: rgba(255,255,255,.62);
      font-size: .82rem;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .detail-price-pill strong {
      display: block;
      color: var(--amber-light);
      font-size: 2.4rem;
      line-height: 1;
    }

    .detail-main {
      padding: 34px 0 90px;
    }

    .detail-gallery {
      display: grid;
      grid-template-columns: 1.5fr .8fr .8fr;
      grid-template-rows: 210px 210px;
      gap: 12px;
      margin-bottom: 32px;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      background: var(--sand);
      box-shadow: var(--shadow-soft);
    }

    .gallery-item:first-child {
      grid-row: span 2;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.04);
    }

    .gallery-count {
      position: absolute;
      right: 16px;
      bottom: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(13,21,32,.82);
      color: var(--white);
      border-radius: 999px;
      padding: 9px 14px;
      font-weight: 800;
      backdrop-filter: blur(8px);
    }

    .detail-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 28px;
      align-items: start;
    }

    .detail-panel,
    .booking-card {
      background: var(--white);
      border: 1px solid rgba(26,44,66,.11);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }

    .detail-panel {
      padding: 30px;
      margin-bottom: 18px;
    }

    .detail-panel h2,
    .booking-card h3 {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 14px;
    }

    .detail-panel h2 {
      font-size: 2rem;
    }

    .detail-panel p {
      color: var(--text-sub);
      line-height: 1.8;
      margin-bottom: 0;
    }

    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 24px;
    }

    .highlight-item {
      padding: 16px;
      border: 1px solid rgba(212,150,58,.22);
      background: rgba(212,150,58,.08);
      border-radius: 14px;
    }

    .highlight-item i {
      color: var(--amber);
      font-size: 1.25rem;
      margin-bottom: 10px;
    }

    .highlight-item strong {
      display: block;
      color: var(--navy);
      font-size: .9rem;
      line-height: 1.25;
    }

    .amenities-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 18px;
    }

    .amenity-item {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 48px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fbf7ef;
      color: var(--navy);
      font-weight: 700;
      font-size: .9rem;
    }

    .amenity-item i {
      color: var(--amber);
      width: 18px;
    }

    .room-list {
      display: grid;
      gap: 12px;
      margin-top: 18px;
    }

    .room-card {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 18px;
      align-items: center;
      padding: 18px;
      border: 1px solid rgba(26,44,66,.11);
      border-radius: 14px;
      background: #fffdf9;
    }

    .room-card h3 {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 6px;
    }

    .room-card p {
      font-size: .9rem;
    }

    .room-price {
      text-align: right;
      color: var(--navy);
      white-space: nowrap;
    }

    .room-price span {
      display: block;
      color: var(--gray-mid);
      font-size: .72rem;
      text-transform: uppercase;
    }

    .room-price strong {
      display: block;
      font-size: 1.8rem;
      line-height: 1;
    }

    .booking-card {
      position: sticky;
      top: 100px;
      padding: 24px;
    }

    .booking-card h3 {
      font-size: 1.75rem;
    }

    .booking-field {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 54px;
      margin-bottom: 12px;
      padding: 10px 14px;
      background: #fbf7ef;
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 12px;
    }

    .booking-field i {
      color: var(--amber);
      width: 18px;
    }

    .booking-field span {
      display: block;
      color: var(--gray-mid);
      font-size: .72rem;
    }

    .booking-field strong {
      display: block;
      color: var(--navy);
      font-size: .92rem;
    }

    .booking-total {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 18px 0;
      margin-top: 8px;
      border-top: 1px solid var(--gray-light);
    }

    .booking-total span {
      color: var(--text-sub);
      font-weight: 700;
    }

    .booking-total strong {
      color: var(--navy);
      font-size: 1.8rem;
    }

    .booking-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 56px;
      border: 0;
      border-radius: 999px;
      background: var(--amber);
      color: var(--navy);
      font-weight: 900;
      text-decoration: none;
      box-shadow: 0 10px 22px rgba(212,150,58,.22);
      cursor: pointer;
      transition: var(--transition);
    }

    .booking-btn:hover {
      background: var(--amber-light);
      color: var(--navy);
      transform: translateY(-2px);
    }

    .booking-note {
      margin-top: 14px;
      color: var(--gray-mid);
      font-size: .82rem;
      text-align: center;
    }

    .map-box {
      position: relative;
      overflow: hidden;
      min-height: 260px;
      border-radius: 16px;
      margin-top: 18px;
      background:
        linear-gradient(135deg, rgba(26,44,66,.8), rgba(212,150,58,.52)),
        url("../images/hero/khiva-map.webp") center/cover;
    }

    .map-pin {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 72px;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      font-size: 1.7rem;
      box-shadow: 0 18px 44px rgba(0,0,0,.28);
    }

/* hotels.html */
body.hotels-page {
      background: #fbf7ef;
    }
.hotels-hero {
      position: relative;
      overflow: hidden;
      padding: 150px 0 72px;
      background:
        linear-gradient(110deg, rgba(13,21,32,.92), rgba(26,44,66,.78)),
        url("../images/hero/hotels-hero.webp") center/cover;
      color: var(--white);
    }

    .hotels-hero .section-tag {
      color: var(--amber-light);
      background: rgba(245,201,109,.12);
      border-color: rgba(245,201,109,.28);
      margin-bottom: 18px;
    }

    .hotels-hero-title {
      max-width: 760px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.6rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
      margin-bottom: 18px;
    }

    .hotels-hero-text {
      max-width: 620px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
      margin-bottom: 30px;
    }

    .hotel-search-strip {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr auto;
      gap: 12px;
      max-width: 980px;
      padding: 12px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 18px;
      backdrop-filter: blur(14px);
    }

    .hotel-search-field {
      min-height: 54px;
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--white);
      color: var(--text-main);
      border-radius: 12px;
      padding: 10px 16px;
    }

    .hotel-search-field i {
      color: var(--amber);
      font-size: 1rem;
    }

    .hotel-search-field span {
      display: block;
      color: var(--gray-mid);
      font-size: .72rem;
      line-height: 1.1;
    }

    .hotel-search-field strong {
      display: block;
      color: var(--navy);
      font-size: .9rem;
      line-height: 1.25;
    }

    .hotel-search-btn {
      min-height: 54px;
      border: 0;
      border-radius: 999px;
      background: var(--amber);
      color: var(--navy);
      padding: 0 26px;
      font-weight: 800;
      transition: var(--transition);
      white-space: nowrap;
    }

    .hotel-search-btn:hover {
      background: var(--amber-light);
      transform: translateY(-2px);
    }

    .hotel-results {
      padding: 76px 0 90px;
    }

    .results-top {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 28px;
    }

    .results-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--navy);
      margin: 0;
    }

    .results-subtitle {
      color: var(--text-sub);
      margin: 6px 0 0;
    }

    .results-filter {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--navy);
      border: 1px solid rgba(26,44,66,.16);
      background: var(--white);
      border-radius: 999px;
      padding: 10px 16px;
      font-weight: 700;
      box-shadow: var(--shadow-soft);
    }

    .hotel-list {
      display: grid;
      gap: 18px;
    }

    .hotel-row-card {
      position: relative;
      display: grid;
      grid-template-columns: minmax(260px, 390px) 1fr 210px;
      min-height: 280px;
      overflow: hidden;
      background: var(--white);
      border: 1px solid rgba(26,44,66,.12);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }

    .hotel-row-card:hover {
      transform: translateY(-4px);
      border-color: rgba(212,150,58,.48);
      box-shadow: 0 18px 50px rgba(30,20,10,.14);
    }

    .hotel-row-media {
      position: relative;
      min-height: 280px;
      overflow: hidden;
    }

    .hotel-row-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .6s ease;
    }

    .hotel-row-card:hover .hotel-row-media img {
      transform: scale(1.05);
    }

    .heart-btn {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 54px;
      height: 54px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      border-radius: 50%;
      background: var(--white);
      color: #07391f;
      font-size: 1.45rem;
      box-shadow: 0 10px 28px rgba(0,0,0,.18);
      transition: var(--transition);
    }

    .heart-btn:hover {
      color: #d74444;
      transform: scale(1.05);
    }

    .hotel-badge {
      position: absolute;
      left: 16px;
      top: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.94);
      color: #07391f;
      border-radius: 7px;
      padding: 8px 13px;
      font-weight: 800;
      box-shadow: 0 8px 22px rgba(0,0,0,.12);
    }

    .hotel-row-body {
      padding: 30px 30px 24px;
      color: #07391f;
    }

    .hotel-row-title {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(1.35rem, 2.5vw, 1.85rem);
      font-weight: 800;
      letter-spacing: 0;
      color: #07391f;
      margin-bottom: 10px;
    }

    .hotel-rating {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      color: #37413b;
      font-size: 1rem;
      margin-bottom: 18px;
    }

    .rating-dots {
      display: inline-flex;
      gap: 4px;
      transform: translateY(1px);
    }

    .rating-dots span {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #078d3d;
      border: 1.5px solid #078d3d;
    }

    .rating-dots span.empty {
      background: transparent;
    }

    .hotel-address,
    .hotel-distance,
    .hotel-value {
      margin: 0 0 12px;
      color: #07391f;
      font-size: 1.02rem;
    }

    .hotel-distance {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .hotel-distance i {
      width: 20px;
      color: #07391f;
    }

    .hotel-value {
      color: #505853;
    }

    .hotel-quote {
      max-width: 620px;
      margin: 18px 0 0;
      color: #07391f;
      font-size: 1rem;
      line-height: 1.45;
    }

    .hotel-row-side {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: space-between;
      padding: 28px 28px 30px 10px;
    }

    .hotel-row-price {
      color: #07391f;
      text-align: right;
      line-height: 1;
    }

    .hotel-row-price span {
      display: block;
      font-size: 1rem;
      margin-bottom: 6px;
    }

    .hotel-row-price strong {
      display: block;
      font-size: 2.15rem;
      font-weight: 900;
    }

    .availability-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 170px;
      min-height: 58px;
      border-radius: 999px;
      background: #08dd5b;
      border: 1.5px solid #07a946;
      color: #052d19;
      font-weight: 900;
      font-size: .98rem;
      transition: var(--transition);
      box-shadow: 0 10px 22px rgba(8,221,91,.18);
    }

    .availability-btn:hover {
      background: #00c94e;
      color: #052d19;
      transform: translateY(-2px);
    }

/* place-detail.html */
body.place-detail-page { background: #fbf7ef; }
.place-detail-hero {
      padding: 130px 0 54px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.72)),
        url("../images/hero/places-hero.webp") center/cover;
    }
    .place-detail-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .hero-stat {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .hero-stat strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.7rem;
      line-height: 1;
    }
    .detail-main { padding: 42px 0 90px; }
    .detail-gallery {
      display: grid;
      grid-template-columns: 1.5fr .8fr .8fr;
      grid-template-rows: 210px 210px;
      gap: 12px;
      margin-bottom: 28px;
    }
    .gallery-item {
      overflow: hidden;
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }
    .gallery-item:hover img { transform: scale(1.04); }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .info-sidebar {
      position: sticky;
      top: 100px;
    }
    .btn-place-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-place-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .timeline-item {
      position: relative;
      padding-left: 34px;
      padding-bottom: 24px;
      border-left: 2px solid rgba(212,150,58,.3);
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -8px;
      top: 3px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 0 5px rgba(212,150,58,.16);
    }
    .map-box {
      min-height: 280px;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(26,44,66,.82), rgba(212,150,58,.55)),
        url("../images/hero/khiva-map.webp") center/cover;
      position: relative;
    }
    .map-pin {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      box-shadow: 0 18px 42px rgba(0,0,0,.26);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* places.html */
body.places-page { background: #fbf7ef; }
.places-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.94), rgba(26,44,66,.72)),
        url("../images/hero/places-hero.webp") center/cover;
    }
    .places-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .places-hero-text {
      max-width: 660px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .place-search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .place-list-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }
    .place-list-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .place-cover {
      height: 270px;
      object-fit: cover;
    }
    .btn-place-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-place-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }

/* restaurant-detail.html */
body.restaurant-detail-page { background: #fbf7ef; }
.restaurant-detail-hero {
      padding: 130px 0 54px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.74)),
        url("../images/hero/restaurants-hero.webp") center/cover;
    }
    .restaurant-detail-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .hero-stat {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .hero-stat strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.7rem;
      line-height: 1;
    }
    .detail-main { padding: 42px 0 90px; }
    .detail-gallery {
      display: grid;
      grid-template-columns: 1.5fr .8fr .8fr;
      grid-template-rows: 210px 210px;
      gap: 12px;
      margin-bottom: 28px;
    }
    .gallery-item {
      overflow: hidden;
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }
    .gallery-item:hover img { transform: scale(1.04); }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .booking-sidebar {
      position: sticky;
      top: 100px;
    }
    .btn-rest-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-rest-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }
    .menu-item {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 14px;
      padding: 16px;
      background: #fffdf9;
    }
    .menu-price {
      color: var(--navy);
      font-size: 1.25rem;
      font-weight: 900;
      white-space: nowrap;
    }
    .map-box {
      min-height: 260px;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(26,44,66,.82), rgba(212,150,58,.55)),
        url("../images/hero/khiva-map.webp") center/cover;
      position: relative;
    }
    .map-pin {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      box-shadow: 0 18px 42px rgba(0,0,0,.26);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* restaurants.html */
body.restaurants-page { background: #fbf7ef; }
.restaurants-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.94), rgba(26,44,66,.73)),
        url("../images/hero/restaurants-hero.webp") center/cover;
    }
    .restaurants-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .restaurants-hero-text {
      max-width: 660px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .restaurant-search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .restaurant-list-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }
    .restaurant-list-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .restaurant-cover {
      height: 260px;
      object-fit: cover;
    }
    .btn-rest-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-rest-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }
    .price-range {
      color: var(--navy);
      font-size: 1.3rem;
      font-weight: 900;
    }

/* taxi.html */
body.taxi-page { background: #fbf7ef; }
.taxi-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.95), rgba(26,44,66,.74)),
        url("../images/hero/taxi-hero.webp") center/cover;
    }
    .taxi-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .taxi-hero-text {
      max-width: 650px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .ride-search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .ride-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
      overflow: hidden;
    }
    .ride-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .ride-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(212,150,58,.12);
      color: var(--amber);
      font-size: 1.8rem;
    }
    .ride-price {
      font-size: 2rem;
      line-height: 1;
      color: var(--navy);
      font-weight: 900;
    }
    .btn-taxi-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-taxi-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }

/* taxi-detail.html */
body.taxi-detail-page { background: #fbf7ef; }
.taxi-detail-hero {
      padding: 130px 0 54px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.95), rgba(26,44,66,.76)),
        url("../images/hero/taxi-hero.webp") center/cover;
    }
    .taxi-detail-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .hero-stat {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .hero-stat strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.7rem;
      line-height: 1;
    }
    .detail-main { padding: 54px 0 90px; }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .route-map {
      min-height: 300px;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(26,44,66,.84), rgba(212,150,58,.55)),
        url("../images/hero/taxi-route-map.webp") center/cover;
      position: relative;
    }
    .route-line {
      position: absolute;
      left: 18%;
      right: 18%;
      top: 50%;
      height: 4px;
      background: var(--amber-light);
      border-radius: 999px;
      box-shadow: 0 0 0 7px rgba(245,201,109,.18);
    }
    .route-pin {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--white);
      color: var(--amber);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      box-shadow: 0 16px 36px rgba(0,0,0,.24);
    }
    .route-pin.start { left: 12%; }
    .route-pin.end { right: 12%; color: #18b85b; }
    .booking-sidebar {
      position: sticky;
      top: 100px;
    }
    .btn-taxi-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-taxi-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .driver-photo {
      width: 72px;
      height: 72px;
      object-fit: cover;
      border-radius: 18px;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* tour-detail.html */
body.tour-detail-page { background: #fbf7ef; }
.tour-detail-hero {
      padding: 130px 0 54px;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(13,21,32,.94), rgba(26,44,66,.75)),
        url("../images/hero/tours-hero.webp") center/cover;
    }
    .tour-detail-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .hero-stat {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      backdrop-filter: blur(10px);
    }
    .hero-stat strong {
      display: block;
      color: var(--amber-light);
      font-size: 1.7rem;
      line-height: 1;
    }
    .detail-main { padding: 42px 0 90px; }
    .detail-gallery {
      display: grid;
      grid-template-columns: 1.5fr .8fr .8fr;
      grid-template-rows: 210px 210px;
      gap: 12px;
      margin-bottom: 28px;
    }
    .gallery-item {
      overflow: hidden;
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s ease;
    }
    .gallery-item:hover img { transform: scale(1.04); }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
    }
    .section-heading {
      font-family: 'Cormorant Garamond', serif;
      color: var(--navy);
      font-weight: 700;
      font-size: 2.1rem;
    }
    .timeline-item {
      position: relative;
      padding-left: 34px;
      padding-bottom: 24px;
      border-left: 2px solid rgba(212,150,58,.3);
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -8px;
      top: 3px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 0 5px rgba(212,150,58,.16);
    }
    .booking-sidebar {
      position: sticky;
      top: 100px;
    }
    .btn-tour-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 13px 24px;
    }
    .btn-tour-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .accordion-button:not(.collapsed) {
      background: rgba(212,150,58,.12);
      color: var(--navy);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 .2rem rgba(212,150,58,.18);
    }

/* tours.html */
body.tours-page { background: #fbf7ef; }
.tours-hero {
      padding: 145px 0 74px;
      color: var(--white);
      background:
        linear-gradient(118deg, rgba(13,21,32,.94), rgba(26,44,66,.72)),
        url("../images/hero/tours-hero.webp") center/cover;
    }
    .tours-hero-title {
      max-width: 820px;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.7rem, 6vw, 5rem);
      font-weight: 700;
      line-height: .98;
    }
    .tours-hero-text {
      max-width: 660px;
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
    }
    .tour-search-card {
      margin-top: -42px;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 18px 46px rgba(30,20,10,.14);
    }
    .tour-list-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(30,20,10,.08);
      transition: var(--transition);
    }
    .tour-list-card:hover {
      transform: translateY(-5px);
      border-color: rgba(212,150,58,.45);
      box-shadow: 0 18px 48px rgba(30,20,10,.14);
    }
    .tour-cover {
      height: 260px;
      object-fit: cover;
    }
    .tour-price-lg {
      font-size: 2rem;
      line-height: 1;
      color: var(--navy);
      font-weight: 900;
    }
    .btn-tour-primary {
      background: var(--amber);
      color: var(--navy);
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      padding: 12px 22px;
    }
    .btn-tour-primary:hover {
      background: var(--amber-light);
      color: var(--navy);
    }
    .soft-card {
      border: 1px solid rgba(26,44,66,.1);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
    }
    .nav-pills .nav-link {
      color: var(--navy);
      font-weight: 800;
      border-radius: 999px;
    }
    .nav-pills .nav-link.active {
      background: var(--navy);
      color: var(--white);
    }

/* Pagination for list pages */
.kg-pagination {
  margin: 2rem 0 0;
}
.kg-pagination .page-item .page-link {
  min-width: 3.15rem;
  min-height: 3.15rem;
  padding: .8rem 1rem;
  margin: 0 .15rem;
  border-radius: 999px;
  border: 1px solid rgba(26,44,66,.12);
  color: var(--navy);
  font-weight: 700;
  transition: all .25s ease;
}
.kg-pagination .page-item.active .page-link {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(212,150,58,.18);
}
.kg-pagination .page-item.disabled .page-link {
  color: rgba(26,44,66,.45);
  background: rgba(255,255,255,.96);
  pointer-events: none;
  border-color: rgba(26,44,66,.08);
}
.kg-pagination .page-link:hover,
.kg-pagination .page-link:focus {
  background: rgba(212,150,58,.12);
  text-decoration: none;
}
@media (max-width: 767px) {
  .kg-pagination {
    margin: 1.25rem 0 0;
  }
  .kg-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
  }
  .kg-pagination .page-item .page-link {
    min-width: 3rem;
    padding: .65rem .8rem;
  }
}
