/* ========================================================================
   RAPID EXPEDITIONS — Design System
   Layout inspired by arta.org • Brand colors from rapidexpeditions.com
   ======================================================================== */

:root {
  /* ---- Color tokens (from rapidexpeditions.com) ---- */
  --re-orange:        #ff6e01;   /* primary brand */
  --re-orange-hover:  #e26200;
  --re-blue:          #006699;   /* secondary brand */
  --re-blue-deep:     #004f70;
  --re-blue-soft:     #cee8ee;   /* light blue accent */
  --re-brown:         #523934;   /* dark text, deep sections */
  --re-brown-light:   #6b4f47;
  --re-tan:           #ab9e9b;
  --re-gold:          #eca324;
  --re-cream:         #fbf7f1;   /* body bg (arta-style "sand") */
  --re-cream-deep:    #f3ece1;
  --re-white:         #ffffff;
  --re-black:         #1a1413;
  --re-border:        #d6c9b8;
  --re-border-soft:   #ebe2d2;
  --re-overlay:       rgba(0, 0, 0, 0.4);

  /* ---- Typography ---- */
  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --font-script:  'Caveat', 'Brush Script MT', cursive;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ---- Spacing & sizing ---- */
  --container:    1400px;
  --container-sm: 1100px;
  --radius-pill:  9999px;
  --radius-md:    6px;
  --radius-lg:    12px;
  --shadow-photo: 0 18px 40px -12px rgba(28, 16, 6, 0.35), 0 6px 14px -6px rgba(28, 16, 6, 0.25);
  --shadow-card:  0 12px 30px -15px rgba(28, 16, 6, 0.25);

  /* ---- Motion ---- */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast:       220ms var(--ease);
  --t-med:        360ms var(--ease);
  --t-slow:       600ms var(--ease);
}

/* ========================================================================
   Base
   ======================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.06rem, 1.35vw, 1.13rem);
  line-height: 1.65;
  color: var(--re-brown);
  background: var(--re-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase; color: var(--re-blue); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
h4 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
h5 { font-size: clamp(1.1rem, 1.7vw, 1.4rem); }
h6 { font-size: clamp(1rem, 1.3vw, 1.1rem); }
p { margin: 0 0 1em; }
::selection { background: var(--re-orange); color: var(--re-white); }

/* ========================================================================
   Layout helpers
   ======================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); }
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.text-center { text-align: center; }
.text-sand { color: var(--re-cream) !important; }
.text-orange { color: var(--re-orange) !important; }
.text-blue { color: var(--re-blue) !important; }
.text-brown { color: var(--re-brown) !important; }
.text-gold { color: var(--re-gold) !important; }
.muted { color: var(--re-tan); }

/* ========================================================================
   Typography helpers (arta-style script)
   ======================================================================== */
