/* ========================================
   Sakura Travels — Premium Dark Theme
   ======================================== */

:root {
  --color-white: #FFFFFF;
  --color-black: #0D0D0D;
  --color-red: #FF2D2D;
  --color-red-dim: rgba(255, 45, 45, 0.15);
  --color-red-glow: rgba(255, 45, 45, 0.45);
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-text: rgba(255, 255, 255, 0.85);
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hero: 'Anton', sans-serif;
  --header-height: 72px;
  --header-glass-height: 58px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-red);
  color: var(--color-black);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Glass Effect */
.glass {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius);
}

/* Typography */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
}

.text-accent { color: var(--color-red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-black);
}
.btn-primary:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-red-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-glass-border);
}
.btn-secondary:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
}

.btn-glow:hover {
  box-shadow: 0 0 30px var(--color-red-glow), 0 8px 30px rgba(255, 45, 45, 0.2);
}

.btn-full { width: 100%; justify-content: center; }

/* Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  animation: loaderPulse 2s ease-in-out infinite;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 20px auto 0;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-red);
  animation: loaderFill 1.2s var(--transition) forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* Page load — skeleton + content reveal */
body.is-loading #main {
  opacity: 0;
  pointer-events: none;
}

body:not(.is-loading) #main {
  transition: opacity 0.5s var(--transition);
}

body.is-loading .header,
body.is-loading .social-sidebar {
  opacity: 0;
  pointer-events: none;
}

body:not(.is-loading) .header,
body:not(.is-loading) .social-sidebar {
  transition: opacity 0.4s ease 0.08s;
}

.loader {
  flex-direction: column;
  padding: 24px;
}

.loader-skeleton {
  position: absolute;
  inset: 0;
  padding: calc(var(--header-height) + 20px) 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
  opacity: 0.55;
}

.skel {
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skel-header {
  height: 52px;
  width: min(100%, 720px);
  margin: 0 auto;
  border-radius: 14px;
  flex-shrink: 0;
}

.skel-hero-block {
  flex: 1;
  min-height: 180px;
  max-height: 42vh;
}

.skel-panel {
  height: 100px;
  width: min(260px, 68%);
}

.skel-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-shrink: 0;
}

.skel-pill {
  height: 28px;
  width: 72px;
  border-radius: 999px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader.hidden .loader-skeleton {
  opacity: 0;
  transition: opacity 0.4s;
}

/* Image skeleton placeholders */
.img-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.img-skeleton.is-loaded {
  background: transparent;
  animation: none;
}

.stagger-photo-wrap.img-skeleton {
  display: block;
  width: 48px;
  height: 56px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.stagger-photo-wrap.is-loaded .stagger-card-photo {
  opacity: 1;
}

/* Sakura Canvas */
/* Sakura canvas removed */

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-muted);
  transition: all 0.3s var(--transition);
}
.social-link:hover {
  color: var(--color-red);
  border-color: var(--color-red);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--color-red-dim);
}

/* Header */
/* Header — Liquid Glassmorphism */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 20px 0;
  height: auto;
  background: transparent;
  pointer-events: none;
  transition: padding 0.4s var(--transition);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-glass-height);
  padding: 0 22px;
  border-radius: 18px;
  pointer-events: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.5s var(--transition),
    border-color 0.5s var(--transition),
    box-shadow 0.5s var(--transition),
    backdrop-filter 0.5s var(--transition);
}

/* Liquid shine sweep */
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 58%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: liquidGlassShine 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Top specular edge highlight */
.header-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55) 50%,
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

@keyframes liquidGlassShine {
  0%, 100% { transform: translateX(-120%); opacity: 0.4; }
  50% { transform: translateX(120%); opacity: 1; }
}

