/* Paola's site – v0.030 – 2026-05-01 */

:root {
  --primary: #ff7a59;        /* warm coral (legacy, still available) */
  --primary-dark: #e35e3f;
  --accent: #2a9d8f;         /* soft teal */
  --key: #ba6141;            /* key colour */
  --text-main: #243b53;      /* soft navy */
  --footer-bg: #243b53;      /* dark slate */
  --copyright-bg: #111827;   /* deeper slate */
  --tours-bg: #fefcf8;       /* background of tours section */
}

/* GLOBAL RESET & BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--key);
  background-color: #FDF5E6;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* HEADINGS */

h1,
h3 {
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--text-main);
}

h2 {
  margin: 0 0 0.5em;
  font-weight: 400;
  color: var(--key);
  font-size: 2.0625rem;      /* ≈ 33px */
  text-align: center;
}

p {
  margin: 0 0 1em;
}

/* LAYOUT HELPERS */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* GENERIC SECTION DIVIDER (HAIRLINE STRIP) */

.section-divider {
  padding: 0;
  background: transparent;
}

.section-divider .container {
  padding-top: 0;
  padding-bottom: 0;
}

.section-divider-line {
  height: 5px;
  background: var(--key);
  width: 100%;
}

/* LANGUAGE BAR */

.lang-bar {
  padding: 4px 0;
  background: transparent;
  font-size: 0.8rem;
}

.lang-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--key);
}

/* Language links: no underline, same styling as text */

.lang-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--key);
}

.lang-toggle a:hover,
.lang-toggle a:focus-visible {
  text-decoration: none;
  color: var(--key);
}

.lang-link--active span {
  font-weight: 700;
}

.lang-separator {
  margin: 0 6px;
}

.lang-flag {
  height: 1em;    /* keep flags no taller than text */
  width: auto;
  display: block;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(253, 245, 230, 0.96);
}

.header-inner {
  position: relative;
  padding: 24px 16px 8px;
}

/* Logo spans full width of header area */

.brand-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* NAVIGATION */

nav {
  width: 100%;
  margin-top: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--key);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  text-underline-offset: 0.25em;
}

nav a:hover {
  color: var(--text-main);
}

nav a.is-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* HAMBURGER BUTTON */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--key);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* MAIN */

main {
  flex: 1;
}

/* HERO */

.hero {
  padding: 28px 0 40px;
}

/* ... rest of your existing CSS remains unchanged ... */


.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SLIDER ROW */

.hero-slider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  touch-action: pan-y;
}

/* Arrows – tall, narrow chevrons, no background */

.hero-arrow {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--key);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow svg {
  width: 24px;
  height: 68px;
  display: block;
}

/* Slider – wider, square corners */

.hero-slider {
  position: relative;
  flex: 1 1 0;
  max-width: 1150px;
  aspect-ratio: 1920 / 860;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  cursor: grab;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

/* Track & slides */

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero text positioning */

.hero-slide-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  padding: 0;
}

.hero-slide-inner {
  max-width: 380px;
  margin: 0;
}

