/* =====================================================================
   Machu Picchu Exclusive Tours — luxury accents on top of Tailwind
   ===================================================================== */

html {
  scroll-behavior: smooth;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f8f5ee;
}

main {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Fixed header: pegado al borde superior del viewport */
.site-header {
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
}

.site-header__bar {
  padding-top: env(safe-area-inset-top, 0);
}

/* Header al hacer scroll: fondo crema + sombra bajo la barra */
.site-header--solid {
  box-shadow:
    0 1px 0 rgba(14, 27, 20, 0.05),
    0 8px 28px -6px rgba(14, 27, 20, 0.14),
    0 16px 40px -12px rgba(14, 27, 20, 0.08);
}

/* Degradado crema sobre el hero: de arriba (bone sólido) hacia abajo (transparente) */
.site-header__veil {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5rem;
  background: linear-gradient(
    to bottom,
    #f8f5ee 0%,
    rgba(248, 245, 238, 0.92) 45%,
    rgba(248, 245, 238, 0) 100%
  );
}
@media (min-width: 1024px) {
  .site-header__veil {
    height: 6rem;
  }
}

.site-header:not(.site-header--solid) .site-header__bar a,
.site-header:not(.site-header--solid) .site-header__bar button {
  text-shadow: none;
}

.site-header:not(.site-header--solid) .brand-logo__img {
  filter: none;
}

/* --- Buttons --------------------------------------------------------- */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #B08D57;
  color: #F8F5EE;
  border: 1px solid #B08D57;
  transition: all .55s cubic-bezier(.22,.61,.36,1);
  position: relative;
  overflow: hidden;
}
.btn-luxury:hover {
  background: transparent;
  color: #F8F5EE;
  letter-spacing: 0.22em;
}
.btn-luxury.btn-luxury-dark {
  background: #0E1B14;
  border-color: #0E1B14;
}
.btn-luxury.btn-luxury-dark:hover {
  background: #B08D57;
  border-color: #B08D57;
  color: #F8F5EE;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F8F5EE;
  border: 1px solid rgba(248,245,238,.4);
  transition: all .55s cubic-bezier(.22,.61,.36,1);
}
.btn-ghost:hover {
  border-color: #B08D57;
  color: #B08D57;
  letter-spacing: 0.22em;
}

/* --- Pillar cards (home) -------------------------------------------- */
.card-luxury {
  background: #F8F5EE;
  padding: 3rem 2.5rem;
  position: relative;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease;
  border-top: 1px solid rgba(14,27,20,.08);
}
.card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(14,27,20,.18);
}
.card-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #B08D57;
  margin-bottom: 1.5rem;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #0E1B14;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.card-text {
  color: rgba(14,27,20,.65);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media (min-width: 640px) {
  .card-text {
    text-align: justify;
    text-justify: inter-word;
  }
}

