@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@600;700&display=swap');

:root {
  --blue-950: #042634;
  --blue-900: #073445;
  --blue-800: #0a465a;
  --blue-700: #0f5369;
  --blue-500: #14b8d5;
  --blue-200: #cfeef8;
  --blue-100: #eaf7fc;
  --sky-50: #f6f8f9;
  --white: #ffffff;
  --text: #16313d;
  --muted: #5e7380;
  --line: rgba(6, 40, 58, 0.12);
  --shadow-lg: 0 30px 80px rgba(6, 40, 58, 0.14);
  --shadow-md: 0 16px 40px rgba(6, 40, 58, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Century Schoolbook';
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(33, 166, 207, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fcfe 0%, #ffffff 38%, #f4f9fc 100%);
  line-height: 1.65;
}

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

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

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

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

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--sky-50);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-500);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1,
.section-title h2,
.brand strong,
.footer-brand strong {
  font-family: 'Century Schoolbook', Georgia, serif;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  margin-top: 14px;
}

.lead {
  font-size: 1.08rem;
  max-width: 66ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(8, 57, 77, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(8, 57, 77, 0.28);
}

.btn-light {
  background: var(--white);
  color: var(--blue-900);
}

.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border: 1px solid rgba(8, 57, 77, 0.16);
  box-shadow: none;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.28);
}

