/* ========================================
   Self-hosted fonts (latin woff2)
   ======================================== */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/manrope-800.woff2') format('woff2'); }

/* ========================================
   YFA Study Abroad Landing — Styles (v2)
   ======================================== */

:root {
  --teal: #005f6b;
  --teal-dark: #003f47;
  --coral: #ff6a6b;
  --ivory: #fdf8f3;
  --ink: #12242a;
  --muted: #5c6f74;
  --line: #e4e0d8;
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: 'Manrope', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(18,36,42,0.05);
  --shadow-md: 0 4px 12px rgba(18,36,42,0.08);
  --shadow-lg: 0 8px 32px rgba(18,36,42,0.12);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --container-max: 1200px;
  --container-padding: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(36px,5vw,56px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px,3.5vw,40px); letter-spacing: -0.03em; margin-bottom: 16px; }
h3 { font-size: clamp(18px,2vw,22px); font-weight: 600; letter-spacing: -0.03em; }

.subhead {
  font-size: clamp(16px,1.5vw,18px);
  color: var(--muted);
  max-width: 560px;
  margin-top: 16px;
}
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral); color: #fff;
}
.btn-primary:hover {
  background: #e85a5b; transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ivory); border-color: var(--muted); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,248,243,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink);
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }

/* Hero */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-content { max-width: 600px; }
.hero-cta-row {
  display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap;
}
.micro-copy { font-size: 13px; color: var(--muted); font-family: var(--font-body); }

/* Social proof bar */
.social-proof {
  display: flex; align-items: center; gap: 0; margin-top: 28px; flex-wrap: wrap;
}
.proof-item { padding: 0 20px; }
.proof-item:first-child { padding-left: 0; }
.proof-number {
  display: flex; align-items: center; gap: 3px;
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1.1;
}
.proof-star { width: 16px; height: 16px; color: var(--coral); flex-shrink: 0; }
.proof-label {
  display: block; font-size: 13px; color: var(--muted); margin-top: 2px;
  font-family: var(--font-body);
}
.proof-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--line);
  flex-shrink: 0;
}

.star-row { display: flex; gap: 2px; color: var(--coral); }
.star-row svg { width: 16px; height: 16px; }