.script      { font-family: var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 0.85; }
.script-h0   { font-size: clamp(5rem, 11vw, 9rem); }
.script-h1   { font-size: clamp(3.8rem, 7vw, 6rem); }
.script-h2   { font-size: clamp(3.4rem, 5.5vw, 5rem); }
.script-h3   { font-size: clamp(2.6rem, 4.5vw, 4rem); }
.italic-script { font-family: var(--font-script); font-style: italic; text-transform: none; letter-spacing: 0; line-height: 1.3; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.seven-deg-rotate { transform: rotate(-7deg); transform-origin: left center; }
.four-deg-rotate  { transform: rotate(-4deg); }
.two-deg-rotate   { transform: rotate(-2deg); }
.three-deg-rotate { transform: rotate(-3deg); }
.up { text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  color: var(--re-orange);
  display: inline-block;
}
.eyebrow-blue { color: var(--re-blue); }
.eyebrow-gold { color: var(--re-gold); }

/* ========================================================================
   Buttons (arta-style pill)
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary   { background: var(--re-orange); color: var(--re-white); }
.btn-primary:hover   { background: var(--re-orange-hover); }
.btn-blue      { background: var(--re-blue); color: var(--re-white); }
.btn-blue:hover      { background: var(--re-blue-deep); }
.btn-light     { background: var(--re-white); color: var(--re-orange); }
.btn-light:hover     { background: var(--re-cream); }
.btn-ghost     { background: transparent; color: var(--re-cream); border: 1.5px solid var(--re-cream); }
.btn-ghost:hover     { background: var(--re-cream); color: var(--re-brown); }
.btn-text      { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; color: var(--re-orange); }
.btn-text .arrow { transition: transform var(--t-fast); }
.btn-text:hover .arrow { transform: translateX(4px); }
.btn .arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }
.arrow-svg { width: 10px; height: 10px; flex-shrink: 0; }

/* Circle buttons (carousel arrows, login, search) */
.circle-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--re-orange);
  color: var(--re-white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.circle-btn:hover { background: var(--re-orange-hover); }
.circle-btn svg { width: 18px; height: 18px; }
.circle-btn-blue { background: var(--re-blue); }
.circle-btn-blue:hover { background: var(--re-blue-deep); }
.circle-btn-sm { width: 40px; height: 40px; }

/* ========================================================================
   Header / Nav
   ======================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background var(--t-med), padding var(--t-med), box-shadow var(--t-med);
  padding: 18px 0;
  background: var(--re-cream);
}
body.is-home-top .site-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: var(--re-cream);
  box-shadow: 0 2px 14px -8px rgba(0,0,0,0.15);
  padding: 10px 0;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; position: relative; min-height: 50px; }
.logo img, .logo svg { width: auto; transition: opacity var(--t-med), height var(--t-med); }
.logo img { height: 50px; }
.site-header.is-top .logo img.logo-light  { display: block; }
.site-header.is-top .logo img.logo-dark   { display: none; }
.site-header:not(.is-top) .logo img.logo-light { display: none; }
.site-header:not(.is-top) .logo img.logo-dark  { display: block; }
.site-header.is-scrolled .logo img { height: 44px; }
.site-header.is-top .logo img { height: 56px; }
.logo-text-fallback { color: var(--re-cream); font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 1.4rem; line-height: 1; }
.logo-text-fallback span { display: block; font-size: 0.6rem; letter-spacing: 4px; opacity: 0.85; }
.site-header.is-scrolled .logo-text-fallback { color: var(--re-brown); }
.site-header:not(.is-top):not(.is-scrolled) .logo-text-fallback { color: var(--re-cream); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--re-cream);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.site-header.is-scrolled .main-nav a { color: var(--re-brown); }
.main-nav a:hover { color: var(--re-orange); }
.main-nav a.is-active { color: var(--re-orange); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--re-orange);
  color: var(--re-white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.nav-icon:hover { background: var(--re-orange-hover); }
.nav-icon svg { width: 16px; height: 16px; }

.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--re-white);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 50px -18px rgba(0,0,0,0.25);
  min-width: 260px;
  padding: 14px 0;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  border: 0.5px solid var(--re-border-soft);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: 10px 24px;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.88rem;
  color: var(--re-brown) !important;
  border-left: 3px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.dropdown a:hover { background: var(--re-cream); border-left-color: var(--re-orange); color: var(--re-orange) !important; }

.hamburger { display: none; }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--re-cream);
  z-index: 80;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  transform: translateX(100%);
  transition: transform var(--t-med);
  overflow-y: auto;
  padding: 80px 24px 40px;
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 1.3rem;
  color: var(--re-brown);
  padding: 12px 24px;
}
.mobile-menu a.is-active { color: var(--re-orange); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 980px) {
  .main-nav, .nav-cta .nav-icon { display: none; }
  .hamburger { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--re-orange); color: var(--re-white); align-items: center; justify-content: center; position: relative; z-index: 100; }
  .hamburger span, .hamburger span::before, .hamburger span::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; transition: transform var(--t-fast), opacity var(--t-fast); }
  .hamburger span { position: relative; }
  .hamburger span::before { position: absolute; top: -7px; left: 0; }
  .hamburger span::after  { position: absolute; top: 7px; left: 0; }
  body.menu-open .hamburger span { background: transparent; }
  body.menu-open .hamburger span::before { transform: rotate(45deg); top: 0; }
  body.menu-open .hamburger span::after  { transform: rotate(-45deg); top: 0; }
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--re-blue);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 100px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-eyebrow {
  color: var(--re-cream);
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: inline-block;
}
.hero-title {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--re-cream);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  transform: rotate(-7deg);
  display: inline-block;
  margin: 0 0 12px;
}
.hero-title-second {
  font-family: var(--font-script);
  color: var(--re-gold);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 24px;
  font-style: italic;
}
.hero-sub {
  color: var(--re-cream);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.95;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 80px; z-index: 2;
}
@media (min-width: 768px) { .hero-wave { height: 120px; } }

/* ========================================================================
   Featured trips (Swiper-like)
   ======================================================================== */
.featured-trips { background: var(--re-cream); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head h2 { margin: 14px 0 18px; }
.section-head p { color: var(--re-brown-light); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.section-head .view-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.88rem; color: var(--re-orange); }
.section-head .view-all:hover { color: var(--re-orange-hover); }
.section-head .view-all .arrow { transition: transform var(--t-fast); }
.section-head .view-all:hover .arrow { transform: translateX(4px); }

.trips-carousel { position: relative; }
.trips-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 4px 30px; scrollbar-width: thin; scrollbar-color: var(--re-orange) transparent; }
.trips-track::-webkit-scrollbar { height: 8px; }
.trips-track::-webkit-scrollbar-thumb { background: var(--re-orange); border-radius: 999px; }
.trip-card {
  flex: 0 0 calc((100% - 24px) / 2);
  scroll-snap-align: start;
  background: var(--re-white);
  border: 0.5px solid var(--re-border-soft);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med);
  min-height: 460px;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .trip-card { flex: 0 0 calc((100% - 48px) / 3); } }