.surface {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.card {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card-hover {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

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

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

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

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title p {
  margin-top: 14px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  /* background: rgba(12, 83, 105, 0.45); */
    background: var(--blue-900);

  transition: background 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(6, 40, 58, 0.08);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 10px 24px rgba(6, 40, 58, 0.12);
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.42rem;
  line-height: 1;
  color: var(--white);
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand strong,
.site-header.is-scrolled .brand small {
  color: var(--blue-950);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle {
  background: rgba(8, 57, 77, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--white);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--blue-950);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.site-header.is-scrolled .site-nav {
  color: var(--blue-950);
}

.site-nav a {
  position: relative;
  padding: 8px 10px;
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  transition: width 0.2s ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 12px 24px rgba(6, 40, 58, 0.14);
}

.site-header.is-scrolled .nav-cta {
  background: var(--blue-900);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 156px 0 92px;
  background:
    linear-gradient(135deg, rgba(6, 40, 58, 0.72), rgba(12, 83, 105, 0.45)),
    url('https://images.unsplash.com/photo-1587474260584-136574528ed5?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -90px -10%;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
  border-radius: 50% 50% 0 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 38px;
  align-items: center;
}

.hero h1,
.hero p,
.hero .eyebrow {
  color: var(--white);
}

.hero .eyebrow {
  color: var(--blue-200);
}

.hero-copy {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hero-points div,
.badge-box {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-points strong {
  display: block;
  font-size: 1.18rem;
  color: var(--white);
}

.hero-points span,
.badge-box p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero-panel {
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.hero-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.badge-box {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.badge-box strong {
  display: block;
  color: var(--white);
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.quick-request {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.quick-request form,
.contact-form {
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.input-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--blue-950);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(6, 40, 58, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(33, 166, 207, 0.8);
  box-shadow: 0 0 0 4px rgba(33, 166, 207, 0.14);
}

.about-section,
.content-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 280px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.pills,
.service-list,
.highlight-list,
.dest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill,
.service-list span,
.highlight-list span,
.dest-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-grid,
.destination-grid,
.gallery-grid,
.package-grid,
.values-grid,
.reviews-grid,
.service-grid,
.contact-cards,
.info-grid,
.geo-grid {
  display: grid;
  gap: 22px;
}

.feature-grid,
.package-grid,
.destination-grid,
.gallery-grid,
.reviews-grid,
.service-grid,
.geo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.destination-card,
.package-card,
.gallery-card,
.review-card,
.value-card,
.info-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.feature-card img,
.destination-card img,
.package-card img,
.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.feature-card .body,
.destination-card .body,
.package-card .body,
.gallery-card .body,
.review-card .body,
.value-card .body,
.info-card .body {
  padding: 22px;
}

.feature-card small,
.package-card small,
.destination-card small,
.gallery-card small {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue-500);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card ul,
.package-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-card li,
.package-card li {
  margin-top: 8px;
}

.meta-row,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 700;
}

.package-card.featured {
  border-color: rgba(33, 166, 207, 0.32);
  transform: translateY(-8px);
}

.package-card .package-image,
.destination-card .destination-image,
.gallery-card .gallery-image {
  position: relative;
}

.package-card .overlay-label,
.destination-card .overlay-label,
.gallery-card .overlay-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-950);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(6, 40, 58, 0.12);
}

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

.stats div {
  padding: 18px;
  border-radius: 20px;
  background: var(--blue-100);
}

.stats strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.3rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.section-band {
  padding: 92px 0;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.section-band h2,
.section-band p,
.section-band .eyebrow {
  /* color: var(--white); */
}

.values-grid .value-card {
  padding: 22px;
}

.value-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  margin-bottom: 16px;
}

.reviews-grid .review-card p {
  font-size: 1.02rem;
  color: var(--text);
}

.reviews-grid strong,
.review-card span {
  display: block;
  margin-top: 18px;
}

.review-card span,
.muted-small {
  color: var(--muted);
}

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

.gallery-card.large {
  grid-column: span 6;
}

.gallery-card.medium {
  grid-column: span 4;
}

.gallery-card.small {
  grid-column: span 3;
}

.gallery-card img {
  transition: transform 0.35s ease;
}

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

.contact-sidebar,
.map-placeholder {
  padding: 24px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.contact-cards {
  gap: 12px;
  margin-top: 22px;
}

.contact-link,
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--sky-50);
  border: 1px solid rgba(6, 40, 58, 0.08);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 700;
}

.map-placeholder {
  min-height: 100%;
}

.map-frame {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(33, 166, 207, 0.18), transparent 35%),
    linear-gradient(135deg, #eaf7fc, #dff4fb);
  border: 1px dashed rgba(8, 57, 77, 0.18);
  text-align: center;
  padding: 24px;
}

.footer {
  margin-top: 0;
  padding: 72px 0 26px;
  background: linear-gradient(135deg, var(--blue-950), #041b27);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  gap: 34px;
}

.footer-brand strong,
.footer h3 {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer a {
  display: block;
  margin-top: 10px;
}

.footer a:hover {
  color: var(--blue-200);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.3);
}

.page-hero {
  padding: 144px 0 72px;
  background:
    linear-gradient(135deg, rgba(6, 40, 58, 0.08), rgba(33, 166, 207, 0.08)),
    var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.page-hero-panel {
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f8fdff, #eaf7fc);
  border: 1px solid rgba(6, 40, 58, 0.08);
  box-shadow: var(--shadow-md);
}

.page-hero-panel img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 22px;
}

.page-hero-panel .badge-box {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list span {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 18px;
  background: var(--blue-100);
  border: 1px solid rgba(6, 40, 58, 0.08);
  color: var(--blue-950);
  font-weight: 700;
}

.check-list span::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.8rem;
}

.tour-request {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.timeline-item small,
.stat-label {
  color: var(--blue-500);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.stat-label {
  display: block;
  margin-top: 4px;
}

.dest-hero-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.dest-hero-list .contact-item {
  align-items: flex-start;
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 800;
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .feature-grid,
  .package-grid,
  .destination-grid,
  .reviews-grid,
  .service-grid,
  .geo-grid,
  .hero-grid,
  .page-hero-grid,
  .about-section,
  .content-section,
  .contact-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.small {
    grid-column: span 6;
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--blue-950);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
    background: var(--blue-900);
    color: var(--white);
  }

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

  .hero-points {
    grid-template-columns: 1fr;
  }

  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.small {
    grid-column: span 12;
  }
}

@media (max-width: 680px) {
  .section,
  .page-hero,
  .section-band {
    padding: 72px 0;
  }

  .hero {
    padding: 132px 0 72px;
  }

  .hero-panel img,
  .image-card img {
    min-height: 320px;
  }

  .brand img,
  .footer-brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 1.24rem;
  }

  .hero-actions,
  .social-links,
  .footer-bottom {
    flex-direction: column;
  }

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

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

  .contact-link,
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
/* ================================
   Tour Based Gallery Page
================================ */

.gallery-page-hero .page-hero-panel img {
  object-position: center;
}

.tour-gallery-section {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 213, 0.11), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--sky-50) 100%);
}

.tour-gallery-list {
  display: grid;
  gap: 46px;
}

.tour-gallery-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tour-gallery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.tour-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tour-count {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(6, 40, 58, 0.06);
}

.tour-title-wrap h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.tour-title-wrap p {
  max-width: 760px;
}

.tour-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(6, 40, 58, 0.18);
}

.tour-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, 245px);
  gap: 18px;
}

.tour-image-main,
.tour-image-small {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--blue-950);
  box-shadow: 0 18px 40px rgba(6, 40, 58, 0.14);
}

.tour-image-main {
  grid-row: span 2;
  min-height: 508px;
}

.tour-image-small {
  min-height: 245px;
}

.tour-image-main img,
.tour-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.tour-image-main:hover img,
.tour-image-small:hover img {
  transform: scale(1.055);
}

.tour-image-main::after,
.tour-image-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(4, 38, 52, 0.86));
  pointer-events: none;
}

.tour-image-main figcaption,
.tour-image-small figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.tour-image-main figcaption small,
.tour-image-small figcaption small {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--blue-200);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tour-image-main figcaption h4,
.tour-image-small figcaption h4 {
  margin: 0;
  color: var(--white);
  font-size: 1.28rem;
  line-height: 1.15;
}

.tour-image-main figcaption h4 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.tour-expand-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-950);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(4, 38, 52, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tour-expand-btn:hover {
  transform: translateY(-2px);
  background: var(--blue-500);
  color: var(--white);
}

/* Lightbox */
.tour-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 38, 52, 0.9);
}

.tour-lightbox.is-open {
  display: flex;
}

.tour-lightbox-box {
  position: relative;
  width: min(100%, 1050px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.tour-lightbox-box img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}

.tour-lightbox-caption {
  padding: 18px 22px;
  color: var(--blue-950);
  font-weight: 900;
}

.tour-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-950);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(4, 38, 52, 0.18);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .tour-gallery-head {
    display: grid;
  }

  .tour-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tour-image-main,
  .tour-image-small {
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .tour-gallery-card {
    padding: 18px;
    border-radius: 26px;
  }

  .tour-title-wrap {
    display: grid;
  }

  .tour-image-main,
  .tour-image-small {
    min-height: 245px;
  }

  .tour-image-main figcaption,
  .tour-image-small figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .tour-expand-btn {
    top: 12px;
    right: 12px;
    padding: 8px 12px;
  }
}

/* Single image tour gallery layout */
.tour-image-grid-single {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}

.tour-image-main-single {
  grid-row: auto;
  min-height: 560px;
}

.tour-image-main-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-image-main-single figcaption {
  max-width: 620px;
}

@media (max-width: 900px) {
  .tour-image-main-single {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .tour-image-main-single {
    min-height: 260px;
  }
}