/* ==========================================================================
   TripMakersPH — Design tokens
   Palette pulled from brand mark: deep ocean navy -> sky blue, palm green -> lime
   Type: Fraunces (display, characterful) / Inter (body) / Space Mono (data & labels)
   ========================================================================== */
:root{
  --navy:        #0E3A5F;
  --ocean:       #1B6CA8;
  --sky:         #3E96CC;
  --leaf:        #2FA95C;
  --lime:        #7ED957;
  --sand:        #F6FAF9;
  --sand-deep:   #EDF4F2;
  --ink:         #0A2540;
  --muted:       #526478;
  --white:       #FFFFFF;
  --line:        #DCE6E4;

  --grad-ocean: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 55%, var(--sky) 100%);
  --grad-tropic: linear-gradient(120deg, var(--ocean) 0%, var(--leaf) 60%, var(--lime) 100%);
  --grad-hero-bg: radial-gradient(120% 100% at 100% 0%, #E7F3F0 0%, var(--sand) 45%, var(--sand) 100%);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --shadow-soft: 0 10px 30px -12px rgba(14,58,95,0.18);
  --shadow-lift: 0 20px 45px -18px rgba(14,58,95,0.32);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --container: 1200px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--navy); margin: 0 0 0.5em; line-height: 1.12; font-weight: 600; }
p{ margin: 0 0 1em; }
.icon{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible{ outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.wrap--narrow{ max-width: 820px; }

.section{ padding: 92px 0; }
.section--tinted{ background: var(--sand); }
.section--dark{ background: var(--navy); background-image:
    radial-gradient(60% 80% at 85% 10%, rgba(126,217,87,0.14), transparent),
    radial-gradient(50% 60% at 10% 90%, rgba(62,150,204,0.18), transparent);
}
.section-head{ max-width: 640px; margin: 0 0 46px; }
.section-head--light h2, .section-head--light .eyebrow{ color: var(--white); }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-sub{ color: var(--muted); font-size: 1.05rem; }

.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--leaf);
  font-weight: 700;
  margin: 0 0 12px;
}

