/* ════════════════════════════════════════════════════════════════════
   USHA'S SKILLS VILLE — PREMIUM LIGHT THEME
   Advanced UI  ·  Editorial aesthetic  ·  Brand palette from logo
   ════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
  /* Light palette */
  --bg: #FAFAF7;
  --bg-warm: #F5F2ED;
  --bg-cream: #FFF9F0;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A2E;
  --bg-dark-alt: #252540;

  --text: #1A1A2E;
  --text-secondary: #4A4A5E;
  --text-muted: #8A8A9E;
  --text-light: #FFFFFF;

  /* Brand palette from Skills Ville logo */
  --red: #E8273A;
  --red-soft: rgba(232, 39, 58, 0.08);
  --orange: #F7941D;
  --orange-soft: rgba(247, 148, 29, 0.08);
  --yellow: #FFD200;
  --yellow-soft: rgba(255, 210, 0, 0.1);
  --green: #39B54A;
  --green-soft: rgba(57, 181, 74, 0.08);
  --teal: #00B7C6;
  --teal-soft: rgba(0, 183, 198, 0.08);
  --purple: #8B3A9F;
  --gold: #F5B731;

  --gradient-brand: linear-gradient(135deg, #E8273A 0%, #F7941D 25%, #FFD200 50%, #39B54A 75%, #00B7C6 100%);
  --gradient-warm: linear-gradient(135deg, #E8273A, #F7941D, #FFD200);
  --gradient-cta: linear-gradient(135deg, #E8273A, #8B3A9F);

  /* Borders & shadows */
  --border: rgba(26, 26, 46, 0.08);
  --border-hover: rgba(26, 26, 46, 0.16);
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.1);
  --shadow-xl: 0 24px 60px rgba(26, 26, 46, 0.14);
  --shadow-glow: 0 8px 30px rgba(232, 39, 58, 0.15);

  /* Typography */
  --font-ui: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 12rem;

  --max-width: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-mid: 0.5s;
  --dur-slow: 0.8s;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-pill: 100vmax;
}

[data-theme="dark"] {
  --bg: #0D0D12;
  --bg-warm: #13131A;
  --bg-cream: #16161E;
  --bg-card: #1C1C26;
  
  --text: #FFFFFF;
  --text-secondary: #C8C8DC;
  --text-muted: #A8A8BC;
  --border: rgba(255, 255, 255, 0.18);
  --border-hover: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8);
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  /* Lenis handles smooth scroll */
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  cursor: none;
}

/* Restore cursor on touch devices */
@media (hover: none) {

  body,
  a,
  button,
  input,
  select,
  textarea {
    cursor: auto;
  }

  .cursor {
    display: none !important;
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Utilities ──────────────────────────────────────────────────── */
.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tag pills */
.tag--red {
  background: var(--red-soft);
  color: var(--red);
}

.tag--orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.tag--green {
  background: var(--green-soft);
  color: var(--green);
}

.tag--teal {
  background: var(--teal-soft);
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-cta);
  color: var(--text-light);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(232, 39, 58, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}

.btn--ghost:hover {
  background: var(--text);
  color: var(--text-light);
  border-color: var(--text);
}

.btn--light {
  background: #FFFFFF !important;
  color: #1A1A2E !important;
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #EAEAEA !important;
  color: #1A1A2E !important;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn svg {
  transition: transform var(--dur-mid) var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ════════════════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -3px;
  transition: transform 0.1s;
}

.cursor__circle {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -20px;
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    top 0.3s var(--ease), left 0.3s var(--ease),
    border-color 0.3s;
}

.cursor.is-hover .cursor__circle {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: rgba(255, 255, 255, 0.9);
}

/* ════════════════════════════════════════════════════════════════════
   LOADER
   ════════════════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader.is-hidden {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  width: min(300px, 80vw);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.loader.is-hidden .loader__inner {
  opacity: 0;
  transform: translateY(-40px);
}

.loader__logo-wrap {
  margin-bottom: var(--space-md);
}

.loader__logo-img {
  height: clamp(120px, 25vh, 220px);
  margin: 0 auto;
}

.loader__bar-track {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.loader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.loader__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem var(--gutter);
  transition: background var(--dur-mid) var(--ease), box-shadow var(--dur-mid);
}

.header.is-scrolled {
  background: transparent;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--shadow-sm);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header__logo-img {
  height: clamp(60px, 8vh, 96px);
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
  transition: width var(--dur-mid) var(--ease);
}

.header__link:hover {
  color: var(--text);
}

.header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.theme-toggle:hover {
  background: var(--bg-warm);
  transform: scale(1.05);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .moon-icon {
  display: none;
}
[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
  color: var(--text-light);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: var(--shadow-glow);
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(232, 39, 58, 0.3);
}

/* Hamburger */
.header__menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
}

.header__menu span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease);
  transform-origin: center;
}