.header.scrolled .header-inner {
  background: rgba(13, 13, 13, 0.62);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.header:not(.scrolled) .header-inner {
  background: rgba(255, 255, 255, 0.1);
}

.header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.88); }
.header:not(.scrolled) .nav-link:hover { color: #fff; }
.header:not(.scrolled) .logo-text { color: #fff; }
.header:not(.scrolled) .hamburger span { background: #fff; }

.header-inner > * {
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
}
.logo-text em {
  font-style: italic;
  color: var(--color-red);
}

.nav-list {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 6px 10px;
  border-radius: 8px;
  transition:
    color 0.3s var(--transition),
    background 0.3s var(--transition);
}
.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  width: auto;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition);
}
.nav-link:hover::after { transform: scaleX(1); }

.header-cta {
  padding: 9px 20px;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(255, 45, 45, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s var(--transition);
  transform-origin: center;
}
.nav-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero — Country Carousel */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background-color: var(--hero-bg, #BC002D);
  transition: background-color 900ms cubic-bezier(0.45, 0, 0.15, 1);
  font-family: var(--font-body);
  --hero-ease: cubic-bezier(0.45, 0, 0.15, 1);
  --hero-duration: 650ms;
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top-left brand label */
.hero-brand {
  position: absolute;
  top: calc(var(--header-height) + 12px);
  left: 16px;
  z-index: 60;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .hero-brand { left: 32px; }
}

/* Grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}

/* Giant ghost text — crossfade between country names */
.hero-ghost-wrap {
  position: absolute;
  inset-inline: 0;
  top: 16%;
  height: clamp(90px, 22vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  overflow: hidden;
}

.hero-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hero);
  font-size: clamp(70px, 22vw, 340px);
  font-weight: 400;
  color: #fff;
  opacity: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition:
    opacity var(--hero-duration) var(--hero-ease),
    transform var(--hero-duration) var(--hero-ease);
  transform: translateY(8px);
}

.hero-ghost.is-visible {
  opacity: 0.32;
  transform: translateY(0);
}

/* Hero entrance animations */
.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: heroElementIn 1s var(--hero-ease, cubic-bezier(0.45, 0, 0.15, 1)) forwards;
  animation-delay: var(--enter-delay, 0s);
}

@keyframes heroElementIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-carousel.hero-enter {
  transform: translateY(24px);
  animation-name: heroCarouselIn;
}

@keyframes heroCarouselIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel stage */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-slide {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78vh, 820px);
  height: min(88vh, 860px);
  transform: translate(-50%, -50%) translateX(0) scale(0);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition:
    transform var(--hero-duration) var(--hero-ease),
    opacity var(--hero-duration) var(--hero-ease),
    filter var(--hero-duration) var(--hero-ease);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  -webkit-user-drag: none;
  transition: filter var(--hero-duration) var(--hero-ease);
}

.hero-slide.role-center img {
  filter: drop-shadow(0 36px 72px rgba(0, 0, 0, 0.52)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
}

/* All roles share one size — scale + translate animate together (no snap) */
.hero-slide.role-center {
  opacity: 1;
  z-index: 20;
  transform: translate(-50%, -50%) translateX(0) scale(1.28);
  filter: blur(0);
}

.hero-slide.role-left {
  opacity: 0.7;
  z-index: 10;
  transform: translate(-50%, -50%) translateX(-36vw) scale(0.46);
  filter: blur(2px);
}

.hero-slide.role-right {
  opacity: 0.7;
  z-index: 10;
  transform: translate(-50%, -50%) translateX(36vw) scale(0.46);
  filter: blur(2px);
}

.hero-slide.role-back {
  opacity: 0.3;
  z-index: 5;
  transform: translate(-50%, -50%) translateX(0) scale(0.36);
  filter: blur(4px);
}

/* Bottom-left panel */
.hero-panel {
  position: absolute;
  bottom: 24px;
  left: 16px;
  z-index: 60;
  max-width: 340px;
}

.hero-panel-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 8px;
}

.hero-panel-country {
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
  transition: opacity var(--hero-duration) var(--hero-ease);
}

.hero-panel-desc {
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.85;
  line-height: 1.65;
  margin-bottom: 20px;
  transition: opacity var(--hero-duration) var(--hero-ease);
}

.hero-panel.is-updating .hero-panel-country,
.hero-panel.is-updating .hero-panel-desc {
  opacity: 0.4;
}

.hero-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, background-color 150ms ease;
}
.hero-nav-btn:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,0.12);
}
.hero-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}
.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Bottom-right discover link */
.hero-discover {
  position: absolute;
  bottom: 24px;
  right: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hero);
  font-size: clamp(18px, 3.5vw, 48px);
  font-weight: 400;
  color: #fff;
  opacity: 0.95;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}
