/* ============================================================
   WISDOM ACADEMY — Global Design System
   Aesthetic: Editorial-Kinetic (Education)
   Base: Light | Motif: Diagonal Cuts
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --brand-primary: #c2410c;
  --brand-primary-dark: #9a3412;
  --brand-primary-light: #fb923c;
  --brand-accent: #f97316;
  --brand-dark: #1c1917;
  --brand-dark-soft: #292524;
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #a8a29e;
  --bg-white: #ffffff;
  --bg-light: #fafaf9;
  --bg-warm: #fff7ed;
  --bg-dark: #1c1917;
  --border-light: #e7e5e4;
  --border-medium: #d6d3d1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body.nav-open { overflow: hidden; }
body.has-popup { overflow: hidden; }

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--brand-primary); border-radius: 3px; }

/* --- Selection --- */
::selection { background: var(--brand-primary); color: #fff; }

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Custom Cursor (desktop) --- */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--brand-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s, height 0.2s;
  mix-blend-mode: multiply;
}
.custom-cursor.hovering {
  width: 36px;
  height: 36px;
  background: rgba(249, 115, 22, 0.25);
  border: 2px solid var(--brand-accent);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  z-index: 10000;
  transition: width 0.1s linear;
  width: 0%;
}

/* --- Ripple Effect --- */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-base);
}
.navbar.transparent { background: transparent; }
.navbar.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.navbar.solid .navbar-logo { color: var(--brand-dark); }
.navbar.transparent .navbar-logo { color: #fff; }
.navbar-logo span { color: var(--brand-primary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.navbar.solid .navbar-nav a { color: var(--text-primary); }
.navbar.transparent .navbar-nav a { color: rgba(255,255,255,0.9); }
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width var(--transition-base);
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }
.navbar-nav a.active { color: var(--brand-primary); }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-phone {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar.solid .navbar-phone { color: var(--text-primary); }
.navbar.transparent .navbar-phone { color: rgba(255,255,255,0.9); }

.btn-call-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-base);
  overflow: hidden;
  position: relative;
}
.btn-call-pill:hover { background: var(--brand-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-base);
  border-radius: 2px;
}
.navbar.transparent .hamburger span { background: #fff; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.open { right: 0; }
.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
  flex: 1;
}
.drawer-links a {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
}
.drawer-links a:hover { color: var(--brand-primary); padding-left: 8px; }
.drawer-links a.active { color: var(--brand-primary); }
.drawer-cta {
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}
.drawer-overlay.active { opacity: 1; visibility: visible; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-base);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}
.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-dark {
  background: var(--brand-dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand-dark-soft);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-header { margin-bottom: 56px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 560px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--brand-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-left { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194,65,12,0.2);
  border: 1px solid rgba(194,65,12,0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary-light);
  margin-bottom: 24px;
  opacity: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0;
  transform: translateY(60px);
}
.hero-title .highlight {
  color: var(--brand-primary-light);
  position: relative;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
}
.trust-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
  font-size: 0.9rem;
}
.trust-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero-right {
  position: relative;
  height: 520px;
}
.hero-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-main div.img-fallback {
  display: none;
  background: var(--brand-primary);
}
.hero-img-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220px;
  background: rgba(28,25,23,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}
.hero-img-card .card-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  line-height: 1;
}
.hero-img-card .card-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero-diagonal {
  position: absolute;
  top: -40px;
  right: 40px;
  width: 200px;
  height: 400px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, transparent 60%);
  transform: skewX(-10deg);
  opacity: 0.3;
  z-index: -1;
}

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker-bar {
  background: var(--brand-primary);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}