.trip-card .trip-card-link { display: none; }
.trip-card .trip-text { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.trip-card h4 { color: var(--re-brown); margin-bottom: 4px; }
.trip-card h6 { color: var(--re-tan); font-weight: 500; margin-bottom: 18px; }
.trip-card .trip-info { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 22px; }
.trip-info-row { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding-bottom: 10px; border-bottom: 1px dashed var(--re-border); }
.trip-info-row:last-child { border-bottom: 0; }
.trip-info-label { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--re-blue); flex: 0 0 110px; }
.trip-info-value { font-size: 0.95rem; color: var(--re-brown); flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.trip-card .trip-buttons { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.trip-card .btn { padding: 11px 22px; font-size: 0.82rem; }
.trip-card .btn-text { padding: 0; }
.trip-card .trip-image { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.trip-card .trip-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.trip-card:hover .trip-image img { transform: scale(1.06); }
@media (max-width: 640px) {
  .trips-track { gap: 10px; padding: 4px 0 18px; }
  .trip-card {
    flex-basis: calc((100% - 20px) / 3);
    flex-direction: column;
    min-height: 0;
  }
  .trip-card .trip-image,
  .trip-card .trip-info-row:not(:last-child),
  .trip-card .trip-buttons { display: none; }
  .trip-card .trip-text { padding: 14px 10px; }
  .trip-card h4 { font-size: 1rem; line-height: 1.05; letter-spacing: 0.025em; margin-bottom: 5px; }
  .trip-card h6 {
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0;
  }
  .trip-card .trip-info { margin: 10px 0 0; gap: 0; }
  .trip-card .trip-info-row:last-child { display: block; padding: 0; border: 0; }
  .trip-card .trip-info-row:last-child .trip-info-label { display: none; }
  .trip-card .trip-info-row:last-child .trip-info-value { display: block; font-size: 0; color: var(--re-orange); font-weight: 700; line-height: 1.2; white-space: nowrap; }
  .trip-card .trip-info-row:last-child .trip-info-value::after { content: attr(data-mobile-price); font-size: 0.8rem; }
  .trip-card .trip-card-link { display: block; position: absolute; inset: 0; z-index: 2; }
  .trip-card .trip-card-link:focus-visible { outline: 3px solid var(--re-blue); outline-offset: -3px; }
}
.trip-dates {
  position: absolute; top: 14px; right: 14px;
  background: var(--re-white);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--re-blue);
  z-index: 2;
}
.trip-image-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--re-cream);
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  text-align: center;
  padding: 0 20px;
  line-height: 1;
  opacity: 0;
  transition: opacity var(--t-med);
  border: 8px solid var(--re-white);
}
.trip-card:hover .trip-image-overlay { opacity: 1; }