.hero-discover:hover { opacity: 1; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 55;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  margin: 8px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Mobile carousel roles */
@media (max-width: 639px) {
  .hero-slide {
    width: min(88vw, 520px);
    height: min(68vh, 560px);
  }
  .hero-slide.role-center {
    transform: translate(-50%, -50%) translateX(0) scale(1.12);
  }
  .hero-slide.role-left {
    transform: translate(-50%, -50%) translateX(-44vw) scale(0.42);
    opacity: 0.55;
  }
  .hero-slide.role-right {
    transform: translate(-50%, -50%) translateX(44vw) scale(0.42);
    opacity: 0.55;
  }
  .hero-slide.role-back {
    transform: translate(-50%, -50%) translateX(0) scale(0.32);
    opacity: 0.2;
  }
  .hero-panel-desc { display: none; }
  .hero-panel { max-width: 260px; }
  .hero-discover { font-size: clamp(16px, 5vw, 24px); }
  .hero-discover svg { width: 20px; height: 20px; }
  .hero-scroll { display: none; }
}

@media (min-width: 640px) {
  .hero-panel {
    bottom: 80px;
    left: 96px;
  }
  .hero-discover {
    bottom: 80px;
    right: 40px;
  }
}

/* Trust Bar */
.trust-bar {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(255, 45, 45,0.05) 0%, transparent 100%);
  border-top: 1px solid var(--color-glass-border);
  border-bottom: 1px solid var(--color-glass-border);
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* About — Minimal Editorial */
.about-minimal {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.about-minimal-inner {
  max-width: 960px;
  margin: 0 auto;
}

.about-minimal-label-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.about-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  flex-shrink: 0;
}

.about-minimal-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 45, 45, 0.4), rgba(255, 255, 255, 0.06));
}

.about-headline {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 48px;
  max-width: 14ch;
}

.about-headline em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.about-minimal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-minimal-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
}

.about-minimal-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.45);
}

.about-minimal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-minimal-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-stat-value {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1;
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.about-minimal-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.about-pillar {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.35s var(--transition);
}

.about-pillar:hover {
  border-top-color: rgba(255, 45, 45, 0.5);
}

.about-pillar-index {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-red);
  margin-bottom: 16px;
}

.about-pillar h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 10px;
}

.about-pillar p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.about-minimal-footer {
  display: flex;
  justify-content: flex-start;
}

.about-minimal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.3s var(--transition), border-color 0.3s var(--transition), gap 0.3s var(--transition);
}

.about-minimal-cta:hover {
  color: var(--color-red);
  border-color: var(--color-red);
  gap: 14px;
}

/* Light Sections */
.section-light {
  background: #FFFFFF;
  color: rgba(13, 13, 13, 0.85);
}

.section-light .section-title { color: #0D0D0D; }
.section-light .section-desc { color: rgba(13, 13, 13, 0.55); }
.section-light .section-tag {
  background: var(--color-red-dim);
  color: var(--color-red);
}

/* Tilt Cards — Interactive Hover */
.tilt-card {
  position: relative;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
  transition: box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
}

.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 45, 45, 0.18) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 45, 45, 0) 0%,
    rgba(255, 45, 45, calc(var(--spot-intensity, 0) * 0.5)) 50%,
    rgba(255, 45, 45, 0) 100%
  );
  opacity: var(--spot-intensity, 0);
  pointer-events: none;
  z-index: 1;
}

.tilt-card:hover {
  border-color: rgba(255, 45, 45, 0.35);
  box-shadow: 0 24px 64px rgba(255, 45, 45, 0.12);
}

.tilt-card:hover::before { opacity: 1; }

.section-light .tilt-card {
  background: #F7F7F7;
  border-color: rgba(13, 13, 13, 0.08);
}

.section-light .tilt-card:hover {
  border-color: rgba(255, 45, 45, 0.3);
  box-shadow: 0 20px 56px rgba(255, 45, 45, 0.1);
}

