/* =========================================
   YEELEN SHARED DESIGN SYSTEM
   Mobile-first, reusable across client pages.
========================================= */

:root {
  --color-page: #eee9e0;

  --color-surface: #fffdf9;
  --color-surface-soft: #f4efe6;

  --color-text: #201e1a;
  --color-muted: #686259;

  --color-primary: #617047;
  --color-on-primary: #ffffff;

  --color-accent: #c56a3d;
  --color-border: #ded6ca;

  --color-whatsapp: #25d366;
  --color-on-whatsapp: #102116;

  --font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-display:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --radius-pill: 999px;

  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-xxl: 56px;

  --max-card-width: 520px;
  --shadow-soft: 0 14px 34px rgba(39, 31, 20, 0.09);
}

/* =========================================
   RESET / GLOBALS
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================
   PAGE SHELL
========================================= */

.card {
  width: 100%;
  max-width: var(--max-card-width);
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--color-surface);
}

/* =========================================
   PROFILE
========================================= */

.profile__media {
  position: relative;
  padding-bottom: 52px;
}

.profile__hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.profile__avatar {
  position: absolute;
  left: var(--space-lg);
  bottom: 0;

  width: 104px;
  height: 104px;

  object-fit: cover;

  border: 5px solid var(--color-surface);
  border-radius: 50%;
}

.profile__content {
  padding: var(--space-md) var(--space-lg) var(--space-xl);
}