.carousel-controls { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* ========================================================================
   Banner CTA (full-bleed image)
   ======================================================================== */
.banner-cta {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  background-size: cover; background-position: center;
  text-align: center;
  color: var(--re-cream);
  overflow: hidden;
}
.banner-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  z-index: 1;
}
.banner-cta > .container { position: relative; z-index: 2; }
.banner-cta h2 {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--re-cream);
  font-weight: 400;
  line-height: 0.95;
  font-size: clamp(3rem, 7vw, 5.5rem);
  transform: rotate(-7deg);
  display: inline-block;
  margin-bottom: 16px;
}
.banner-cta .banner-italic {
  font-family: var(--font-script); font-style: italic; text-transform: none;
  color: var(--re-gold);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.banner-cta p { max-width: 640px; margin: 0 auto 28px; opacity: 0.95; }
.banner-cta .btn-light { color: var(--re-blue); }
.banner-cta .btn-light:hover { color: var(--re-blue-deep); }

/* ========================================================================
   Why Us (3 pillars)
   ======================================================================== */
.why-us { background: var(--re-cream-deep); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: start; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1.4fr; gap: 90px; } }
.why-copy h2 { margin-bottom: 18px; }
.why-copy p { color: var(--re-brown-light); font-size: 1.05rem; }
.why-copy .btn { margin-top: 20px; }
.why-pillars { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 640px) { .why-pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-pillars { grid-template-columns: 1fr; } }
.pillar { padding: 10px 0; border-top: 2px solid var(--re-orange); padding-top: 24px; }
.pillar-icon { width: 50px; height: 50px; color: var(--re-orange); margin-bottom: 18px; }
.pillar h4 { color: var(--re-brown); margin-bottom: 12px; }
.pillar p { color: var(--re-brown-light); font-size: 0.98rem; line-height: 1.6; }

/* ========================================================================
   Testimonials
   ======================================================================== */
.testimonials { background: var(--re-blue-soft); position: relative; overflow: hidden; }
.testimonials .container { position: relative; }
.testimonial-card {
  background: var(--re-cream);
  border-radius: var(--radius-md);
  padding: 50px 40px 40px;
  text-align: center;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  border: 0.5px solid var(--re-border-soft);
}
.testimonial-quote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--re-brown);
  margin-bottom: 24px;
}
.testimonial-quote::before { content: "“"; font-size: 4rem; color: var(--re-orange); line-height: 0.5; display: block; margin-bottom: 14px; font-family: var(--font-script); }
.testimonial-author { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--re-blue); margin-bottom: 4px; }
.testimonial-trip { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--re-orange); }
.testimonial-track { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-controls { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.testimonial-floating {
  position: absolute; pointer-events: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  width: 130px; height: 170px;
  display: none;
}
@media (min-width: 1024px) { .testimonial-floating { display: block; } }
.testimonial-floating img { width: 100%; height: 100%; object-fit: cover; }
.t-f-1 { top: 0; left: 0; transform: rotate(-7deg); }
.t-f-2 { top: 30px; right: 0; transform: rotate(6deg); }
.t-f-3 { bottom: 0; left: 8%; transform: rotate(-4deg); width: 110px; height: 150px; }
.t-f-4 { bottom: 40px; right: 8%; transform: rotate(5deg); width: 110px; height: 150px; }

/* ========================================================================
   Specialty (accordion)
   ======================================================================== */
.specialty { background: var(--re-cream); }
.specialty-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: start; }
@media (min-width: 1024px) { .specialty-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.accordion { display: flex; flex-direction: column; }
.accordion-item { border-top: 1px solid var(--re-orange); }
.accordion-item:last-child { border-bottom: 1px solid var(--re-orange); }
.accordion-toggle {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 22px 10px;
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--re-brown);
  transition: color var(--t-fast), background var(--t-fast);
}
.accordion-toggle:hover { color: var(--re-orange); }
.accordion-toggle .acc-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t-fast); color: var(--re-orange); }
.accordion-item.is-open .accordion-toggle .acc-arrow { transform: rotate(90deg); }
.accordion-content { display: none; padding: 0 10px 24px; color: var(--re-brown-light); font-size: 0.98rem; }
.accordion-item.is-open .accordion-content { display: block; animation: fadeUp 0.4s var(--ease); }
.accordion-content .btn-text { margin-top: 12px; }
.specialty-image-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; }
.specialty-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.specialty-image-wrap:hover img { transform: scale(1.04); }
.specialty-image-card {
  position: absolute; bottom: 20px; right: 20px; left: 20px;
  background: var(--re-white);
  border: 0.5px solid var(--re-border-soft);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}