.section-light .tilt-card::before {
  background: radial-gradient(
    circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 45, 45, 0.12) 0%,
    transparent 55%
  );
}

/* Why Choose Us */
/* Why Choose Us — Background Image */
.why-bg {
  position: relative;
  overflow: hidden;
  background: url('https://i.natgeofe.com/n/3c77713e-59aa-4d16-9b57-8842971cc83d/GettyImages-612218044.jpg') center center / cover no-repeat;
}

.why-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 0;
  pointer-events: none;
}

.why-content {
  position: relative;
  z-index: 1;
}

.why-bg .section-title,
.why-bg .why-card h3 {
  color: var(--color-white);
}

.why-bg .why-card p {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .why-bg {
    background-attachment: scroll;
  }
}

.why-compact { padding-top: 72px; padding-bottom: 72px; }

.section-header-compact {
  margin-bottom: 36px;
  text-align: center;
}

.section-header-compact .section-desc { display: none; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-grid-compact {
  gap: 16px;
}

.why-card {
  padding: 36px 28px;
  transition: border-color 0.35s var(--transition), box-shadow 0.35s var(--transition);
}

.why-compact .why-card {
  padding: 22px 20px;
}

.why-card:hover {
  border-color: rgba(255, 45, 45, 0.3);
}

.why-icon { margin-bottom: 20px; transition: transform 0.35s var(--transition); }

.why-compact .why-icon {
  margin-bottom: 12px;
}

.why-compact .why-icon svg {
  width: 28px;
  height: 28px;
}

.tilt-card:hover .why-icon {
  transform: scale(1.1) translateZ(20px);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 3;
}

.why-compact .why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 3;
}

.why-compact .why-card p {
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Services */
.services { padding-top: 80px; padding-bottom: 80px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px 22px;
  transition: border-color 0.35s var(--transition), box-shadow 0.35s var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
}

.service-card:hover {
  border-color: rgba(255, 45, 45, 0.25);
}

.section-light .service-card h3 {
  color: #0D0D0D;
}

.section-light .service-card p {
  color: rgba(13, 13, 13, 0.55);
}

.tilt-card:hover .service-icon {
  transform: scale(1.12) translateZ(16px);
}

.service-icon {
  margin-bottom: 20px;
  transition: transform 0.35s var(--transition);
  position: relative;
  z-index: 3;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 3;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-red);
  transition: gap 0.3s var(--transition);
  position: relative;
  z-index: 3;
}

.service-link:hover { gap: 10px; }

/* Destinations */
.destinations { overflow: hidden; }

.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid var(--color-glass-border);
  border-bottom: 1px solid var(--color-glass-border);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-top { margin-bottom: 48px; border-top: none; }
.marquee-bottom { margin-top: 48px; border-bottom: none; }

.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-reverse .marquee-track {
  animation-direction: reverse;
}

.marquee-track span {
  font-family: var(--font-hero);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.marquee-track span:nth-child(odd) {
  color: rgba(255, 45, 45, 0.25);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  transition: transform 0.4s var(--transition);
  background: var(--dest-bg, #0D0D0D);
}

.dest-card:hover { transform: scale(1.03); }

.dest-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--transition), filter 0.4s var(--transition);
}

.dest-card:hover .dest-img-wrap img {
  transform: scale(1.1);
  filter: saturate(1.15) brightness(1.05);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.35) 50%, rgba(13,13,13,0.15) 100%);
  transition: background 0.4s;
  z-index: 1;
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(255, 45, 45,0.12) 45%, rgba(13,13,13,0.2) 100%);
}

.dest-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.dest-flag { font-size: 1.5rem; display: block; margin-bottom: 8px; }

.dest-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.dest-content p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.dest-visas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dest-visas li {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--color-red-dim);
  border: 1px solid rgba(255, 45, 45, 0.2);
  border-radius: 50px;
  color: var(--color-red);
}

/* Study Abroad — Advanced Layout */
.study-advanced { padding-top: 80px; padding-bottom: 80px; }

.study-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.study-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.study-featured-visual {
  background: var(--study-bg, #BC002D);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 100%;
}

.study-featured-visual img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.25));
  transition: transform 0.5s var(--transition);
}