.ticker-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-primary), transparent);
}
.ticker-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-primary), transparent);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ticker-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--brand-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-number .suffix { color: var(--brand-primary-light); }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.flip-card {
  height: 380px;
  perspective: 1000px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.flip-card-front {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}
.flip-card:hover .flip-card-front {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}
.flip-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--bg-light);
}
.flip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.flip-card:hover .flip-card-img img { transform: scale(1.05); }
.flip-card-img div.img-fallback { display: none; }
.flip-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.flip-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.flip-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.flip-card-outcome {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.flip-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-warm);
  color: var(--brand-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 12px;
}
.flip-card-hint {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flip-card-back {
  background: var(--brand-dark);
  transform: rotateY(180deg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.flip-card-back-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.flip-card-back-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}
.flip-card-back-outcomes {
  flex: 1;
}
.flip-card-back-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  padding-left: 4px;
}
.flip-card-back-outcomes li i {
  color: var(--brand-primary-light);
  margin-top: 2px;
  flex-shrink: 0;
}
.flip-card-back-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flip-card-back-duration {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.flip-card-back .btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.flip-card-back .btn-sm:hover { background: var(--brand-accent); }

/* ============================================================
   SYLLABUS / PROOF SECTION
   ============================================================ */
.proof-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.syllabus-accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--bg-white);
  transition: var(--transition-base);
}
.accordion-item.active {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
}
.accordion-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.accordion-header i {
  color: var(--text-muted);
  transition: transform var(--transition-base);
}
.accordion-item.active .accordion-header i { transform: rotate(180deg); color: var(--brand-primary); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.active .accordion-body { max-height: 400px; }
.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* Result bars */
.result-bars { display: flex; flex-direction: column; gap: 24px; }
.result-bar-item {}
.result-bar-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.result-bar-pct { color: var(--brand-primary); }
.result-bar-track {
  height: 10px;
  background: var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 10px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.result-bar-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-section { background: var(--bg-white); }
.reviews-wrapper {
  position: relative;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
}
.review-card:nth-child(2) { background: var(--bg-warm); border-color: rgba(194,65,12,0.15); }
.review-card:nth-child(3) { background: var(--bg-light); }
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-quote-icon {
  font-size: 2rem;
  color: var(--brand-primary);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.review-author-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  cursor: pointer;
  transition: var(--transition-base);
}
.reviews-dot.active { background: var(--brand-primary); width: 32px; border-radius: 5px; }
.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: none;
  cursor: pointer;
  transition: var(--transition-base);
}
.reviews-arrow:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.why-statement .accent { color: var(--brand-primary); }
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: var(--transition-base);
}
.why-feature:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.why-feature p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview-section {
  background: var(--brand-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-preview-img {
  position: relative;
  height: 480px;
}
.about-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}
.about-preview-img div.img-fallback {
  display: none;
  background: var(--brand-primary);
}
.about-preview-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, var(--brand-primary) 100%);
  opacity: 0.3;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}
.about-preview-badge {
  position: absolute;
  bottom: 32px;
  left: -16px;
  background: var(--brand-primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.about-preview-badge small {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 2px;
}
.about-preview-content {}
.about-preview-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-primary-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-preview-label::before { content: ''; width: 24px; height: 2px; background: var(--brand-primary-light); }
.about-preview-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-preview-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}
.about-preview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.about-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   LEAD POPUP
   ============================================================ */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  padding: 20px;
}
.lead-popup-overlay.active { opacity: 1; visibility: visible; }
.lead-popup {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--brand-primary);
}
.lead-popup-overlay.active .lead-popup { transform: translateY(0) scale(1); }
.lead-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-base);
}
.lead-popup-close:hover { background: var(--border-light); color: var(--text-primary); }
.lead-popup-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.lead-popup-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}
.lead-popup-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.lead-popup-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: var(--transition-base);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(194,65,12,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
}
.form-group.has-error .form-error { display: block; }
.lead-popup-form .btn { margin-top: 8px; }
.lead-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.lead-success.active { display: block; }
.lead-success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #22c55e;
  font-size: 1.5rem;
}
.lead-success h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.lead-success p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #292524 50%, var(--brand-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 41px
  );
}
.cta-banner-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-primary-light);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  position: relative;
}
.cta-banner-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand-logo span { color: var(--brand-primary); }
.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition-base);
}
.footer-social a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(194,65,12,0.1);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--brand-primary-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--brand-primary-light);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.footer-contact-item span { font-size: 0.85rem; line-height: 1.5; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-hours li span:last-child { color: var(--brand-primary-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: var(--transition-base); }
.footer-bottom a:hover { color: var(--brand-primary-light); }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: fab-pulse 3s ease-in-out infinite;
  transition: var(--transition-base);
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

.fab-chatbot {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  z-index: 500;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
}
.fab-chatbot:hover { transform: scale(1.1); background: var(--brand-primary-dark); }
.fab-chatbot .unread-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.fab-chatbot.open .unread-dot { display: none; }

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 320px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 499;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.chat-widget.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}
.chat-header {
  background: var(--brand-primary);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.chat-header-text h4 { font-size: 0.9rem; font-weight: 700; }
.chat-header-text span { font-size: 0.72rem; opacity: 0.8; }
.chat-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.chat-close:hover { background: rgba(255,255,255,0.25); }
.chat-body {
  padding: 20px;
}
.chat-greeting {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  line-height: 1.5;
}
.chat-quick-replies { display: flex; flex-direction: column; gap: 8px; }
.quick-reply-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-base);
  text-align: left;
  font-family: var(--font-body);
}
.quick-reply-btn:hover {
  border-color: var(--brand-primary);
  background: var(--bg-warm);
  color: var(--brand-primary);
}