.specialty-image-card h5 { color: var(--re-blue); margin-bottom: 6px; }
.specialty-image-card p { font-size: 0.92rem; color: var(--re-brown-light); margin: 0; }

/* ========================================================================
   About blurb
   ======================================================================== */
.about-blurb { background: var(--re-blue); color: var(--re-cream); text-align: center; padding: clamp(70px, 9vw, 120px) 0; }
.about-blurb h2 { color: var(--re-cream); }
.about-blurb p { max-width: 760px; margin: 0 auto 30px; opacity: 0.95; font-size: 1.1rem; }
.about-blurb a { color: var(--re-gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.about-blurb a:hover { color: var(--re-cream); }

/* ========================================================================
   Final CTA
   ======================================================================== */
.final-cta {
  background: var(--re-orange);
  color: var(--re-white);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: 0;
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--re-white);
  font-weight: 400;
  line-height: 0.9;
  font-size: clamp(3.5rem, 9vw, 7rem);
  transform: rotate(-7deg);
  display: inline-block;
  margin-bottom: 18px;
}
.final-cta .italic-script { color: var(--re-cream); opacity: 0.95; margin-bottom: 32px; }
.final-cta .btn { background: var(--re-white); color: var(--re-orange); }
.final-cta .btn:hover { background: var(--re-cream); }

/* ========================================================================
   Wave divider (sand -> next section)
   ======================================================================== */
.wave-divider { display: block; width: 100%; height: 60px; }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer { background: var(--re-brown); color: var(--re-cream); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 50px; padding: 70px 0; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } }
.footer-col h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: var(--re-gold);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 18px;
  margin-bottom: 18px;
}
.footer-col a {
  display: block; padding: 6px 0;
  color: var(--re-cream);
  font-size: 0.95rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
  position: relative;
}
.footer-col a:hover { color: var(--re-gold); padding-left: 6px; }
.footer-col a::before {
  content: "›"; color: var(--re-orange);
  position: absolute; left: -10px; opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.footer-col a:hover::before { opacity: 1; transform: translateX(6px); }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo svg, .footer-brand .logo img { height: 70px; }
.footer-brand p { font-size: 0.95rem; opacity: 0.85; max-width: 360px; }
.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.footer-socials a:hover { background: var(--re-orange); color: var(--re-white); padding-left: 0; }
.footer-socials a::before { display: none; }
.footer-socials svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.85rem;
  opacity: 0.85;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--re-gold); }
