/* ============================================================
   Travel Crown — Luxury Travel Agency
   Brand Style Sheet
   ============================================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Ocean & Tropical Palette */
  --color-ocean-deep: #0E4B5C;
  --color-ocean-mid: #16808C;
  --color-teal: #0D9488;
  --color-teal-light: #5EEAD4;
  --color-coral: #E8924F;
  --color-gold: #C88C2A;
  --color-gold-light: #F0C76E;
  --color-cream: #FEFBF6;
  --color-sand: #F5F0E8;
  --color-white: #FFFFFF;

  /* Text colors — NO rgba */
  --color-text: #1E293B;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-text-light: #F1F5F9;
  --color-text-lighter: #E2E8F0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
  --border-radius: 6px;
  --border-radius-lg: 16px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

/* ============================================================
   UTILITY: Scroll-reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.site-header--transparent {
  background-color: transparent;
}

.site-header--solid {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transition: color var(--duration-base) var(--ease-out);
  z-index: 1002;
}

.site-header--solid .brand {
  color: var(--color-ocean-deep);
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-light);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
  padding: 0.3rem 0;
}

.site-header--solid .nav-links a {
  color: var(--color-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-gold-light);
}

.site-header--solid .nav-links a:hover,
.site-header--solid .nav-links a:focus-visible {
  color: var(--color-ocean-mid);
}

/* ----- Mobile Navigation: Slide-in Panel from LEFT ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  z-index: 1002;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
}

.nav-toggle span:nth-child(2) {
  margin: 5px 0;
}

.site-header--solid .nav-toggle span {
  background-color: var(--color-ocean-deep);
}

.nav-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-ocean-deep);
}

.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-ocean-deep);
}

/* Slide-in panel */
.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 80vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-white);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform var(--duration-base) var(--ease-in-out);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
}

.mobile-panel--open {
  transform: translateX(0);
}

.mobile-panel a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid #E2E8F0;
  transition: color var(--duration-fast) var(--ease-out),
              padding-left var(--duration-fast) var(--ease-out);
}

.mobile-panel a:hover,
.mobile-panel a:focus-visible {
  color: var(--color-ocean-mid);
  padding-left: 0.5rem;
}

/* Overlay behind mobile panel */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}

.mobile-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    170deg,
    #0A3D4A 0%,
    #0E5B6C 20%,
    #148090 40%,
    #1AA3A8 55%,
    #4EC5B8 65%,
    #F5D98E 75%,
    #F2C94C 80%,
    #E8B830 85%,
    #C8963E 92%,
    #F5F0E8 100%
  );
}

/* Simulated ocean shimmer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(94,234,212,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 60%, rgba(240,199,110,0.1) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* Subtle wave pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-cream) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
  padding: 0.4rem 1.25rem;
  border: 1px solid rgba(240,199,110,0.4);
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--color-text-lighter);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  letter-spacing: 0.02em;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background-color: #B07A20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,140,42,0.35);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-white), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   OUR STORY (About Section)
   ============================================================ */
.story-section {
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-cream);
  position: relative;
}

/* Subtle compass rose watermark */
.story-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background:
    radial-gradient(circle, rgba(13,148,136,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.story-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Decorative divider */
.story-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

.story-ornament::before,
.story-ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
}

.story-ornament svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.story-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

.story-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

/* Pull quote */
.story-pullquote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  color: var(--color-ocean-mid);
  line-height: 1.5;
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
  position: relative;
  letter-spacing: 0.01em;
}

.story-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-teal-light);
  opacity: 0.25;
  line-height: 1;
  pointer-events: none;
}

.story-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.story-body strong {
  color: var(--color-ocean-deep);
  font-weight: 600;
}

/* Decorative anchor / wave divider */
.story-divider {
  width: 100px;
  height: 2px;
  margin: var(--space-lg) auto 0;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  border-radius: 1px;
}

/* ============================================================
   EXPERIENCES CAROUSEL (horizontal snap-scroll)
   ============================================================ */
.experiences-section {
  padding: var(--space-2xl) 0 var(--space-2xl);
  background-color: var(--color-white);
}

.experiences-header {
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.experiences-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

.experiences-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-ocean-deep);
}

/* Scroll hint */
.carousel-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.carousel-hint svg {
  width: 32px;
  height: 16px;
}

/* Carousel container */
.experiences-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem var(--space-lg) var(--space-md);
  /* Inset padding so first/last cards don't hit viewport edge on desktop */
  scroll-padding: 0 var(--space-lg);
}

.experiences-carousel::-webkit-scrollbar {
  display: none;
}

/* Experience card */
.experience-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  position: relative;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.experience-card:first-child {
  margin-left: max(0px, calc((100vw - var(--max-width)) / 2));
}

@media (min-width: 1300px) {
  .experience-card:first-child {
    margin-left: calc((100vw - var(--max-width)) / 2);
  }
}