.header__menu.is-active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.header__menu.is-active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 899;
  background: rgba(250, 250, 247, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-mid), visibility var(--dur-mid);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--dur-fast);
}

.mobile-nav__link:hover {
  color: var(--red);
}

/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-warm);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(250, 250, 247, 0.92) 0%,
      rgba(255, 249, 240, 0.88) 40%,
      rgba(245, 242, 237, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero__title-word.accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}

.hero__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
}

.hero__tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.hero__future-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-warm), var(--bg-warm)) padding-box,
    var(--gradient-brand) border-box;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
}

/* Floating shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.shape--hex {
  width: 60px;
  height: 52px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--gradient-brand);
}

.shape--circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-warm);
}

.shape--1 {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.shape--2 {
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

.shape--3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 4s;
}

.shape--4 {
  bottom: 15%;
  right: 20%;
  animation-delay: 1s;
  width: 40px;
  height: 35px;
}

.shape--5 {
  top: 40%;
  right: 5%;
  animation-delay: 3s;
  width: 24px;
  height: 24px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) rotate(5deg);
  }

  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero__scroll-cue span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--bg-dark);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee__dot {
  color: var(--yellow);
  font-size: 0.7rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ════════════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════════════ */
.bigtext,
.about,
.programs,
.showcase,
.features,
.branches,
.testimonials,
.contact,
.footer {
  position: relative;
  z-index: 10;
}

.about {
  padding: var(--space-4xl) 0;
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.about__text strong {
  color: var(--text);
  font-weight: 700;
}

.about__text em {
  font-family: var(--font-display);
  color: var(--orange);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat:hover::before {
  opacity: 1;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__suffix {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ════════════════════════════════════════════════════════════════════
   PROGRAMS
   ════════════════════════════════════════════════════════════════════ */
.programs {
  padding: var(--space-xs) 0 var(--space-2xl) 0;
  background: var(--bg-warm);
}

.programs__header {
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
.programs__header .section-title {
  margin-bottom: 0;
}
.programs__header .label {
  margin-bottom: 0.5rem;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease),
    box-shadow var(--dur-mid) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card__visual {
  position: relative;
  overflow: hidden;
}

.card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card__img-wrap img {
  transform: scale(1.08);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(26, 26, 46, 0.4));
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-light);
  opacity: 0.3;
}

.card__body {
  padding: var(--space-lg);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  transition: gap var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card:hover .card__link {
  gap: 0.6rem;
}

/* ════════════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL PROGRAMS (2026 UI)
   ════════════════════════════════════════════════════════════════════ */
.programs__horizontal {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.programs__track {
  display: flex;
  width: max-content;
  gap: var(--space-2xl);
  padding: 0 var(--gutter);
}

.hcard {
  width: clamp(260px, 25vw, 360px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid);
}

.hcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.hcard__img-wrap {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hcard__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hcard:hover .hcard__img-wrap img {
  transform: scale(1.08);
}

.hcard__body {
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}

.hcard__number {
  position: absolute;
  top: -40px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-light);
  opacity: 0.5;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hcard__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.hcard__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.hcard__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hcard {
    width: 320px;
  }

  .programs__track {
    gap: var(--space-lg);
  }
}

/* ════════════════════════════════════════════════════════════════════
   VIDEO SHOWCASE
   ════════════════════════════════════════════════════════════════════ */
.showcase {
  padding: var(--space-4xl) 0;
  background: var(--bg);
}

.showcase__header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.showcase__player {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.showcase__video-wrap {
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
}

.showcase__video-wrap iframe {
  width: 100%;
  height: 100%;
}

.showcase__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(4px);
  transition: opacity var(--dur-mid);
  cursor: none;
}

.showcase__play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.showcase__play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: var(--text-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur-mid) var(--ease);
}

.showcase__play-btn:hover {
  transform: scale(1.1);
}

.showcase__play-overlay p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════════════ */
.features {
  padding: var(--space-4xl) 0;
  background: var(--bg-warm);
}

.features__header {
  margin-bottom: var(--space-xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--dur-mid) var(--ease),
    box-shadow var(--dur-mid);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.feature__icon {
  font-size: 1.8rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════
   BRANCHES
   ════════════════════════════════════════════════════════════════════ */
.branches {
  padding: var(--space-4xl) 0;
  background: var(--bg);
}

.branches__header {
  margin-bottom: var(--space-xl);
}

.branches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.branch {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid);
}

.branch:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.branch__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.branch:hover .branch__accent {
  opacity: 1;
}

.branch__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.branch__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.branch__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--yellow-soft);
  color: var(--orange);
}

.branch__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.branch__address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--bg-warm);
  overflow: hidden;
}

.testimonials__header {
  margin-bottom: var(--space-xl);
}

.testimonials__carousel {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  overflow: hidden;
  padding: var(--space-md) 0;
}

.testimonials__track {
  display: flex;
  width: fit-content;
  animation: testimonialScroll 40s linear infinite;
  will-change: transform;
}

.testimonials__carousel:hover .testimonials__track {
  animation-play-state: paused;
}

.testimonials__group {
  display: flex;
  gap: var(--space-md);
  padding-right: var(--space-md);
}

.testimonial {
  width: min(420px, 85vw);
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid);
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial__stars {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
}

.testimonial footer strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════════════ */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: var(--bg-dark);
}