.study-featured:hover .study-featured-visual img {
  transform: scale(1.06) translateY(-4px);
}

.study-featured-body {
  padding: 32px 28px;
  position: relative;
  z-index: 3;
}

.study-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.study-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: var(--color-red);
  color: #fff;
  border-radius: 50px;
}

.study-badge-outline {
  background: transparent;
  border: 1px solid rgba(13, 13, 13, 0.15);
  color: rgba(13, 13, 13, 0.7);
}

.study-featured-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #0D0D0D;
  margin-bottom: 12px;
}

.study-featured-desc {
  font-size: 0.9rem;
  color: rgba(13, 13, 13, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.study-metrics {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.study-metric strong {
  display: block;
  font-size: 1rem;
  color: #0D0D0D;
  margin-bottom: 2px;
}

.study-metric span {
  font-size: 0.72rem;
  color: rgba(13, 13, 13, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.study-perks {
  margin-bottom: 24px;
}

.study-perks li {
  font-size: 0.85rem;
  color: rgba(13, 13, 13, 0.65);
  padding: 6px 0 6px 20px;
  position: relative;
}

.study-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
}

.study-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.study-card-adv {
  padding: 22px 24px;
}

.study-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}

.study-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--study-bg, #0D0D0D);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.study-card-thumb img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.4s var(--transition);
}

.tilt-card:hover .study-card-thumb img {
  transform: scale(1.1);
}

.study-card-tag {
  font-size: 0.72rem;
  color: var(--color-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.study-card-adv h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0D0D0D;
}

.study-card-details {
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.study-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
  font-size: 0.82rem;
}

.study-detail-row:last-child { border-bottom: none; }

.study-detail-row span {
  color: rgba(13, 13, 13, 0.45);
}

.study-detail-row strong {
  color: #0D0D0D;
  font-weight: 600;
}

.study-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-red);
  position: relative;
  z-index: 3;
  transition: letter-spacing 0.3s var(--transition);
}

.study-card-link:hover { letter-spacing: 0.04em; }

/* Legacy study grid (unused) */
.study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.study-card { padding: 32px; }
.study-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-glass-border);
}
.study-flag { font-size: 2rem; }
.study-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
}
.study-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.study-detail:last-child { border-bottom: none; }
.study-detail strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
}
.study-detail span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Migration Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-glass-border);
}
.timeline-line-fill {
  width: 100%;
  height: 0%;
  background: var(--color-red);
  transition: height 1.5s var(--transition);
}
.timeline.animated .timeline-line-fill { height: 100%; }

.timeline-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-black);
  border: 2px solid var(--color-red);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-red);
  z-index: 1;
}
.timeline-content { flex: 1; padding: 20px 24px; }
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Stagger Testimonials */
.stagger-testimonials {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-glass-border);
}

.stagger-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.stagger-card {
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
  border: 2px solid var(--color-glass-border);
  padding: 32px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease,
              background 0.5s ease,
              color 0.5s ease;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
}

.stagger-card::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 48px;
  width: 70.71px;
  height: 2px;
  background: var(--color-glass-border);
  transform-origin: top right;
  transform: rotate(45deg);
}

.stagger-card.is-center {
  z-index: 10;
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  box-shadow: 0 8px 0 4px rgba(255, 45, 45, 0.25);
}

.stagger-card:not(.is-center):hover {
  border-color: rgba(255, 45, 45, 0.45);
}

.stagger-card-photo {
  width: 48px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
  box-shadow: 3px 3px 0 rgba(13, 13, 13, 0.85);
}

.stagger-card.is-center .stagger-card-photo {
  box-shadow: 3px 3px 0 rgba(13, 13, 13, 0.35);
}

.stagger-card-quote {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.stagger-card.is-center .stagger-card-quote {
  color: #fff;
}

.stagger-card:not(.is-center) .stagger-card-quote {
  color: var(--color-text);
}

.stagger-card-by {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  font-size: 0.82rem;
  font-style: italic;
  margin: 0;
}

.stagger-card.is-center .stagger-card-by {
  color: rgba(255, 255, 255, 0.85);
}

.stagger-card:not(.is-center) .stagger-card-by {
  color: var(--color-text-muted);
}

.stagger-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.stagger-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.85);
  border: 2px solid var(--color-glass-border);
  color: var(--color-white);
  transition: background 0.3s var(--transition), border-color 0.3s var(--transition), color 0.3s var(--transition);
}

