/* ═══════════════════════════════════════════════════════════════
   EASYTRIP HUB — PAGE COMPOSITIONS
   Landing hero, stats, services bento, journey steps, destinations,
   assurance tiles, reviews, service pages, contact, legal.
   ═══════════════════════════════════════════════════════════════ */

/* ── Landing hero: asymmetric split ─────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(6.4rem, 5rem + 4vw, 9rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  overflow: hidden;
}
.hero::before {
  /* soft sky wash behind the composition */
  content: '';
  position: absolute;
  inset: 0 0 22% 38%;
  background: radial-gradient(85% 90% at 75% 20%, var(--wash) 0%, transparent 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead {
  margin-top: 1.4rem;
  max-width: 44ch;
}
.hero-copy .btn-row { margin-top: 2.2rem; }

/* Layered visual: tall image + overlapping secondary + route arc */
.hero-visual {
  position: relative;
  min-height: 480px;
}
.hero-visual .hv-main {
  width: min(78%, 460px);
  margin-left: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}
.hero-visual .hv-secondary {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: min(46%, 270px);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
}
.hero-visual .hv-caption {
  position: absolute;
  right: min(4%, 24px);
  bottom: -14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--ink);
}
.hero-visual .hv-caption .icon-sm { color: var(--accent); }

.hero-route {
  position: absolute;
  left: -4%;
  top: 4%;
  width: 64%;
  height: auto;
  color: var(--accent);
  opacity: 0.65;
  z-index: 2;
  pointer-events: none;
}
.hero-route .route-path {
  stroke-dasharray: 7 9;
  animation: dashFlow 9s linear infinite;
}
.hero-route .route-plane { animation: floatSoft 7s ease-in-out infinite; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .hero-visual { min-height: 0; margin-top: 1rem; }
  .hero-visual .hv-main { width: 100%; aspect-ratio: 16 / 11; margin: 0; }
  .hero-visual .hv-secondary { width: 38%; bottom: -10%; border-width: 4px; }
  .hero-visual { padding-bottom: 12%; }
  .hero-route { display: none; }
}

/* ── Stats band ─────────────────────────────────────────────── */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.4rem 1.5rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}
.stat-number em {
  font-style: normal;
  color: var(--accent);
}
.stat-label {
  margin-top: 0.55rem;
  font-size: var(--text-small);
  color: var(--ink-faint);
  font-weight: 600;
}
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}

/* ── Services bento ─────────────────────────────────────────── */

.services-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 230px;
  gap: 1.1rem;
}
.svc {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #fff;
  background: var(--ink);
}
.svc-flights   { grid-column: span 4; grid-row: span 2; }
.svc-holidays  { grid-column: span 2; grid-row: span 2; }
.svc-visa      { grid-column: span 2; }
.svc-corporate { grid-column: span 2; }
.svc-cabs      { grid-column: span 2; }

.svc > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-signature);
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgba(13, 21, 38, 0) 30%, rgba(13, 21, 38, 0.78) 100%);
  transition: background var(--duration-slow) var(--ease-standard);
}
.svc:hover > img { transform: scale(1.05); }

.svc .svc-icon {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
}
.svc h3 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
}
.svc p {
  margin-top: 0.35rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-small);
  line-height: 1.55;
}
.svc .svc-go {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-signature),
              transform var(--duration-normal) var(--ease-signature);
}
.svc:hover .svc-go,
.svc:focus-visible .svc-go { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .services-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .svc-flights { grid-column: span 2; grid-row: span 1; }
  .svc-holidays { grid-column: span 1; grid-row: span 1; }
  .svc-visa, .svc-corporate, .svc-cabs { grid-column: span 1; }
  .svc-cabs { grid-column: span 2; }
}
@media (max-width: 620px) {
  .services-bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .svc { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ── Journey steps (sticky split) ───────────────────────────── */

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.journey-intro { position: sticky; top: 110px; }
.journey-intro img {
  margin-top: 2rem;
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.journey-steps { display: grid; gap: 0; }
.j-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
}
.j-step:last-child { border-bottom: 1px solid var(--line); }
.j-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--accent);
  min-width: 2.2ch;
}
.j-step h3 { font-size: 1.55rem; }
.j-step p { margin-top: 0.5rem; max-width: 52ch; }

@media (max-width: 980px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-intro { position: static; }
  .journey-intro img { display: none; }
}

/* ── Destinations scroller ──────────────────────────────────── */

.dest-scroller {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem var(--content-padding) 1.6rem;
  margin-inline: calc(var(--content-padding) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--wash-deep) transparent;
}
.dest-card {
  position: relative;
  flex: none;
  width: clamp(240px, 26vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.dest-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-signature);
}
.dest-card::before {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(13, 21, 38, 0.82));
}
.dest-card:hover img { transform: scale(1.06); }
.dest-card h3 {
  color: #fff;
  font-size: 1.7rem;
}
.dest-card .dest-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.2rem;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.85);
}
.dest-meta strong { color: #fff; font-weight: 800; white-space: nowrap; }

.dest-nav {
  display: flex;
  gap: 0.6rem;
}
.dest-nav button {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-fast), background var(--duration-fast), opacity var(--duration-fast);
}
.dest-nav button:hover { border-color: var(--ink-faint); }
.dest-nav button:disabled { opacity: 0.35; cursor: default; }
.dest-nav .prev .icon-sm { transform: rotate(180deg); }

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: var(--space-block);
}