.hero-slide-content--top-left {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.hero-slide-content--bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

/* HERO TEXT */

.hero-title {
  font-size: clamp(1.4rem, 3vw, 1.875rem);  /* max ≈ 30px */
  line-height: 1.15;
  color: var(--key);
  font-weight: 300;
  text-shadow: none;
  margin: 0 0 10px 0;
}

/* BUTTONS – hero and global base */

.hero-cta,
.btn {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--key);
  background: rgba(253, 245, 230, 0.9);
  color: var(--key);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta:hover,
.btn:hover {
  background: var(--key);
  color: #fdf5e6;
  border-color: var(--key);
}

/* TOURS-SPECIFIC BUTTONS */

.btn-tour {
  background: var(--tours-bg);
}

/* DIVIDER BELOW SLIDER */

.hero-divider-wrapper {
  margin-top: 10px;
}

.hero-divider {
  display: block;
  height: 5px;
  background: var(--key);
  border-radius: 999px;
  margin: 0 auto;
}

/* BREADCRUMB DOTS */

.hero-dots-wrapper {
  margin-top: 0;
  text-align: right;
}

.hero-dots {
  display: inline-flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--key);
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.hero-dot.is-active {
  background: var(--key);
}

/* HERO SLIDE BACKGROUND IMAGES */

.hero-slide[data-index="0"] .hero-slide-bg { background-image: url('Hero-Slide1.jpg'); }
.hero-slide[data-index="1"] .hero-slide-bg { background-image: url('Hero-Slide2.jpg'); }
.hero-slide[data-index="2"] .hero-slide-bg { background-image: url('Hero-Slide3.jpg'); }
.hero-slide[data-index="3"] .hero-slide-bg { background-image: url('Hero-Slide4.jpg'); }

/* CONTENT SECTIONS */

.section {
  padding: 56px 0;
}

/* Named section background helpers */
.section--alt-light {
  background: rgba(255, 255, 255, 0.45);
}

.section--alt-panel {
  background: var(--tours-bg);
}

/* Match hero/body background for contact */
.section--hero-bg {
  background: #FDF5E6;
}

.section-intro {
  max-width: 640px;
  font-size: 1rem;
  margin: 0 auto 32px;
  color: #52606d;
  font-weight: 400;
  text-align: center;
}


/* ABOUT GRID */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;  /* 1 / 3 ratio */
  gap: 32px;
  align-items: center;
}

.about-text {
  text-align: right;
}

.about-text h2 {
  text-align: right;
  margin-bottom: 0.75em;
}

.about-text p {
  font-size: 0.95rem;
  color: #52606d;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}


/* CAPE TOWN FACTS STRIP */

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

.fact-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.fact-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffe3d5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #9b2c16;
  font-weight: 500;
}

.fact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 500;
}

.fact-item p {
  font-size: 0.9rem;
  color: #52606d;
  font-weight: 400;
}

/* ========== GUIDED TOURS ========== */

.tours-feature {
  padding: 24px 0 0 0;
  margin-bottom: 24px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.tours-feature-inner {
  display: grid;
  grid-template-columns: 1fr 3fr;  /* 1 / 3 ratio */
  gap: 32px;
  align-items: stretch;
}

.tours-feature-col--title {
  text-align: right;
}

.tours-feature-col--title h3 {
  font-size: 2rem;  /* ≈ 32px */
  font-weight: 400;
  margin: 55px 0 0.25em 0;
  color: var(--text-main);
}

.tours-feature-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--key);
  margin: 0.25em 0 0.75em;
}

.tours-feature-col p {
  font-size: 0.95rem;
  color: #52606d;
  margin-bottom: 0.75em;
}

.tours-feature-image {
  width: 100%;
  height: auto;
  display: block;
}

/* MINOR TOURS (4 in a row, with vertical lines) */

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

.tour-card {
  position: relative;
  text-align: center;
  background: transparent;
  border-radius: 0;
  padding: 12px 6px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none;
}

@media (min-width: 801px) {
  .tour-card:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: #cba794;
  }
}

.tour-thumb {
  width: 100%;
  margin-bottom: 10px;
}

.tour-card h3 {
  font-size: 1.6875rem;
  font-weight: 400;
  line-height: 2rem;
  margin: 6px 0 14px 0;
  color: var(--text-main);
}

.tour-card p {
  font-size: 0.9rem;
  color: #52606d;
  font-weight: 400;
  margin-bottom: 12px;
}

.tour-card .btn {
  margin-top: 8px;
  font-size: 0.85rem;
}

/* CUSTOM TOURS STRIP */

.custom-strip {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.custom-strip p {
  margin-top: 12px;
  margin-bottom: 20px;
  color: #52606d;
}

/* CONTACT */

#contact .container {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
}

.contact-grid > :nth-child(2) {
  display: none;
}

form {
  display: grid;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd2e1;
  font: inherit;
  resize: vertical;
  min-height: 42px;
}

textarea {
  min-height: 120px;
}

.contact-checkbox-group {
  margin-top: 4px;
}

.contact-checkbox-heading {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}

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

.checkbox-grid label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkbox-grid input[type="checkbox"] {
  flex-shrink: 0;
}

form button[type="submit"],
.contact-submit {
  justify-self: center;
}

.form-feedback {
  display: none;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.4;
}

.form-feedback--success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-feedback--error {
  display: block;
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fca5a5;
}

/* ===================== TESTIMONIALS SECTION ===================== */

