/* =========================================================
   AVIATO — Luxury Travel Atelier
   Dark Luxury Stylesheet
   ========================================================= */

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

:root {
  --bg:          #0a0a0c;
  --bg-elev:    #111114;
  --bg-card:    #15151a;
  --line:       rgba(212, 175, 102, 0.22);
  --line-soft:  rgba(255, 255, 255, 0.08);
  --gold:       #d4af66;
  --gold-bright:#e6c989;
  --ivory:      #f5efe4;
  --muted:      #b5af9e;      /* brighter for AA contrast on dark bg */
  --body-text:  rgba(245, 239, 228, 0.92);
  --text-soft:  rgba(245, 239, 228, 0.72);
  --serif:      'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:   1320px;
  --pad:   clamp(20px, 4vw, 56px);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Typography helpers ---------- */
.serif    { font-family: var(--serif); font-weight: 400; letter-spacing: 0.01em; }
.eyebrow  {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: 0; color: #fafaf3; }
h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(32px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
h4 { font-size: 20px; }
p  { color: var(--body-text); }

.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--body-text); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section   { padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(52px, 7vw, 96px); }
.section--tight { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 3.2vw, 48px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p  { max-width: 600px; color: var(--text-soft); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px var(--pad);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-family: var(--sans);
  letter-spacing: 0;
}
.brand span { color: var(--gold); }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,228,0.92); font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--ivory);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 28px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  transition: all .3s ease;
  font-weight: 500;
}
.btn--primary {
  background: var(--gold);
  color: #1a1208;
}
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid rgba(245,239,228,0.4);
  color: var(--ivory);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow {
  display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative;
}
.btn .arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: 120px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(0.9);
  transform: scale(1.04);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.25) 35%, rgba(10,10,12,0.95) 100%);
  z-index: -1;
}
.hero__content { max-width: 880px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero__eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero__title { margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { max-width: 560px; margin-bottom: 36px; color: var(--body-text); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__meta {
  position: absolute; bottom: 34px; left: 0; right: 0;
  display: flex; gap: 48px;
  padding: 0 var(--pad);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,239,228,0.78);
}
.hero__meta span::before { content: '— '; color: var(--gold); }

/* ---------- Destinations grid ----------
   Clean 3-up grid; .dest-card--wide spans 2 (so 1 wide + 1 standard
   fills one row, 3 standards fill one row). No more ragged edges. */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dest-card {
  position: relative;
  grid-column: span 1;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  background: var(--bg-card);
}
.dest-card--wide { grid-column: span 2; height: 420px; }
.dest-card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.dest-card:hover .dest-card__img { transform: scale(1.06); }
.dest-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 30%, rgba(10,10,12,0.93) 100%);
  z-index: 1;
}
.dest-card__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.dest-card__region {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
}
.dest-card__name {
  font-family: var(--serif); font-size: 28px; line-height: 1.12; color: var(--ivory);
}
.dest-card--wide .dest-card__name { font-size: 38px; }
.dest-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
  font-size: 12px; color: rgba(245,239,228,0.82);
}