/* ── Assurance tiles (2×2) ──────────────────────────────────── */

.assure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.assure {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-signature), box-shadow var(--duration-normal) var(--ease-signature);
}
.assure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.assure h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; margin-top: 1.2rem; }
.assure p { margin-top: 0.45rem; font-size: var(--text-small); line-height: 1.6; }

.assure-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .assure-wrap { grid-template-columns: 1fr; }
  .assure-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .assure-grid { grid-template-columns: 1fr; }
}

/* ── Reviews section header ─────────────────────────────────── */

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 0.7rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--ink-soft);
}
.rating-summary .score {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

/* ── Page hero (inner pages) ────────────────────────────────── */

.page-hero {
  padding-top: clamp(6.4rem, 5rem + 4vw, 8.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero h1 { margin-top: 1rem; max-width: 14ch; }
.page-hero .lead { margin-top: 1.3rem; max-width: 48ch; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero-img {
  aspect-ratio: 10 / 8.4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* ── Feature rows (icon + copy list) ────────────────────────── */

.feature-list { display: grid; gap: 0; max-width: 820px; }
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.9rem 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; }
.feature-row p { margin-top: 0.4rem; max-width: 58ch; }

/* ── Info cards grid (3-up, varied) ─────────────────────────── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-normal) var(--ease-signature), box-shadow var(--duration-normal) var(--ease-signature);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.info-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.info-card h3 { font-size: 1.45rem; }
.info-card p { font-size: var(--text-small); line-height: 1.6; }
.info-card .meta-row {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--text-small);
}
.info-card .meta-row strong { color: var(--ink); font-weight: 800; }
@media (max-width: 980px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .info-grid { grid-template-columns: 1fr; } }

/* ── Quote spotlight (single large testimonial) ─────────────── */

.quote-spot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 3.2rem);
}
.quote-spot img {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-pill);
  object-fit: cover;
}
.quote-spot blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
}
.quote-spot .who { margin-top: 0.9rem; font-size: var(--text-small); }
.quote-spot .who strong { color: var(--ink); }
@media (max-width: 620px) {
  .quote-spot { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ── Contact page ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.contact-form-card form { display: grid; gap: 1.35rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 620px) { .form-2col { grid-template-columns: 1fr; } }

.contact-aside { display: grid; gap: 1.1rem; }
.contact-tile {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-signature), box-shadow var(--duration-normal) var(--ease-signature);
}
a.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-tile h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; }
.contact-tile p { font-size: var(--text-small); line-height: 1.55; margin-top: 0.2rem; }
.contact-tile .tile-value { color: var(--ink); font-weight: 700; }

.contact-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-photo img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }

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

/* ── Legal / prose pages ────────────────────────────────────── */

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 0.15rem;
  font-size: var(--text-small);
  border-left: 1px solid var(--line);
}
.legal-toc a {
  padding: 0.5rem 0 0.5rem 1.1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-faint);
  font-weight: 600;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.active { color: var(--accent); border-left-color: var(--accent); }

.prose { max-width: 70ch; }
.prose .updated {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 2.4rem;
}
.prose h2 {
  font-size: 1.75rem;
  scroll-margin-top: 110px;
  padding-top: 2.4rem;
  margin-bottom: 0.9rem;
}
.prose h2:first-of-type { padding-top: 0; }
.prose h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: 0.5rem; }
.prose ul li {
  padding-left: 1.4rem;
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1.5px solid var(--accent);
}
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .note-box {
  background: var(--accent-tint);
  border: 1px solid #d5e0f8;
  border-radius: var(--radius-input);
  padding: 1.1rem 1.3rem;
  font-size: var(--text-small);
  color: var(--accent-ink);
  margin: 1.4rem 0;
}

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* ── 404 ────────────────────────────────────────────────────── */

.lost {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 90px;
}
.lost .code {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1.1;
  padding-bottom: 0.05em;
  color: var(--accent);
}

/* ── Visa country grid ──────────────────────────────────────── */

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.country {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.2rem;
}
.country strong { color: var(--ink); font-weight: 700; font-size: 1rem; }
.country span { font-size: var(--text-xs); color: var(--ink-faint); font-weight: 600; }
@media (max-width: 980px) { .country-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .country-grid { grid-template-columns: 1fr 1fr; } }

/* ── Image + text editorial split ───────────────────────────── */

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.editorial-split figure {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.editorial-split figure img { aspect-ratio: 4 / 3.4; width: 100%; object-fit: cover; }
.editorial-split.flip figure { order: 2; }
.editorial-split h2 { margin-top: 0.9rem; }
.editorial-split .lead { margin-top: 1.1rem; }
.editorial-split ul { margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.editorial-split ul li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-body);
}
.editorial-split ul .icon-sm { color: var(--accent); margin-top: 5px; flex: none; }
@media (max-width: 900px) {
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split.flip figure { order: 0; }
}