/* Card image placeholder — gradient simulating travel photos */
.experience-card__image {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.experience-card__image--yacht {
  background: linear-gradient(135deg, #006994 0%, #1AA3A8 40%, #4EC5B8 70%, #F5D98E 100%);
}

.experience-card__image--culinary {
  background: linear-gradient(135deg, #8B4513 0%, #C8963E 40%, #F0C76E 70%, #FEFBF6 100%);
}

.experience-card__image--culture {
  background: linear-gradient(135deg, #4A0E4E 0%, #8B2E5C 40%, #C04848 70%, #F0A060 100%);
}

.experience-card__image--wellness {
  background: linear-gradient(135deg, #2D5A27 0%, #5B8C51 40%, #A8D8B9 70%, #E8F5E9 100%);
}

.experience-card__image--adventure {
  background: linear-gradient(135deg, #1E3A5F 0%, #2E6B8A 40%, #7FB8D0 70%, #C8E0F0 100%);
}

.experience-card__image--romance {
  background: linear-gradient(135deg, #6B2D3C 0%, #C0455A 40%, #E8826E 70%, #F5C0B0 100%);
}

/* Card icon badge */
.experience-card__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.experience-card__icon svg {
  width: 22px;
  height: 22px;
}

.experience-card__body {
  padding: 1.5rem;
}

.experience-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  margin-bottom: 0.5rem;
}

.experience-card__desc {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   DESTINATIONS — CSS Masonry Grid
   ============================================================ */
.destinations-section {
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-sand);
  position: relative;
}

/* Subtle dot pattern on section background */
.destinations-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.destinations-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
}

.destinations-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

.destinations-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-sm);
}

.destinations-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Masonry using CSS columns */
.masonry-wall {
  max-width: var(--max-width);
  margin: 0 auto;
  columns: 3;
  column-gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.masonry-wall > * {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Destination tile */
.destination-tile {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-white);
}

.destination-tile__image {
  width: 100%;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.destination-tile:hover .destination-tile__image {
  transform: scale(1.05);
}

/* Gradient placeholder images with varying aspect ratios */
.dest-placeholder {
  width: 100%;
  min-height: 200px;
  display: block;
}

.dest-placeholder--maldives {
  background: linear-gradient(180deg, #87CEEB 0%, #4DB8D8 30%, #1AA3A8 60%, #0E5B6C 100%);
  aspect-ratio: 3/4;
}

.dest-placeholder--santorini {
  background: linear-gradient(180deg, #4A90D9 0%, #6BB5E0 30%, #FFFFFF 55%, #E8D5C0 100%);
  aspect-ratio: 4/3;
}

.dest-placeholder--bali {
  background: linear-gradient(180deg, #2D8B4E 0%, #5BA872 40%, #8FD4A0 70%, #C8B878 100%);
  aspect-ratio: 3/4;
}

.dest-placeholder--amalfi {
  background: linear-gradient(180deg, #5B7FA5 0%, #8BAEC8 35%, #F0DFC0 60%, #E8C890 100%);
  aspect-ratio: 4/5;
}

.dest-placeholder--kyoto {
  background: linear-gradient(180deg, #8B5A5A 0%, #C47070 30%, #F0A0A0 50%, #D4E8C0 100%);
  aspect-ratio: 3/4;
}

.dest-placeholder--swiss {
  background: linear-gradient(180deg, #4A6FA5 0%, #7BA3CC 25%, #FFFFFF 50%, #A0C878 75%, #5B8C3E 100%);
  aspect-ratio: 4/3;
}

/* Overlay on hover */
.destination-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,75,92,0.85) 0%, rgba(14,75,92,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.destination-tile:hover .destination-tile__overlay,
.destination-tile:focus-within .destination-tile__overlay {
  opacity: 1;
}

.destination-tile__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.destination-tile__country {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.destination-tile__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

.testimonials-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-xl);
}

/* Slider wrapper */
.testimonial-slider {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  min-height: 260px;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
}

.testimonial-slide--active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-slide--exit {
  opacity: 0;
  transform: translateX(-40px);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-ocean-deep);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

/* Navigation arrows */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-ocean-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ocean-mid);
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  background-color: var(--color-ocean-mid);
  color: var(--color-white);
}

.testimonial-arrow svg {
  width: 18px;
  height: 18px;
}

/* Dot indicators */
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-md);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  transition: background-color var(--duration-fast) var(--ease-out);
  border: none;
  padding: 0;
  cursor: pointer;
}

.testimonial-dot:hover {
  background-color: var(--color-teal-light);
}

.testimonial-dot--active {
  background-color: var(--color-ocean-mid);
  transform: scale(1.3);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-white);
  position: relative;
}

.contact-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-decor {
  text-align: center;
  margin-bottom: var(--space-md);
}

.contact-decor svg {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  opacity: 0.6;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Form styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--border-radius);
  background-color: var(--color-cream);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group .error-message {
  font-size: 0.8rem;
  color: #DC2626;
  display: none;
  margin-top: 0.2rem;
}

.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: #DC2626;
}

.form-group--error .error-message {
  display: block;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2.5rem;
  background-color: var(--color-ocean-mid);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  letter-spacing: 0.02em;
  align-self: center;
  margin-top: 0.5rem;
}

.form-submit:hover,
.form-submit:focus-visible {
  background-color: #0F6B73;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,128,140,0.3);
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--border-radius-lg);
}

.form-success--visible {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: #86EFAC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  color: #166534;
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ocean-deep);
  margin-bottom: 0.5rem;
}

.form-success__text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-ocean-deep);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  color: var(--color-text-lighter);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-text-lighter);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-gold-light);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-lighter);
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  background-color: rgba(200,140,42,0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* ============================================================
   PRIVACY PAGE — Travel Manifesto / Numbered Articles
   ============================================================ */
.legal-hero {
  background: linear-gradient(160deg, #0E4B5C 0%, #16808C 60%, #0D9488 100%);
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.legal-hero__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.legal-hero__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold-light);
}

.legal-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-sm);
}