/* Hero visual — orbiting flags */
.hero-visual {
  display: flex; align-items: center; justify-content: center; min-height: 400px;
}
.orbit-container { position: relative; width: 380px; height: 380px; }
.orbit-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%; border: 1px dashed var(--line);
  animation: orbit-rotate var(--orbit-dur) linear infinite var(--orbit-dir, normal);
}
.orbit-ring-1 { width: 340px; height: 340px; --orbit-dur: 35s; transform: translate(-50%,-50%); }
.orbit-ring-2 { width: 230px; height: 230px; --orbit-dur: 25s; --orbit-dir: reverse; transform: translate(-50%,-50%); }
.orbit-flag {
  position: absolute; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow-md);
  overflow: hidden;
}
.orbit-ring-1 .orbit-flag:nth-child(1) { top: 0px; left: 148px; }
.orbit-ring-1 .orbit-flag:nth-child(2) { top: 56px; left: 264px; }
.orbit-ring-1 .orbit-flag:nth-child(3) { top: 181px; left: 292px; }
.orbit-ring-1 .orbit-flag:nth-child(4) { top: 281px; left: 212px; }
.orbit-ring-1 .orbit-flag:nth-child(5) { top: 281px; left: 84px; }
.orbit-ring-1 .orbit-flag:nth-child(6) { top: 181px; left: 4px; }
.orbit-ring-1 .orbit-flag:nth-child(7) { top: 56px; left: 32px; }
.orbit-ring-2 .orbit-flag:nth-child(1) { top: 0px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(2) { top: 93px; left: 186px; }
.orbit-ring-2 .orbit-flag:nth-child(3) { top: 186px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(4) { top: 93px; left: 0px; }
.orbit-flag img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 50%;
  /* Counter-rotate to keep flag upright */
  animation: orbit-counter var(--orbit-dur) linear infinite var(--orbit-dir, normal);
}
.orbit-ring-2 .orbit-ring-1 .orbit-flag:nth-child(1) { top: 0px; left: 148px; }
.orbit-ring-1 .orbit-flag:nth-child(2) { top: 56px; left: 264px; }
.orbit-ring-1 .orbit-flag:nth-child(3) { top: 181px; left: 292px; }
.orbit-ring-1 .orbit-flag:nth-child(4) { top: 281px; left: 212px; }
.orbit-ring-1 .orbit-flag:nth-child(5) { top: 281px; left: 84px; }
.orbit-ring-1 .orbit-flag:nth-child(6) { top: 181px; left: 4px; }
.orbit-ring-1 .orbit-flag:nth-child(7) { top: 56px; left: 32px; }
.orbit-ring-2 .orbit-flag:nth-child(1) { top: 0px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(2) { top: 93px; left: 186px; }
.orbit-ring-2 .orbit-flag:nth-child(3) { top: 186px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(4) { top: 93px; left: 0px; }
.orbit-flag img { animation-direction: var(--orbit-dir, normal); }
@keyframes orbit-rotate {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes orbit-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.orbit-ring-2 .orbit-ring-1 .orbit-flag:nth-child(1) { top: 0px; left: 148px; }
.orbit-ring-1 .orbit-flag:nth-child(2) { top: 56px; left: 264px; }
.orbit-ring-1 .orbit-flag:nth-child(3) { top: 181px; left: 292px; }
.orbit-ring-1 .orbit-flag:nth-child(4) { top: 281px; left: 212px; }
.orbit-ring-1 .orbit-flag:nth-child(5) { top: 281px; left: 84px; }
.orbit-ring-1 .orbit-flag:nth-child(6) { top: 181px; left: 4px; }
.orbit-ring-1 .orbit-flag:nth-child(7) { top: 56px; left: 32px; }
.orbit-ring-2 .orbit-flag:nth-child(1) { top: 0px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(2) { top: 93px; left: 186px; }
.orbit-ring-2 .orbit-flag:nth-child(3) { top: 186px; left: 93px; }
.orbit-ring-2 .orbit-flag:nth-child(4) { top: 93px; left: 0px; }
.orbit-flag img {
  animation-name: orbit-counter-rev;
}
@keyframes orbit-counter-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sections */
section { padding: 80px 0; }
section .eyebrow + h2 { margin-bottom: 40px; }

/* Card Grid */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3,1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent;
}

/* Destinations */
.destinations { background: #fff; }
.destination-card { cursor: pointer; position: relative; }
.destination-card .card-icon { font-size: 40px; margin-bottom: 12px; }
.destination-card h3 { margin-bottom: 4px; }
.destination-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--teal); transition: gap var(--transition-fast);
}
.destination-card:hover .card-link { gap: 8px; }
.destination-more { display: flex; flex-direction: column; align-items: flex-start; }
.card-icon-more {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--teal); color: #fff; font-size: 16px; font-weight: 700;
  font-family: var(--font-display);
}

/* Testimonials */
.testimonials { background: var(--ivory); }
.testimonial-card { display: flex; flex-direction: column; gap: 16px; }
.testimonial-header { display: flex; align-items: center; gap: 12px; }
.avatar-initial {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: #fff;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-meta strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.testimonial-meta .muted { font-size: 13px; }
.testimonial-card .star-row svg { width: 18px; height: 18px; }
.testimonial-headline {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--ink); line-height: 1.4;
}
.testimonial-quote {
  font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  color: var(--muted); font-style: italic;
  border-left: 3px solid var(--coral); padding-left: 16px;
}

/* Differentiators */
.differentiators { background: #fff; }
.diff-icon { width: 56px; height: 56px; color: var(--teal); margin-bottom: 16px; }
.differentiator-card h3 { margin-bottom: 8px; }
.differentiator-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* How It Works */
.how-it-works { background: var(--ivory); overflow: hidden; }
.split-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split-copy { max-width: 480px; }
.checklist { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
}
.check-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal);
  color: #fff; flex-shrink: 0; margin-top: 2px;
}
.check-icon svg { width: 14px; height: 14px; }

/* Flight path */
.split-visual {
  position: relative; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.flight-path-svg { width: 100%; max-width: 600px; height: auto; }
.flight-path-line { will-change: stroke-dashoffset; }
.flight-plane { will-change: transform; }
.waypoint { opacity: 0.6; }
.waypoint-label { font-size: 11px; letter-spacing: 0.06em; }

@media (prefers-reduced-motion: reduce) {
  .flight-path-line { stroke-dashoffset: 0 !important; }
  .orbit-ring { animation: none; }
}

/* Stats */
.stats { background: var(--teal-dark); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: clamp(36px,4vw,48px); font-weight: 800; color: #fff; line-height: 1.1;
}
.stat-label {
  display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.7);
}

/* Form */
.form-section { background: #fff; padding: 80px 0; }
.form-wrapper { max-width: 640px; margin: 0 auto; text-align: center; }
.form-wrapper .eyebrow, .form-wrapper h2 { text-align: center; }
.study-form { margin-top: 40px; text-align: left; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeIn 300ms ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step h3 { margin-bottom: 24px; font-size: 20px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  padding: 10px 20px; font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-xl); cursor: pointer; transition: all var(--transition-fast);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-selected { background: var(--teal); color: #fff; border-color: var(--teal); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-family: var(--font-display); font-size: 14px;
  font-weight: 600; margin-bottom: 6px; color: var(--ink);
}
.form-field label .optional { font-weight: 400; color: var(--muted); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"] {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-md); background: #fff;
  color: var(--ink); transition: border-color var(--transition-fast);
}
.form-field input:focus { outline: none; border-color: var(--teal); }
.form-field input::placeholder { color: var(--muted); opacity: 0.6; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 14px; line-height: 1.5; color: var(--muted);
}
.checkbox-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border: 1.5px solid var(--line); border-radius: 4px;
  flex-shrink: 0; margin-top: 2px; transition: all var(--transition-fast);
}
.checkbox-label input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.checkbox-label input:checked + .check-box::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px,-1px);
}