.profile__name {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 3.7rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.profile__role {
  margin: var(--space-md) 0 0;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.profile__intro {
  margin: var(--space-md) 0 0;

  font-size: 1.05rem;
  line-height: 1.62;

  color: var(--color-muted);
}

/* =========================================
   TYPOGRAPHY HELPERS
========================================= */

.eyebrow {
  margin: 0 0 var(--space-sm);

  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--color-primary);
}

/* =========================================
   BUTTONS
========================================= */

.actions {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.button {
  display: flex;
  width: 100%;
  min-height: 54px;

  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 20px;

  border: 0;
  border-radius: var(--radius-pill);

  text-align: center;
  text-decoration: none;

  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;

  transition:
    transform 140ms ease,
    opacity 140ms ease;
}

.button:hover {
  opacity: 0.94;
}

.button:active {
  transform: scale(0.985);
}

.button__icon {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.button--secondary {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.button--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.button--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-on-whatsapp);
}

/* =========================================
   GENERIC SECTIONS
========================================= */

.section {
  padding: var(--space-xxl) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.section__header {
  margin-bottom: var(--space-lg);
}

.section__title {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(2.1rem, 9vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section__intro {
  margin: var(--space-md) 0 0;

  font-size: 0.98rem;
  line-height: 1.62;

  color: var(--color-muted);
}

/* =========================================
   SWIPE HINT
========================================= */

.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;

  margin: 0 0 var(--space-md);

  font-size: 0.74rem;
  font-weight: 700;

  color: var(--color-muted);
}

/* =========================================
   HORIZONTAL CAROUSELS
========================================= */

.trips {
  overflow: hidden;
  background-color: var(--color-surface-soft);
}

.trip-carousel,
.detail-carousel {
  display: grid;
  grid-auto-flow: column;
  gap: var(--space-md);

  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
}

.trip-carousel::-webkit-scrollbar,
.detail-carousel::-webkit-scrollbar {
  display: none;
}

.trip-carousel {
  grid-auto-columns: calc(100% - 34px);
  padding: 2px 2px var(--space-md);
}

.detail-carousel {
  grid-auto-columns: calc(100% - 22px);
  padding: 2px 2px var(--space-md);
}

/* =========================================
   TRIP CARDS
========================================= */

.trip-card {
  min-width: 0;
  overflow: hidden;

  border-radius: var(--radius-large);
  background-color: var(--color-surface);

  scroll-snap-align: start;
  scroll-snap-stop: always;

  box-shadow: var(--shadow-soft);
}

.trip-card__media {
  position: relative;

  aspect-ratio: 4 / 5;
  overflow: hidden;

  background-color: #ddd;
}

.trip-card__media::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(10, 8, 5, 0.67),
    rgba(10, 8, 5, 0) 67%
  );

  pointer-events: none;
}

.trip-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-card__image-title {
  position: absolute;
  z-index: 2;

  right: var(--space-lg);
  bottom: var(--space-lg);
  left: var(--space-lg);

  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 3.5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;

  color: white;
}

.trip-card__content {
  padding: var(--space-lg);
}

.trip-card__location {
  margin: 0;

  font-size: 0.76rem;
  font-weight: 700;

  color: var(--color-primary);
}

.trip-card__description {
  margin: var(--space-sm) 0 var(--space-lg);

  font-size: 0.96rem;
  line-height: 1.55;

  color: var(--color-muted);
}

.trip-card__cta {
  display: flex;
  width: 100%;

  align-items: center;
  justify-content: space-between;

  padding: 13px 17px;

  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);

  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================================
   BADGES
========================================= */

.badge {
  position: absolute;
  z-index: 4;

  top: var(--space-md);
  left: var(--space-md);

  padding: 7px 11px;

  border-radius: var(--radius-pill);

  font-size: 0.7rem;
  font-weight: 700;
}

.badge--gold {
  background-color: #f1c768;
  color: #292013;
}

.badge--sand {
  background-color: #eee0c4;
  color: #3e3221;
}

.badge--green {
  background-color: #52613f;
  color: white;
}

.badge--orange {
  background-color: #bf633a;
  color: white;
}

/* =========================================
   CAROUSEL CONTROLS
========================================= */

.carousel-controls {
  position: absolute;
  z-index: 5;

  top: 50%;
  right: var(--space-md);
  left: var(--space-md);

  display: flex;
  justify-content: space-between;

  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-arrow {
  display: grid;
  width: 48px;
  height: 48px;

  place-items: center;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;

  background-color: rgba(255, 255, 255, 0.95);
  color: #111;

  text-decoration: none;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   SECTION-LEVEL CAROUSEL NAVIGATION
   Optional reusable enhancement.
   Hidden by default; enabled only on pages that add .carousel-shell.
========================================= */

.carousel-shell {
  position: relative;
  min-width: 0;
}

.desktop-carousel-nav {
  display: none;
}

.desktop-carousel-arrow {
  display: grid;
  width: 48px;
  height: 48px;

  place-items: center;

  padding: 0;

  border: 1px solid rgba(32, 30, 26, 0.12);
  border-radius: 50%;

  background: rgba(255, 253, 249, 0.97);
  color: var(--color-text);

  box-shadow: 0 8px 22px rgba(39, 31, 20, 0.14);

  cursor: pointer;

  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
}

.desktop-carousel-arrow svg {
  width: 23px;
  height: 23px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-carousel-arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

/* =========================================
   CONTACT ACTIONS
========================================= */

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 12px;
}

.contact-link {
  flex: 0 0 calc(33.333% - 12px);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  color: var(--color-text);
  text-align: center;
  text-decoration: none;
}

.contact-link__icon {
  display: grid;
  width: 58px;
  height: 58px;

  place-items: center;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  background: var(--color-surface-soft);

  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.contact-link:active .contact-link__icon {
  transform: scale(0.95);
}

.contact-link__icon svg {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link__icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-link--whatsapp .contact-link__icon {
  background-color: rgba(37, 211, 102, 0.13);
  color: #16833d;
}

.contact-link__label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;

  color: var(--color-muted);
}

.contact-link:hover .contact-link__icon {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.contact-link:hover .contact-link__label {
  color: var(--color-text);
}

/* =========================================
   VIDEO
========================================= */

.video-card {
  margin-top: var(--space-xl);
  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background-color: var(--color-surface-soft);
}

.video-card__content {
  padding: var(--space-lg);
}

.video-card__title {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
}

.video-card__video {
  display: block;
  width: 100%;
  background-color: #111;
}

/* =========================================
   TRIP DETAILS
========================================= */

.trip-information {
  overflow: hidden;
}

.trip-panel {
  align-self: start;
  min-width: 0;

  padding: var(--space-lg);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background-color: var(--color-surface-soft);

  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-inline: 2px;
}

.trip-panel__country {
  margin: 0;

  font-size: 0.76rem;
  font-weight: 700;

  color: var(--color-primary);
}

.trip-panel__title {
  margin: var(--space-sm) 0 0;

  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.trip-panel__intro {
  margin: var(--space-md) 0 var(--space-lg);

  font-size: 0.96rem;
  line-height: 1.6;

  color: var(--color-muted);
}

/* =========================================
   FAQ / ACCORDION
========================================= */

.accordion {
  border-top: 1px solid var(--color-border);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__summary {
  display: flex;
  min-height: 66px;

  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);

  cursor: pointer;
  list-style: none;

  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__summary > span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.accordion__bullet {
  display: block;
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;
  background-color: var(--color-primary);
}

.accordion__chevron {
  width: 22px;
  height: 22px;

  flex: 0 0 auto;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 180ms ease;
}

.accordion__item[open] .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__content {
  padding: 0 0 var(--space-lg) 18px;
}

.accordion__content p {
  margin: 0;

  font-size: 0.91rem;
  line-height: 1.6;

  color: var(--color-muted);
}

/* =========================================
   WHATSAPP CTA
========================================= */

.whatsapp-cta {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.whatsapp-cta__title {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.whatsapp-cta__text {
  margin: var(--space-sm) 0 var(--space-lg);

  font-size: 0.9rem;
  line-height: 1.55;

  color: var(--color-muted);
}

/* =========================================
   REVIEWS
========================================= */

.reviews {
  display: grid;
  gap: var(--space-md);
}

.review {
  padding: var(--space-lg);

  border-radius: var(--radius-medium);
  background-color: var(--color-surface-soft);
}

.review__stars {
  display: flex;
  gap: 3px;

  margin-bottom: var(--space-sm);

  color: var(--color-accent);
}

.review__stars svg {
  width: 18px;
  height: 18px;

  fill: currentColor;
  stroke: currentColor;
}

.review__text {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

.review__author {
  margin: var(--space-md) 0 0;

  font-size: 0.78rem;
  font-weight: 700;

  color: var(--color-muted);
}

.review-prompt {
  margin-top: var(--space-md);
  padding: var(--space-lg);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background: var(--color-surface-soft);
}

.review-prompt__eyebrow {
  margin: 0 0 var(--space-xs);

  color: var(--color-primary);

  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.review-prompt__title {
  margin: 0 0 var(--space-sm);

  color: var(--color-text);

  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  line-height: 1.05;
}

.review-prompt__text {
  margin: 0 0 var(--space-lg);

  color: var(--color-muted);
  line-height: 1.55;
}

/* =========================================
   FACTS / QUICK INFO
========================================= */

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.fact-card {
  min-width: 0;
  padding: var(--space-md);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);

  background: var(--color-surface-soft);
}

.fact-card:last-child {
  grid-column: 1 / -1;
}

.fact-card__label {
  margin: 0 0 5px;

  color: var(--color-muted);

  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-card__value {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.05;
}

/* =========================================
   OFFERS / PRICING
========================================= */

.offer-grid {
  display: grid;
  gap: var(--space-md);
}

.offer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: var(--space-lg);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background: var(--color-surface);
}

.offer-card--featured {
  border-color: var(--color-primary);

  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary) 7%, var(--color-surface)),
    var(--color-surface)
  );
}

.offer-card__eyebrow {
  margin: 0 0 var(--space-sm);

  color: var(--color-primary);

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card__title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.25rem);
  line-height: 1;
}

.offer-card__price {
  margin: var(--space-md) 0 var(--space-sm);

  color: var(--color-text);

  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
}

.offer-card__price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.offer-card__text {
  margin: 0 0 var(--space-lg);

  color: var(--color-muted);
  line-height: 1.55;
}

.offer-card .button {
  margin-top: auto;
}

/* =========================================
   LOCATION
========================================= */

.location-card {
  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background: var(--color-surface);
}

.location-card__map {
  min-height: 280px;
  background: var(--color-surface-soft);
}

.location-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.location-card__body {
  padding: var(--space-lg);
}

.location-card__kicker {
  margin: 0 0 var(--space-xs);

  color: var(--color-primary);

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.location-card__title {
  margin: 0 0 var(--space-md);

  color: var(--color-text);

  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  line-height: 1.02;
}

.location-card__address,
.location-card__note {
  color: var(--color-muted);
  line-height: 1.55;
}

.location-card__address {
  margin: 0 0 var(--space-md);
}

.location-card__note {
  margin: 0 0 var(--space-lg);
}

/* =========================================
   PHOTO GALLERY
========================================= */

.photo-grid {
  display: grid;
  gap: var(--space-md);
}

.photo-card {
  overflow: hidden;
  margin: 0;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);

  background: var(--color-surface);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;

  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-card--wide img {
  aspect-ratio: 4 / 3;
}

.photo-card figcaption {
  padding: 12px 14px 14px;

  color: var(--color-muted);

  font-size: 0.86rem;
  line-height: 1.35;
}

/* =========================================
   QR CONTACT
========================================= */

.qr-contact {
  margin: var(--space-lg);

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  background: var(--color-surface-soft);
}

.qr-contact__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);

  padding: var(--space-lg);

  cursor: pointer;
  list-style: none;

  color: var(--color-text);
}

.qr-contact__summary::-webkit-details-marker {
  display: none;
}

.qr-contact__summary span {
  display: grid;
  gap: 4px;
}

.qr-contact__summary strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.qr-contact__chevron {
  width: 22px;
  height: 22px;

  flex: 0 0 auto;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 160ms ease;
}

.qr-contact[open] .qr-contact__chevron {
  transform: rotate(180deg);
}

.qr-contact__content {
  display: grid;
  gap: var(--space-lg);

  padding: 0 var(--space-lg) var(--space-lg);
}

.qr-contact__image {
  width: min(240px, 100%);
  height: auto;

  padding: 12px;

  border-radius: var(--radius-medium);
  background: white;
}

.qr-contact__content h3 {
  margin-top: 0;

  font-family: var(--font-display);
  font-size: 1.6rem;
}

.qr-contact__content p {
  color: var(--color-muted);
  line-height: 1.5;
}

/* =========================================
   LANGUAGE MENU
========================================= */

.profile__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.profile__title-row .profile__name {
  margin: 0;
}

.language-menu {
  position: relative;
  z-index: 30;

  flex: 0 0 auto;
}

.language-menu__trigger {
  display: inline-flex;
  min-height: 38px;

  align-items: center;
  gap: 7px;

  padding: 0 11px;

  cursor: pointer;
  list-style: none;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);

  background: var(--color-surface-soft);
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.language-menu__trigger::-webkit-details-marker {
  display: none;
}

.language-menu__trigger:hover {
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.language-menu__flag {
  font-size: 1rem;
  line-height: 1;
}

.language-menu__chevron {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 160ms ease;
}

.language-menu[open] .language-menu__chevron {
  transform: rotate(180deg);
}

.language-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;

  display: grid;
  min-width: 150px;
  gap: 2px;

  padding: 6px;

  border: 1px solid var(--color-border);
  border-radius: 14px;

  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.language-menu__link {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 9px 10px;

  border-radius: 10px;

  color: var(--color-text);
  text-decoration: none;

  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
}

.language-menu__link:hover {
  background: var(--color-surface-soft);
}

.language-menu__link[aria-current="page"] {
  background: var(--color-surface-soft);
  color: var(--color-primary);
}

/* =========================================
   FINAL CONTACT
========================================= */

.final-contact {
  padding: 64px var(--space-lg);

  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.final-contact__experience {
  margin: 0 0 var(--space-md);

  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;

  opacity: 0.75;
}

.final-contact__title {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.final-contact__text {
  margin: var(--space-md) 0 var(--space-lg);

  font-size: 0.98rem;
  line-height: 1.6;

  opacity: 0.86;
}

/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
summary:focus-visible,
.desktop-carousel-arrow:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .profile__title-row {
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .language-menu__trigger {
    min-height: 34px;
    padding: 0 9px;
  }
}

/* =========================================
   DESKTOP
   Mobile styles above remain untouched.
========================================= */

@media (min-width: 600px) {
  :root {
    --max-card-width: 920px;
  }

  body {
    padding: var(--space-lg) 0;
  }

  .card {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
  }

  .trip-carousel {
    grid-auto-columns: 72%;
  }

  .detail-carousel {
    grid-auto-columns: 82%;
  }

  /*
   * Pages that opt into .carousel-shell use one pair of section-level
   * arrows on desktop. Existing client pages without this markup are
   * unaffected.
   */
  .carousel-shell .trip-card .carousel-controls {
    display: none;
  }

  .desktop-carousel-nav.is-needed {
    position: absolute;
    z-index: 12;

    inset: 0;

    display: block;

    pointer-events: none;
  }

  .desktop-carousel-arrow {
    position: absolute;
    top: 50%;

    pointer-events: auto;
  }

  .desktop-carousel-arrow--prev {
    left: 10px;
    transform: translateY(-50%);
  }

  .desktop-carousel-arrow--next {
    right: 10px;
    transform: translateY(-50%);
  }

  .desktop-carousel-arrow--prev:hover:not(:disabled) {
    transform: translateY(-50%) translateX(-2px);
  }

  .desktop-carousel-arrow--next:hover:not(:disabled) {
    transform: translateY(-50%) translateX(2px);
  }

  .contact-strip {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
  }

  .contact-link {
    flex: 1;
  }

  .contact-link__icon {
    width: 64px;
    height: 64px;
  }

  .video-card__video {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
  }

  .fact-card:last-child {
    grid-column: auto;
  }

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

  .location-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .location-card__map,
  .location-card__map iframe {
    min-height: 100%;
  }

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

  .photo-card--wide {
    grid-column: 1 / -1;
  }

  .photo-card--wide img {
    aspect-ratio: 16 / 8;
  }

  .review-prompt {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--space-xl);
  }

  .review-prompt > div {
    max-width: 520px;
  }

  .review-prompt .button {
    width: auto;
    min-width: 240px;
    justify-self: end;
  }

  .qr-contact__content {
    grid-template-columns: 240px 1fr;
    align-items: center;
  }
}

/* Large desktop: make the page feel like a real travel site,
   rather than a stretched mobile card. */
@media (min-width: 960px) {
  :root {
    --max-card-width: 1280px;
  }

  body {
    padding: 32px 24px;
  }

  .card {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 22px 60px rgba(39, 31, 20, 0.1);
  }

  /* More generous editorial spacing */
  .section {
    padding: 72px clamp(40px, 5vw, 72px);
  }

  .section__header {
    max-width: 820px;
    margin-bottom: 32px;
  }

  .section__title {
    font-size: clamp(2.8rem, 4.2vw, 4.15rem);
    line-height: 0.98;
  }

  .section__intro {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  /* Profile becomes wider and more cinematic */
  .profile__media {
    padding-bottom: 58px;
  }

  .profile__hero {
    aspect-ratio: 16 / 7;
  }

  .profile__avatar {
    left: 48px;
    width: 118px;
    height: 118px;
  }

  .profile__content {
    max-width: 880px;
    padding: 22px 48px 54px;
  }

  .profile__intro {
    max-width: 760px;
    font-size: 1.08rem;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .actions .button {
    width: auto;
    min-width: 180px;
  }

  /* Desktop carousel: three travel cards visible at once */
  .trips {
    overflow: hidden;
  }

  .swipe-hint {
    display: none;
  }

  .trip-carousel {
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
    padding: 4px 2px 22px;
    scroll-padding-inline: 2px;
  }

  .trip-card {
    border: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(39, 31, 20, 0.08);
  }

  .trip-card__media {
    aspect-ratio: 4 / 3;
  }

  .trip-card__image-title {
    right: 20px;
    bottom: 20px;
    left: 20px;

    font-size: clamp(2rem, 2.4vw, 2.7rem);
    line-height: 0.96;
  }

  .trip-card__content {
    padding: 20px;
  }

  .trip-card__description {
    min-height: 4.6em;
    margin-bottom: 18px;
  }

  .badge {
    top: 14px;
    left: 14px;
  }

  .carousel-controls {
    right: 14px;
    left: 14px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .desktop-carousel-arrow {
    width: 46px;
    height: 46px;
  }

  .desktop-carousel-arrow--prev {
    left: 12px;
  }

  .desktop-carousel-arrow--next {
    right: 12px;
  }

  /* Trip detail cards: two at once instead of one giant panel */
  .detail-carousel {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
    padding: 4px 2px 22px;
  }

  .trip-panel {
    padding: 28px;
    border-radius: 22px;
  }

  .trip-panel__title {
    font-size: clamp(2.1rem, 3vw, 3rem);
  }

  /* Supporting sections use desktop space instead of stacking narrowly */
  .video-card:not(.video-card--focus) {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: stretch;
  }

  .video-card:not(.video-card--focus) .video-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
  }

  .video-card:not(.video-card--focus) .video-card__video {
    height: 100%;
    min-height: 340px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  /*
   * Optional compact video treatment.
   * Ebrima opts in with .video-card--focus.
   */
  .video-card--focus {
    display: block;
    width: min(100%, 540px);

    margin: 48px auto 0;

    text-align: center;
  }

  .video-card--focus .video-card__content {
    padding: 26px 28px 22px;
  }

  .video-card--focus .video-card__video {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;

    aspect-ratio: 1 / 1;
    object-fit: cover;

    background-color: #111;
  }

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

  .review {
    padding: 28px;
  }

  .facts-grid,
  .offer-grid {
    gap: 18px;
  }

  .fact-card,
  .offer-card,
  .review-prompt,
  .qr-contact,
  .location-card {
    border-radius: 22px;
  }

  /* Photo gallery */
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  /* Default optional wide-card behaviour */
  .photo-card--wide {
    grid-column: span 2;
  }

  .photo-card--wide img {
    aspect-ratio: 8 / 5;
  }

  /*
   * Equal gallery variant.
   * Use .photo-grid--equal when all gallery items should have
   * the same width and image frame on desktop.
   */
  .photo-grid--equal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid--equal .photo-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
  }

  .photo-grid--equal .photo-card--wide {
    grid-column: auto;
  }

  .photo-grid--equal .photo-card img,
  .photo-grid--equal .photo-card--wide img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .location-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  }

  .location-card__body {
    padding: 32px;
  }

  .final-contact {
    padding: 82px clamp(48px, 6vw, 88px);
  }

  .final-contact__text {
    max-width: 700px;
    font-size: 1.05rem;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  html,
  .trip-carousel,
  .detail-carousel {
    scroll-behavior: auto;
  }

  .button,
  .desktop-carousel-arrow,
  .accordion__chevron,
  .contact-link__icon,
  .language-menu__chevron,
  .qr-contact__chevron {
    transition: none;
  }
}
