/* ═══════════════════════════════════════════════════════
   INTERTRAIN — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --green-deep:   #1a2e1a;
  --green-mid:    #2c4a2c;
  --green-light:  #3d6b3d;
  --cream:        #f4f0e6;
  --cream-dark:   #e8e2d4;
  --brass:        #b8972a;
  --brass-light:  #d4b04a;
  --ivory:        #faf8f2;
  --charcoal:     #2a2a2a;
  --warm-grey:    #8a8478;
  --rule:         rgba(184,151,42,0.35);

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-text:    'EB Garamond', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.75;
  cursor: default;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── PAGE SYSTEM ─── */
.page { display: none; min-height: 100vh; animation: fadeIn 0.6s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── NAV ─── */
nav {
  background: var(--green-deep);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brass-light);
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo span {
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dark);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--brass-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ─── ORNAMENTAL RULE ─── */
.ornament {
  text-align: center;
  color: var(--brass);
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  margin: 1.5rem 0;
  opacity: 0.7;
}

.rule-line {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem auto;
  max-width: 800px;
}

/* ─── HERO ─── */
.hero {
  background: var(--green-deep);
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(61,107,61,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(184,151,42,0.08) 0%, transparent 50%);
}

/* Decorative vertical line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 45%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
}

.hero-left {
  padding: 8rem 4rem 6rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

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

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(244,240,230,0.65);
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  max-width: 420px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--brass);
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

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

.btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  background: transparent;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--brass);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover { background: var(--brass); color: var(--green-deep); }

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.hero-crest {
  width: 280px;
  height: 280px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-crest::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184,151,42,0.2);
  border-radius: 50%;
}

.crest-inner {
  text-align: center;
  color: var(--brass);
}

.crest-monogram {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  display: block;
  color: var(--brass-light);
}

.crest-latin {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(184,151,42,0.7);
  margin-top: 0.5rem;
  display: block;
}

.crest-year {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(184,151,42,0.5);
  margin-top: 0.75rem;
  display: block;
}

/* Orbital decoration */
.hero-orbital {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(184,151,42,0.15);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.hero-orbital::before {
  content: '◆';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--brass);
  opacity: 0.6;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 6rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244,240,230,0.35);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(184,151,42,0.4);
}

/* ─── SECTIONS ─── */
section { padding: 6rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: #a8c5a0; }

.section-lead {
  font-family: var(--font-text);
  font-size: 1.1rem;
  color: var(--warm-grey);
  max-width: 580px;
  line-height: 2.5;
}

/* ─── HOME: PILLARS ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--rule);
}

.pillar {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--green-deep); }
.pillar:hover .pillar-title,
.pillar:hover .pillar-text { color: var(--cream); }
.pillar:hover .pillar-num { color: var(--brass-light); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--brass);
  margin-bottom: 1.5rem;
  display: block;
  transition: color 0.3s;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--warm-grey);
  line-height: 1.85;
  transition: color 0.3s;
}

/* ─── HOME: DESTINATIONS PREVIEW ─── */
.dest-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--rule);
  margin-top: 3rem;
}

.dest-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.dest-card.featured { grid-row: span 2; background: var(--green-deep); }

.dest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.dest-card:hover::before { transform: scaleX(1); }
.dest-card:hover { background: var(--green-mid); }
.dest-card:hover .dest-name,
.dest-card:hover .dest-schools { color: var(--cream); }
.dest-card:hover .dest-flag { opacity: 1; }
.dest-card.featured:hover { background: var(--green-light); }

.dest-flag {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.dest-name {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.dest-card.featured .dest-name { color: var(--ivory); font-size: 2.5rem; }
.dest-card.featured .dest-schools { color: rgba(244,240,230,0.6); }

.dest-schools {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
  transition: color 0.3s;
}

.dest-desc {
  font-size: 0.95rem;
  color: rgba(244,240,230,0.65);
  margin-top: 1.25rem;
  line-height: 1.8;
}

/* ─── HOME: TESTIMONIAL ─── */
.testimonial-section {
  background: var(--green-deep);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 4rem;
  font-family: var(--font-body);
  font-size: 20rem;
  color: rgba(184,151,42,0.06);
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  line-height: 1.6;
  position: relative;
}

.testimonial-author {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: var(--green-deep);
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.about-values { margin-top: 5rem; }

.value-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.value-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--brass);
  padding-top: 4px;
}

.value-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.value-text {
  font-size: 0.95rem;
  color: var(--warm-grey);
  line-height: 1.85;
}

/* ─── TEAM ─── */

/* ─── DESTINATIONS PAGE ─── */
.dest-page-hero {
  background: var(--green-deep);
  padding: 7rem 0 4rem;
}

.dest-page-grid {
  display: grid;
  gap: 3px;
  background: var(--rule);
  margin-top: 3rem;
}

.dest-full-card {
  background: var(--cream);
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 220px;
}

.dest-full-sidebar {
  background: var(--green-deep);
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dest-full-flag { font-size: 3rem; margin-bottom: 1rem; display: block; }

.dest-full-name {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
}

.dest-full-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.5rem;
  display: block;
}

.dest-full-body { padding: 2.5rem 3rem; }

.dest-full-desc {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dest-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  border: 1px solid rgba(44,74,44,0.3);
  padding: 0.35rem 0.85rem;
}

/* ─── SERVICES PAGE ─── */
.services-hero {
  background: var(--green-deep);
  padding: 7rem 0 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  margin-top: 3rem;
}

.service-card {
  background: var(--cream);
  padding: 3rem 3rem;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover { background: var(--ivory); }

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.95rem;
  color: var(--warm-grey);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--charcoal);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(184,151,42,0.15);
}

.service-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.4rem;
  color: var(--brass);
  top: 0.65rem;
}

