/* Itinesia — brand system
   Navy #102C50 / Signal Blue #0B5394 / Sky #3E7CB1 / Mist #D7E3EF / Paper #F7F9FC
   Headlines: Playfair Display · Body/UI: Montserrat */

:root {
  --navy: #102C50;
  --navy-deep: #0c2342;
  --signal: #0B5394;
  --sky: #3E7CB1;
  --sky-light: #9cc1e0;
  --mist: #D7E3EF;
  --paper: #F7F9FC;
  --text-body: #3a4f6b;
  --text-muted: #5b6e88;
  --max: 1180px;
  --pad: clamp(24px, 5vw, 48px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: 'Montserrat', system-ui, sans-serif; }
::selection { background: var(--sky); color: #fff; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow .rule { width: 30px; height: 1px; background: var(--sky); }
.eyebrow span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; margin: 0; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-shown { opacity: 1; transform: none; }

@keyframes panelIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeBg { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(16,44,80,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 44px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.86);
}
.btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  background: var(--signal);
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  cursor: pointer;
}
.btn-lg {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: var(--signal);
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 10px 30px -8px rgba(11,83,148,.6);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.btn-ghost {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.45);
  padding: 16px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 900px) { .nav { gap: 20px; } }
@media (max-width: 820px) { .nav { display: none !important; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 140px 0 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(16,44,80,.95) 0%, rgba(16,44,80,.85) 44%, rgba(16,44,80,.55) 100%);
  pointer-events: none;
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,44,80,.6) 0%, rgba(16,44,80,0) 35%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
}
.hero-content { max-width: 840px; }
.hero h1 {
  font-weight: 600;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero p.sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin: 0 0 22px;
  max-width: 48ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.hero .eyebrow span { color: var(--sky-light); }

/* ---------- trust numbers ---------- */
.trust {
  background: var(--navy-deep);
  padding: clamp(48px, 6vw, 70px) 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.stat { text-align: center; }
.stat .value-row {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.stat .value {
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 44px);
  color: #fff;
  line-height: 1;
}
.stat .value.small { font-size: clamp(26px, 2.8vw, 34px); }
.stat .label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sky-light);
  margin-top: 10px;
  letter-spacing: .02em;
}
.trust-disclosure {
  margin: clamp(24px, 3vw, 34px) auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.42);
}

@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- founder ---------- */
.founder-section { background: var(--paper); padding: clamp(84px, 11vw, 130px) 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(48px, 7vw, 88px);
  align-items: start;
}
.founder-grid h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; letter-spacing: -.01em; margin: 0 0 26px; }
.founder-grid p { font-size: 16.5px; line-height: 1.75; color: var(--text-body); margin: 0 0 18px; }
.founder-grid p:last-child { margin-bottom: 0; }
.founder-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 24px 50px -24px rgba(16,44,80,.4);
}
.founder-photo-frame {
  width: 100%;
  height: 240px;
  margin-bottom: 22px;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}
.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}
.founder-name { font-weight: 600; font-size: 22px; color: #fff; margin-bottom: 2px; }
.founder-title { font-size: 13px; color: var(--sky-light); margin-bottom: 18px; }
.founder-facts {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.founder-facts div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
}
.founder-facts span.dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--sky); flex: none;
}

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

/* ---------- selected projects / track record ---------- */
.track-section { background: var(--mist); padding: clamp(84px, 11vw, 130px) 0; }
.section-intro { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-intro h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 16px; }
.section-intro p { font-size: 15.5px; line-height: 1.6; color: var(--text-body); margin: 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.project-card { background: var(--paper); border-radius: 14px; overflow: hidden; }
.project-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.project-card .body { padding: 14px 18px 16px; }
.project-card .eyebrow-line {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 6px;
}
.project-card h3 { font-weight: 600; font-size: 15.5px; margin: 0 0 4px; color: var(--navy); }
.project-card p { font-size: 12px; line-height: 1.45; color: var(--text-muted); margin: 0; }

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

/* ---------- services / what we handle ---------- */
.services-section { background: var(--paper); padding: clamp(84px, 11vw, 130px) 0; }

.ops-carousel { position: relative; margin: 0 auto clamp(48px, 6vw, 72px); max-width: 960px; }
.ops-viewport {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 20px 50px -22px rgba(16,44,80,.35);
}
.ops-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.15,1);
}
.ops-slide { flex: 0 0 100%; position: relative; }
.ops-slide img {
  width: 100%;
  height: clamp(300px, 44vw, 480px);
  object-fit: cover;
  display: block;
}
.ops-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -4px rgba(16,44,80,.4);
}
.ops-arrow.prev { left: 14px; }
.ops-arrow.next { right: 14px; }
.ops-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.ops-dots button {
  height: 8px;
  border-radius: 5px;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
  background: #a9c1da;
  width: 8px;
}
.ops-dots button.is-active { width: 24px; background: var(--signal); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 32px 26px;
}
.service-card h3 { font-weight: 600; font-size: 19px; margin: 20px 0 10px; color: var(--navy); }
.service-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
  font-size: 13px;
  color: var(--text-body);
  background: var(--mist);
  padding: 9px 16px;
  border-radius: 20px;
}

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