.testimonials-section {
  background: #333333;
  color: #ffffff;
  padding: 40px 0;
}

.testimonials-inner {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.testimonials-track-wrapper {
  flex: 1 1 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.testimonial-card {
  position: relative;
  flex: 0 0 33.3333%; /* 3 visible at a time */
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  text-align: center;
  align-items: center;
}

.testimonial-card:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 85%;width: 1px;
        height: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.testimonial-body {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 200;
  color: #ffffff;
  margin-bottom: 0.6em; /* reduced gap */
}

.testimonial-citation {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

/* TESTIMONIAL ARROWS */

.testimonials-arrow {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-arrow svg {
  width: 24px;
  height: 68px;
  display: block;
}

/* FOOTER + COPYRIGHT */

footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 32px 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
}

.footer-main-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.footer-empty {
  /* intentionally blank; spacer column */
}

.footer-quote {
  font-style: italic;
  color: #ffffff;
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: left;
  font-weight: 300;
}

.footer-logo {
  margin-top: 8px;
}

.footer-logo img {
  width: 470px;
  max-width: 65%;
  height: auto;
  display: block;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-end;
  text-align: right;
}

.footer-badges a {
  display: contents; /* lets <a> wrappers be invisible to flex layout */
}

.footer-badges img {
  width: 75%;
  height: auto;
  display: block;
}

.footer-nav {
  text-align: right;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffffff;
}

.copyright-bar {
  background: var(--copyright-bg);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 8px 16px;
  margin-top: 0;
}

.copyright-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copyright-inner a {
  color: inherit;
  text-decoration: underline;
}

/* --- RESPONSIVE --------------------------------------------------------------------------------- */

/* Screens ≤1024px — Laptop (1024px) and below */
@media (max-width: 1024px) {
  .tours-feature-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .section-divider-line,
  .hero-divider { height: 4px; }
}

/* Screens ≤768px — Tablet (768px) and below */
@media (max-width: 768px) {
  .section-divider-line,
  .hero-divider { height: 3px; }
  
}

/* Screens 801–1024px only — Laptop range */
@media (max-width: 1024px) and (min-width: 801px) {
  /* In a 2-column grid, card 3 starts a new row — remove its left line */
  .tour-card:nth-child(3)::before {
    display: none;
  }
}

/* Screens ≥801px — Laptop L (1440px) down to just above Tablet */
@media (min-width: 801px) {
  nav {
    position: absolute;
    top: 50px;
    right: 50px;
    width: auto;
    margin-top: 0;
  }

  .nav-toggle {
    display: none;
  }
}

/* Screens 801–1100px only — nav position tweak for mid-range widths */
@media (max-width: 1100px) and (min-width: 801px) {
  nav {
    top: 40px;
  }
}

/* Screens ≤800px — Tablet (768px) and below, down to Mobile */
@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .footer-quote {
    text-align: center;
  }


  .nav-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 16px;
  }

  nav {
    position: static;
    margin-top: 8px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(253, 245, 230, 0.98);
    padding: 8px 16px 4px;
    gap: 4px;
    margin-top: 0;
    margin-bottom: 10px;
  }

  header.nav-open nav ul {
    display: flex;
  }

  .hero-slider {
    max-width: 100%;
    aspect-ratio: auto;
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .hero-slide-content {
    order: 0;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 0 12px 0;
  }

  .hero-slide-inner {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-slide-bg {
    position: relative;
    order: 1;
    width: 100%;
    padding-top: 56%;
    background-size: cover;
    background-position: center;
  }

  .hero-arrow svg {
    height: 56px;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-main-col {
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav {
    text-align: center;
  }

  .footer-badges {
    align-items: center;
    text-align: center;
  }

  .footer-badges img {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
  }

  .tours-feature-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tours-feature-col--title {
    text-align: center;
  }

  .tours-feature-col--title h3 {
    font-size: 1.6875rem;   
    font-weight: 400;
    line-height: 2rem;
    margin: 6px 0 14px 0;
    color: var(--text-main);
  }

  .tours-feature-subtitle {
    font-size: 0.9rem;      
    font-weight: 600;       
    color: #52606d;
    margin-top: 0;
    margin-bottom: 0;
  }

  .tours-feature-col--title p {
    font-size: 0.9rem;      
    color: #52606d;
    margin-top: 0;          
  }

  .tours-feature-col--title h3,
  .tours-feature-subtitle,
  .tours-feature-col--title p {
    text-align: center;
  }

  .tours-feature-image-box {
    margin-left: 0;
    margin-right: auto;
  }

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

  
  .testimonials-inner {
    flex-direction: column;
  }
}

/* Screens 641–800px only — Tablet range (768px preset) */
@media (min-width: 641px) and (max-width: 800px) {
  .hero-slide-bg {
    padding-top: 44.8%; 
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Footer badges: narrower at tablet width */
  .footer-badges img {
    width: 35%;
  }

  /* Vertical lines between tour cards in 2-column tablet layout */
  .tour-card:nth-child(even)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: #cba794;
  }
}

/* Screens ≤640px — Mobile phones (Mobile L 425px, M 375px, S 320px) */
@media (max-width: 640px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }

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

  /* Line below Peninsula Tour so it visually matches the other cards */
  .tours-feature {
    position: relative;
    padding-bottom: 24px;
  }

  .tours-feature::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: #cba794;
  }

  .tour-card {
    padding: 12px 16px 20px 16px;
  }

  
  .tour-card:not(:first-child) {
    padding-top: 20px; 
  }

  .tour-card:not(:last-child) {
    padding-bottom: 12px; 
  }

  /* Horizontal divider lines between stacked cards */
  .tour-card:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 10%;
    top: 0;
    width: 80%;
    height: 1px;
    background: #cba794;
    transform: none;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-card:not(:first-child)::before {
    display: none;
  }

  .footer-badges img {
    width: 75%;
  }

  /* Major tour strip: image above text and centred content on smallest screens */
  /* Major tour title & text to match minor tour cards on smallest screens */
  .tours-feature-col--title h3 {
    font-size: 1.6875rem;   /* same as .tour-card h3 */
    font-weight: 400;
    line-height: 2rem;
    margin: 6px 0 14px 0;
    color: var(--text-main);
  }

  .tours-feature-subtitle {
    font-size: 0.9rem;      /* same as .tour-card p */
    font-weight: 600;       /* keep it bold */
    color: #52606d;
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  .tours-feature-col--title p {
    font-size: 0.9rem;      /* same as .tour-card p */
    color: #52606d;
    margin-top: 0;          
  }
  .tours-feature-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .tours-feature-col--image {
    order: 0;
  }

  .tours-feature-col--title {
    order: 1;
    text-align: center;
  }

  .tours-feature-col--title h3,
  .tours-feature-subtitle,
  .tours-feature-col--title p {
    text-align: center;
  }

  .tours-feature-col--title .btn-tour {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }


  /* Major tour title to match minor tour card titles on smallest screens */
  .tours-feature-col--title h3 {
    font-size: 1.6875rem;   /* same as .tour-card h3 */
    font-weight: 400;
    line-height: 2rem;
    margin: 0px 0 14px 0;
    color: var(--text-main);
  }

  /* Subtitle: same visual scale as minor tour body, bottom margin = 0 */
  .tours-feature-subtitle {
    font-size: 0.9rem;      /* same as .tour-card p */
    font-weight: 600;       /* keep it bold */
    color: #52606d;
    margin-top: 0;
    margin-bottom: 0;
  }

  .tours-feature-col--title p {
    font-size: 0.9rem;      /* same as .tour-card p */
    color: #52606d;
    margin-top: 0;          /* visually merge with subtitle above */
  }

  /* Logo: make it visually taller and crop the right side on the smallest screens */
  .brand-logo {
    overflow: hidden;
  }

  .brand-logo-img {
    width: 200%;
    max-width: none;
    display: block;
  }

  /* Hero images: portrait crop on smallest screens */
  .hero-slide-bg {
    padding-top: 124.6%; /* matches 690×860 mobile images */
    background-size: cover;
    background-position: center;
  }

  .hero-slide[data-index="0"] .hero-slide-bg { background-image: url('Hero-Slide1-Mob.jpg'); }
  .hero-slide[data-index="1"] .hero-slide-bg { background-image: url('Hero-Slide2-Mob.jpg'); }
  .hero-slide[data-index="2"] .hero-slide-bg { background-image: url('Hero-Slide3-Mob.jpg'); }
  .hero-slide[data-index="3"] .hero-slide-bg { background-image: url('Hero-Slide4-Mob.jpg'); }
}



/* Screens ≤425px — Mobile S (320px) and Mobile M (375px) and Mobile L (425px) */
@media (max-width: 425px) {
  .footer-badges img {
    width: 40%;
  }
}


/* ── TOUR MODAL ────────────────────────────────────────────────────────────── */

#tour-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

#tour-modal-overlay.tm-open {
  display: flex;
}

#tour-modal-box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

#tour-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--key);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  transition: background 0.2s ease;
}

#tour-modal-close:hover,
#tour-modal-close:focus-visible {
  background: var(--text-main);
  outline: none;
}

#tour-modal-img {
  display: block;
  width: calc(100% - 64px);
  height: auto;
  margin: 32px 32px 0;
  border-radius: 6px;
  flex-shrink: 0;
}