.text-gradient{
  background: var(--grad-tropic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--grad-tropic);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-light{ background: var(--white); color: var(--navy); }
.btn-light:hover{ transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.25); }
.btn-small{ padding: 10px 20px; font-size: 0.85rem; }
.btn-block{ width: 100%; }
.btn:active{ transform: translateY(0); }

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-tropic); z-index: 1100; transition: width .1s linear;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(246,250,249,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, padding .25s ease;
}
.site-header.is-scrolled{
  box-shadow: 0 8px 24px -14px rgba(10,37,64,0.25);
  border-color: var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark{ width: 42px; height: 42px; object-fit: contain; }
.brand-word{
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-word em{ font-style: normal; color: var(--leaf); }

.main-nav{ display: flex; align-items: center; gap: 30px; }
.nav-link{
  font-size: 0.92rem; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0;
}
.nav-link::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--grad-tropic); transition: right .25s ease;
}
.nav-link:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 18px; }
.header-phone{ display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ocean); font-family: var(--font-mono); }
.header-phone .icon{ width: 16px; height: 16px; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  background: var(--grad-hero-bg);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-inner{
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding-bottom: 70px;
}
.hero-title{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.hero-sub{ font-size: 1.08rem; color: var(--muted); max-width: 46ch; }

.quick-search{
  display: flex; align-items: end; gap: 10px; flex-wrap: wrap;
  background: var(--white); padding: 14px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  margin: 30px 0 10px;
  border: 1px solid var(--line);
}
.qs-field{ display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.qs-field--small{ flex: 0 1 130px; }
.qs-field label{ font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); padding-left: 4px; }
.qs-field input{
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px;
  font-family: inherit; font-size: 0.92rem; color: var(--ink); background: var(--sand);
}
.qs-field input:focus{ outline: none; border-color: var(--ocean); background: var(--white); }
.qs-submit{ flex: 0 0 auto; }
.qs-submit .icon{ width: 18px; height: 18px; }
.qs-note{ min-height: 1.4em; font-size: 0.85rem; color: var(--leaf); font-weight: 600; padding-left: 6px; }

.hero-stats{
  display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin-top: 40px;
}
.stat{ display: flex; flex-direction: column; }
.stat-num{ font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.stat-plus{ font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--leaf); }
.stat-label{ font-size: 0.72rem; color: var(--muted); line-height: 1.3; margin-top: 4px; }

.hero-visual{ position: relative; }
.route-map{ width: 100%; height: auto; }
.flight-path{ animation: dash-flow 3.5s linear infinite; }
@keyframes dash-flow{ to{ stroke-dashoffset: -220; } }
.stop circle:last-child{ }
.stop-label{
  font-family: var(--font-mono); font-size: 12px; fill: var(--navy); font-weight: 700;
}
.stop--home .stop-label{ fill: var(--leaf); }
.plane-icon{ transform-box: fill-box; }
.plane-wrap{ offset-path: path('M90,140 C160,90 210,180 260,150 S360,80 420,120 S460,260 380,270 S300,330 330,400 S250,480 190,440 S140,360 90,380'); animation: fly 9s linear infinite; }
.plane-icon path{ fill: var(--navy); }
@keyframes fly{
  from{ offset-distance: 0%; }
  to{ offset-distance: 100%; }
}
@supports not (offset-path: path('M0,0')){
  .plane-wrap{ display: none; }
}

.hero-wave{ line-height: 0; }
.hero-wave svg{ width: 100%; height: 70px; display: block; }
.hero-wave path{ fill: var(--white); }

/* Trust strip */
.trust-strip{ background: var(--navy); padding: 14px 0; }
.trust-inner{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.85);
}
.trust-inner strong{ color: var(--lime); font-weight: 700; }

/* ==========================================================================
   Destinations
   ========================================================================== */
.filter-bar{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip{
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  padding: 9px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  transition: all .2s ease;
}
.chip:hover{ border-color: var(--ocean); color: var(--ocean); }
.chip.is-active{ background: var(--grad-ocean); color: var(--white); border-color: transparent; }

.dest-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.dest-card{
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 380px; box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  display: none;
}
.dest-card.is-visible{ display: block; animation: card-in .4s ease both; }
@keyframes card-in{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: translateY(0); } }
.dest-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.dest-media{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.dest-media::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0.05) 0%, rgba(10,37,64,0.15) 45%, rgba(10,37,64,0.92) 100%);
}
.dest-tag{
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: rgba(255,255,255,0.92); color: var(--navy);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; letter-spacing: 0.04em;
}
.dest-body{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px;
  color: var(--white);
}
.dest-body h3{ color: var(--white); font-size: 1.35rem; margin-bottom: 4px; }
.dest-meta{ display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.dest-days{ font-size: 0.8rem; opacity: 0.85; }
.dest-price{ font-family: var(--font-mono); text-align: right; }
.dest-price .from{ display: block; font-size: 0.65rem; opacity: 0.75; text-transform: uppercase; }
.dest-price .amt{ font-size: 1.15rem; font-weight: 700; color: var(--lime); }

.dest-empty{ grid-column: 1/-1; text-align: center; padding: 40px; color: var(--muted); font-family: var(--font-mono); }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.why-icon{
  width: 48px; height: 48px; border-radius: 12px; background: var(--grad-tropic);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.why-icon svg{ width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 1.7; }
.why-card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.why-card p{ color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Packages
   ========================================================================== */
.tabs{ display: flex; gap: 8px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.tab{
  background: none; border: none; padding: 12px 6px; margin-right: 22px;
  font-weight: 700; color: var(--muted); position: relative; font-size: 0.95rem;
}
.tab::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent;
}
.tab.is-active{ color: var(--navy); }
.tab.is-active::after{ background: var(--grad-tropic); }

.package-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pkg-card{
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--white);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.pkg-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.pkg-top{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.pkg-badge{
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  color: var(--leaf); background: rgba(47,169,92,0.1); padding: 5px 10px; border-radius: 100px;
}
.pkg-card h3{ font-size: 1.25rem; margin-bottom: 6px; }
.pkg-days{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.pkg-includes{ margin: 0 0 20px; }
.pkg-includes li{
  font-size: 0.86rem; color: var(--ink); padding: 5px 0 5px 22px; position: relative;
}
.pkg-includes li::before{
  content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700;
}
.pkg-footer{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pkg-price .from{ display: block; font-size: 0.65rem; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); }
.pkg-price .amt{ font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.pkg-book{
  background: var(--sand-deep); color: var(--navy); border: none; padding: 10px 18px; border-radius: 100px;
  font-weight: 700; font-size: 0.85rem; transition: background .2s ease, color .2s ease;
}
.pkg-book:hover{ background: var(--grad-tropic); color: var(--white); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step;
}
.process-step{
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 26px 22px; position: relative;
}
.process-num{
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--lime); font-weight: 700;
  display: block; margin-bottom: 14px;
}
.process-step h3{ color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.process-step p{ color: rgba(255,255,255,0.68); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.carousel{ position: relative; max-width: 760px; margin: 0 auto; }
.carousel-track{ overflow: hidden; position: relative; min-height: 230px; }
.testimonial{
  display: none; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; animation: fade-in .4s ease;
}
.testimonial.is-active{ display: block; }
@keyframes fade-in{ from{ opacity: 0; } to{ opacity: 1; } }
.testimonial-stars{ color: var(--lime); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.testimonial-quote{ font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); font-style: italic; margin-bottom: 18px; }
.testimonial-name{ font-weight: 700; font-size: 0.92rem; }
.testimonial-trip{ font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }

.carousel-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
  color: var(--navy); transition: background .2s ease, color .2s ease;
}
.carousel-btn svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.carousel-btn:hover{ background: var(--grad-tropic); color: var(--white); }
.carousel-btn--prev{ left: -56px; }
.carousel-btn--next{ right: -56px; }
.carousel-dots{ display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dots button{
  width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: none; padding: 0;
}
.carousel-dots button.is-active{ background: var(--leaf); width: 22px; border-radius: 6px; transition: width .2s ease; }
.swipe-hint{
  display: none; text-align: center; font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--muted); margin: 10px 0 0; letter-spacing: 0.02em;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-trigger{
  width: 100%; background: none; border: none; text-align: left; padding: 20px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy);
}
.accordion-trigger .plus{
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; position: relative; transition: transform .25s ease, background .25s ease;
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after{
  content: ""; position: absolute; background: var(--navy); transition: transform .25s ease;
}
.accordion-trigger .plus::before{ width: 10px; height: 1.6px; }
.accordion-trigger .plus::after{ width: 1.6px; height: 10px; }
.accordion-item.is-open .accordion-trigger .plus{ background: var(--grad-tropic); border-color: transparent; }
.accordion-item.is-open .accordion-trigger .plus::before, .accordion-item.is-open .accordion-trigger .plus::after{ background: white; }
.accordion-item.is-open .accordion-trigger .plus::after{ transform: rotate(90deg) scaleY(0); }
.accordion-panel{ max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-panel p{ padding: 0 30px 20px 4px; color: var(--muted); margin: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner{ background: var(--grad-tropic); padding: 60px 0; }
.cta-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-inner h2{ color: var(--white); margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-inner p{ color: rgba(255,255,255,0.9); margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info{ display: flex; flex-direction: column; gap: 16px; }
.info-card{
  display: flex; gap: 14px; align-items: flex-start; background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px 18px;
}
.info-card .icon{ color: var(--leaf); flex-shrink: 0; margin-top: 3px; }
.info-card h3{ font-size: 0.95rem; margin-bottom: 3px; }
.info-card a, .info-card address, .info-card p{ font-style: normal; color: var(--muted); font-size: 0.92rem; margin: 0; }
.info-card a:hover{ color: var(--ocean); }

.map-embed{ border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); height: 220px; }
.map-embed iframe{ width: 100%; height: 100%; border: 0; }

.contact-form{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-soft);
}
.contact-form h3{ margin-bottom: 20px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label{ font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea{
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: inherit; font-size: 0.92rem; color: var(--ink); background: var(--sand); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--ocean); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: #D8483B; }
.field-error{ font-size: 0.76rem; color: #D8483B; min-height: 1.1em; display: block; }
.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--muted); margin: 6px 0 4px; }
.checkbox-row input{ margin-top: 3px; }
.form-status{ margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-success{ color: var(--leaf); }
.form-status.is-error{ color: #D8483B; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-overlay{
  position: fixed; inset: 0; background: rgba(10,37,64,0.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 1200;
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal{
  background: var(--white); border-radius: var(--radius-lg); padding: 34px; max-width: 480px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative; transform: translateY(16px); transition: transform .25s ease;
  box-shadow: var(--shadow-lift);
}
.modal-overlay.is-open .modal{ transform: translateY(0); }
.modal-close{
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand); border: none; font-size: 1.3rem; line-height: 1; color: var(--muted);
}
.modal-close:hover{ background: var(--sand-deep); color: var(--navy); }
.modal-meta{ font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.modal-desc{ color: var(--muted); font-size: 0.92rem; }
.modal-includes{ margin: 0 0 20px; }
.modal-includes li{ font-size: 0.86rem; padding: 4px 0 4px 22px; position: relative; }
.modal-includes li::before{ content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast{
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: var(--white); padding: 14px 24px; border-radius: 100px;
  font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; z-index: 1300;
}
.toast.is-visible{ opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy); color: rgba(255,255,255,0.8); padding: 70px 0 0; }
.footer-inner{
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-word{ color: var(--white); }
.footer-brand p{ font-size: 0.88rem; margin: 14px 0 18px; max-width: 32ch; color: rgba(255,255,255,0.6); }
.footer-social{ display: flex; gap: 10px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.footer-social svg{ width: 17px; height: 17px; fill: white; stroke: none; }
.footer-social a:hover{ background: var(--leaf); }

.footer-col{ display: flex; flex-direction: column; gap: 12px; }
.footer-col h4{ color: var(--white); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col a, .footer-col address{ font-size: 0.88rem; color: rgba(255,255,255,0.68); font-style: normal; transition: color .2s ease; }
.footer-col a:hover{ color: var(--lime); }

.newsletter{ margin-top: 6px; }
.newsletter label{ font-size: 0.78rem; color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; }
.newsletter-row{ display: flex; gap: 8px; }
.newsletter-row input{
  flex: 1; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: white; font-family: inherit; font-size: 0.85rem;
}
.newsletter-row input::placeholder{ color: rgba(255,255,255,0.4); }
.newsletter-row input:focus{ outline: none; border-color: var(--lime); }
.newsletter-row button{
  width: 42px; border-radius: var(--radius-sm); border: none; background: var(--grad-tropic); color: white;
  display: flex; align-items: center; justify-content: center;
}
.newsletter-row button svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
#err-nlEmail{ font-size: 0.72rem; color: var(--lime); display: block; margin-top: 6px; min-height: 1em; }

.footer-bottom{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px 0; font-size: 0.76rem; color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top{
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-tropic); border: none; color: white; box-shadow: var(--shadow-lift);
  display: flex; align-items: center; justify-content: center; z-index: 900;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .dest-grid{ grid-template-columns: repeat(2, 1fr); }
  .package-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 420px; margin: 0 auto; }
  .hero-stats{ grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}

@media (max-width: 840px){
  .main-nav{
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 20px 28px; transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav .nav-link{ width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-phone{ display: none; }
  .nav-toggle{ display: flex; }
  .header-actions .btn-small{ display: none; }
}

@media (max-width: 700px){
  .section{ padding: 64px 0; }
  .why-grid, .dest-grid, .package-grid, .process-list{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .quick-search{ flex-direction: column; align-items: stretch; }
  .qs-submit{ width: 100%; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .trust-inner{ flex-direction: column; gap: 6px; }

  /* iOS Safari auto-zooms on focus when a field's font-size is under 16px —
     bump all form inputs to 16px on small screens to prevent that jump. */
  .qs-field input,
  .field input, .field select, .field textarea,
  .newsletter-row input{ font-size: 16px; }

  /* Comfortable minimum touch targets on mobile */
  .nav-toggle{ width: 44px; height: 44px; }
  .carousel-dots button{ width: 10px; height: 10px; }
  .accordion-trigger{ padding: 18px 4px; }

  /* Carousel: move arrows below the card, side by side, instead of
     hiding them — touch-swipe is the primary gesture but arrows stay
     available for anyone who prefers tapping. */
  .carousel{ display: flex; flex-wrap: wrap; justify-content: center; }
  .carousel-track{ flex: 1 1 100%; order: 1; }
  .carousel-btn{
    position: static; transform: none; margin: 18px 6px 0; flex-shrink: 0;
    width: 40px; height: 40px;
  }
  .carousel-btn--prev{ order: 2; }
  .carousel-btn--next{ order: 3; }
  .carousel-dots{ flex: 1 1 100%; order: 4; margin-top: 14px; }
  .testimonial{ padding: 30px 22px; touch-action: pan-y; }
  .swipe-hint{ display: block; order: 5; flex: 1 1 100%; }
}
