/* ============================================
   BILANGUE INSTITUTE - DESIGN SYSTEM CSS
   Mobile First • Desktop Refined
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Color Palette - Rich Earthy Tones */
  --primary: #8B2635;           /* Deep Crimson/Burgundy */
  --primary-dark: #5C1A24;      /* Darker Crimson */
  --primary-light: #A93046;      /* Lighter Crimson */
  --primary-pale: #F5E8EA;       /* Pale Pink */

  --secondary: #2C4A5E;          /* Deep Teal Blue */
  --secondary-dark: #1A2F3D;      /* Darker Teal */
  --secondary-light: #3D6278;    /* Lighter Teal */

  --accent: #E8A838;             /* Warm Amber/Gold */
  --accent-dark: #C48B1F;        /* Darker Amber */
  --accent-light: #F5C65C;       /* Lighter Amber */

  --warm: #F4EDE4;               /* Warm Cream */
  --warm-light: #FAF7F3;         /* Light Warm */
  --warm-dark: #E8DDD0;          /* Darker Warm */

  --dark: #1A1A2E;               /* Deep Navy */
  --dark-soft: #2D2D44;          /* Softer Navy */
  --dark-light: #3D3D5C;         /* Light Navy */

  --text: #2A2A2A;               /* Primary Text */
  --text-light: #5A5A6E;         /* Secondary Text */
  --text-muted: #8E8EA0;         /* Muted Text */

  --white: #FFFFFF;
  --off-white: #FAFAF8;

  --success: #2D8B57;
  --error: #DC3545;
  --warning: #E8A838;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes - Mobile First */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 26, 46, 0.1);
  --shadow-xl: 0 16px 48px rgba(26, 26, 46, 0.12);
  --shadow-2xl: 0 24px 64px rgba(26, 26, 46, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
  --z-toast: 600;
}

/* ============================================
   BASE RESET & GLOBAL STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Page Wrapper - Fade In */
.page-wrapper {
  opacity: 0;
  animation: pageFadeIn 0.6s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0.5;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  opacity: 0.8;
}

.cursor-ring.click {
  width: 30px;
  height: 30px;
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--warm);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

@media (min-width: 1024px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-5xl); }
  h3 { font-size: var(--text-4xl); }
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-pale);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--warm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-block {
  width: 100%;
}

/* Button Hover Scale */
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(1);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: var(--space-6);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  color: var(--primary);
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) 0;
}

.navbar.scrolled .nav-link {
  color: var(--text);
}

.navbar.scrolled .nav-logo {
  color: var(--primary);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  background: var(--primary-pale);
  color: var(--primary);
}

.nav-mobile-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 26, 46, 0.9) 0%,
    rgba(44, 74, 94, 0.7) 50%,
    rgba(26, 26, 46, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: var(--space-12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(232, 168, 56, 0.2);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: var(--text-xl);
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .hero-social {
    justify-content: flex-start;
  }
}

.hero-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: var(--transition);
}

.hero-social-link:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.hero-social-link svg {
  width: 20px;
  height: 20px;
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image {
    justify-content: flex-end;
  }
}

.hero-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}

@media (min-width: 640px) {
  .hero-image-wrapper {
    width: 350px;
    height: 350px;
  }
}

@media (min-width: 768px) {
  .hero-image-wrapper {
    width: 400px;
    height: 400px;
  }
}

.hero-image-ring {
  position: absolute;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-image-ring-1 {
  inset: -15px;
  animation-delay: 0s;
}

.hero-image-ring-2 {
  inset: -35px;
  animation-delay: 0.5s;
}

.hero-image-ring-3 {
  inset: -55px;
  animation-delay: 1s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.02); }
}

.hero-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-2xl);
}

.hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--white);
  opacity: 0.5;
}

/* Hero Stats Badge */
.hero-stats-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: floatBadge 3s ease-in-out infinite;
}