.stagger-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.stagger-btn:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .stagger-testimonials {
    height: 520px;
  }

  .stagger-card {
    padding: 24px;
    clip-path: polygon(36px 0%, calc(100% - 36px) 0%, 100% 36px, 100% 100%, calc(100% - 36px) 100%, 36px 100%, 0 100%, 0 0);
  }

  .stagger-card::before {
    top: 34px;
    width: 50.9px;
  }

  .stagger-card-by {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}

/* Legacy carousel (unused) */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s var(--transition);
}
.testimonial-card {
  min-width: 100%;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-red);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 24px;
}
.testimonial-author strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--color-red);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.3s var(--transition);
}
.carousel-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-glass-border);
  transition: all 0.3s var(--transition);
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--color-red);
  width: 24px;
  border-radius: 4px;
}

/* University Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.partner-logo {
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius);
  transition: all 0.4s var(--transition);
  filter: grayscale(100%);
  opacity: 0.6;
}
.partner-logo span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 45, 45, 0.1);
}

/* Process Flow */
.process-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}
.process-line {
  position: absolute;
  top: 68px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-glass-border);
}
.process-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-red), rgba(255,45,45,0.3));
  transition: width 2s var(--transition);
}
.process-flow.animated .process-line-fill { width: 100%; }

.process-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-black);
  border: 2px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.4s var(--transition);
}
.process-step:hover .process-icon {
  border-color: var(--color-red);
  box-shadow: 0 0 20px var(--color-red-dim);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 4px;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-glass-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-red);
  transition: transform 0.3s var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--color-red); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition);
}
.faq-answer p {
  padding-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; }

/* CTA Banner */
.cta-banner { padding: 80px 0; }
.cta-content {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(255, 45, 45,0.08) 0%, rgba(255,255,255,0.03) 100%);
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.contact-details a:hover { color: var(--color-red); }

.contact-form-wrapper { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--color-black); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error {
  display: block;
  font-size: 0.75rem;
  color: #ff6b6b;
  margin-top: 4px;
  min-height: 18px;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #ff6b6b; }

.form-success {
  text-align: center;
  padding: 40px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin: 16px 0 8px;
}
.form-success p { color: var(--color-text-muted); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
}
.location-info { padding: 32px; }
.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 8px;
}
.location-info > p { color: var(--color-text-muted); margin-bottom: 24px; }
.location-info ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.location-info a:hover { color: var(--color-red); }
.location-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  min-height: 400px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.location-map.is-loaded {
  background: transparent;
  animation: none;
}

.location-map iframe { width: 100%; height: 400px; display: block; }

/* Footer */
.footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--color-glass-border);
  padding: 80px 0 0;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-muted);
  transition: all 0.3s;
}
.footer-social a:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 20px;
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--color-red); }

.newsletter-form label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 8px;
}
.newsletter-input {
  display: flex;
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  overflow: hidden;
}
.newsletter-input input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.85rem;
}
.newsletter-input input:focus { outline: none; }
.newsletter-input button {
  padding: 10px 14px;
  color: var(--color-red);
  transition: background 0.3s;
}
.newsletter-input button:hover { background: var(--color-red-dim); }
.newsletter-success {
  display: block;
  font-size: 0.8rem;
  color: var(--color-red);
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--color-glass-border);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lazy Image Fade */
img.lazy-img,
img[data-src]:not(.loaded) {
  opacity: 0;
  transition: opacity 0.45s ease;
}

img.lazy-img.loaded,
img[data-src].loaded,
.hero-slide img[src]:not([data-src]) {
  opacity: 1;
}

.hero-slide img:not([src]) {
  opacity: 0;
}