/* ---------- destinations ---------- */
.destinations-section { background: var(--navy); padding: clamp(84px, 11vw, 130px) 0; }
.destinations-section .eyebrow span { color: var(--sky-light); }
.destinations-section h2 { color: #fff; font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.01em; }
.destinations-section .section-intro { max-width: 620px; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
  margin-bottom: 28px;
}
.dest-tile { position: relative; border-radius: 14px; overflow: hidden; }
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-tile .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,44,80,.82) 0%, rgba(16,44,80,0) 62%);
  pointer-events: none;
}
.dest-tile .label {
  position: absolute; left: 18px; bottom: 16px;
  font-weight: 600; font-size: 19px; color: #fff;
  pointer-events: none;
}
.dest-coverage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.dest-coverage .list { font-size: 13.5px; color: rgba(255,255,255,.72); }
.dest-coverage .more { font-size: 13.5px; color: var(--sky-light); font-weight: 500; }

@media (max-width: 820px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dest-grid { grid-template-columns: 1fr; } }

/* ---------- how we work ---------- */
.how-section { background: var(--paper); padding: clamp(84px, 11vw, 130px) 0; }
.how-section .section-intro { max-width: 560px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step .num { font-weight: 600; font-size: 32px; color: var(--signal); margin-bottom: 14px; }
.step h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; color: var(--navy); font-family: 'Montserrat', sans-serif; }
.step p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

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

/* ---------- why partner ---------- */
.why-section { background: var(--mist); padding: clamp(84px, 11vw, 130px) 0; }
.why-section .eyebrow .rule { background: var(--signal); }
.why-section .eyebrow span { color: var(--signal); }
.why-section .section-intro { max-width: 560px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  background: var(--paper);
  border-radius: 14px;
}
.why-item .icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item h3 { font-size: 15.5px; font-weight: 600; margin: 4px 0 7px; color: var(--navy); font-family: 'Montserrat', sans-serif; }
.why-item p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }

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

/* ---------- testimonials ---------- */
.testimonials-section { background: var(--paper); padding: clamp(84px, 11vw, 130px) 0; }
.testimonials-section .section-intro { max-width: 560px; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--mist); border-radius: 16px; padding: 34px 30px; }
.testi-card .quote-mark { font-size: 44px; color: var(--sky); line-height: .5; margin-bottom: 14px; }
.testi-card p.quote {
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 20px;
}
.testi-card .attribution { font-size: 13px; font-weight: 600; color: var(--text-muted); font-family: 'Montserrat', sans-serif; }

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

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); padding: clamp(56px, 7vw, 80px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  margin: 0 0 16px;
}
.footer-contact { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.6); margin: 0; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-col-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5d7da8;
  margin-bottom: 16px;
}
.footer-list { display: flex; flex-direction: column; gap: 11px; }
.footer-list span { font-size: 14px; color: rgba(255,255,255,.78); }
.footer-bottom {
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding: 22px var(--pad);
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
  max-width: var(--max);
}
.footer-bottom span { font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ---------- inquiry modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,18,34,.55);
  backdrop-filter: blur(3px);
  animation: fadeBg .3s ease;
}
.modal-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
  width: min(480px, 100vw);
  background: var(--paper);
  box-shadow: -24px 0 60px -20px rgba(8,18,34,.5);
  animation: panelIn .35s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(26px, 4vw, 38px);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.modal-head .brand { display: flex; align-items: center; gap: 12px; }
.modal-head .brand img { height: 26px; width: auto; }
.modal-head .brand span { font-weight: 600; font-size: 18px; color: var(--navy); }
.modal-close {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--mist);
  background: #fff;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-thanks {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 38px;
  gap: 8px;
}
.modal-thanks .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.modal-thanks h3 { font-weight: 600; font-size: 26px; color: var(--navy); margin: 0; }
.modal-thanks p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 6px 0 26px; max-width: 34ch; }

.inquiry-form {
  padding: 28px clamp(26px, 4vw, 38px) 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inquiry-form > p.intro { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 4px; }
.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 13px 15px;
  border: 1px solid #cddcec;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  outline: none;
}
.inquiry-form select { padding: 13px 12px; }
.inquiry-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > label { min-width: 0; }
.inquiry-form button[type="submit"] {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: var(--signal);
  border: none;
  padding: 16px;
  border-radius: 9px;
  cursor: pointer;
  margin-top: 6px;
}
.inquiry-form .alt-contact {
  font-size: 12px;
  line-height: 1.5;
  color: #8595a8;
  margin: 0;
  text-align: center;
}
.inquiry-form .alt-contact a { color: var(--signal); font-weight: 600; }

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

/* ---------- modal visibility (JS toggles body.inquiry-open) ---------- */
.modal-backdrop { display: none; }
.modal-panel { display: none; }
body.inquiry-open .modal-backdrop { display: block; }
body.inquiry-open .modal-panel { display: flex; }