/* Testimonial marquee — continuous right-to-left "show-roll" carousel. */
.testimonials-marquee {
  --marquee-duration: 50s;
  position: relative;
  overflow: hidden;
  /* Soft fade on both edges for a premium "endless ribbon" feel. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  padding: 1.25rem 0;
}
.testimonials-marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  align-items: stretch;
  cursor: grab;
  animation: testimonialsRoll var(--marquee-duration) linear infinite;
  will-change: transform;
  touch-action: pan-y;
  outline: none;
}
.testimonials-marquee:hover .testimonials-marquee__track,
.testimonials-marquee__track:focus-visible {
  animation-play-state: paused;
}
.testimonials-marquee.is-dragging .testimonials-marquee__track {
  animation-play-state: paused;
  cursor: grabbing;
}
.testimonials-marquee__track:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(182, 145, 75, 0.25);
  border-radius: 14px;
}
@keyframes testimonialsRoll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee__track {
    animation: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
  }
  .testimonials-marquee__track > .testimonial-card {
    scroll-snap-align: start;
  }
}

/* Prev / next arrows — floating, subtle, luxury. */
.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0E1B14;
  border: 1px solid rgba(14, 27, 20, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -12px rgba(14, 27, 20, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 5;
}
.marquee-arrow:hover {
  background: #0E1B14;
  color: #F7F4EE;
  transform: translateY(-50%) scale(1.05);
}
.marquee-arrow--prev { left: 0.5rem; }
.marquee-arrow--next { right: 0.5rem; }
@media (min-width: 768px) {
  .marquee-arrow { display: inline-flex; }
}

/* Testimonial cards — luxury "quote" cards used inside the marquee. */
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(14, 27, 20, 0.05);
  border-radius: 14px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 8px 30px -22px rgba(14, 27, 20, 0.35);
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 320px;
  /* Prevent native dragging from interfering with our pointer-drag. */
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
@media (min-width: 768px) {
  .testimonial-card { width: 360px; }
}
@media (min-width: 1280px) {
  .testimonial-card { width: 380px; }
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -28px rgba(14, 27, 20, 0.45);
}
.testimonial-card__quote {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: auto;
  color: rgba(182, 145, 75, 0.18); /* gold @ 18% */
}
.testimonial-card__body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(14, 27, 20, 0.85);
  font-style: italic;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
@media (min-width: 640px) {
  .testimonial-card__body {
    text-align: justify;
    text-justify: inter-word;
  }
}
.testimonial-card__meta {
  border-top: 1px solid rgba(182, 145, 75, 0.2);
  padding-top: 1rem;
}

/* Rating input (5-star) — radio buttons styled as stars in the testimonial form. */
.rating-input {
  direction: ltr;
}
.rating-input label:hover svg,
.rating-input label:hover ~ label svg {
  color: rgba(14, 27, 20, 0.15);
}
.rating-input:hover label svg {
  color: #B6914B;
}
.rating-input label:hover ~ label svg {
  color: rgba(14, 27, 20, 0.15);
}
.rating-input label:focus-within svg {
  outline: 2px solid rgba(182, 145, 75, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ====================================================================
 * Breadcrumb (sub-pages, light-on-dark hero).
 * ==================================================================== */
.breadcrumb { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb__item { display: inline-flex; align-items: center; }
.breadcrumb__link {
  color: rgba(248, 245, 238, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { color: #B6914B; outline: none; }
.breadcrumb__sep   { color: rgba(248, 245, 238, 0.35); margin-left: 0.5rem; }
.breadcrumb__current { color: rgba(248, 245, 238, 0.92); font-weight: 600; letter-spacing: 0.22em; }

/* ====================================================================
 * Editorial link card (used in landing pages & index pages).
 * ==================================================================== */
.link-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(14, 27, 20, 0.06);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  box-shadow: 0 18px 40px -30px rgba(14, 27, 20, 0.35);
}
.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(182, 145, 75, 0.4);
  box-shadow: 0 26px 60px -28px rgba(14, 27, 20, 0.5),
              0 18px 36px -28px rgba(182, 145, 75, 0.45);
  outline: none;
}
.link-card::after {
  /* Gold underline that grows on hover. */
  content: "";
  position: absolute;
  left: 1.75rem; right: 1.75rem; bottom: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, #B6914B, transparent);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.link-card:hover::after,
.link-card:focus-visible::after { transform: scaleX(1); }

.link-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.link-card__image img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.9);
}
.link-card:hover .link-card__image img,
.link-card:focus-visible .link-card__image img {
  transform: scale(1.06);
  filter: saturate(1);
}

.link-card__body {
  padding: 1.6rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.link-card__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(182, 145, 75, 0.95);
  font-weight: 600;
  margin: 0;
}
.link-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #0E1B14;
  margin: 0;
}
.link-card__body-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(14, 27, 20, 0.65);
  margin: 0;
}
.link-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0E1B14;
  margin-top: 0.5rem;
}
.link-card__cta svg { transition: transform 0.4s ease; }
.link-card:hover .link-card__cta svg,
.link-card:focus-visible .link-card__cta svg { transform: translateX(4px); }

/* ====================================================================
 * Destination prev/next navigation.
 * ==================================================================== */
.destination-nav-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 0;
}
.destination-nav-link__direction {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 20, 0.5);
  transition: color 0.3s ease;
}
.destination-nav-link__label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: #0E1B14;
  transition: color 0.3s ease;
}
.destination-nav-link:hover .destination-nav-link__direction,
.destination-nav-link:focus-visible .destination-nav-link__direction { color: #B6914B; }
.destination-nav-link:hover .destination-nav-link__label,
.destination-nav-link:focus-visible .destination-nav-link__label { color: #B6914B; }
.destination-nav-link svg { transition: transform 0.4s ease; }
.destination-nav-link--next:hover svg,
.destination-nav-link--next:focus-visible svg { transform: translateX(4px); }
.destination-nav-link--prev:hover svg,
.destination-nav-link--prev:focus-visible svg { transform: translateX(-4px); }

/* ====================================================================
 * Experience meta strip — icons-only (duration + difficulty).
 * ==================================================================== */
.experience-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.92);
}
.experience-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(14, 27, 20, 0.45);
  border: 1px solid rgba(182, 145, 75, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.experience-meta__icon {
  width: 1rem;
  height: 1rem;
  color: #B6914B;
  flex-shrink: 0;
}
.experience-meta__item--difficulty {
  border-color: rgba(182, 145, 75, 0.55);
}
@media (max-width: 480px) {
  .experience-meta { gap: 0.5rem 0.6rem; }
  .experience-meta__item { padding: 0.35rem 0.7rem; font-size: 0.62rem; }
}

/* ====================================================================
 * Check-list — elegant gold-mark bullet list ("why choose this").
 * ==================================================================== */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.check-list__mark {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(182, 145, 75, 0.12);
  color: #B6914B;
}
.check-list__mark svg { width: 0.85rem; height: 0.85rem; }
.check-list__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(14, 27, 20, 0.82);
}

