/* ============================================================
   Inspired Bali — Design System (Bright Edition)
   Palette: warm sunrise, temple gold, soft stone, terracotta,
            deep ocean, pure cream
   Type: Cinzel (display) + DM Sans (body)
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  /* Colors */
  --ink: #1A1512;
  --ink-light: #2D2622;
  --gold: #C49E4F;
  --gold-dim: #A8833F;
  --gold-light: #D4B46D;
  --sunrise: #FFF8EE;
  --sunrise-warm: #FFF1DC;
  --stone: #F0EBE3;
  --stone-dim: #E5DFD5;
  --stone-dark: #8A8278;
  --terracotta: #C06E44;
  --terracotta-dim: #A85D38;
  --terracotta-light: #F5E6DC;
  --ocean: #1C4545;
  --ocean-light: #2A6060;
  --cream: #FCF9F4;
  --cream-dim: #F5F0E8;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale (mobile-first) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

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

  /* Layout */
  --max-width: 1280px;
  --nav-height: 4rem;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;

  /* Z-index layers */
  --z-nav: 100;
  --z-overlay: 200;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ----- Focus States ----- */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ----- Skip Link ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  z-index: var(--z-overlay);
  font-weight: 500;
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ----- Section Containers ----- */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.section-lede {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
  max-width: 36rem;
}

/* ----- Navigation ----- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 0 var(--space-xl);
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

/* Scrolled: dark glass for contrast over any section */
.nav-header.scrolled {
  background: rgba(26, 21, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--ink);
  z-index: calc(var(--z-nav) + 1);
  transition: color var(--duration-base) var(--ease-out);
}

.nav-header.scrolled .nav-logo {
  color: var(--cream);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--stone-dark);
  transition: color var(--duration-fast), color var(--duration-base) var(--ease-out);
  letter-spacing: 0.02em;
}

.nav-header.scrolled .nav-links a {
  color: var(--stone-dim);
}

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

.nav-header.scrolled .nav-links a:hover,
.nav-header.scrolled .nav-links a:focus-visible {
  color: var(--cream);
}

.nav-cta {
  color: var(--terracotta) !important;
  font-weight: 500 !important;
}

.nav-header.scrolled .nav-cta {
  color: var(--gold) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: calc(var(--z-nav) + 1);
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast),
              background var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-header.scrolled .hamburger-line {
  background: var(--cream);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ----- Hero (Bright Sunrise) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    170deg,
    var(--sunrise) 0%,
    #FFF4E4 30%,
    #FDF0DD 60%,
    var(--cream) 100%
  );
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

/* Warm sunlight glow */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(212, 180, 109, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 75%, rgba(192, 110, 68, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(196, 158, 79, 0.08) 0%, transparent 70%);
}

/* Subtle kawung-inspired geometric overlay */
.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(196, 158, 79, 0.04) 60px,
      rgba(196, 158, 79, 0.04) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(196, 158, 79, 0.04) 60px,
      rgba(196, 158, 79, 0.04) 61px
    );
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
}

/* Soft fade at the bottom */
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(252, 249, 244, 0.7) 60%,
    var(--cream) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-5xl) var(--space-xl);
  padding-top: calc(var(--nav-height) + var(--space-4xl));
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xl);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}

.hero-line {
  display: block;
  font-size: var(--text-4xl);
  color: var(--ink);
}

.hero-line-accent {
  color: var(--terracotta);
  font-size: var(--text-3xl);
  font-weight: 400;
  font-style: italic;
}

.hero-subtitle {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
  max-width: 34rem;
  margin-bottom: var(--space-2xl);
}

.hero-subtitle em {
  font-style: italic;
  color: var(--terracotta);
  opacity: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--border-radius);
  transition: all var(--duration-fast) var(--ease-out);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-dim);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(26, 21, 18, 0.2);
}

.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(192, 110, 68, 0.04);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid rgba(26, 21, 18, 0.15);
}

.btn-outline:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dim);
}

.btn-full {
  width: 100%;
}

/* ----- Philosophy ----- */
.philosophy {
  padding: var(--space-5xl) 0;
  background: var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.philosophy-card {
  padding: var(--space-xl);
  border-left: 1px solid var(--stone-dim);
  transition: border-color var(--duration-base);
}

.philosophy-card:hover {
  border-left-color: var(--gold);
}

.phil-icon {
  color: var(--gold);
  margin-bottom: var(--space-lg);
  opacity: 0.85;
}

.phil-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.phil-sub {
  font-size: var(--text-sm);
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.phil-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
}

.phil-desc em {
  font-style: italic;
  color: var(--ink);
  opacity: 1;
}

/* ----- Destinations (Warm Stone) ----- */
.destinations {
  padding: var(--space-5xl) 0;
  background: var(--sunrise-warm);
  overflow: hidden;
}

.destinations .section-title {
  color: var(--ink);
}

.destinations .section-lede {
  color: var(--ink);
  opacity: 0.65;
}

.destinations-scroll {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-xl) var(--space-lg);
  cursor: grab;
}

.destinations-scroll::-webkit-scrollbar {
  height: 4px;
}

.destinations-scroll::-webkit-scrollbar-track {
  background: rgba(138, 130, 120, 0.15);
}

.destinations-scroll::-webkit-scrollbar-thumb {
  background: var(--terracotta);
  border-radius: 2px;
}

.destinations-scroll:active {
  cursor: grabbing;
}