.footer-newsletter { background: var(--re-blue); padding: 50px 0; }
.footer-newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-newsletter h5 { color: var(--re-cream); margin: 0; font-size: 1.4rem; }
.footer-newsletter p { color: var(--re-blue-soft); margin: 0; font-size: 0.95rem; }
.footer-newsletter .newsletter-note { max-width: 360px; margin: 0; color: var(--re-blue-soft); }
.footer-newsletter .newsletter-note a { color: var(--re-cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-newsletter .newsletter-note a:hover { color: var(--re-gold); }
.footer-newsletter .form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-newsletter input {
  background: transparent; border: 1.5px solid var(--re-cream);
  color: var(--re-cream);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem;
  min-width: 260px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.footer-newsletter input:focus { outline: none; background: rgba(255,255,255,0.08); }

/* Legal pages */
.legal-page { padding-top: 72px; }
.legal-page .site-header { background: var(--re-cream); }
.legal-page .logo img { height: 44px; }
.legal-hero { padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 85px); background: var(--re-blue); color: var(--re-cream); text-align: center; }
.legal-hero h1 { color: var(--re-cream); margin: 10px 0 14px; }
.legal-hero > .container > p:last-child { margin: 0; color: var(--re-blue-soft); }
.legal-content { font-size: 1.03rem; }
.legal-content h2 { color: var(--re-blue); margin: 42px 0 12px; }
.legal-content a:not(.btn-text) { color: var(--re-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:not(.btn-text):hover { color: var(--re-orange); }

/* ========================================================================
   Page header (interior pages)
   ======================================================================== */
.page-hero {
  padding: 180px 0 90px;
  background: var(--re-blue);
  color: var(--re-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--re-cream);
  font-family: var(--font-script);
  text-transform: none;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  transform: rotate(-5deg);
  display: inline-block;
  margin-bottom: 20px;
}
.page-hero p { max-width: 660px; margin: 0 auto; opacity: 0.95; font-size: 1.1rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--re-gold);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--re-cream); }
.breadcrumb a:hover { color: var(--re-gold); }
.breadcrumb .sep { opacity: 0.6; }

/* ========================================================================
   Forms
   ======================================================================== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--re-blue);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 0.5px solid var(--re-border);
  border-radius: var(--radius-md);
  background: var(--re-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--re-brown);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--re-orange);
  box-shadow: 0 0 0 3px rgba(255, 110, 1, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ========================================================================
   Cards (lessons / programs)
   ======================================================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: 1fr 1fr 1fr; } }
.info-card {
  background: var(--re-white);
  border: 0.5px solid var(--re-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.info-card .card-image { aspect-ratio: 4/3; overflow: hidden; }
.info-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.info-card:hover .card-image img { transform: scale(1.05); }
.info-card .card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.info-card h4 { color: var(--re-brown); margin-bottom: 8px; }
.info-card .card-eyebrow { font-family: var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--re-orange); font-size: 0.78rem; margin-bottom: 8px; }
.info-card p { color: var(--re-brown-light); font-size: 0.98rem; flex: 1; }
.info-card .card-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0 18px; font-size: 0.85rem; color: var(--re-brown); }
.info-card .card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.info-card .card-meta strong { color: var(--re-blue); font-weight: 500; }

/* ========================================================================
   FAQ
   ======================================================================== */
.faq { background: var(--re-cream); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--re-border); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--re-brown);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--re-orange); }
.faq-q .acc-arrow { width: 20px; height: 20px; color: var(--re-orange); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.is-open .faq-q .acc-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 22px; color: var(--re-brown-light); }
.faq-item.is-open .faq-a { display: block; animation: fadeUp 0.4s var(--ease); }

/* ========================================================================
   Side-by-side (about / etc)
   ======================================================================== */
.split { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split-img { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-card); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 18px; }
.split-content p { margin-bottom: 16px; }

/* ========================================================================
   Stats
   ======================================================================== */
.stats-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  background: var(--re-blue);
  color: var(--re-cream);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  margin: 50px 0;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--re-gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--re-cream); opacity: 0.9; }

/* ========================================================================
   Map
   ======================================================================== */
.map-frame { width: 100%; height: 420px; border: 0; border-radius: var(--radius-md); filter: saturate(0.9); }

/* ========================================================================
   Scroll animations
   ======================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================================================
   Utility
   ======================================================================== */
.bg-cream    { background: var(--re-cream); }
.bg-cream-d  { background: var(--re-cream-deep); }
.bg-blue     { background: var(--re-blue); }
.bg-blue-s   { background: var(--re-blue-soft); }
.bg-brown    { background: var(--re-brown); }
.bg-orange   { background: var(--re-orange); }
.bg-gold     { background: var(--re-gold); }
.bg-white    { background: var(--re-white); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 50px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.divider-wave { display: block; width: 100%; height: auto; }