/* ====================================================================
 * Itinerary timeline — vertical day-by-day list.
 * ==================================================================== */
.itinerary-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.itinerary-list::before {
  /* Faint gold rail running the full height. */
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 1.4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(182, 145, 75, 0.35), transparent);
}

.itinerary-day {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: flex-start;
}

.itinerary-day__marker {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(182, 145, 75, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -10px rgba(14, 27, 20, 0.45),
              0 0 0 4px rgba(248, 245, 238, 0.85);
  flex-shrink: 0;
}
.itinerary-day__number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #B6914B;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
}

.itinerary-day__card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 27, 20, 0.06);
  border-radius: 8px;
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: 0 14px 38px -32px rgba(14, 27, 20, 0.45);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}
.itinerary-day__card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 145, 75, 0.35);
  box-shadow: 0 22px 50px -32px rgba(14, 27, 20, 0.55);
}

.itinerary-day__label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(182, 145, 75, 0.95);
  margin: 0 0 0.4rem;
}
.itinerary-day__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #0E1B14;
  margin: 0 0 0.85rem;
}
.itinerary-day__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(14, 27, 20, 0.75);
  margin: 0 0 0.75rem;
  text-align: justify;
  hyphens: auto;
}
.itinerary-day__list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: rgba(14, 27, 20, 0.82);
  font-size: 0.92rem;
}
.itinerary-day__close {
  margin: 0.9rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(14, 27, 20, 0.08);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(14, 27, 20, 0.65);
}

@media (max-width: 640px) {
  .itinerary-list::before { left: 1rem; }
  .itinerary-day {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.9rem;
  }
  .itinerary-day__marker { width: 2.2rem; height: 2.2rem; }
  .itinerary-day__number { font-size: 0.95rem; }
  .itinerary-day__card { padding: 1.2rem 1.25rem 1.1rem; }
  .itinerary-day__title { font-size: 1.25rem; }
}

/* ====================================================================
 * Experience cards on the Experiences index page (3.0).
 * ==================================================================== */
.exp-card { /* extends .link-card */ position: relative; }
.exp-card__meta {
  /* Inline strip inside the card body: duration · difficulty */
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 27, 20, 0.5);
  margin-top: -0.2rem;
  margin-bottom: 0.5rem;
}
.exp-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.exp-card__meta-item svg {
  width: 0.85rem;
  height: 0.85rem;
  color: #B6914B;
}

/* ====================================================================
 * Travel & Discover · destination blocks.
 * ==================================================================== */
.td-pill {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 226, 0.18);
  color: rgba(245, 240, 226, 0.82);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.td-pill:hover,
.td-pill:focus-visible {
  color: #F5F0E2;
  border-color: rgba(182, 145, 75, 0.7);
  background: rgba(182, 145, 75, 0.12);
  outline: none;
}

.destination-block {
  position: relative;
  background: #FDFCF8;
}
.destination-block + .destination-block { border-top: 1px solid rgba(14, 27, 20, 0.06); }
.destination-block::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 145, 75, 0.45), transparent);
}

.destination-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px -40px rgba(14, 27, 20, 0.45);
}
@media (min-width: 1024px) {
  .destination-image {
    aspect-ratio: 3 / 4;
    position: sticky;
    top: 6.5rem; /* sticky so the image follows scroll within the section */
  }
}
.destination-image::after {
  /* Subtle gold corner accent. */
  content: "";
  position: absolute;
  inset: auto auto 12px 12px;
  width: 30px;
  height: 30px;
  border-left: 1px solid rgba(182, 145, 75, 0.8);
  border-bottom: 1px solid rgba(182, 145, 75, 0.8);
  pointer-events: none;
}

/* ====================================================================
 * Flag icon (language switcher).
 * ==================================================================== */