.dest-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.dest-card-image {
  position: relative;
  height: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--ink-light);
  box-shadow: 0 4px 20px rgba(26, 21, 18, 0.08);
}

.dest-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.dest-card:hover .dest-card-img {
  transform: scale(1.05);
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    0deg,
    rgba(26, 21, 18, 0.55) 0%,
    rgba(26, 21, 18, 0.1) 50%,
    transparent 100%
  );
}

.dest-card-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.dest-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.dest-card-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--stone-dim);
}

.dest-card-desc em {
  font-style: italic;
  color: var(--gold-light);
}

.dest-card-credit {
  font-size: 0.625rem;
  color: rgba(240, 235, 227, 0.45);
  margin-top: var(--space-sm);
  letter-spacing: 0.04em;
}

/* ----- Experiences ----- */
.experiences {
  padding: var(--space-5xl) 0;
  background: var(--cream);
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--stone-dim);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
}

.exp-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 8px 32px rgba(26, 21, 18, 0.06);
}

.exp-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(28, 69, 69, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  align-self: flex-start;
}

.exp-card-tag--new {
  color: var(--terracotta);
  background: var(--terracotta-light);
}

.exp-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-md);
  letter-spacing: 0.01em;
}

.exp-card-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.exp-card-desc em {
  font-style: italic;
  opacity: 1;
  color: var(--ink);
}

.exp-card-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--stone-dim);
}

.exp-duration,
.exp-group {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

.exp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
}

.exp-price-unit {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  opacity: 0.5;
}

/* ----- Values (Soft Terracotta Wash) ----- */
.values {
  padding: var(--space-5xl) 0;
  background: var(--terracotta-light);
  color: var(--ink);
}

.values .section-eyebrow {
  color: var(--terracotta-dim);
}

.values .section-title {
  color: var(--ink);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.value-item {
  display: flex;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(192, 110, 68, 0.12);
}

.value-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.value-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--terracotta);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
}

.value-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

.value-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
}

.value-desc em {
  font-style: italic;
  color: var(--terracotta);
  opacity: 1;
}

/* ----- Testimonials ----- */
.testimonials {
  padding: var(--space-5xl) 0;
  background: var(--cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--stone-dim);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.testimonial-stars {
  color: var(--gold);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial-author cite {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--ink);
  opacity: 0.5;
}

/* ----- Contact (Ocean — kept as anchor/depth) ----- */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--ocean);
  color: var(--cream);
}

.contact .section-eyebrow {
  color: var(--gold-light);
}

.contact .section-title {
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.contact-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--stone-dim);
  margin-bottom: var(--space-xl);
  max-width: 30rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(240, 235, 227, 0.15);
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--stone);
  transition: border-color var(--duration-fast),
              background var(--duration-fast);
  min-height: 44px;
}

.contact-method:hover {
  border-color: var(--gold);
  background: rgba(196, 158, 79, 0.08);
}

.contact-method-icon {
  color: var(--gold);
  display: flex;
  align-items: center;
}

/* Form */
.contact-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(240, 235, 227, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

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

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(240, 235, 227, 0.15);
  border-radius: var(--border-radius);
  transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 235, 227, 0.3);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C49E4F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--ink);
  color: var(--cream);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--stone-dim);
  text-align: center;
  margin-top: var(--space-md);
}

/* ----- Footer (Warm Dark) ----- */
.site-footer {
  padding: var(--space-4xl) 0 var(--space-2xl);
  background: var(--ink-light);
  color: var(--stone-dim);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(240, 235, 227, 0.08);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo-mark {
  font-size: var(--text-2xl);
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.footer-brand .logo-text {
  color: var(--cream);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--stone-dim);
  margin-top: var(--space-md);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--stone-dim);
  padding: 0.375rem 0;
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: var(--cream);
}

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

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--stone-dim);
  opacity: 0.5;
  line-height: 1.8;
}

.footer-philosophy {
  margin-top: var(--space-sm);
}

.footer-philosophy em {
  font-style: italic;
}

/* ----- Scroll Reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 768px+ */
@media (min-width: 48em) {
  :root {
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    --text-5xl: 3.75rem;
    --text-6xl: 4.5rem;
  }

  .section-title {
    font-size: var(--text-4xl);
  }

  .hero-line {
    font-size: var(--text-5xl);
  }

  .hero-line-accent {
    font-size: var(--text-4xl);
  }

  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .values-grid {
    gap: var(--space-2xl);
  }

  .value-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-2xl);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-methods {
    flex-direction: row;
  }

  .footer-top {
    grid-template-columns: 1fr 2fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 1024px+ */
@media (min-width: 64em) {
  :root {
    --text-4xl: 3.75rem;
    --text-5xl: 4.5rem;
    --nav-height: 5rem;
  }

  .hero-line {
    font-size: var(--text-6xl);
  }

  .hero-line-accent {
    font-size: var(--text-5xl);
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + var(--space-5xl));
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  .dest-card {
    flex: 0 0 380px;
  }

  .dest-card-image {
    height: 480px;
  }
}

/* Large Desktop: 1440px+ */
@media (min-width: 90em) {
  .section-container {
    padding: 0;
  }
}

/* ----- Mobile Navigation ----- */
@media (max-width: 47.9375em) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(252, 249, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
  }

  .nav-cta {
    color: var(--terracotta) !important;
    font-size: var(--text-2xl) !important;
  }
}