.form-nav { display: flex; gap: 12px; margin-top: 24px; }
.form-nav .btn { flex: 1; }
.form-error { color: var(--coral); font-size: 13px; margin-top: 8px; min-height: 20px; }
.honeypot { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.form-success { text-align: center; padding: 40px 20px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.cf-turnstile { margin: 16px 0; }

/* CTA Banner — dark gradient */
.cta-banner {
  background: linear-gradient(180deg, var(--ink) 0%, var(--teal-dark) 100%);
  padding: 80px 0; text-align: center;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,95,107,0.3), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-banner .btn-primary {
  background: #fff; color: var(--ink); border-radius: var(--radius-xl);
}
.cta-banner .btn-primary:hover { background: var(--ivory); transform: translateY(-1px); }

/* Footer — Graphy-style */
.site-footer {
  background: var(--ivory); padding: 0;
}
.footer-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-width: calc(var(--container-max) + 2 * var(--container-padding));
  margin: 0 auto; padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand { max-width: 320px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-mark { width: 32px; height: 32px; }
.footer-desc {
  font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--ink); transition: all var(--transition-fast);
}
.footer-social a:hover { color: var(--teal); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px; letter-spacing: -0.03em;
}
.footer-col a {
  font-size: 14px; color: var(--muted); transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 24px var(--container-padding);
  margin-top: 40px; border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 13px; color: var(--muted); text-decoration: underline;
  text-underline-offset: 2px; transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { max-width: 100%; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { gap: 16px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 860px) {
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .subhead { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-visual { display: none; }
  .social-proof { justify-content: center; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: -1; min-height: 300px; }
  .split-copy { max-width: 100%; text-align: center; }
  .checklist { text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  :root { --container-padding: 16px; }
  section { padding: 56px 0; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 32px; }
  .social-proof { flex-direction: column; align-items: center; gap: 16px; }
  .proof-dot { display: none; }
  .proof-item { padding: 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* ========================================
   Sliders (destinations + testimonials)
   ======================================== */
.slider-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.slider-head h2 { margin-bottom: 0; }
.slider-nav { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 4px; }
.slider-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: all var(--transition-fast);
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.slider-btn:disabled { opacity: 0.35; pointer-events: none; }

.slider-viewport { overflow: hidden; }
.slider-track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding))) 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; }
.slider-hint {
  font-size: 13px; color: var(--muted); font-family: var(--font-body); margin-top: 12px;
}

/* Destination slides */
.dest-slide {
  position: relative; flex: 0 0 300px; aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl); overflow: hidden;
  scroll-snap-align: start; cursor: pointer;
  background: var(--teal-dark);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.dest-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 600ms ease;
}
.dest-slide:hover, .dest-slide:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-slide:hover img { transform: scale(1.06); }
.dest-slide:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.dest-overlay {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(18,36,42,0.85), rgba(18,36,42,0));
  color: #fff; z-index: 2;
}
.testi-quote-bar + .dest-overlay,
.testi-centered .dest-overlay { bottom: auto; }

.dest-overlay h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.dest-overlay p { font-size: 13px; color: rgba(255,255,255,0.8); }
.dest-arrow {
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  transition: all var(--transition-fast);
}
.dest-arrow svg { width: 18px; height: 18px; }
.dest-slide:hover .dest-arrow { background: var(--coral); border-color: var(--coral); }



/* CTA banner enhancements */
.cta-sub { color: rgba(255,255,255,0.85); margin: -8px 0 28px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Floating action buttons */
.fab-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--teal); }

@media (max-width: 860px) {
  .slider-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dest-slide { flex-basis: 250px; }
  .testi-slide { flex-basis: 280px; }
}
@media (max-width: 560px) {
  .dest-slide { flex-basis: 78vw; }
  .testi-slide { flex-basis: 84vw; }
  .fab-stack { right: 14px; bottom: 14px; }
  .fab { width: 50px; height: 50px; }
}


/* ========================================
   Coverflow Carousel (Country section — Image 2 ref)
   ======================================== */
.cover-carousel {
  position: relative; overflow: hidden;
  padding: 20px 0 40px;
}
.cover-track {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; position: relative;
  min-height: 420px;
  perspective: 1000px;
}
.cover-slide {
  position: absolute; width: 300px; aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl); overflow: hidden;
  cursor: pointer; background: var(--teal-dark);
  transition: transform 500ms ease, opacity 500ms ease, box-shadow 500ms ease, z-index 0ms;
  will-change: transform, opacity;
  transform-origin: center center;
}
.cover-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.cover-label {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 24px;
  background: linear-gradient(to top, rgba(18,36,42,0.85), rgba(18,36,42,0));
  color: #fff;
}
.cover-label h3 {
  color: #fff; font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 4px;
}
.cover-label p { font-size: 13px; color: rgba(255,255,255,0.75); }