#tour-modal-content {
  padding: 24px 32px 36px;
  text-align: center;
}

#tour-modal-title {
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text-main);
  margin: 0 0 16px 0;
  padding-right: 30px; /* avoid overlap with close btn if content area is at top */
}

#tour-modal-body p {
  font-size: 0.95rem;
  color: #52606d;
  line-height: 1.7;
  margin: 0;
}

/* Prev / next chevrons */
#tour-modal-prev,
#tour-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 8px 6px;
  cursor: pointer;
  color: var(--key);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

#tour-modal-prev:hover,
#tour-modal-next:hover,
#tour-modal-prev:focus-visible,
#tour-modal-next:focus-visible {
  opacity: 1;
  outline: none;
}

#tour-modal-prev { left: 4px; }
#tour-modal-next { right: 4px; }

#tour-modal-prev svg,
#tour-modal-next svg {
  width: 24px;
  height: 68px;
  display: block;
}

/* Hide chevrons on small screens */
@media (max-width: 600px) {
  #tour-modal-prev,
  #tour-modal-next {
    display: none;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #tour-modal-overlay {
    padding: 12px;
  }
  #tour-modal-content {
    padding: 20px 20px 28px;
  }
  #tour-modal-img {
    width: calc(100% - 40px);
    margin: 20px 20px 0;
  }
}