@media (max-width: 639px) {
  .hero-stats-badge {
    right: 0;
    bottom: -10px;
  }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-stats-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stats-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--white);
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--warm-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-wrapper {
  background: var(--primary);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-right: var(--space-8);
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--warm-light);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-pale), var(--warm));
  border-radius: var(--radius-xl);
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: var(--transition);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   ABOUT / AUTHORITY SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--white);
  opacity: 0.3;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 767px) {
  .about-floating-card {
    bottom: -15px;
    right: 10px;
  }
}

.about-content {
  padding: var(--space-4) 0;
}

.about-subtitle {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.about-title {
  margin-bottom: var(--space-6);
}

.about-desc {
  color: var(--text-light);
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
}

.credential-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success);
  border-radius: 50%;
  color: var(--white);
}

.credential-icon svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  position: relative;
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--dark), var(--secondary-dark));
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.3;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 26, 46, 0.9),
    rgba(44, 74, 94, 0.8));
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.parallax-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--white);
}

@media (min-width: 768px) {
  .parallax-title {
    font-size: var(--text-4xl);
  }
}

.parallax-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ============================================
   VIDEO GRID SECTION
   ============================================ */
.videos {
  background: var(--warm-light);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark);
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  opacity: 0.5;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.video-play-btn::before {
  content: '';
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
}

.video-play-btn::after {
  content: '';
  position: absolute;
  border-left: 20px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
  transition: var(--transition);
}

.video-card:hover .video-play-btn::before {
  transform: scale(1.1);
  background: var(--accent);
}

.video-info {
  padding: var(--space-4);
}

.video-source-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: var(--error);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.video-source-badge svg {
  width: 10px;
  height: 10px;
}

.video-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   LEAD CAPTURE FORM
   ============================================ */
.lead-capture {
  background: var(--white);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-features {
  padding: var(--space-4) 0;
}

.lead-features-title {
  margin-bottom: var(--space-6);
}

.lead-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.lead-feature-item {
  display: flex;
  gap: var(--space-4);
}

.lead-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.lead-feature-icon svg {
  width: 24px;
  height: 24px;
}

.lead-feature-text h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.lead-feature-text p {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.form-card {
  background: var(--warm);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.form-title {
  text-align: center;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 2px solid var(--warm-dark);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-pale);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-4);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--success);
  color: var(--white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: var(--z-toast);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--warm-light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

.testimonial-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.testimonial-avatar-placeholder svg {
  width: 24px;
  height: 24px;
}

.testimonial-author-info h4 {
  font-size: var(--text-sm);
  font-weight: 600;
}

.testimonial-author-info p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, var(--white) 1px, transparent 0);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-title {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-desc {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--dark);
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-6);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer-bottom-link:hover {
  color: var(--accent);
}

/* ============================================
   FLOATING BUTTONS (WhatsApp + Chat)
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: var(--z-fixed);
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateX(120%);
  opacity: 0;
  animation: slideInRight 0.5s ease forwards;
  transition: var(--transition);
}

.floating-btn:nth-child(1) {
  animation-delay: 0.2s;
}

.floating-btn:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.floating-btn svg {
  width: 20px;
  height: 20px;
}

.floating-btn:hover {
  transform: translateX(-4px) scale(1.02);
}

.floating-btn-whatsapp {
  background: #25D366;
  color: var(--white);
  animation: slideInRight 0.5s ease forwards, pulse 2s ease-in-out infinite 1s;
}

.floating-btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow-xl), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: var(--shadow-xl), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.floating-btn-chat {
  background: var(--primary);
  color: var(--white);
}

.floating-btn-label {
  display: none;
}

@media (min-width: 768px) {
  .floating-btn-label {
    display: inline;
  }
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-btn {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-fixed);
  transition: var(--transition);
  transform: scale(0);
  animation: popIn 0.4s ease 0.6s forwards;
}

@keyframes popIn {
  to { transform: scale(1); }
}

.chatbot-btn:hover {
  transform: scale(1.1);
  background: var(--secondary-dark);
}

.chatbot-btn svg {
  width: 28px;
  height: 28px;
}

.chatbot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.chatbot-overlay.active {
  opacity: 1;
  visibility: visible;
}

.chatbot-window {
  position: fixed;
  bottom: 90px;
  left: var(--space-6);
  width: calc(100% - var(--space-12));
  max-width: 400px;
  max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.chatbot-overlay.active + .chatbot-window,
.chatbot-window.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: var(--space-5);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.chatbot-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.chatbot-avatar svg {
  width: 24px;
  height: 24px;
}

.chatbot-header-text h3 {
  font-size: var(--text-base);
  color: var(--white);
  font-weight: 600;
}

.chatbot-header-text p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
}

.chatbot-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chatbot-close svg {
  width: 18px;
  height: 18px;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}

.chatbot-welcome {
  text-align: center;
  margin-bottom: var(--space-6);
}

.chatbot-welcome h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.chatbot-welcome p {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.chatbot-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.chatbot-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--warm);
  border-radius: var(--radius-xl);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  text-align: center;
}

.chatbot-option:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.chatbot-option svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.chatbot-option:hover svg {
  color: var(--white);
}

/* Chat Messages */
.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chat-message {
  display: flex;
  gap: var(--space-2);
  max-width: 85%;
  animation: messageFadeIn 0.3s ease;
}

@keyframes messageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-message.bot .chat-message-icon {
  background: var(--primary-pale);
  color: var(--primary);
}

.chat-message.user .chat-message-icon {
  background: var(--secondary);
  color: var(--white);
}

.chat-message-icon svg {
  width: 16px;
  height: 16px;
}

.chat-message-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.chat-message.bot .chat-message-bubble {
  background: var(--warm);
  color: var(--text);
  border-top-left-radius: var(--radius-sm);
}

.chat-message.user .chat-message-bubble {
  background: var(--primary);
  color: var(--white);
  border-top-right-radius: var(--radius-sm);
}

/* Chat Actions */
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.chat-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--white);
  border: 1px solid var(--warm-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.chat-action:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.chat-action svg {
  width: 14px;
  height: 14px;
}

/* Chat Input */
.chatbot-input-area {
  padding: var(--space-4);
  border-top: 1px solid var(--warm-dark);
  display: flex;
  gap: var(--space-3);
}

.chatbot-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--warm);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
}