.lazy-iframe {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy-iframe.loaded {
  opacity: 1;
}

/* Reduced Motion */
@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; }
  .hero-enter { opacity: 1; transform: none; animation: none; }
  .hero-ghost { transform: none; }
  .hero-ghost.is-visible { opacity: 0.32; }
  .header-inner::before { animation: none; opacity: 0.3; transform: none; }
  .skel, .img-skeleton, .location-map:not(.is-loaded) {
    animation: none;
    background: rgba(255, 255, 255, 0.06);
  }
  img.lazy-img, img[data-src]:not(.loaded) { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid .trust-item:nth-child(4),
  .trust-grid .trust-item:nth-child(5) { grid-column: span 1; }
  .about-minimal-body { grid-template-columns: 1fr; gap: 20px; }
  .about-minimal-stats { grid-template-columns: repeat(2, 1fr); }
  .about-minimal-pillars { grid-template-columns: 1fr; gap: 24px; }
  .about-headline { max-width: none; }
  .study-showcase { grid-template-columns: 1fr; }
  .study-featured { grid-template-columns: 1fr; }
  .study-featured-visual { min-height: 220px; }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 14px 0;
  }

  .hero-inner {
    height: 100dvh;
    min-height: 520px;
  }

  .section {
    padding: clamp(48px, 10vw, 72px) 0;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marquee-track {
    animation-duration: 36s;
  }

  .stagger-btn {
    width: 48px;
    height: 48px;
  }

  .hero-dot {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition);
    z-index: 999;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  .nav-link {
    font-size: 1.15rem;
    padding: 10px 24px;
    width: 100%;
    text-align: center;
  }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  .social-sidebar {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-glass-border);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .social-link { width: 36px; height: 36px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-minimal-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .destinations-grid { grid-template-columns: 1fr; }
  .dest-card { height: 320px; }
  .study-showcase { grid-template-columns: 1fr; }
  .study-featured { grid-template-columns: 1fr; }
  .study-metrics { flex-wrap: wrap; gap: 16px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }

  .process-flow {
    flex-direction: column;
    gap: 32px;
    padding: 0;
  }
  .process-line { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-content { padding: 40px 24px; }
  .testimonial-card { padding: 32px 20px; }

  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

@media (hover: none) and (pointer: coarse) {
  [data-tilt] {
    transform: none !important;
  }

  [data-tilt]::before {
    opacity: 0 !important;
  }

  .tilt-card:hover {
    transform: none;
  }

  .dest-card:hover .dest-img-wrap img,
  .study-featured:hover .study-featured-visual img,
  .tilt-card:hover .study-card-thumb img {
    transform: none;
  }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .dest-card { height: 280px; }
  .hero-brand { font-size: 0.62rem; letter-spacing: 0.14em; }
  .stagger-testimonials { height: 480px; }
  .loader-skeleton { padding-top: calc(var(--header-height) + 12px); }
  .skel-panel { display: none; }
}

/* Safari / mobile performance — prevents WebKit GPU memory crashes */
html.lite-mode .hero-grain {
  display: none;
}

html.lite-mode .hero-slide {
  will-change: auto;
  filter: none !important;
  transition:
    transform 400ms var(--hero-ease),
    opacity 400ms var(--hero-ease);
}

html.lite-mode .hero-slide img {
  filter: none !important;
}

html.lite-mode .hero-slide:not(.role-center) {
  visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}

html.lite-mode .hero-slide.role-center {
  transform: translate(-50%, -50%) translateX(0) scale(1.05);
}

html.lite-mode .skel,
html.lite-mode .img-skeleton:not(.is-loaded),
html.lite-mode .location-map:not(.is-loaded) {
  animation: none;
  background: rgba(255, 255, 255, 0.06);
}

html.lite-mode .header-inner {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(13, 13, 13, 0.92);
}

html.lite-mode .header-inner::before {
  animation: none;
  opacity: 0;
}

html.lite-mode .nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(13, 13, 13, 0.96);
}

html.lite-mode .nav-list {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.04);
}

html.lite-mode .social-sidebar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.lite-mode .stagger-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.lite-mode .marquee-track {
  animation-duration: 48s;
}

@media (max-width: 768px) {
  .hero-slide {
    will-change: auto;
  }

  .hero-slide img {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  }

  .hero-slide.role-center img {
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
  }

  .hero-slide.role-left,
  .hero-slide.role-right,
  .hero-slide.role-back {
    filter: none;
  }
}
