
/* Skoura VTT Excursions — performance-focused UI/UX upgrade */
:root {
  --v2-green: #123d29;
  --v2-green-dark: #08291a;
  --v2-orange: #d96d22;
  --v2-gold: #efb548;
  --v2-cream: #fffaf0;
  --v2-surface: #ffffff;
  --v2-border: rgba(14, 57, 37, .13);
  --v2-shadow: 0 24px 70px rgba(10, 40, 25, .14);
  --v2-shadow-soft: 0 14px 40px rgba(10, 40, 25, .09);
  --v2-radius: 24px;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fffdf8;
  overflow-x: clip;
}
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-family: Tahoma, Arial, ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.section { content-visibility: auto; contain-intrinsic-size: 700px; }
.button { min-height: 48px; border-radius: 999px; font-weight: 800; }
.button-primary { background: linear-gradient(135deg, var(--v2-orange), #b74f16); box-shadow: 0 12px 28px rgba(183,79,22,.28); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(183,79,22,.34); }
.button-secondary { border-color: rgba(18,61,41,.22); background: rgba(255,255,255,.92); color: var(--v2-green-dark); }

/* Header and client branding */
.site-header { z-index: 400; }
.nav-shell { background: rgba(255,253,248,.94); backdrop-filter: blur(16px); }
.main-nav { min-height: 78px; }
.brand { gap: .7rem; }
.brand > img { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 7px 14px rgba(10,35,22,.18)); }
.brand-copy strong { font-weight: 900; letter-spacing: -.02em; }
.brand-copy small { color: #a8511d; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nav-links a { font-weight: 750; }
.nav-links a[aria-current="page"] { color: #a84e19; }
.nav-book { padding-inline: 1.25rem; }
.nav-scrim { display: none; position: fixed; inset: 0; z-index: 330; border: 0; background: rgba(2,18,11,.58); backdrop-filter: blur(2px); opacity: 0; transition: opacity .22s ease; }

/* Hero photography supplied by the client */
.hero-v2 { position: relative; isolation: isolate; overflow: hidden; background-position: center; background-size: cover; }
body[data-page="home"] .home-hero { --v2-hero: image-set(url('../images/client/photo-18.avif') type('image/avif'), url('../images/client/photo-18.webp') type('image/webp')); }
body[data-page="bike-tours"] .page-hero { --v2-hero: image-set(url('../images/client/photo-25.avif') type('image/avif'), url('../images/client/photo-25.webp') type('image/webp')); }
body[data-page="activities"] .page-hero { --v2-hero: image-set(url('../images/client/photo-04.avif') type('image/avif'), url('../images/client/photo-04.webp') type('image/webp')); }
body[data-page="booking"] .page-hero { --v2-hero: image-set(url('../images/client/photo-12.avif') type('image/avif'), url('../images/client/photo-12.webp') type('image/webp')); }
.hero-v2::before { content:""; position:absolute; inset:0; z-index:-2; background-image:var(--v2-hero, var(--hero-image)); background-position:center; background-size:cover; transform:scale(1.015); }
.hero-v2::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(4,28,17,.88) 0%,rgba(7,34,22,.7) 42%,rgba(7,27,18,.24) 72%,rgba(7,27,18,.34) 100%),linear-gradient(0deg,rgba(8,27,18,.52),transparent 48%); }
.home-hero.hero-v2 { min-height: clamp(670px, 78vh, 860px); padding-block: clamp(80px, 10vh, 126px); }
.home-hero .hero-grid { align-items: center; gap: clamp(2rem,5vw,5rem); }
.home-hero .hero-copy { max-width: 750px; }
.home-hero .hero-copy h1 { max-width: 13ch; color:#fff; font-size:clamp(3.15rem,6.8vw,6.7rem); text-wrap:balance; text-shadow:0 4px 24px rgba(0,0,0,.22); }
.home-hero .hero-lead { max-width: 680px; color:rgba(255,255,255,.9); font-size:clamp(1.05rem,1.6vw,1.25rem); }
.home-hero .eyebrow { color:#f5d99d; }
.home-hero .hero-badges li { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(9px); }
.home-hero .hero-card { border:1px solid rgba(255,255,255,.35); background:rgba(255,250,239,.9); backdrop-filter:blur(18px); box-shadow:0 34px 80px rgba(0,0,0,.28); }
.page-hero.hero-v2 { min-height: clamp(500px,62vh,680px); display:grid; align-items:end; padding-block:clamp(110px,15vh,165px) clamp(70px,9vh,100px); }
.page-hero .page-hero-inner { margin-inline:0 auto; max-width:1180px; width:min(calc(100% - 2.5rem),1200px); }
.page-hero .page-hero-inner > * { max-width:820px; }
.page-hero h1 { color:#fff; font-size:clamp(3rem,6vw,6rem); text-wrap:balance; text-shadow:0 4px 28px rgba(0,0,0,.24); }
.page-hero .page-hero-lead { color:rgba(255,255,255,.9); font-size:clamp(1.05rem,1.5vw,1.22rem); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color:#f4d59a; }
.page-hero .page-hero-stats { max-width:100%; margin-top:2rem; padding:1rem 1.15rem; border:1px solid rgba(255,255,255,.24); border-radius:20px; background:rgba(8,35,22,.45); backdrop-filter:blur(12px); }
.page-hero .page-hero-stats strong, .page-hero .page-hero-stats span { color:#fff; }

/* Cards, sections and forms */
.section { padding-block: clamp(70px,8vw,118px); }
.section-heading h2 { text-wrap:balance; }
.experience-card, .benefit-card, .booking-card, .booking-aside > div { border:1px solid var(--v2-border); box-shadow:var(--v2-shadow-soft); }
.experience-card { border-radius:var(--v2-radius); overflow:hidden; background:#fff; transition:transform .25s ease, box-shadow .25s ease; }
.experience-card:hover { transform:translateY(-5px); box-shadow:var(--v2-shadow); }
.experience-media { aspect-ratio:4/3; overflow:hidden; }
.experience-media img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.experience-card:hover .experience-media img { transform:scale(1.045); }
.price-chip { box-shadow:0 8px 22px rgba(0,0,0,.2); }
.booking-section { background:linear-gradient(180deg,#fffaf0,#fffdf8); }
.booking-grid { align-items:start; gap:clamp(24px,4vw,56px); }
.booking-card { padding:clamp(24px,4vw,48px); border-radius:28px; background:#fff; }
.booking-form input, .booking-form select, .booking-form textarea { min-height:54px; border-radius:14px; border-color:rgba(18,61,41,.18); background:#fffdf9; font-size:16px; }
.booking-form textarea { min-height:128px; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color:#ca641f; box-shadow:0 0 0 4px rgba(217,109,34,.12); }
.booking-aside { position:sticky; top:116px; }
.booking-location img { aspect-ratio:16/10; width:100%; object-fit:cover; }
.contact-band { background:linear-gradient(135deg,#0b2f1e,#174d34); }
.site-footer .brand > img { width:82px; height:82px; }

/* Original-photo gallery */
.photo-gallery-section { background:linear-gradient(180deg,#f6eddb 0%,#fffaf0 100%); overflow:hidden; }
.gallery-heading { align-items:end; }
.photo-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:190px; gap:12px; }
.gallery-tile { position:relative; min-width:0; padding:0; border:0; border-radius:20px; overflow:hidden; cursor:zoom-in; background:#173c29; box-shadow:0 10px 28px rgba(13,44,28,.11); }
.gallery-tile picture, .gallery-tile img { width:100%; height:100%; }
.gallery-tile img { object-fit:cover; transition:transform .45s ease, filter .3s ease; }
.gallery-tile::after { content:""; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,rgba(2,19,11,.78)); pointer-events:none; }
.gallery-tile-caption { position:absolute; z-index:1; inset-inline:16px; inset-block-end:13px; color:#fff; font-weight:750; font-size:.83rem; line-height:1.35; text-align:start; text-shadow:0 2px 8px rgba(0,0,0,.45); }
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform:scale(1.055); filter:saturate(1.08); }
.gallery-tile-1, .gallery-tile-6 { grid-column:span 2; grid-row:span 2; }
.gallery-tile-4, .gallery-tile-9 { grid-row:span 2; }
.gallery-more-wrap { display:flex; justify-content:center; margin-top:28px; }
.gallery-more { min-width:210px; }
.gallery-dialog { width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:rgba(3,18,11,.94); color:#fff; }
.gallery-dialog::backdrop { background:rgba(3,18,11,.9); }
.gallery-dialog-shell { position:relative; width:100%; height:100%; display:grid; place-items:center; padding:64px 82px 42px; }
.gallery-dialog figure { margin:0; width:min(1160px,100%); height:min(78vh,820px); display:grid; grid-template-rows:minmax(0,1fr) auto; gap:14px; }
.gallery-dialog picture { min-height:0; display:grid; place-items:center; }
.gallery-dialog img { width:100%; height:100%; object-fit:contain; border-radius:18px; }
.gallery-dialog figcaption { display:flex; justify-content:space-between; gap:18px; color:rgba(255,255,255,.9); }
.gallery-dialog figcaption span { font-weight:750; }
.gallery-dialog figcaption small { color:#f1cc85; white-space:nowrap; }
.gallery-dialog-close, .gallery-dialog-nav { position:absolute; display:grid; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:999px; color:#fff; background:rgba(255,255,255,.1); backdrop-filter:blur(10px); cursor:pointer; }
.gallery-dialog-close { top:18px; inset-inline-end:22px; width:48px; height:48px; font-size:2rem; line-height:1; }
.gallery-dialog-nav { top:50%; width:54px; height:54px; margin-top:-27px; font-size:2.6rem; }
.gallery-dialog-prev { inset-inline-start:18px; }
.gallery-dialog-next { inset-inline-end:18px; }
.gallery-dialog-close:hover, .gallery-dialog-nav:hover { background:rgba(255,255,255,.2); }

/* Mobile conversion dock */
.mobile-booking-dock { display:none; }

@media (max-width: 980px) {
  .utility-bar { display:none; }
  .main-nav { min-height:72px; }
  .brand > img { width:58px; height:58px; }
  .brand-copy { display:block; }
  .nav-toggle { display:grid; z-index:405; width:48px; height:48px; }
  .nav-menu { position:fixed !important; z-index:390; inset-block:0; inset-inline-end:0; width:min(88vw,390px); height:100dvh; padding:105px 24px 32px; display:flex !important; flex-direction:column; align-items:stretch; gap:22px; overflow-y:auto; background:#fffdf8; box-shadow:-24px 0 70px rgba(0,0,0,.22); transform:translateX(105%); visibility:visible !important; opacity:1 !important; transition:transform .26s cubic-bezier(.2,.8,.2,1); }
  html[dir="rtl"] .nav-menu { inset-inline-end:auto; inset-inline-start:0; transform:translateX(-105%); box-shadow:24px 0 70px rgba(0,0,0,.22); }
  body.nav-open .nav-menu { transform:translateX(0); }
  .nav-links { display:flex !important; flex-direction:column; align-items:stretch; gap:6px; }
  .nav-links a { min-height:50px; display:flex; align-items:center; padding:10px 14px; border-radius:14px; font-size:1.08rem; }
  .nav-links a[aria-current="page"] { background:#f6ead5; }
  .nav-menu .language-switcher { justify-content:flex-start; }
  .nav-menu .nav-book { width:100%; justify-content:center; }
  .nav-scrim { display:block; pointer-events:none; }
  body.nav-open .nav-scrim { pointer-events:auto; opacity:1; }
  .home-hero .hero-grid { grid-template-columns:1fr; }
  .home-hero .hero-copy { max-width:760px; }
  .home-hero .hero-card { max-width:460px; }
  .page-hero .page-hero-stats { grid-template-columns:repeat(3,1fr); }
  .gallery-grid, .photo-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gallery-tile-1, .gallery-tile-6 { grid-column:span 2; }
  .booking-aside { position:static; }
}

@media (max-width: 720px) {
  html { scroll-padding-top:86px; }
  body { padding-bottom:calc(74px + env(safe-area-inset-bottom)); }
  .container { width:min(calc(100% - 30px),1200px); }
  .brand-copy strong { font-size:.98rem; }
  .brand-copy small { font-size:.62rem; }
  .home-hero.hero-v2 { min-height:calc(100svh - 72px); padding-block:72px 50px; }
  .hero-v2::after { background:linear-gradient(180deg,rgba(4,28,17,.42),rgba(4,28,17,.86) 58%,rgba(4,28,17,.94)); }
  .home-hero .hero-copy h1 { font-size:clamp(2.75rem,13vw,4.5rem); max-width:11ch; }
  .home-hero .hero-lead { font-size:1rem; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .button { width:100%; justify-content:center; }
  .home-hero .hero-badges { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .home-hero .hero-badges li { justify-content:flex-start; font-size:.78rem; }
  .home-hero .hero-card { display:none; }
  .scroll-cue { display:none; }
  .page-hero.hero-v2 { min-height:520px; padding-block:105px 48px; align-items:end; }
  .page-hero h1 { font-size:clamp(2.65rem,12vw,4.2rem); }
  .page-hero .page-hero-stats { grid-template-columns:1fr; gap:10px; }
  .page-hero .page-hero-stats > div { border:0 !important; padding:0 0 10px; }
  .section { padding-block:68px; }
  .experience-grid, .experience-grid.four-up { grid-template-columns:1fr; gap:18px; }
  .experience-card { border-radius:20px; }
  .booking-card { padding:22px 17px; border-radius:22px; }
  .booking-form { grid-template-columns:1fr; }
  .booking-form .field, .booking-form .field-full { grid-column:1; }
  .contact-cards { grid-template-columns:1fr; }
  .photo-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:145px; gap:8px; }
  .gallery-tile { border-radius:14px; }
  .gallery-tile-1, .gallery-tile-6 { grid-column:span 2; grid-row:span 2; }
  .gallery-tile-4, .gallery-tile-9 { grid-row:span 1; }
  .gallery-tile-caption { inset-inline:10px; inset-block-end:9px; font-size:.72rem; }
  .gallery-dialog-shell { padding:60px 12px 82px; }
  .gallery-dialog figure { height:calc(100dvh - 142px); gap:10px; }
  .gallery-dialog img { border-radius:12px; }
  .gallery-dialog figcaption { padding-inline:5px; font-size:.82rem; }
  .gallery-dialog-nav { top:auto; bottom:18px; width:48px; height:48px; margin:0; }
  .gallery-dialog-prev { inset-inline-start:calc(50% - 58px); }
  .gallery-dialog-next { inset-inline-end:calc(50% - 58px); }
  .gallery-dialog-close { top:10px; inset-inline-end:12px; }
  .mobile-booking-dock { position:fixed; z-index:450; inset-inline:0; inset-block-end:0; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:9px 10px calc(9px + env(safe-area-inset-bottom)); background:rgba(255,253,248,.96); border-top:1px solid rgba(15,58,37,.13); backdrop-filter:blur(16px); box-shadow:0 -12px 35px rgba(7,31,19,.12); }
  .mobile-booking-dock a { min-height:54px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:14px; font-weight:850; }
  .mobile-booking-dock svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-dock-book { color:#fff; background:linear-gradient(135deg,#d86a20,#b74f16); }
  .mobile-dock-whatsapp { color:#fff; background:#197a49; }
  .floating-whatsapp { display:none !important; }
  .site-footer { padding-bottom:24px; }
}

@media (max-width: 390px) {
  .brand-copy { display:none; }
  .home-hero .hero-badges { grid-template-columns:1fr; }
  .photo-gallery-grid { grid-auto-rows:126px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .hero-v2::before { transform:none; }
}

/* V3 — navigation, hero spacing, booking and mobile stability fixes */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

.page-hero.hero-v2 {
  min-height: clamp(520px, 66svh, 680px);
  align-items: end;
  padding-block: clamp(5rem, 9vw, 7.5rem) clamp(3.5rem, 6vw, 5rem);
}

.page-hero .page-hero-inner {
  width: min(calc(100% - 2.5rem), var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.page-hero .page-hero-inner > * {
  max-width: 800px;
}

.page-hero h1 {
  margin-bottom: 1.15rem;
  line-height: 1.02;
}

.page-hero .page-hero-lead {
  max-width: 720px;
  margin-bottom: 0;
}

.page-hero .hero-actions {
  margin-top: 1.65rem;
}

.page-hero .page-hero-stats {
  width: min(100%, 860px);
  margin-top: 1.65rem;
}

#booking-form {
  scroll-margin-top: 104px;
}

.booking-form {
  align-items: start;
}

.field select {
  max-width: 100%;
  text-overflow: ellipsis;
}

.field-help {
  min-height: 1.25em;
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

.booking-form select:disabled {
  opacity: 1;
  color: #777d76;
  background: #f3f0e8;
}

.booking-location .booking-map {
  display: block;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  border: 0;
  background: #e9e2d2;
}

@media (max-width: 980px) {
  .nav-scrim {
    inset-block-start: 72px;
  }

  .nav-menu,
  html[dir="rtl"] .nav-menu {
    inset-block: 84px auto !important;
    inset-inline: 12px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 96px);
    padding: 18px !important;
    gap: 14px;
    border: 1px solid rgba(18, 61, 41, .12);
    border-radius: 20px;
    background: rgba(255, 253, 248, .985);
    box-shadow: 0 24px 65px rgba(4, 28, 17, .24);
    transform: translateY(-14px) scale(.985) !important;
    transform-origin: top center;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: transform .22s ease, opacity .18s ease, visibility .22s ease;
  }

  body.nav-open .nav-menu,
  html[dir="rtl"] body.nav-open .nav-menu {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links a {
    min-height: 48px;
    padding: 10px 13px;
    border-block-end: 0;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: #f6ead5;
  }

  .nav-menu .language-switcher {
    width: max-content;
  }

  .booking-grid {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.75rem), var(--container));
  }

  .main-nav {
    min-height: 70px;
  }

  .brand > img {
    width: 52px;
    height: 52px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-scrim {
    inset-block-start: 70px;
  }

  .nav-menu,
  html[dir="rtl"] .nav-menu {
    inset-block-start: 80px !important;
    inset-inline: 10px !important;
    max-height: calc(100dvh - 90px);
    padding: 15px !important;
    border-radius: 18px;
  }

  .home-hero.hero-v2 {
    min-height: auto;
    padding-block: 4.5rem 3.25rem;
  }

  .page-hero.hero-v2 {
    min-height: auto;
    padding-block: 4.5rem 2.75rem;
  }

  .page-hero .page-hero-inner {
    width: min(calc(100% - 1.75rem), var(--container));
  }

  .page-hero h1 {
    max-width: 12ch;
    margin-bottom: .9rem;
    font-size: clamp(2.45rem, 12vw, 3.65rem);
    line-height: 1.04;
  }

  html[lang="ar"] .page-hero h1 {
    max-width: 15ch;
    line-height: 1.25;
  }

  .page-hero .page-hero-lead {
    font-size: .98rem;
    line-height: 1.65;
  }

  .page-hero .hero-actions {
    margin-top: 1.25rem;
  }

  .page-hero .page-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.25rem;
    padding: 0;
    overflow: hidden;
  }

  .page-hero .page-hero-stats > div {
    min-width: 0;
    padding: .8rem .65rem;
    border: 0 !important;
  }

  .page-hero .page-hero-stats > div + div {
    border-inline-start: 1px solid rgba(255, 255, 255, .18) !important;
  }

  .page-hero .page-hero-stats strong {
    font-size: .92rem;
  }

  .page-hero .page-hero-stats span {
    font-size: .56rem;
    line-height: 1.35;
  }

  .section {
    padding-block: 58px;
  }

  .booking-card {
    padding: 22px 17px;
  }

  .booking-form {
    margin-top: 1.5rem;
    gap: .95rem;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    width: 100%;
    min-width: 0;
  }

  .booking-location .booking-map {
    min-height: 235px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 390px) {
  .brand-copy {
    display: grid;
  }

  .brand-copy strong {
    font-size: .78rem;
  }

  .brand-copy small {
    font-size: .52rem;
    letter-spacing: .06em;
  }

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

  .page-hero .page-hero-stats > div {
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 10px;
    padding: .65rem .8rem;
  }

  .page-hero .page-hero-stats > div + div {
    border-inline-start: 0 !important;
    border-block-start: 1px solid rgba(255, 255, 255, .18) !important;
  }

  .page-hero .page-hero-stats span {
    font-size: .58rem;
  }
}

/* V3.2 — equal card layouts, corrected booking map and live Tripadvisor reviews */
.experience-grid,
.tour-grid {
  align-items: stretch;
}

.experience-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.experience-media {
  flex: 0 0 auto;
}

.experience-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.experience-body > p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.experience-body .card-link {
  margin-top: auto;
  padding-top: 1rem;
}

.tour-package,
.tour-package:last-child:nth-child(odd) {
  grid-column: auto;
}

.tour-package {
  height: 100%;
  min-height: 300px;
  grid-template-columns: minmax(190px, 40%) minmax(0, 1fr);
}

.tour-package-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.tour-package-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-package-body {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.tour-package-body > p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.tour-package-body .button {
  align-self: flex-start;
  margin-top: 1rem;
}

.tripadvisor-reviews-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(52, 224, 161, .15), transparent 30%),
    radial-gradient(circle at 92% 85%, rgba(217, 109, 34, .12), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f7f0e2 100%);
}

.tripadvisor-reviews-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 61, 41, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 61, 41, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.tripadvisor-review-shell {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 1px solid rgba(18, 61, 41, .14);
  border-radius: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(10, 40, 25, .12);
  animation: tripadvisorEnter .72s cubic-bezier(.2, .8, .2, 1) both;
}

.tripadvisor-review-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tripadvisor-review-copy {
  max-width: 760px;
}

.tripadvisor-review-copy h2 {
  margin-bottom: .65rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  text-wrap: balance;
}

.tripadvisor-review-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.tripadvisor-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 38px;
  padding: .55rem .8rem;
  border: 1px solid rgba(0, 170, 108, .22);
  border-radius: 999px;
  color: #075c3f;
  background: rgba(52, 224, 161, .12);
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}

.tripadvisor-live-badge > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00aa6c;
  box-shadow: 0 0 0 0 rgba(0, 170, 108, .42);
  animation: tripadvisorPulse 1.8s ease-out infinite;
}

.tripadvisor-widget-frame {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: auto hidden;
  padding: clamp(.8rem, 2vw, 1.25rem);
  border: 1px solid rgba(18, 61, 41, .12);
  border-radius: 22px;
  background: #fff;
  animation: tripadvisorEnter .72s .12s cubic-bezier(.2, .8, .2, 1) both;
}

.tripadvisor-widget,
.tripadvisor-widget-frame > div,
.tripadvisor-widget-frame iframe,
.tripadvisor-widget-frame [id^="CDSWID"] {
  width: 100% !important;
  max-width: 100% !important;
}

.tripadvisor-widget-frame iframe {
  min-height: 230px;
  border: 0 !important;
}

.tripadvisor-widget-fallback {
  width: 100%;
  margin: 0;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  list-style: none;
  text-align: center;
}

.tripadvisor-widget-fallback li {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.tripadvisor-widget-fallback img {
  width: min(220px, 72vw);
  height: auto;
}

.tripadvisor-widget-fallback p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.tripadvisor-review-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

@keyframes tripadvisorPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 170, 108, .42); }
  70% { box-shadow: 0 0 0 11px rgba(0, 170, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 170, 108, 0); }
}

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

@media (max-width: 760px) {
  .experience-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .experience-body {
    min-height: 250px;
  }

  .tour-package {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tour-package-media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .tour-package-body {
    min-height: 0;
  }

  .tripadvisor-review-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tripadvisor-live-badge {
    justify-self: start;
  }

  .tripadvisor-widget-frame {
    min-height: 230px;
    padding: .65rem;
    border-radius: 18px;
  }

  .tripadvisor-review-actions,
  .tripadvisor-review-actions .button {
    width: 100%;
  }

  .tripadvisor-review-actions .button {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .experience-card {
    grid-template-columns: 1fr;
  }

  .experience-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .experience-body {
    min-height: 0;
  }

  .tripadvisor-review-shell {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tripadvisor-review-shell,
  .tripadvisor-widget-frame,
  .tripadvisor-live-badge > span {
    animation: none !important;
  }
}

/* V3.3 — exact Google Maps embed and all-review Tripadvisor carousel */
.booking-location .booking-map {
  width: 100%;
  height: auto;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  border: 0 !important;
}

.tripadvisor-carousel {
  --reviews-per-view: 3;
  --review-gap: 1rem;
  position: relative;
  min-width: 0;
}

.tripadvisor-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tripadvisor-carousel-status {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 750;
}

.tripadvisor-carousel-controls {
  display: flex;
  gap: .55rem;
}

.tripadvisor-carousel-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(18, 61, 41, .18);
  border-radius: 999px;
  color: var(--v2-green, #123d29);
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 40, 25, .08);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

.tripadvisor-carousel-button:hover,
.tripadvisor-carousel-button:focus-visible {
  border-color: rgba(0, 170, 108, .55);
  background: rgba(52, 224, 161, .12);
  transform: translateY(-2px);
}

.tripadvisor-carousel-button:disabled {
  opacity: .4;
  cursor: default;
  transform: none;
}

.tripadvisor-carousel-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: .2rem;
  outline: none;
  touch-action: pan-y;
}

.tripadvisor-carousel-viewport:focus-visible {
  border-radius: 22px;
  box-shadow: 0 0 0 3px rgba(0, 170, 108, .22);
}

.tripadvisor-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--review-gap);
  width: 100%;
  direction: ltr;
  will-change: transform;
  transition: transform .72s cubic-bezier(.22, .75, .2, 1);
}

.tripadvisor-review-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--review-gap) * (var(--reviews-per-view) - 1))) / var(--reviews-per-view));
  min-width: 0;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  border: 1px solid rgba(18, 61, 41, .13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(251, 247, 238, .97));
  box-shadow: 0 16px 42px rgba(10, 40, 25, .09);
  scroll-snap-align: start;
  text-align: start;
}

html[dir="rtl"] .tripadvisor-review-card {
  direction: rtl;
}

.tripadvisor-review-card::before {
  content: "“";
  position: absolute;
  inset-block-start: .75rem;
  inset-inline-end: 1rem;
  color: rgba(0, 170, 108, .12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  line-height: 1;
  pointer-events: none;
}

.tripadvisor-review-brand,
.tripadvisor-review-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  color: #111;
  font-size: .82rem;
  font-weight: 850;
}

.tripadvisor-review-brand {
  justify-content: flex-start;
}

.tripadvisor-review-owl {
  color: #00aa6c;
  letter-spacing: -.25em;
  transform: translateX(-.08em);
}

html[dir="rtl"] .tripadvisor-review-owl {
  transform: translateX(.08em);
}

.tripadvisor-review-stars {
  color: #00aa6c;
  letter-spacing: .1em;
  white-space: nowrap;
}

.tripadvisor-review-source {
  color: #075c3f;
  font-size: .72rem;
}

.tripadvisor-review-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 .75rem;
  color: var(--v2-green-dark, #092f20);
  font-size: 1.08rem;
  line-height: 1.35;
}

.tripadvisor-review-card blockquote {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.tripadvisor-review-card blockquote p,
.tripadvisor-review-placeholder > p {
  margin: 0;
  color: #40554a;
  font-size: .92rem;
  line-height: 1.7;
}

.tripadvisor-review-card footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.15rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(18, 61, 41, .1);
  color: var(--muted);
  font-size: .72rem;
}

.tripadvisor-review-card footer strong {
  color: var(--v2-green, #123d29);
  font-size: .78rem;
}

.tripadvisor-review-placeholder {
  flex-basis: 100%;
  min-height: 230px;
  justify-content: center;
}

.tripadvisor-review-placeholder a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 1rem;
  color: #8f3f26;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.tripadvisor-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem;
  min-height: 14px;
  margin-top: 1rem;
}

.tripadvisor-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 61, 41, .22);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease, transform .25s ease;
}

.tripadvisor-carousel-dot.is-active {
  width: 26px;
  background: #00aa6c;
}

.tripadvisor-carousel-dot:hover,
.tripadvisor-carousel-dot:focus-visible {
  background: #00aa6c;
  transform: scale(1.12);
}

/* Keep Tripadvisor's official live widget active as the data source while the
   branded carousel above provides the polished, accessible presentation. */
.tripadvisor-widget-source {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: -10000px;
  width: 900px;
  min-height: 300px;
  overflow: hidden;
  opacity: .001;
  pointer-events: none;
}

@media (max-width: 980px) {
  .tripadvisor-carousel {
    --reviews-per-view: 2;
  }

  .tripadvisor-review-card {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .booking-location .booking-map {
    min-height: 230px;
  }

  .tripadvisor-carousel {
    --reviews-per-view: 1;
    --review-gap: .75rem;
  }

  .tripadvisor-carousel-toolbar {
    align-items: flex-end;
  }

  .tripadvisor-carousel-button {
    width: 42px;
    height: 42px;
  }

  .tripadvisor-review-card {
    min-height: 285px;
    border-radius: 18px;
  }

  .tripadvisor-review-actions .button {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tripadvisor-carousel-track,
  .tripadvisor-carousel-button,
  .tripadvisor-carousel-dot {
    transition: none !important;
  }
}

/* Conditional booking fields must stay hidden even when .field sets display. */
[data-baby-seat-count][hidden] {
  display: none !important;
}

/* V3.4 — balanced layout for the five walking and outdoor activity cards. */
.experience-grid.five-balanced {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.experience-grid.five-balanced > .experience-card {
  grid-column: span 2;
}

.experience-grid.five-balanced > .experience-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.experience-grid.five-balanced > .experience-card:last-child {
  grid-column: 4 / span 2;
}

@media (max-width: 1120px) {
  .experience-grid.five-balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid.five-balanced > .experience-card,
  .experience-grid.five-balanced > .experience-card:nth-last-child(2),
  .experience-grid.five-balanced > .experience-card:last-child {
    grid-column: auto;
  }

  .experience-grid.five-balanced > .experience-card:last-child {
    width: calc(50% - .625rem);
    justify-self: center;
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .experience-grid.five-balanced {
    grid-template-columns: 1fr;
  }

  .experience-grid.five-balanced > .experience-card:last-child {
    width: 100%;
    grid-column: auto;
  }
}