/* ── PARALLAX HERO ─────────────────────────────────────────────────────────── */

.hero-parallax {
  position: relative;
  overflow: hidden;
  /* sits inside the existing .hero > .container > .hero-inner structure */
}

/* Maintains the 1920×860 aspect ratio of the scene */
.hero-parallax-sizer {
  padding-top: 44.792%;
  pointer-events: none;
}

/* All parallax layers: absolutely stacked, bottom-aligned */
.parlx-layer {
  position: absolute;
  bottom: 0;
  height: auto;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

/* Per-layer horizontal positions (percentages of 1920px scene width) */
.parlx-bg {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parlx-l4 { left: 46.146%; width: 49.948%; } /* Boulders  */
.parlx-l3 { left: -2%;      width: 104%;    } /* Animals — 2% bleed each side prevents edge gaps under parallax shift */
.parlx-l2 { left: 4.870%;   width: 90.260%; } /* Bushes    */
.parlx-l1 { left: 42.448%;  width: 25.365%; } /* Paola     */

/* Text content overlay — covers full area, positions as before */
.parlx-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* let mouse events pass through to hero for tracking */
}

.parlx-text .hero-cta,
.parlx-text a {
  pointer-events: auto; /* re-enable clicks on actual links */
}

/* Mobile fallback: hidden on desktop, shown below 768px */
.hero-mobile-only {
  display: none;
}

/* Mobile hero text block: hidden on desktop */
.hero-mobile-text {
  display: none;
}

@media (max-width: 768px) {
  .parlx-layer {
    display: none;
  }
  .hero-mobile-only {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-parallax-sizer {
    display: none; /* mobile image sets its own height */
  }
  .hero-mobile-text {
    display: block;
    padding: 28px 20px 20px;
    text-align: left;
  }
  .hero-mobile-text .hero-title {
    font-size: clamp(1.3rem, 5.5vw, 1.6rem);
    margin-bottom: 16px;
  }
}