.cta-banner__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.cta-banner__inner h2 em {
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-banner__inner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

/* ════════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════════ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__info p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact__detail svg {
  color: var(--red);
  flex-shrink: 0;
}

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group select {
  color: var(--text-muted);
  cursor: none;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 39, 58, 0.1);
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.footer__logo {
  height: 48px;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-2xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

.footer__col a:hover {
  color: var(--red);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__made {
  color: var(--red);
}

/* ════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__links {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__menu {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  .hero__content {
    padding-top: var(--space-3xl);
  }

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .branches__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__top {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero__scroll-cue {
    display: none;
  }

  .cursor {
    display: none;
  }

  body,
  a,
  button,
  input,
  select {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .hero__tags {
    flex-direction: column;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn--full {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════════
   AWWWARDS FEATURES — Film Grain / Progress / Big Text / Horizontal
   ════════════════════════════════════════════════════════════════════ */

/* ─── Film Grain Overlay ─────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

/* ─── Scroll Progress Bar ────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 9999;
  transition: none;
  border-radius: 0 2px 2px 0;
}

/* ─── Cursor Label (shows "View" on card hover) ──────────────────── */
.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
  pointer-events: none;
}

.cursor.is-text .cursor__label {
  opacity: 1;
}

.cursor.is-text .cursor__circle {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  background: rgba(232, 39, 58, 0.85);
  border-color: transparent;
}

.cursor.is-text .cursor__dot {
  opacity: 0;
}

/* ─── Big Text Editorial Section ─────────────────────────────────── */
.bigtext {
  padding: var(--space-4xl) 0;
  background: var(--bg);
  overflow: hidden;
}

.bigtext__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.bigtext__line {
  display: block;
  overflow: hidden;
}

.bigtext__line em {
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Horizontal Scroll Programs ─────────────────────────────────── */
.programs__count {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: calc(-1 * var(--space-md));
}

.programs__horizontal {
  overflow: hidden;
  width: 100%;
}

.programs__track {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) var(--gutter);
  will-change: transform;
}

/* Horizontal Card */
.hcard {
  flex-shrink: 0;
  width: min(520px, 80vw);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease),
    box-shadow var(--dur-mid);
}

.hcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.hcard__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hcard__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.hcard:hover .hcard__img-wrap img {
  transform: scale(1.1);
}

.hcard__body {
  padding: var(--space-lg);
}

.hcard__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-xs);
  display: block;
}

.hcard__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.hcard__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.hcard__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Old card styles (kept for backward compat) ─────────────────── */
.programs__grid {
  display: none;
  /* replaced by horizontal */
}

/* ─── Responsive for horizontal cards ────────────────────────────── */
@media (max-width: 768px) {
  .hcard {
    width: min(340px, 85vw);
  }

  .bigtext__heading {
    font-size: clamp(1.6rem, 8vw, 2.6rem);
  }
}

/* ════════════════════════════════════════════════════════════════════
   2026 UI UX FEATURES — Bento, Magnetic, Toast, Blob
   ════════════════════════════════════════════════════════════════════ */

/* ─── Bento Grid ─────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: var(--space-md);
}

.bento__item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform-style: preserve-3d;
  will-change: transform;
}

.bento__item:hover {
  border-color: rgba(0, 183, 198, 0.3);
}

.bento__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__item--wide {
  grid-column: span 2;
}

.bento__content {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
  /* 3D effect on hover */
  transition: transform 0.4s var(--ease-spring);
}

.bento__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  background: var(--bg-warm);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
}