/* Active center card */
.cover-slide[data-pos="0"] {
  position: relative; z-index: 3;
  transform: scale(1); opacity: 1;
  box-shadow: 0 16px 48px rgba(18,36,42,0.2);
}
/* Adjacent cards */
.cover-slide[data-pos="-1"] {
  z-index: 2; transform: translateX(-85%) scale(0.82); opacity: 0.8;
}
.cover-slide[data-pos="1"] {
  z-index: 2; transform: translateX(85%) scale(0.82); opacity: 0.8;
}
/* Further cards */
.cover-slide[data-pos="-2"] {
  z-index: 1; transform: translateX(-155%) scale(0.65); opacity: 0.45;
}
.cover-slide[data-pos="2"] {
  z-index: 1; transform: translateX(155%) scale(0.65); opacity: 0.45;
}
/* Hidden cards */
.cover-slide:not([data-pos]) { opacity: 0; pointer-events: none; transform: scale(0.5); z-index: 0; }

/* Arrows */
.cover-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  opacity: 0;
}
.cover-carousel:hover .cover-arrow { opacity: 1; }
.cover-arrow svg { width: 20px; height: 20px; }
.cover-prev { left: max(16px, calc((100vw - 1100px) / 2)); }
.cover-next { right: max(16px, calc((100vw - 1100px) / 2)); }
.cover-arrow:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Dots */
.cover-dots {
  display: flex; justify-content: center; gap: 8px;
  padding-top: 24px;
}
.cover-dot {
  width: 28px; height: 4px; border-radius: 2px;
  background: var(--line); transition: all var(--transition-base);
  cursor: pointer; border: none;
}
.cover-dot.is-active {
  background: var(--teal); width: 40px;
}



@media (max-width: 860px) {
  .cover-slide { width: 250px; }
  .cover-arrow { opacity: 1; }
  .cover-prev { left: 8px; }
  .cover-next { right: 8px; }
}
@media (max-width: 560px) {
  .cover-slide { width: 70vw; }
  .cover-label h3 { font-size: 22px; }
  .cover-track { min-height: 340px; }
}

/* Testimonial section */
.testi-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.testi-header h2 { margin-bottom: 0; }
.testi-viewport {
  padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
  padding-right: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
}
.testi-centered {
  justify-content: flex-start;
  padding-left: 0; padding-right: 0;
}
.testi-centered .dest-slide {
  flex: 0 0 calc((min(100vw, var(--container-max)) - 2 * var(--container-padding) - 48px) / 3);
  max-width: 380px;
}
.testi-centered .dest-slide .dest-arrow { display: none; }
.testi-quote-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 12px 20px 16px;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
/* Push overlay up when quote bar present */
.testi-centered .dest-overlay { bottom: 64px; }
.testi-quote-bar blockquote {
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.9);
  font-style: italic; font-family: var(--font-body);
}

@media (max-width: 1024px) {
  .testi-centered .dest-slide { flex-basis: calc((100vw - 2 * var(--container-padding) - 32px) / 2.3); }
}
@media (max-width: 680px) {
  .testi-centered .dest-slide { flex-basis: 80vw; }
  .testi-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