/* ---------- Experiences / Capabilities ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split__media {
  height: 480px;
  background-size: cover; background-position: center;
}
.split__content .eyebrow { display: block; margin-bottom: 16px; }
.split__content h2 { margin-bottom: 18px; }
.split__content p  { margin-bottom: 18px; }
.split__list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line-soft); }
.split__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--body-text);
}
.split__list li span:last-child { color: var(--gold); font-family: var(--serif); font-style: italic; }

/* ---------- Service / Capability grid ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.service {
  background: var(--bg);
  padding: 38px 30px;
  transition: background .35s ease;
}
.service:hover { background: var(--bg-elev); }
.service__num {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: var(--gold); display: block; margin-bottom: 24px;
}
.service__title { font-family: var(--serif); font-size: 25px; margin-bottom: 12px; }
.service__desc  { font-size: 14px; line-height: 1.7; color: var(--text-soft); }

/* ---------- Membership tiers ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.tier {
  border: 1px solid var(--line-soft);
  padding: 36px 28px;
  position: relative;
  transition: border-color .35s ease, transform .35s ease;
}
.tier:hover { border-color: var(--gold); transform: translateY(-4px); }
.tier--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,175,102,0.07), transparent); }
.tier__badge {
  position: absolute; top: -10px; right: 22px;
  background: var(--gold); color: var(--bg);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  font-weight: 600;
}
.tier__name { font-family: var(--serif); font-size: 28px; margin-bottom: 6px; }
.tier__tag  { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.tier__price { font-family: var(--serif); font-size: 38px; color: var(--gold); margin-bottom: 4px; }
.tier__price small { font-size: 13px; color: var(--muted); }
.tier__cta { display: inline-block; margin-top: 22px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.tier__list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line-soft); }
.tier__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--body-text);
  display: flex; gap: 12px;
}
.tier__list li::before { content: '+ '; color: var(--gold); font-family: var(--serif); }

/* ---------- Press strip ---------- */
.press {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 30px 0;
}
.press__inner {
  display: flex; align-items: center; justify-content: space-around;
  gap: 32px; flex-wrap: wrap;
}
.press__item {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: rgba(245,239,228,0.72);
  letter-spacing: 0.06em;
  transition: color .25s ease;
}
.press__item:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  background: var(--bg-elev);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ivory);
  margin-bottom: 26px;
  position: relative;
}
.testimonial__quote::before {
  content: '“';
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold);
  position: absolute;
  top: -26px; left: -6px;
  opacity: 0.65;
  line-height: 1;
}
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.testimonial__name { font-family: var(--serif); font-size: 17px; color: var(--ivory); }
.testimonial__role { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- How it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 30px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.4;
}
.step { text-align: left; position: relative; }
.step__num {
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 21px;
  color: var(--gold);
  background: var(--bg);
  margin-bottom: 22px;
  position: relative; z-index: 2;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item--open .faq__q { color: var(--gold); }
.faq__item--open .faq__q::after { transform: rotate(45deg); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--serif); font-size: 21px;
  text-align: left; color: var(--ivory);
  transition: color .25s ease;
}
.faq__q::after {
  content: '+';
  color: var(--gold); font-size: 28px;
  font-family: var(--sans); font-weight: 200;
  transition: transform .3s ease;
}
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.faq__a-inner { padding-bottom: 22px; max-width: 720px; color: var(--text-soft); }
.faq__item--open .faq__a { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-info { padding-right: 20px; }
.contact-info h3 { margin: 30px 0 14px; font-size: 21px; }
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info p { margin-bottom: 8px; color: var(--text-soft); }
.contact-info .eyebrow { display: block; margin-bottom: 14px; }

.form {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  padding: 38px 32px;
}
.form h3 { margin-bottom: 22px; font-size: 26px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-family: var(--sans); font-size: 15px; color: var(--ivory);
  outline: none;
  transition: border-color .25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245,239,228,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 92px; }
.field select option { background: var(--bg); color: var(--ivory); }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { margin-top: 10px; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 170px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.page-header__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.page-header__eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.page-header__title { max-width: 900px; margin-bottom: 20px; }
.page-header__lead  { max-width: 640px; color: var(--text-soft); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 32px;
  background: #060608;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 44px;
}
.footer-col h5 {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 11px; color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { color: var(--muted); font-size: 14px; }
.footer-col a { font-size: 14px; color: rgba(245,239,228,0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14px; color: var(--text-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split__media { height: 400px; }
  .service-grid, .tiers, .testimonials, .steps { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-card, .dest-card--wide { grid-column: span 1; height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 24px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,12,0.97);
    padding: 32px var(--pad);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-cta { display: none; }
  .hero__meta { display: none; }
  .service-grid, .tiers, .testimonials, .steps { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card, .dest-card--wide { grid-column: span 1; height: 340px; }
  .field.row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
