/* ===================================================================
   Express Travels — shared stylesheet
   Tokens, base, layout, and components used across all pages
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* color */
  --navy:        #0F2A3D;
  --navy-2:      #16394F;
  --navy-3:      #1E4560;
  --stone:       #F5F3EF;
  --stone-2:     #EAE6DD;
  --stone-3:     #DDD7C9;
  --gold:        #B08D4F;
  --gold-light:  #C9AC78;
  --clay:        #A15C3E;
  --ink:         #14212B;
  --ink-muted:   rgba(20,33,43,0.64);
  --ink-faint:   rgba(20,33,43,0.42);
  --text-light:  #F5F3EF;
  --text-light-muted: rgba(245,243,239,0.68);
  --border-dark: rgba(245,243,239,0.14);
  --border-light: rgba(20,33,43,0.12);
  --success: #3E6B52;

  /* type */
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* layout */
  --max-width: 1180px;
  --radius-s: 4px;
  --radius-m: 8px;
  --shadow-card: 0 1px 2px rgba(15,42,61,0.06), 0 8px 24px rgba(15,42,61,0.06);
  --shadow-card-hover: 0 4px 8px rgba(15,42,61,0.08), 0 16px 40px rgba(15,42,61,0.12);
}

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

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; color: var(--ink); }
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before{
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  background: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover{ background: var(--gold-light); }
.btn--ghost-dark{
  border-color: var(--border-dark);
  color: var(--text-light);
}
.btn--ghost-dark:hover{ background: rgba(245,243,239,0.08); }
.btn--ghost-light{
  border-color: var(--border-light);
  color: var(--ink);
}
.btn--ghost-light:hover{ background: rgba(20,33,43,0.05); }
.btn--small{ padding: 9px 18px; font-size: 13px; }
.btn--full{ width: 100%; }

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
}
.nav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav__brand{
  display: flex;
  align-items: center;
}
.nav__logo{ height: 36px; width: auto; display: block; }
.nav__links{
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a{
  color: var(--text-light-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover, .nav__links a[aria-current="page"]{ color: var(--text-light); }
.nav__links a[aria-current="page"]::after{
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.nav__cta{ display: flex; align-items: center; gap: 20px; }
.nav__phone{
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav__phone:hover{ color: var(--gold-light); }
.nav__phone svg{ width: 17px; height: 17px; flex-shrink: 0; }
.nav__toggle{
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg{ width: 22px; height: 22px; }

@media (max-width: 860px){
  .nav__links{
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav__links.is-open{ display: flex; }
  .nav__toggle{ display: flex; }
  .nav__cta{ gap: 12px; }
  .nav__cta .btn--small{ padding: 9px 16px; font-size: 12.5px; }
}

@media (max-width: 480px){
  .nav__phone-text{ display: none; }
}

/* ---------- Hero (photo-motion) ---------- */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: clamp(480px, calc(100svh - 78px), 760px);
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding: 56px 0;
}
.hero__slides{ position: absolute; inset: 0; z-index: 0; }
.hero__slide{
  position: absolute; inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: heroSlide 24s infinite;
  will-change: opacity, transform;
}
.hero__slide video{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__slide--1{ animation-delay: 0s;  background: #123244; }
.hero__slide--2{ animation-delay: 6s;  background: #13273A; }
.hero__slide--3{ animation-delay: 12s; background: #102A38; }
.hero__slide--4{ animation-delay: 18s; background: #14293A; }

@keyframes heroSlide{
  0%   { opacity: 0; transform: scale(1.0); }
  3%   { opacity: 1; }
  20%  { opacity: 1; transform: scale(1.07); }
  26%  { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero__slide{ animation: none !important; opacity: 0; }
  .hero__slide--1{ opacity: 1; }
}

.hero__overlay{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,30,43,0.58) 0%, rgba(10,30,43,0.72) 55%, rgba(10,30,43,0.94) 100%);
}
.hero__content{ position: relative; z-index: 2; max-width: 680px; }
.hero h1{
  font-size: clamp(30px, 4.4vw, 50px);
  color: var(--text-light);
  margin: 16px 0 18px;
}
.hero p.lead{
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--text-light-muted);
  max-width: 50ch;
  margin-bottom: 26px;
}
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__ticker{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-light-muted);
  letter-spacing: 0.03em;
}
.hero__ticker b{ color: var(--gold-light); font-weight: 500; }

@media (max-width: 700px){
  .hero{ min-height: auto; padding: 44px 0 48px; }
  .hero h1{ font-size: clamp(28px, 8vw, 38px); }
}

/* ---------- Destination photo grid ---------- */
.dest-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px){ .dest-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .dest-grid{ grid-template-columns: repeat(2, 1fr); } }

.dest-card{
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: block;
}
.dest-card__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover .dest-card__bg{ transform: scale(1.09); }
.dest-card::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,61,0) 35%, rgba(15,42,61,0.88) 100%);
  z-index: 1;
}
.dest-card__label{
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  z-index: 2; color: #fff;
}
.dest-card__label strong{ font-family: var(--font-display); font-size: 19px; font-weight: 500; display: block; }
.dest-card__label span{ font-family: var(--font-mono); font-size: 10.5px; color: var(--gold-light); letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Stats strip ---------- */
.stats{
  background: var(--navy-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stats__inner{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
}
.stat{
  text-align: center;
  border-right: 1px solid var(--border-dark);
  padding: 0 12px;
}
.stat:last-child{ border-right: none; }
.stat__num{
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}
.stat__label{
  font-size: 13px;
  color: var(--text-light-muted);
}
@media (max-width: 700px){
  .stats__inner{ grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(2){ border-right: none; }
}

/* ---------- Sections ---------- */
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--dark{ background: var(--navy); color: var(--text-light); }
.section--stone2{ background: var(--stone-2); }
.section__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.section__head h2{ font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section--dark .section__head h2{ color: var(--text-light); }
.section__intro{ max-width: 60ch; }
.section__intro p{ color: var(--ink-muted); font-size: 16.5px; margin-top: 14px; }
.section--dark .section__intro p{ color: var(--text-light-muted); }

@media (max-width: 700px){
  .section{ padding: 64px 0; }
  .section__head{ flex-direction: column; align-items: flex-start; }
}

/* ---------- Package cards ---------- */
.pkg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px){ .pkg-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .pkg-grid{ grid-template-columns: 1fr; } }

.pkg-card{
  background: #fff;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.pkg-card:hover{ box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.pkg-card__media{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  position: relative;
  overflow: hidden;
}
.pkg-card__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pkg-card__tag{
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pkg-card__body{ padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg-card__region{ font-size: 12.5px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pkg-card__title{ font-size: 21px; }
.pkg-card__desc{ font-size: 14.5px; color: var(--ink-muted); flex: 1; }
.pkg-card__meta{
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.pkg-card__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.pkg-card__price{ font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.pkg-card__price b{ font-size: 19px; color: var(--ink); font-weight: 600; }

/* ---------- Filter tabs ---------- */
.filter-tabs{
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tab{
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--ink-muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.filter-tab:hover{ border-color: var(--gold); color: var(--ink); }
.filter-tab.is-active{ background: var(--navy); border-color: var(--navy); color: var(--text-light); }

/* ---------- Feature cards (why choose us) ---------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature-card{
  padding: 32px 0 0;
  border-top: 1px solid var(--border-light);
}
.section--dark .feature-card{ border-top: 1px solid var(--border-dark); }
.feature-card__num{ font-family: var(--font-mono); font-size: 13px; color: var(--gold); display: block; margin-bottom: 18px; }
.feature-card h3{ font-size: 21px; margin-bottom: 10px; }
.feature-card p{ font-size: 15px; color: var(--ink-muted); }
.section--dark .feature-card p{ color: var(--text-light-muted); }

/* ---------- Testimonials ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px){ .testi-grid{ grid-template-columns: 1fr; } }
.testi-card{
  background: var(--stone-2);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-card__stars{ color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.testi-card__quote{ font-family: var(--font-display); font-size: 18px; line-height: 1.5; color: var(--ink); }
.testi-card__who{ display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.testi-card__name{ font-weight: 600; font-size: 14.5px; }
.testi-card__trip{ font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); }

/* ---------- Gallery ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .gallery-grid{ grid-template-columns: repeat(2, 1fr); } }
.gallery-item{
  aspect-ratio: 1;
  background: var(--navy-3);
  border-radius: var(--radius-s);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.gallery-item img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.gallery-item:hover img{ transform: scale(1.09); }
.gallery-item::before{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,42,61,0.55), transparent 50%);
  z-index: 1;
}
.gallery-item span{
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(15,42,61,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.is-open{ display: flex; }
.lightbox__panel{
  background: var(--navy-2);
  border-radius: var(--radius-m);
  max-width: 640px;
  width: 100%;
  padding: 48px;
  text-align: center;
  color: var(--text-light);
  position: relative;
}
.lightbox__close{
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-light);
  width: 36px; height: 36px;
  font-size: 20px;
  z-index: 1;
}
.lightbox__img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-s);
  margin-bottom: 24px;
}

/* ---------- Forms ---------- */
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid--single{ grid-template-columns: 1fr; }
.field{ display: flex; flex-direction: column; gap: 7px; }
.field--full{ grid-column: 1 / -1; }
.field label{ font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .req{ color: var(--clay); }
.field input, .field select, .field textarea{
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,141,79,0.15);
}
.field textarea{ resize: vertical; min-height: 110px; }
.star-select{ display: flex; gap: 6px; }
.star-select button{
  background: none; border: none;
  font-size: 26px;
  color: var(--border-light);
  transition: color 0.15s ease;
}
.star-select button.is-active, .star-select button:hover{ color: var(--gold); }

.form-note{
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
}
.form-success{
  display: none;
  background: rgba(62,107,82,0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 16px 20px;
  border-radius: var(--radius-s);
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 20px;
}
.form-success.is-visible{ display: block; }

@media (max-width: 700px){ .form-grid{ grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--navy);
  color: var(--text-light);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2{ color: var(--text-light); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 24px; }
.cta-band__actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer{
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand{ margin-bottom: 14px; }
.footer__logo{ height: 32px; width: auto; display: block; }
.footer h4{ color: var(--text-light); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer ul li{ margin-bottom: 10px; }
.footer a:hover{ color: var(--text-light); }
.footer__bottom{
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
@media (max-width: 860px){
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header{
  background: var(--navy);
  color: var(--text-light);
  padding: 56px 0 64px;
}
.page-header h1{ color: var(--text-light); font-size: clamp(32px, 4vw, 46px); margin: 14px 0 12px; }
.page-header p{ color: var(--text-light-muted); font-size: 16.5px; max-width: 60ch; }

/* ---------- Utility ---------- */
.mt-0{ margin-top: 0 !important; }
.text-center{ text-align: center; }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px){ .two-col{ grid-template-columns: 1fr; gap: 40px; } }