.flag-icon {
  display: inline-block;
  width: 1.9rem;
  height: 1.3rem;             /* keeps the proper 3:2 aspect ratio */
  border-radius: 3px;
  vertical-align: -3px;
  box-shadow: 0 0 0 1px rgba(14, 27, 20, 0.12), 0 1px 3px rgba(14, 27, 20, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.flag-icon--lg {
  width: 2.3rem;
  height: 1.6rem;
}
a:hover > .flag-icon,
.group:hover .flag-icon {
  box-shadow: 0 0 0 1px rgba(182, 145, 75, 0.45), 0 2px 6px rgba(182, 145, 75, 0.25);
  transform: translateY(-1px);
}

/* ====================================================================
 * Endorsements section — institutional logos on the home page.
 * ==================================================================== */
.endorsements-section {
  position: relative;
  background: #FDFCF8;
  border-top: 1px solid rgba(14, 27, 20, 0.05);
}
.endorsements-section::before,
.endorsements-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 145, 75, 0.45), transparent);
}
.endorsements-section::before { top: 0; }
.endorsements-section::after  { bottom: 0; }

.endorsements-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 145, 75, 0.5), transparent);
}

.endorsements-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
}
@media (min-width: 640px) {
  .endorsements-grid { gap: 2rem 1.5rem; }
}
@media (min-width: 900px) {
  .endorsements-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }
}

.endorsements-grid { align-items: stretch; }

.endorsements-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  animation: endorsementsFadeUp 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes endorsementsFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.endorsements-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
  /* Uniform height across landscape & square logos so every caption
     starts at exactly the same baseline. */
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) {
  .endorsements-figure { aspect-ratio: 5 / 3; }
}

.endorsements-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Mute & desaturate to harmonize institutional brand palettes side-by-side. */
  filter: grayscale(100%) brightness(1.02) contrast(0.95);
  opacity: 0.78;
  transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}
.endorsements-item:hover .endorsements-figure img,
.endorsements-figure:hover img {
  filter: grayscale(0%) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.endorsements-caption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  line-height: 1.4;
  width: 100%;
}
.endorsements-caption__name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0E1B14;
  font-weight: 600;
  /* Fixed line so the divider between "name" and "full" is the same Y on every item. */
  min-height: 1.1rem;
}
.endorsements-caption__full {
  font-size: 0.72rem;
  color: rgba(14, 27, 20, 0.5);
  font-weight: 400;
  max-width: 22ch;
  margin: 0 auto;
}

.endorsements-footnote {
  margin: 3rem auto 0;
  max-width: 740px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(14, 27, 20, 0.55);
  font-style: italic;
}

/* ====================================================================
 * Newsletter section — luxury subscription block on the home page.
 * ==================================================================== */
.newsletter-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0) 0%, rgba(232, 223, 207, 0.35) 60%, rgba(232, 223, 207, 0.5) 100%),
    radial-gradient(ellipse at top left, rgba(182, 145, 75, 0.07), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(63, 91, 71, 0.06), transparent 55%),
    #F7F4EE;
  overflow: hidden;
  /* Subtle gold hairline as the only divider between the dark CTA and this block. */
  border-top: 1px solid rgba(182, 145, 75, 0.18);
}
.newsletter-section__bullet {
  display: inline-block;
  font-size: 0.55rem;
  vertical-align: middle;
  opacity: 0.7;
}

.newsletter-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 27, 20, 0.06);
  border-radius: 14px;
  padding: 2.25rem 1.5rem 1.75rem;
  box-shadow: 0 24px 60px -36px rgba(14, 27, 20, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
@media (min-width: 768px) {
  .newsletter-card { padding: 2.75rem 2.5rem 2rem; gap: 1.5rem; }
}
.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, #B6914B 50%, transparent);
  opacity: 0.7;
}

.newsletter-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 27, 20, 0.7);
  margin-bottom: 0.5rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #F7F4EE;
  color: #0E1B14;
  border: 1px solid rgba(14, 27, 20, 0.12);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.newsletter-input::placeholder { color: rgba(14, 27, 20, 0.35); }
.newsletter-input:hover { background: #FFFFFF; }
.newsletter-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: rgba(182, 145, 75, 0.65);
  box-shadow: 0 0 0 3px rgba(182, 145, 75, 0.15);
}
.newsletter-input:invalid:not(:placeholder-shown) {
  border-color: rgba(176, 122, 63, 0.55);
}

/* Phone group: country code dropdown + number side by side. */
.newsletter-phone-group {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9rem) 1fr;
  gap: 0.5rem;
}
.newsletter-phone-code {
  padding-right: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(14, 27, 20, 0.4) 50%),
    linear-gradient(135deg, rgba(14, 27, 20, 0.4) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
}
.newsletter-phone-number { font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .newsletter-phone-group {
    grid-template-columns: 1fr;
  }
}