.chatbot-input:focus {
  outline: none;
  background: var(--warm-dark);
}

.chatbot-send {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.chatbot-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.chatbot-send svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animations for grid items */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }

/* ============================================
   PAGE SPECIFIC - ABOUT
   ============================================ */
.about-hero {
  padding-top: 140px;
  padding-bottom: var(--space-16);
  background: var(--warm-light);
  text-align: center;
}

.timeline-section {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--warm-dark);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
  }
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: var(--space-8);
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-8);
    padding-right: 0;
  }
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: auto;
    right: -12px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
    right: auto;
  }
}

.timeline-content {
  background: var(--warm);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
}

.timeline-year {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale), var(--warm));
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0.5;
}

/* ============================================
   PAGE SPECIFIC - SERVICES
   ============================================ */
.services-hero {
  padding-top: 140px;
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
  color: var(--white);
}

.services-hero h1 {
  color: var(--white);
}

.services-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  color: var(--dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-header {
  padding: var(--space-8);
  text-align: center;
  border-bottom: 1px solid var(--warm-dark);
}

.pricing-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-features {
  padding: var(--space-6);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--text);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-footer {
  padding: var(--space-6);
  text-align: center;
}

/* FAQ Accordion */
.faq-section {
  background: var(--warm-light);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.7;
}

/* Process Steps */
.process-steps {
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: var(--space-16);
  padding-bottom: var(--space-8);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* ============================================
   PAGE SPECIFIC - VIDEOS
   ============================================ */
.videos-hero {
  padding-top: 140px;
  padding-bottom: var(--space-16);
  background: var(--dark);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.videos-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.8;
}

.videos-hero-content {
  position: relative;
  z-index: 2;
}

.videos-hero h1 {
  color: var(--white);
}

.videos-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.video-filter-btn {
  padding: var(--space-2) var(--space-5);
  background: var(--white);
  border: 2px solid var(--warm-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.video-filter-btn:hover,
.video-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.video-load-more {
  text-align: center;
  margin-top: var(--space-10);
}

/* ============================================
   PAGE SPECIFIC - TESTIMONIALS
   ============================================ */
.testimonials-hero {
  padding-top: 140px;
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  text-align: center;
  color: var(--white);
}

.testimonials-hero h1 {
  color: var(--white);
}

.testimonials-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

.video-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.video-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.video-testimonial-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark);
}

.video-testimonial-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-testimonial-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-testimonial-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  opacity: 0.5;
}

.video-testimonial-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-testimonial-info {
  padding: var(--space-4);
}

.video-testimonial-name {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.video-testimonial-role {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Before/After Stats */
.before-after-stats {
  background: var(--warm);
}

.stats-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .stats-compare {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-compare-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
}

.stats-compare-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  color: var(--text-muted);
}

.stats-compare-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
}

.stats-compare-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
}