/* ============================================================
   MOBILE STICKY BOTTOM BAR
   ============================================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  z-index: 999;
  flex-direction: row;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.mobile-bottom-bar a:first-child { border-right: 1px solid var(--border-light); }
.mobile-bottom-bar .call-btn { color: var(--brand-primary); }
.mobile-bottom-bar .wa-btn { color: #25d366; }

/* ============================================================
   IMAGE FALLBACK
   ============================================================ */
.img-fallback {
  background: var(--brand-primary);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-fallback i { color: rgba(255,255,255,0.4); font-size: 2rem; }

/* ============================================================
   PAGE HEROES (inner pages)
   ============================================================ */
.page-hero {
  background: var(--brand-dark);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
}
.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-primary-light);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
}
.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}
.page-hero-stat {
  text-align: center;
}
.page-hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  line-height: 1;
}
.page-hero-stat .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.bio-section {
  padding: 100px 0;
  background: var(--bg-white);
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bio-img-wrap {
  position: relative;
  height: 480px;
}
.bio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.bio-img-wrap div.img-fallback { display: none; }
.bio-img-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.bio-text {}
.bio-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.bio-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.bio-credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-warm);
  border: 1px solid rgba(194,65,12,0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* Timeline */
.timeline-section {
  background: var(--bg-light);
  padding: 100px 0;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-medium);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; padding-right: 48px; padding-left: 0; }
