/* ==========================================================================
   TRIAS INSTITUTE - ESTILOS MAESTROS
   Estética: Luxury Pine, Forest Emerald & Imperial Gold Prestige
   Paleta: Forest Noir (#1F2C26, #131D19), Slate Teal (#3A5953), Imperial Gold (#E1AB48, #BC8625), Soft Alabaster (#E2D0C8)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Colors */
  --bg-primary: #1F2C26;
  --bg-secondary: #17231E;
  --bg-tertiary: #25362F;
  --bg-obsidian: #131D19;
  --bg-card: rgba(31, 44, 38, 0.75);
  --bg-card-hover: rgba(37, 54, 47, 0.9);
  --bg-glass: rgba(23, 35, 30, 0.75);

  --gold-primary: #E1AB48;
  --gold-light: #F5D77F;
  --gold-dark: #BC8625;
  --gold-gradient: linear-gradient(135deg, #F9E2A8 0%, #E1AB48 50%, #BC8625 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(225, 171, 72, 0.18) 0%, rgba(188, 134, 37, 0.05) 100%);
  --gold-border: rgba(225, 171, 72, 0.35);
  --gold-glow: 0 0 35px rgba(225, 171, 72, 0.35);

  --green-accent: #3A5953;
  --green-light: #527A72;
  --green-glow: 0 0 35px rgba(58, 89, 83, 0.45);
  --green-gradient: linear-gradient(135deg, #527A72 0%, #3A5953 100%);

  --cream-accent: #E2D0C8;
  --cream-light: #FAF8F5;

  --text-primary: #FAF8F5;
  --text-secondary: #C8D1CD;
  --text-muted: #8E9E98;
  --text-gold: #E1AB48;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-gold-subtle: rgba(225, 171, 72, 0.25);

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Outfit', sans-serif;
  --font-display: 'Cinzel', serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 20px 40px rgba(3, 7, 18, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* BACKGROUND CANVAS & GLOWS */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.ambient-glow-gold {
  background: radial-gradient(circle, rgba(225, 171, 72, 0.4) 0%, rgba(225, 171, 72, 0) 70%);
}

.ambient-glow-green {
  background: radial-gradient(circle, rgba(58, 89, 83, 0.45) 0%, rgba(31, 44, 38, 0) 70%);
}

.ambient-glow-blue {
  background: radial-gradient(circle, rgba(58, 89, 83, 0.4) 0%, rgba(31, 44, 38, 0) 70%);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-green-gradient {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-blue-gradient {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-white {
  color: #ffffff;
}

.text-gold {
  color: var(--gold-light);
}

.font-accent {
  font-family: var(--font-accent);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.container-sm {
  max-width: 960px;
}

.container-fluid {
  max-width: 1440px;
}

/* BADGES & CHIPS */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.badge-gold {
  background: rgba(225, 171, 72, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(225, 171, 72, 0.4);
  box-shadow: 0 0 15px rgba(225, 171, 72, 0.18);
}

.badge-green {
  background: rgba(58, 89, 83, 0.25);
  color: #9DE5D6;
  border: 1px solid rgba(58, 89, 83, 0.5);
}

.badge-blue {
  background: rgba(58, 89, 83, 0.25);
  color: #9DE5D6;
  border: 1px solid rgba(58, 89, 83, 0.5);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.95rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-accent);
  border-radius: 12px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #131D19;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(225, 171, 72, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(225, 171, 72, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #0B110F;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
  z-index: 2;
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* CARDS & GLASSMORPHISM */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(3, 7, 18, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}

.glass-panel {
  background: rgba(12, 19, 34, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
}

/* SECTION STRUCTURE */
section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem auto;
  position: relative;
  z-index: 2;
}

.section-header .badge {
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* DECORATIVE CURVED ACCENT BANDS & GLOWS */
.curved-accent-band {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(55px);
  opacity: 0.35;
}

.curved-accent-band-gold {
  background: linear-gradient(135deg, rgba(225, 171, 72, 0.45) 0%, rgba(245, 215, 127, 0.1) 100%);
  transform: rotate(-12deg);
}

.curved-accent-band-green {
  background: linear-gradient(135deg, rgba(58, 89, 83, 0.45) 0%, rgba(31, 44, 38, 0.15) 100%);
  transform: rotate(15deg);
}

.curved-accent-band-blue {
  background: linear-gradient(135deg, rgba(58, 89, 83, 0.45) 0%, rgba(31, 44, 38, 0.15) 100%);
  transform: rotate(15deg);
}

.curved-accent-band-purple {
  background: linear-gradient(135deg, rgba(58, 89, 83, 0.35) 0%, rgba(225, 171, 72, 0.15) 100%);
  transform: rotate(-8deg);
}

/* ==========================================================================
   ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #131D19 0%, #1F2C26 50%, #131D19 100%);
  border-bottom: 1px solid rgba(225, 171, 72, 0.25);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  z-index: 100;
}

.top-announcement .highlight {
  color: var(--gold-light);
  font-weight: 700;
}

.top-announcement a {
  text-decoration: underline;
  margin-left: 0.5rem;
  color: #fff;
  font-weight: 600;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(19, 29, 25, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225, 171, 72, 0.2);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(15, 23, 20, 0.98);
  border-bottom-color: rgba(225, 171, 72, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(225, 171, 72, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.95;
}

.logo-symbol {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform var(--transition-smooth);
}

.brand-logo:hover .logo-symbol {
  transform: scale(1.06);
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.35));
  transition: filter var(--transition-smooth);
}

.brand-mark-white {
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.4));
}

.brand-logo:hover .brand-mark-image {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(225, 171, 72, 0.4));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .main-name {
  color: #ffffff;
  line-height: 1.1;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-text .sub-name {
  color: #E2D0C8;
  font-family: var(--font-accent);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.nav-drawer {
  display: flex;
  align-items: center;
}

.mobile-drawer-actions {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-accent);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 7.5rem 0 6.5rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 25%, rgba(225, 171, 72, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 75%, rgba(58, 89, 83, 0.35) 0%, transparent 55%),
              linear-gradient(135deg, #131D19 0%, #1F2C26 50%, #25362F 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-badge-wrapper {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.3rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  max-width: 680px;
}

.hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-trilogy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(12, 19, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.trilogy-item {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trilogy-item:hover,
.trilogy-item.active {
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
}

.trilogy-item span {
  color: var(--gold-light);
}

.trilogy-divider {
  color: var(--text-muted);
  font-weight: 300;
  opacity: 0.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.avatar-stack {
  display: flex;
  margin-right: 0.85rem;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  background-size: cover;
  background-position: center;
  margin-left: -10px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.proof-text {
  display: flex;
  flex-direction: column;
}

.proof-text .stars {
  color: #fbbf24;
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
}

.proof-text .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.proof-text .label strong {
  color: #fff;
}

/* HERO 3D SHOWCASE */
.hero-visual-wrapper {
  position: relative;
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  background: rgba(19, 29, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 171, 72, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(225, 171, 72, 0.15);
  z-index: 12;
}

.hero-tab-btn {
  background: transparent;
  border: none;
  color: #C8D1CD;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-tab-btn.active {
  background: var(--gold-gradient);
  color: #131D19;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(225, 171, 72, 0.45);
}

.hero-3d-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.2);
  background: var(--bg-secondary);
  transition: transform var(--transition-smooth);
}

.hero-3d-card img {
  width: 100%;
  height: 480px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.8s ease;
}

.hero-3d-card img.fade-out {
  opacity: 0.25;
  transform: scale(0.97);
}

.hero-3d-card:hover img {
  transform: scale(1.03);
}

.hero-float-badge {
  position: absolute;
  background: rgba(19, 29, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.float-badge-1 {
  top: 8%;
  left: -8%;
  border-color: rgba(225, 171, 72, 0.45);
}

.float-badge-2 {
  bottom: 8%;
  right: -6%;
  border-color: rgba(58, 89, 83, 0.5);
}

.float-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-badge-1 .float-badge-icon {
  background: rgba(225, 171, 72, 0.18);
  color: var(--gold-light);
}

.float-badge-2 .float-badge-icon {
  background: rgba(58, 89, 83, 0.25);
  color: #9DE5D6;
}

.float-badge-content h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.float-badge-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   STATS & CITIES MARQUEE STRIP
   ========================================================================== */
.stats-strip-section {
  padding: 3.5rem 0 0 0;
  background: linear-gradient(180deg, #1F2C26 0%, #17231E 100%);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(225, 171, 72, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.stat-item {
  padding: 1.75rem 1.5rem;
  background: rgba(31, 44, 38, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(225, 171, 72, 0.25);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  border-color: rgba(225, 171, 72, 0.55);
  background: rgba(37, 54, 47, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(225, 171, 72, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-label {
  font-size: 0.95rem;
  color: #C8D1CD;
  font-weight: 500;
}

/* MARQUEE CITIES */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #17231E 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #17231E 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.city-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(225, 171, 72, 0.3);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(225, 171, 72, 0.8);
}

/* ==========================================================================
   SECTION DIVIDERS & CURVED COLOR BANDS (FRANJAS CURVAS INTEGRADAS)
   ========================================================================== */
.section-divider-curve {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  display: block;
}

.section-divider-curve.divider-pos-top {
  margin-top: 0;
  margin-bottom: 0;
}

.section-divider-curve.divider-pos-bottom {
  margin-top: 0;
  margin-bottom: 0;
}

.section-divider-curve svg {
  display: block;
  width: 100%;
  height: 65px;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .section-divider-curve svg {
    height: 90px;
  }
}

/* ==========================================================================
   THE PROBLEM VS TRIAS TRANSFORMATION (EXECUTIVE WHITE SECTION)
   ========================================================================== */
.transformation-section {
  background: #ffffff;
  color: #131D19;
  position: relative;
}

.transformation-section .section-header h2 {
  color: #131D19;
}

.transformation-section .section-header p {
  color: #475569;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.transform-card {
  padding: 3.25rem 2.75rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.transform-card.card-before {
  background: #f8fafc;
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.transform-card.card-before h3 {
  color: #0f172a;
}

.transform-card.card-after {
  background: linear-gradient(135deg, #131D19 0%, #1F2C26 100%);
  border: 2px solid rgba(225, 171, 72, 0.55);
  box-shadow: 0 20px 45px rgba(19, 29, 25, 0.35), 0 0 35px rgba(225, 171, 72, 0.18);
  color: #ffffff;
}

.transform-card.card-after h3 {
  color: #ffffff;
}

.transform-card-header {
  margin-bottom: 2rem;
}

.transform-card-header .badge {
  margin-bottom: 1rem;
}

.transform-card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.transform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.transform-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.card-before .transform-item {
  color: #475569;
}

.card-after .transform-item {
  color: #f1f5f9;
}

.transform-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 700;
}

.card-before .transform-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.card-after .transform-icon {
  background: rgba(225, 171, 72, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(225, 171, 72, 0.45);
}

/* ==========================================================================
   LA TRILOGÍA TRIAS (FOREST PINE & IMPERIAL GOLD SECTION)
   ========================================================================== */
.trilogy-section {
  background: radial-gradient(circle at 50% 10%, rgba(58, 89, 83, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 85% 85%, rgba(225, 171, 72, 0.2) 0%, transparent 50%),
              linear-gradient(135deg, #131D19 0%, #1F2C26 50%, #17231E 100%);
  position: relative;
  padding: 0;
}

.trilogy-section > .container {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.trilogy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.trilogy-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.trilogy-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.trilogy-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trilogy-card:hover .trilogy-card-media img {
  transform: scale(1.08);
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.trilogy-card-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trilogy-card-body h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
}

.trilogy-card-body p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.trilogy-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.trilogy-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.trilogy-features li svg {
  color: var(--gold-light);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   EL MÉTODO TRIAS & ECOSISTEMA 360 (EXECUTIVE WHITE SECTION)
   ========================================================================== */
.method-section {
  background: #ffffff;
  color: #131D19;
  position: relative;
}

.method-section .section-header h2 {
  color: #131D19;
}

.method-section .section-header p {
  color: #475569;
}

.method-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.method-step-card {
  padding: 2.75rem 2.25rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--transition-smooth);
}

.method-step-card:hover {
  border-color: rgba(225, 171, 72, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(19, 29, 25, 0.12), 0 0 25px rgba(225, 171, 72, 0.2);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.method-step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.method-step-card p {
  font-size: 0.975rem;
  color: #475569;
}

/* 6 PILARES GRID */
.pillars-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pillars-header h3 {
  font-size: 1.85rem;
  color: #131D19;
  margin-bottom: 0.5rem;
}

.pillars-header p {
  color: #475569;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  padding: 2.25rem 2rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  background: #ffffff;
  border-color: rgba(225, 171, 72, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(19, 29, 25, 0.1), 0 0 20px rgba(225, 171, 72, 0.15);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(31, 44, 38, 0.08);
  color: #1F2C26;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(31, 44, 38, 0.15);
  font-size: 1.3rem;
}

.pillar-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.pillar-info p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

/* ==========================================================================
   +900 TOPICS EXPLORER (FOREST PINE & GOLD SECTION)
   ========================================================================== */
.topics-section {
  background: radial-gradient(circle at 80% 20%, rgba(58, 89, 83, 0.35) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(225, 171, 72, 0.2) 0%, transparent 50%),
              linear-gradient(135deg, #131D19 0%, #1F2C26 50%, #25362F 100%);
  position: relative;
  padding: 0;
}

.topics-section > .container {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.topics-controls {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.search-box {
  width: 100%;
  max-width: 600px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  background: rgba(23, 35, 30, 0.9);
  border: 1px solid rgba(225, 171, 72, 0.25);
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 25px rgba(225, 171, 72, 0.3);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #131D19;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 171, 72, 0.4);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.topic-tag-card {
  padding: 1.25rem 1.5rem;
  background: rgba(31, 44, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.topic-tag-card:hover {
  background: rgba(37, 54, 47, 0.95);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(225, 171, 72, 0.15);
}

.topic-tag-icon {
  color: var(--gold-light);
  flex-shrink: 0;
}

.topic-tag-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.topics-cta-banner {
  background: linear-gradient(135deg, rgba(31, 44, 38, 0.95) 0%, rgba(19, 29, 25, 0.95) 100%);
  border: 1px solid rgba(225, 171, 72, 0.4);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE DIAGNOSTIC (EXECUTIVE LIGHT SLATE & WHITE)
   ========================================================================== */
.assessor-section {
  background: #f4f6f5;
  color: #131D19;
  position: relative;
}

.assessor-section .section-header h2 {
  color: #131D19;
}

.assessor-section .section-header p {
  color: #475569;
}

.assessor-wrapper {
  background: linear-gradient(135deg, #131D19 0%, #1F2C26 60%, #25362F 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(225, 171, 72, 0.45);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: 0 24px 60px rgba(19, 29, 25, 0.35), 0 0 40px rgba(225, 171, 72, 0.15);
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.quiz-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.progress-bar-seg {
  height: 6px;
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: background var(--transition-smooth);
}

.progress-bar-seg.completed {
  background: var(--gold-gradient);
}

.quiz-question {
  font-size: 1.65rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #f8fafc;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quiz-option-card {
  padding: 1.5rem 1.75rem;
  background: rgba(23, 35, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.quiz-option-card::after {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all 0.25s ease;
}

.quiz-option-card:hover {
  background: rgba(31, 44, 38, 0.95);
  border-color: rgba(225, 171, 72, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.quiz-option-card.selected {
  background: linear-gradient(135deg, rgba(31, 44, 38, 0.95) 0%, rgba(19, 29, 25, 0.95) 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 30px rgba(225, 171, 72, 0.35), 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px) scale(1.01);
}

.quiz-option-card.selected::after {
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  color: #131D19;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(225, 171, 72, 0.5);
}

.quiz-option-icon {
  font-size: 1.6rem;
}

.quiz-option-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #f8fafc;
}

.quiz-option-text p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-result-box {
  text-align: center;
  padding: 1rem 0;
}

.result-badge {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.quiz-result-box h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.quiz-result-box p {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* ==========================================================================
   FOUNDER SECTION (FOREST PINE & IMPERIAL GOLD SECTION)
   ========================================================================== */
.founder-section {
  background: radial-gradient(circle at 80% 30%, rgba(225, 171, 72, 0.22) 0%, transparent 55%),
              radial-gradient(circle at 20% 70%, rgba(58, 89, 83, 0.35) 0%, transparent 50%),
              linear-gradient(135deg, #131D19 0%, #1F2C26 50%, #17231E 100%);
  position: relative;
  padding: 0;
}

.founder-section > .container {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.founder-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(225, 171, 72, 0.4);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(225, 171, 72, 0.18);
}

.founder-media img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background: rgba(19, 29, 25, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

.founder-badge-overlay h4 {
  font-size: 1.15rem;
  color: #fff;
}

.founder-badge-overlay p {
  font-size: 0.85rem;
  color: var(--gold-light);
}

.founder-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.founder-role {
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-accent);
  margin-bottom: 1.8rem;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.founder-bio p {
  color: #cbd5e1;
}

.founder-quote {
  padding: 1.8rem 2.2rem;
  background: rgba(23, 35, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 4px solid var(--gold-primary);
  border-top: 1px solid rgba(225, 171, 72, 0.25);
  border-right: 1px solid rgba(225, 171, 72, 0.25);
  border-bottom: 1px solid rgba(225, 171, 72, 0.25);
  border-radius: 0 18px 18px 0;
  font-style: italic;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(225, 171, 72, 0.15);
  transition: transform var(--transition-smooth);
}

.founder-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(225, 171, 72, 0.25);
}

/* ==========================================================================
   TRIAS FRANCHISING & GLOBAL EXPANSION (EXECUTIVE WHITE SECTION)
   ========================================================================== */
.franchise-section {
  background: #ffffff;
  color: #131D19;
  position: relative;
}

.franchise-banner {
  background: linear-gradient(135deg, #131D19 0%, #1F2C26 60%, #25362F 100%);
  border: 1px solid rgba(225, 171, 72, 0.45);
  border-radius: 32px;
  padding: 4.5rem 3.5rem;
  box-shadow: 0 25px 60px rgba(19, 29, 25, 0.25), 0 0 40px rgba(225, 171, 72, 0.15);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.franchise-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: stretch;
}

.franchise-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.franchise-content h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.franchise-content p {
  color: #cbd5e1;
}

.franchise-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0 2.5rem 0;
}

.franchise-benefits li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  color: #f1f5f9;
}

.franchise-benefits li svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

.franchise-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(225, 171, 72, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(225, 171, 72, 0.15);
  height: 100%;
  min-height: 520px;
  display: flex;
}

.franchise-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.franchise-visual:hover img {
  transform: scale(1.05);
}

.franchise-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 29, 25, 0.2) 0%, transparent 40%, rgba(19, 29, 25, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  pointer-events: none;
}

.franchise-overlay-badge {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(19, 29, 25, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(225, 171, 72, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.franchise-overlay-info {
  background: rgba(19, 29, 25, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.franchise-overlay-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
}

.franchise-overlay-info p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

/* ==========================================================================
   TESTIMONIALS / CASE STUDIES (EXECUTIVE LIGHT SLATE SECTION)
   ========================================================================== */
.testimonials-section {
  background: #f4f6f5;
  color: #131D19;
  position: relative;
}

.testimonials-section .section-header h2 {
  color: #131D19;
}

.testimonials-section .section-header p {
  color: #475569;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem 2.25rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(225, 171, 72, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(19, 29, 25, 0.12), 0 0 25px rgba(225, 171, 72, 0.15);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testi-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  background-size: cover;
  background-position: center;
}

.testi-info h4 {
  font-size: 1.1rem;
  color: #0f172a;
}

.testi-info p {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.testi-body {
  font-size: 0.975rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-tag {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
}

/* ==========================================================================
   FAQ SECTION (FOREST PINE & GOLD SECTION)
   ========================================================================== */
.faq-section {
  background: radial-gradient(circle at 50% 10%, rgba(58, 89, 83, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(225, 171, 72, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, #131D19 0%, #1F2C26 100%);
  position: relative;
  padding: 0;
  color: #ffffff;
}

.faq-section > .container {
  padding-top: 5rem;
  padding-bottom: 6.5rem;
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(31, 44, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(225, 171, 72, 0.5);
  background: rgba(37, 54, 47, 0.88);
  box-shadow: 0 8px 25px rgba(225, 171, 72, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(225, 171, 72, 0.2);
  color: var(--gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
}

/* ==========================================================================
   FINAL CTA & LEAD CAPTURE SECTION
   ========================================================================== */
.final-cta-section {
  padding: 7.5rem 0 6rem 0;
  background: radial-gradient(circle at 30% 30%, rgba(225, 171, 72, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(58, 89, 83, 0.35) 0%, transparent 60%),
              linear-gradient(135deg, #131D19 0%, #1F2C26 50%, #17231E 100%);
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(23, 35, 30, 0.95) 0%, rgba(15, 23, 20, 0.98) 100%);
  border: 1px solid rgba(225, 171, 72, 0.45);
  border-radius: 32px;
  padding: 4.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(225, 171, 72, 0.2);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.cta-info h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.cta-info p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.cta-point svg {
  color: var(--gold-light);
}

/* FORM STYLING */
.lead-form {
  background: rgba(19, 29, 25, 0.85);
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-accent);
}

.form-input, .form-select {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(31, 44, 38, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(225, 171, 72, 0.25);
}

.form-select option {
  background: #17231E;
  color: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #111A16;
  border-top: 1px solid rgba(225, 171, 72, 0.18);
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODAL DIALOGS & TOASTS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  padding: 2.75rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(212, 175, 55, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

/* CUSTOM TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(12, 19, 34, 0.95);
  border: 1px solid var(--gold-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.3);
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .hero-visual-wrapper {
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-image-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trilogy-grid, .method-steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid, .franchise-grid, .cta-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 1024px) {
  .nav-links {
    gap: 1.15rem;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .nav-actions {
    gap: 0.75rem;
  }
}

@media (max-width: 860px) {
  .nav-drawer {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(19, 29, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-gold-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
    display: flex;
  }

  .mobile-nav-active .nav-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-actions .nav-dossier-btn,
  .nav-actions .nav-cta-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-text .main-name {
    font-size: 1.15rem;
  }

  .logo-text .sub-name {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .transform-grid {
    grid-template-columns: 1fr;
  }

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

  .quiz-options-grid {
    grid-template-columns: 1fr;
  }

  .topics-cta-banner {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .float-badge-1, .float-badge-2 {
    position: static;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
  transition: all var(--transition-bounce);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: whatsappPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(9, 24, 60, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-smooth);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