.stats-compare-num.before {
  color: var(--error);
}

.stats-compare-num.after {
  color: var(--success);
}

.stats-compare-arrow {
  color: var(--text-muted);
}

.stats-compare-arrow svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   PAGE SPECIFIC - BOOK
   ============================================ */
.book-page {
  padding-top: 120px;
  min-height: 100vh;
  background: var(--warm-light);
}

.book-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.book-header h1 {
  margin-bottom: var(--space-4);
}

/* Progress Steps */
.book-progress {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-12);
}

.book-progress-steps {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.book-progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.book-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--warm-dark);
  color: var(--text-muted);
  transition: var(--transition);
}

.book-progress-step.active .book-step-number,
.book-progress-step.completed .book-step-number {
  background: var(--primary);
  color: var(--white);
}

.book-step-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 639px) {
  .book-step-label {
    display: none;
  }
}

.book-progress-line {
  width: 40px;
  height: 2px;
  background: var(--warm-dark);
}

@media (min-width: 640px) {
  .book-progress-line {
    width: 60px;
  }
}

/* Wizard Form */
.book-wizard {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.book-step {
  display: none;
}

.book-step.active {
  display: block;
  animation: stepFadeIn 0.4s ease;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.book-step h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  text-align: center;
}

/* Service Selection */
.service-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-option {
  padding: var(--space-5);
  background: var(--warm);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.service-option:hover {
  border-color: var(--primary);
}

.service-option.selected {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.service-option-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-option.selected .service-option-icon {
  background: var(--primary);
  color: var(--white);
}

.service-option-icon svg {
  width: 24px;
  height: 24px;
}

.service-option-text h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.service-option-text p {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Date Selection */
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.date-day-header {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-2);
}

.date-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: var(--warm);
}

.date-cell:hover:not(.disabled) {
  background: var(--primary);
  color: var(--white);
}

.date-cell.selected {
  background: var(--primary);
  color: var(--white);
}

.date-cell.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.date-cell.today {
  border: 2px solid var(--accent);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .time-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

.time-slot {
  padding: var(--space-3);
  text-align: center;
  background: var(--warm);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot:hover {
  border-color: var(--primary);
}

.time-slot.selected {
  border-color: var(--primary);
  background: var(--primary-pale);
}

/* Navigation Buttons */
.book-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--warm-dark);
}

/* Confirmation Step */
.confirmation-success {
  text-align: center;
  padding: var(--space-8);
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.confirmation-icon svg {
  width: 40px;
  height: 40px;
}

.confirmation-success h3 {
  margin-bottom: var(--space-4);
}

.confirmation-success p {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.confirmation-details {
  background: var(--warm);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: left;
  margin-bottom: var(--space-6);
}

.confirmation-detail {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--warm-dark);
}

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

.confirmation-detail-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.confirmation-detail-value {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}

.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ============================================
   SPINNER
   ============================================ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