.timeline-item:nth-child(even) .timeline-content { text-align: left; padding-left: 48px; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid var(--bg-light);
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-content {}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Journey — Codepen v2 Timeline */
.journey-section {
  background: var(--brand-dark);
  padding: 100px 0 50px;
}
.journey-timeline-wrap {
  padding: 50px 0 80px;
}
.journey-timeline {
  background: var(--brand-dark);
  padding: 0;
  list-style: none;
}
.journey-timeline li {
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: rgba(255,255,255,0.15);
}
.journey-timeline li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-primary);
  z-index: 1;
}
.journey-timeline li div {
  position: relative;
  bottom: 0;
  width: 420px;
  padding: 20px 24px;
  background: var(--brand-primary);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.journey-timeline li div::before {
  content: '';
  position: absolute;
  bottom: 12px;
  width: 0;
  height: 0;
  border-style: solid;
}
.journey-timeline li:nth-child(odd) div {
  left: 50px;
}
.journey-timeline li:nth-child(odd) div::before {
  left: -16px;
  border-width: 10px 20px 10px 0;
  border-color: transparent var(--brand-primary) transparent transparent;
}
.journey-timeline li:nth-child(even) div {
  left: -460px;
}
.journey-timeline li:nth-child(even) div::before {
  right: -16px;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent var(--brand-primary);
}
.journey-timeline li time {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.journey-timeline li h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 10px;
  line-height: 1.3;
}
.journey-timeline li p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin: 0;
}
/* in-view animation */
.journey-timeline li::after { transition: background 0.5s ease; }
.journey-timeline li.in-view::after { background: var(--brand-accent); }
.journey-timeline li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.journey-timeline li:nth-child(odd) div { transform: translate3d(200px,0,0); }
.journey-timeline li:nth-child(even) div { transform: translate3d(-200px,0,0); }
.journey-timeline li.in-view div { transform: none; visibility: visible; opacity: 1; }
/* rhombus dot variant */
.journey-timeline.journey-rhombus li::after {
  width: 32px;
  height: 32px;
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.journey-timeline.journey-rhombus li div::before { bottom: 14px; }

/* Tablet */
@media screen and (max-width: 1100px) {
  .journey-timeline li div { width: 280px; }
  .journey-timeline li:nth-child(even) div { left: -310px; }
}
@media screen and (max-width: 900px) {
  .journey-timeline li div { width: 260px; }
  .journey-timeline li:nth-child(even) div { left: -290px; }
}
/* Mobile */
@media screen and (max-width: 600px) {
  .journey-section { padding: 80px 0 40px; }
  .journey-timeline-wrap { padding: 30px 0 50px; }
  .journey-timeline li { margin-left: 20px; }
  .journey-timeline li div { width: calc(100vw - 76px); }
  .journey-timeline li:nth-child(odd) div,
  .journey-timeline li:nth-child(even) div { left: 50px; }
  .journey-timeline li:nth-child(odd) div::before,
  .journey-timeline li:nth-child(even) div::before {
    left: -16px;
    border-width: 10px 20px 10px 0;
    border-color: transparent var(--brand-primary) transparent transparent;
  }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full-section { background: var(--bg-white); padding: 100px 0; }
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-base);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card-full {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  transition: var(--transition-base);
}
.service-card-full:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card-img {
  height: 160px;
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card-full:hover .service-card-img img { transform: scale(1.05); }
.service-card-img div.img-fallback { display: none; }
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.service-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.service-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.service-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* FAQ */
.faq-section { background: var(--bg-light); padding: 100px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-item.active { border-color: var(--brand-primary); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  background: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  gap: 16px;
}
.faq-q i { color: var(--text-muted); transition: transform var(--transition-base); flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(180deg); color: var(--brand-primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section { background: var(--bg-white); padding: 100px 0; }
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-light);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item div.img-fallback { display: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
}
.gallery-item-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }
.lightbox-counter {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--bg-white); padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap {}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.contact-form-wrap > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .btn { margin-top: 8px; align-self: flex-start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
}
.contact-card:hover { border-color: var(--brand-primary); transform: translateX(4px); }
.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-card p a { color: var(--brand-primary); font-weight: 600; }
.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.15);
  line-height: 1;
  position: relative;
  margin-bottom: 24px;
}
.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.error-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 400px;
  margin: 0 auto 36px;
}
.error-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   PWA MANIFEST
   ============================================================ */
.site-manifest { display: none; }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { height: 360px; }
  .hero-left { text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; gap: 48px; }
  .review-card { flex: 0 0 calc(50% - 12px); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-preview-img { height: 360px; }
  .about-preview-img img { clip-path: none; }
  .about-preview-img::after { clip-path: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-img-wrap { height: 360px; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { text-align: left; padding-left: 56px !important; padding-right: 0 !important; }
  .timeline-dot { left: 20px; }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .lead-popup { padding: 36px 24px; }
}

@media (max-width: 768px) {
  .container, .container-sm { padding: 0 20px; }
  .section { padding: 72px 0; }
  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item { border-right: none; padding: 0 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .flip-card { height: auto; }
  .flip-card:hover .flip-card-inner { transform: none; }
  .flip-card-back { display: none; }
  .flip-card-front { border: 2px solid var(--brand-primary); }
  .review-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-img-wrap { height: 280px; }
  .services-full-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 56px; }
  .chat-widget { width: calc(100vw - 32px); right: 16px; }
  .fab-whatsapp { bottom: 16px; right: 16px; }
  .fab-chatbot { bottom: 80px; right: 16px; }
  .lead-popup { border-radius: var(--radius-md) var(--radius-md) 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-width: 100%; transform: translateY(100%); }
  .lead-popup-overlay { align-items: flex-end; }
  .lead-popup-overlay.active .lead-popup { transform: translateY(0); }
  .custom-cursor { display: none; }
  .page-hero-stats { gap: 24px; }
  .services-full-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 16px; }
  .gallery-grid { columns: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-img-card { width: 160px; }
  .hero-img-card .card-stat { font-size: 1.5rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