.bento__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(162, 56, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

.bento__item:hover .bento__glow {
  opacity: 1;
}

.bento__bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(at 0% 0%, hsla(350, 100%, 76%, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(180, 100%, 56%, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(280, 100%, 74%, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(20, 100%, 76%, 0.15) 0px, transparent 50%);
  z-index: 0;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__item--large,
  .bento__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento__item--large,
  .bento__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ─── LIVE NOTIFICATION TOAST ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 9990;
  transform: translateY(120px);
  /* Hidden by default */
  opacity: 0;
  transition: transform 0.6s var(--ease-spring), opacity 0.4s;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast__avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.toast__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 2px;
}

.toast__text {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0;
}

@media (max-width: 600px) {
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem;
  }
}

/* ─── INFINITE GALLERY RIBBON ────────────────────────────────────── */
.gallery-ribbon {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--bg-cream);
  padding: var(--space-xl) 0;
  display: flex;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}

.gallery-ribbon__track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 35s linear infinite;
  gap: var(--space-md);
}

.gallery-ribbon__items {
  display: flex;
  gap: var(--space-md);
  padding-right: var(--space-md);
}

.gallery-ribbon__img {
  width: 320px;
  height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-ribbon__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-ribbon__img:hover img {
  transform: scale(1.08);
}

@keyframes ribbonScroll {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .gallery-ribbon__img {
    width: 240px;
    height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   25) DYNAMIC SPOTLIGHT CARDS (2026 UI)
   ═══════════════════════════════════════════════════════════════════ */
.bento__item::before,
.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--spot-x, 50%) var(--spot-y, 50%),
      rgba(255, 255, 255, 0.06),
      transparent 40%);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  opacity: 0;
}

.bento__item:hover::before,
.hcard:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   26) VIEW TRANSITIONS API (2026 UI)
   ═══════════════════════════════════════════════════════════════════ */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.6s;
  animation-timing-function: var(--ease-spring);
}

/* ═══════════════════════════════════════════════════════════════════
   27) MAGIC LENS CURSOR (2026 UI)
   ═══════════════════════════════════════════════════════════════════ */
.cursor.is-lens .cursor__circle {
  width: 250px;
  height: 250px;
  background: transparent;
  backdrop-filter: invert(1) hue-rotate(180deg);
  -webkit-backdrop-filter: invert(1) hue-rotate(180deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  mix-blend-mode: normal;
}

.cursor.is-lens .cursor__dot {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   28) MAXIMALIST VISUAL DENSITY UPGRADE (2026 UI)
   ═══════════════════════════════════════════════════════════════════ */
/* 28.1 Glassmorphism Cards */
.stat,
.card,
.hcard,
.feature,
.branch,
.testimonial {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
}

.stat:hover,
.card:hover,
.hcard:hover,
.feature:hover,
.branch:hover,
.testimonial:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* 28.2 Ambient Glowing Orbs */
.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: orbFloat 15s infinite alternate ease-in-out;
}

.ambient-bg::before {
  width: 50vw;
  height: 50vw;
  background: var(--orange);
  top: -10%;
  left: -10%;
}

.ambient-bg::after {
  width: 40vw;
  height: 40vw;
  background: var(--teal);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(15%, 15%) scale(1.1);
  }
}

/* 28.3 Massive Background Typography */
.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 28vw;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
  line-height: 1;
  letter-spacing: -0.05em;
}

/* 28.4 Ultra Marquee Upgrade */
.marquee {
  background: transparent;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.marquee__content span {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-muted);
  transition: color 0.4s var(--ease), -webkit-text-stroke 0.4s var(--ease);
}

.marquee__content span:hover {
  color: var(--text);
  -webkit-text-stroke: 0px transparent;
}

.marquee__dot {
  color: var(--red) !important;
  font-size: clamp(1rem, 2vw, 2rem) !important;
  -webkit-text-stroke: 0px !important;
}

/* ═══════════════════════════════════════════════════════════════════
   29) DARK THEME & RESPONSIVE FIT OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] .stat,
[data-theme="dark"] .card,
[data-theme="dark"] .hcard,
[data-theme="dark"] .feature,
[data-theme="dark"] .branch,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .bento__item,
[data-theme="dark"] .contact__form,
[data-theme="dark"] .franchise__card {
  background: rgba(26, 26, 38, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .stat:hover,
[data-theme="dark"] .card:hover,
[data-theme="dark"] .hcard:hover,
[data-theme="dark"] .feature:hover,
[data-theme="dark"] .branch:hover,
[data-theme="dark"] .testimonial:hover,
[data-theme="dark"] .bento__item:hover,
[data-theme="dark"] .franchise__card:hover {
  background: rgba(35, 35, 52, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .bg-text {
  color: rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .mobile-nav {
  background: rgba(13, 13, 18, 0.98) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select {
  background: rgba(18, 18, 26, 0.9) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Mobile Screen Fit & Horizontal Overflow Protection */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__menu {
    display: flex;
  }
  .hero__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .form-row {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .hcard {
    min-width: 85vw;
  }
  .franchise__grid, .contact__grid {
    grid-template-columns: 1fr !important;
  }
}