/* ─── PROCESS STEPS ─── */
.process-section { background: var(--green-deep); padding: 6rem 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
}

.process-step { text-align: center; padding: 0 1rem; position: relative; }

.step-num {
  width: 60px;
  height: 60px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--brass);
  background: var(--green-deep);
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.8rem;
  color: rgba(244,240,230,0.55);
  line-height: 1.7;
}

/* ─── CONTACT PAGE ─── */
.contact-hero {
  background: var(--green-deep);
  padding: 7rem 0 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact-info-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

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

.form-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--ivory);
  border: 1px solid var(--cream-dark);
  border-bottom: 2px solid var(--rule);
  padding: 0.85rem 1rem;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: var(--brass); }

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

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

/* ─── FOOTER ─── */
footer {
  background: var(--green-deep);
  border-top: 1px solid var(--rule);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--brass-light);
  margin-bottom: 0.5rem;
}

.footer-brand-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(244,240,230,0.5);
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(244,240,230,0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(244,240,230,0.3);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.footer-motto {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(184,151,42,0.5);
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--cream-dark);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3rem 0;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--rule);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header-text { color: var(--cream); }

.page-header-text .section-title {
  color: var(--ivory);
  margin-top: 0.75rem;
}

.page-header-text .section-lead { color: rgba(244,240,230,0.65); }

/* ─── DIVIDER ORNAMENT ─── */
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.divider-ornament span {
  color: var(--brass);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

/* ─── TEAM MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,31,60,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--cream);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-sidebar {
  background: var(--green-deep);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brass-light);
  margin-bottom: 1.5rem;
}

.modal-name {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.modal-role {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-detail-label {
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.3rem;
  margin-top: 1.25rem;
  display: block;
}

.modal-detail-value {
  font-size: 0.85rem;
  color: rgba(244,240,230,0.65);
  line-height: 1.6;
}

.modal-body {
  padding: 3rem 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--warm-grey);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--green-deep); }

.modal-section-title {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  display: block;
}

.modal-section-title:first-of-type { margin-top: 0; }

.modal-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.modal-tag {
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  border: 1px solid rgba(44,74,44,0.3);
  padding: 0.3rem 0.7rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero-right { display: none; }
  .hero-left { padding: 6rem 2.5rem 4rem; }
  .pillars-grid,
 
  .pillar { border-right: none; border-bottom: 1px solid var(--rule); }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card.featured { grid-row: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .dest-full-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { gap: 1.25rem; }
  .container { padding: 0 1.5rem; }
}

@media (max-width: 600px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-sidebar { padding: 2rem; flex-direction: row; gap: 1.5rem; text-align: left; }
  .modal-avatar { margin-bottom: 0; flex-shrink: 0; }
}

/* ===== MOBILE OPTIMIZATION ===== */


@media (max-width: 575px) {
  body {
    font-size: 15px;
  }

  .hero-title {
    font-size: 1.9rem !important;
  }

  .section-title {
    font-size: 1.7rem !important;
  }

  .hero-eyebrow,
  .section-eyebrow,
  .footer-col-title,
  .contact-info-label,
  .form-label {
    letter-spacing: 0.18em;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .nav-links a {
    font-size: 0.58rem;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr !important;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 16px;
    font-size: 0.62rem;
  }

  .service-title,
  .pillar-title{
    font-size: 1.25rem;
  }

  .dest-name {
    font-size: 1.5rem;
  }

  .contact-info-value,
  .modal-text,
  .service-text,
  .pillar-text {
    font-size: 0.95rem;
  }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 991px) {
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .container,
  .footer-inner,
  .nav-inner,
  .stats-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  nav {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .nav-inner {
    height: auto;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-logo {
    font-size: 1rem;
    line-height: 1.2;
  }

  .nav-logo span {
    font-size: 0.68rem;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-links a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .hero::after {
    display: none !important;
  }

  .hero-left {
    padding: 40px 16px 32px !important;
  }

  .hero-right {
    display: none !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero-scroll {
    display: none !important;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0;
  }

  .stat-item {
    padding: 16px 10px;
  }

  .stat-num {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem !important;
  }

  .section-lead {
    font-size: 1rem;
    max-width: 100%;
  }

  section {
    padding: 56px 0;
  }

  .pillars-grid,
  .services-grid,
  .about-grid,
  .contact-layout,
  .footer-top,
  .process-steps,
  .dest-grid,
  .dest-full-card,
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .pillar,
  .service-card,
  .team-card,
  .dest-card,
  .dest-full-body,
  .dest-full-sidebar {
    padding: 24px 18px !important;
  }

  .pillar {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }

  .dest-card.featured {
    grid-row: auto !important;
  }

  .dest-page-grid,
  .services-grid,
  .team-grid {
    gap: 1px;
  }

  .dest-full-card {
    min-height: auto;
  }

  .dest-full-name {
    font-size: 1.6rem;
  }

  .dest-full-body {
    padding: 24px 18px !important;
  }

  .testimonial-section {
    padding: 56px 0;
  }

  .testimonial-section::before {
    font-size: 8rem;
    top: 0;
    left: 12px;
  }

  .testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .process-step {
    padding: 0;
    margin-bottom: 24px;
  }

  .process-steps::before {
    display: none !important;
  }

  .contact-layout {
    gap: 32px !important;
  }

  .contact-form {
    gap: 16px;
  }
  
  

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* tránh zoom trên iPhone */
  }

  .footer-top {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-box {
    grid-template-columns: 1fr !important;
    max-height: 90vh;
  }

  .modal-sidebar {
    padding: 24px 18px !important;
    flex-direction: row;
    gap: 16px;
    text-align: left;
    align-items: center;
  }

  .modal-avatar {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 24px 18px !important;
  }
}