/* Consent checkbox. */
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: rgba(14, 27, 20, 0.7);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  padding: 0.25rem 0;
}
.newsletter-consent__box {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 1px solid rgba(14, 27, 20, 0.25);
  border-radius: 0.25rem;
  accent-color: #B6914B;
  flex-shrink: 0;
}

/* Submit button — luxury dark variant. */
.newsletter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 0.5rem;
  background: #0E1B14;
  color: #F7F4EE;
  border: 1px solid #0E1B14;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.newsletter-submit:hover:not(:disabled) {
  background: #B6914B;
  border-color: #B6914B;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -14px rgba(182, 145, 75, 0.6);
}
.newsletter-submit:disabled,
.newsletter-submit.is-busy {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.newsletter-privacy {
  font-size: 0.72rem;
  color: rgba(14, 27, 20, 0.55);
  line-height: 1.55;
  text-align: center;
  padding: 0.25rem 0.5rem 0;
}

/* Reusable utility — applies justified, hyphenated body type on tablet+. */
.text-justify-luxe {
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  hanging-punctuation: first last;
}
@media (min-width: 640px) {
  .text-justify-luxe {
    text-align: justify;
    text-justify: inter-word;
  }
}
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0E1B14;
  border-bottom: 1px solid #B08D57;
  padding-bottom: 4px;
  transition: color .4s ease, letter-spacing .4s ease;
}
.card-link:hover {
  color: #B08D57;
  letter-spacing: 0.22em;
}

/* --- Hero parallax -------------------------------------------------- */
.parallax-hero {
  will-change: transform;
}

/* --- Brand logo ------------------------------------------------------ */
/* The logo PNG has a copper wordmark + light-grey mountain silhouette on
   transparent background. Over the dark hero we add a soft drop-shadow so
   the whole mark stays legible; once the header is "scrolled" (light
   background) we remove the shadow for a clean look. */
.brand-logo .brand-logo__img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
  transition: filter .5s cubic-bezier(.22,.61,.36,1);
}
.brand-logo.is-scrolled .brand-logo__img {
  filter: none;
}

/* In the footer (always on dark ink background), brighten the gray
   mountain silhouette just slightly so it doesn't fade into the bg. */
.brand-logo--on-dark img {
  filter: brightness(1.18) contrast(0.96);
}

/* --- Discover cards (image + body, used on home & sub-pages) -------- */
.discover-card {
  display: block;
  background: #F8F5EE;
  overflow: hidden;
  transition: transform .65s cubic-bezier(.22,.61,.36,1), box-shadow .65s ease;
}
.discover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(14,27,20,.18);
}
.discover-card__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.discover-card:hover .discover-card__image {
  transform: scale(1.06);
}
.discover-card__body {
  padding: 1.75rem 1.75rem 2rem;
}

/* --- Editorial body text (long-form prose on content pages) --------- */
.prose-luxury p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: rgba(14,27,20,.78);
  margin-bottom: 1.5rem;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  hanging-punctuation: first last;
}
/* Justify on tablet/desktop where line length is comfortable enough to
   avoid ugly word "rivers". On phones we keep the natural left-rag. */
@media (min-width: 640px) {
  .prose-luxury p {
    text-align: justify;
    text-justify: inter-word;
  }
}
.prose-luxury p:last-child { margin-bottom: 0; }
.prose-luxury p strong { color: #0E1B14; font-weight: 500; }
.prose-luxury em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #B08D57;
}
.prose-luxury ul {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  border-left: 1px solid rgba(176,141,87,.4);
}
.prose-luxury ul li {
  position: relative;
  padding: .25rem 0 .25rem 1.5rem;
  font-size: 1rem;
  color: rgba(14,27,20,.85);
}
.prose-luxury ul li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 1rem;
  width: 6px;
  height: 1px;
  background: #B08D57;
}
.prose-luxury blockquote {
  border-left: none;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.45;
  color: #0E1B14;
  margin: 2.5rem 0;
  padding: 0;
}

/* --- Editorial pull-quote (centered, large, dramatic) -------------- */
.pull-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: #0E1B14;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.pull-quote .accent {
  color: #B08D57;
  font-style: italic;
}

/* --- Custom selection ----------------------------------------------- */
::selection {
  background: rgba(176,141,87,.35);
  color: #0E1B14;
}

/* --- Scrollbar (subtle, luxury) ------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F8F5EE; }
::-webkit-scrollbar-thumb { background: #B08D57; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #9A5B3F; }

/* --- Reduced motion ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