.legal-hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-lighter);
  position: relative;
  z-index: 1;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

/* Numbered articles */
.privacy-article {
  counter-increment: article-counter;
  position: relative;
  padding: var(--space-lg) 0 var(--space-lg) 80px;
  border-bottom: 1px solid #E2E8F0;
}

.privacy-article:last-child {
  border-bottom: none;
}

.privacy-article::before {
  content: counter(article-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-lg);
  width: 56px;
  height: 56px;
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal);
  background: var(--color-cream);
}

.privacy-article__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-sm);
}

.privacy-article__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.privacy-article__body p {
  margin-bottom: 1rem;
}

.privacy-article__body p:last-child {
  margin-bottom: 0;
}

.privacy-article__body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-article__body ul li {
  margin-bottom: 0.5rem;
}

.privacy-meta {
  background: var(--color-cream);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.privacy-meta p {
  margin-bottom: 0.35rem;
}

.privacy-meta p:last-child {
  margin-bottom: 0;
}

.privacy-meta strong {
  color: var(--color-text);
}

/* ============================================================
   TERMS PAGE — Sidebar + Main Content
   ============================================================ */
.terms-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  align-items: start;
}

/* Sidebar */
.terms-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
}

.terms-sidebar__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-teal-light);
}

.terms-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.terms-sidebar__nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-radius: var(--border-radius);
  transition: color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
  border-left: 2px solid transparent;
}

.terms-sidebar__nav a:hover,
.terms-sidebar__nav a:focus-visible {
  color: var(--color-ocean-mid);
  background-color: #F0FDFA;
}

.terms-sidebar__nav a--active {
  color: var(--color-ocean-mid);
  background-color: #F0FDFA;
  border-left-color: var(--color-teal);
  font-weight: 500;
}

/* Main content */
.terms-main {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  min-width: 0;
}

.terms-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid #E2E8F0;
}

.terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.terms-section__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-teal-light);
  display: inline-block;
}

.terms-section__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.terms-section__body p {
  margin-bottom: 1rem;
}

.terms-section__body p:last-child {
  margin-bottom: 0;
}

.terms-section__body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-section__body ul li {
  margin-bottom: 0.5rem;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0E4B5C 0%, #16808C 60%, #0D9488 100%);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.error-icon {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.error-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-gold-light);
  opacity: 0.8;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
}

.error-divider {
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  margin: var(--space-md) auto;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.error-message {
  font-size: 1.1rem;
  color: var(--color-text-lighter);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.25rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.error-home-link:hover,
.error-home-link:focus-visible {
  background-color: #B07A20;
  transform: translateY(-2px);
}

.error-home-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .masonry-wall {
    columns: 2;
  }

  .terms-wrapper {
    grid-template-columns: 1fr;
  }

  .terms-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: var(--space-md);
  }

  .terms-sidebar__title {
    width: 100%;
    margin-bottom: 0;
  }

  .terms-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .terms-sidebar__nav a {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .terms-sidebar__nav a--active {
    border-left-color: transparent;
    border-bottom-color: var(--color-teal);
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  /* Experiences carousel */
  .experience-card {
    flex: 0 0 280px;
  }

  .experience-card:first-child {
    margin-left: var(--space-lg);
  }

  .experiences-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Masonry */
  .masonry-wall {
    columns: 1;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Privacy */
  .privacy-article {
    padding-left: 0;
    padding-top: 90px;
  }

  .privacy-article::before {
    top: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
  }

  .privacy-article__title {
    text-align: center;
  }

  /* Terms */
  .terms-main {
    padding: var(--space-md);
  }

  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .experience-card {
    flex: 0 0 260px;
  }

  .hero-cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }
}
