/* ==========================================================================
   TRAVEL AGENCY
   Warm sand and plum: four-image hero collage, statement, service cards,
   three-step journey with phone mockups, destination tiles, reviews.
   ========================================================================== */

:root {
  --background: #f6f0e9;
  --card: #efe7dd;
  --foreground: #3d1f2a;
  --primary-cta: #3d1f2a;
  --primary-cta-text: #f6f0e9;
  --secondary-cta: #efe7dd;
  --secondary-cta-text: #3d1f2a;
  --accent: #8c4a5c;
  --background-accent: #a86b7c;
  --radius: 1.5rem;
  --content-width: 87.5vw;
  --section-head-size: var(--text-6xl);
  --nav-ink: #ffffff;
  --nav-ink-scrolled: var(--foreground);
}

@media (width >= 1536px) { :root { --section-head-size: var(--text-7xl); } }

/* --- Hero collage --------------------------------------------------------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 42rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 5rem;
}

.hero__collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__collage img { width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35, 15, 22, 0.9) 0%, rgba(35, 15, 22, 0.45) 55%, rgba(35, 15, 22, 0.3) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: #fff;
}

.hero__title {
  max-width: 22ch;
  font-size: var(--text-7xl);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }

@media (width <= 768px) {
  .hero { margin-bottom: 3rem; }
  .hero__collage { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: var(--text-6xl); }
}

/* --- Statement ------------------------------------------------------------- */

.statement { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.statement h2 { max-width: 28ch; font-size: var(--text-5xl); line-height: 1.25; font-weight: 500; text-wrap: balance; }
.statement__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* --- Services -------------------------------------------------------------- */

.svc-card { padding: 0.75rem; border-radius: var(--radius); }

.svc-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.5rem);
  transition: transform 0.5s ease-out;
}

.svc-card:hover img { transform: scale(1.04); }
.svc-card__body { padding: 1.15rem 0.6rem 0.4rem; }
.svc-card__body h3 { font-size: var(--text-2xl); margin-bottom: 0.3rem; }
.svc-card__body p { font-size: var(--text-lg); line-height: 1.4; opacity: 0.75; }

/* --- Journey steps ---------------------------------------------------------- */

.journey { display: flex; flex-direction: column; gap: 1.25rem; }

.journey-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
}

.journey-step__copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.journey-step__copy h3 { font-size: var(--text-5xl); line-height: 1.1; }
.journey-step__copy h4 { font-size: var(--text-2xl); font-weight: 500; opacity: 0.8; }
.journey-step__copy p { max-width: 46ch; font-size: var(--text-lg); line-height: 1.5; }

.journey-step__index {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: var(--text-7xl);
  font-weight: 600;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.journey-step__media { display: flex; justify-content: center; }

.journey-step__media img {
  width: min(18rem, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.5rem);
  box-shadow: 0 24px 48px -16px rgba(61, 31, 42, 0.4);
}

@media (width <= 900px) {
  .journey-step { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
  .journey-step__index { top: 1rem; right: 1.25rem; font-size: var(--text-6xl); }
  .journey-step__media img { width: min(14rem, 70%); }
}

/* --- Reviews ---------------------------------------------------------------- */

.review-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: var(--radius); }
.review-card__place { font-size: var(--text-base); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.review-card h3 { font-size: var(--text-3xl); line-height: 1.2; }
.review-card p { font-size: var(--text-lg); line-height: 1.5; }

/* --- Contact ----------------------------------------------------------------- */

.contact-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 5rem 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.contact-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(35,15,22,0.9), rgba(35,15,22,0.55)); }
.contact-band > * { position: relative; z-index: 2; }
.contact-band .eyebrow { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); }
.contact-band h2 { max-width: 20ch; font-size: var(--text-6xl); line-height: 1.1; text-wrap: balance; }
.contact-band p { max-width: 46ch; font-size: var(--text-lg); line-height: 1.5; }

/* --- Footer -------------------------------------------------------------------- */

.site-footer { border-radius: var(--radius) var(--radius) 0 0; padding-block: 4rem; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-size: var(--text-5xl); font-weight: 600; letter-spacing: 0.02em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { font-size: var(--text-base); font-weight: 500; opacity: 0.6; margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 0.7; }

.footer-legal-bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: var(--text-base); opacity: 0.7;
}
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 768px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
