/* ============================================
   PREDIO LAS MERCEDES — PREMIUM DESIGN SYSTEM
   ============================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors — Bosko-inspired Forest Luxury */
  --forest-deep: #0E1F1A;
  --forest: #1A3C34;
  --forest-light: #2B5A4E;
  --forest-muted: #3A6B5E;
  --gold: #B8965A;
  --gold-light: #D4B87A;
  --gold-dark: #8C7040;
  --gold-accent: rgba(184, 150, 90, 0.15);
  --cream: #F7F3ED;
  --cream-warm: #EDE8E0;
  --cream-dark: #DED7CB;
  --charcoal: #1A1D1C;
  --charcoal-light: #2A2E2D;
  --slate: #6B705C;
  --white: #ffffff;
  --black: #080C0B;
  --success: #2ecc71;
  --error: #e74c3c;

  /* Legacy aliases for compatibility */
  --emerald-deep: var(--forest-deep);
  --emerald: var(--forest);
  --emerald-light: var(--forest-light);
  --ivory: var(--cream);
  --ivory-warm: var(--cream-warm);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-light: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --glass-dark-bg: rgba(10, 10, 20, 0.7);
  --glass-dark-border: rgba(255, 255, 255, 0.08);

  /* Typography — Bosko-style elegant serif */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif: var(--font-heading);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing — Generous Bosko-style breathing room */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 50%;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);
  --transition-extra: 0.8s var(--ease-smooth);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
  --shadow-gold: 0 4px 20px rgba(184, 150, 90, 0.25);
  --shadow-emerald: 0 4px 20px rgba(26, 60, 52, 0.3);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* ---- Typography — Bosko-style Elegant Serif ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: clamp(0.95rem, 1.2vw, 1.1rem); }

.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-white { color: var(--white); }
.text-ivory { color: var(--ivory); }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ---- Grid Utility ---- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

.grid--4 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
}

/* ---- Section Base — Bosko-style generous spacing ---- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section--light {
  background: var(--cream);
}

.section--dark {
  background: var(--forest-deep);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cream);
}

.section--emerald {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 100%);
  color: var(--white);
}

.section--emerald h2,
.section--emerald h3 {
  color: var(--white);
}

.section--nature {
  background: var(--cream-warm);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--slate);
  max-width: 700px;
  line-height: 1.8;
}

.section--dark .section__subtitle,
.section--emerald .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* ---- Section Divider — Bosko-style botanical separator ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 0;
  background: var(--cream);
}

.section-divider--dark {
  background: var(--forest-deep);
}

.section-divider__line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--cream-dark);
}

.section-divider--dark .section-divider__line {
  background: rgba(255, 255, 255, 0.12);
}

.section-divider__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.section-divider__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--gold);
  opacity: 0.7;
}

/* ---- Navbar — Bosko-style forest green ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease-smooth);
  padding: 0 var(--space-lg);
}

.navbar--scrolled {
  background: var(--forest);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 150, 90, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-light);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.navbar__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--charcoal);
}

.navbar__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.navbar__link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-normal);
}

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

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 10px 28px;
  border-radius: 0;
  border: 1px solid var(--gold);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar__cta:hover {
  background: var(--gold);
  color: var(--forest-deep);
  transform: none;
  box-shadow: none;
}

/* Mobile Menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.navbar__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--gold-light);
  border-radius: 0;
  transition: all var(--transition-normal);
}

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

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

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

/* ---- Hero Section — Bosko-style minimal elegance ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---- Hero Carousel ---- */
.hero__carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--forest-deep);
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s var(--ease-smooth), visibility 1.5s;
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
  animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero__slide-label {
  position: absolute;
  bottom: 15vh;
  right: 5vw;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 10;
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-smooth) 0.5s;
}

.hero__slide.active .hero__slide-label {
  opacity: 1;
  transform: translateY(0);
}

.hero__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  padding: 0;
}

.hero__nav-btn:hover {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.hero__nav-prev { left: 40px; }
.hero__nav-next { right: 40px; }

.hero__indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero__indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero__indicator.active {
  background: transparent;
  border-color: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero__nav-btn { display: none; }
  .hero__slide-label {
    bottom: 120px;
    right: 20px;
    font-size: 0.7rem;
  }
  .hero__indicators {
    bottom: 30px;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 31, 26, 0.50) 0%,
    rgba(14, 31, 26, 0.35) 40%,
    rgba(14, 31, 26, 0.75) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: calc(var(--nav-height) + 40px) var(--space-md) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
  animation: fadeInDown 1s var(--ease-smooth) 0.3s both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1.2s var(--ease-smooth) 0.5s both;
  letter-spacing: 0.02em;
}

.hero__title em,
.hero__title i {
  font-style: italic;
  font-weight: 300;
}

.hero__title span {
  display: block;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.9;
  font-weight: 300;
  animation: fadeInUp 1.2s var(--ease-smooth) 0.7s both;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s var(--ease-smooth) 0.9s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s var(--ease-smooth) 0.9s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1.2s var(--ease-smooth) 1.1s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Scroll Indicator — Bosko-style */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s var(--ease-smooth) 1.5s both;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2.5s infinite;
}

/* ---- Buttons — Bosko-style (forest green solid + gold outline) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 14px 36px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

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

.btn--primary:hover {
  background: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 60, 52, 0.3);
}

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

.section--light .btn--outline {
  color: var(--forest);
  border-color: var(--forest);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--forest-deep);
  transform: translateY(-2px);
}

.section--light .btn--outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn--emerald {
  background: var(--forest);
  color: var(--white);
  box-shadow: none;
}

.btn--emerald:hover {
  background: var(--forest-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 44px;
  font-size: 0.85rem;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.75rem;
}

.btn--dark {
  background: var(--charcoal);
  color: var(--gold);
}

.btn--dark:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 10.5%);
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.btn:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* ---- Glass Cards ---- */
.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 168, 83, 0.3);
}

.glass-card--light {
  background: rgba(253, 248, 240, 0.85);
  border: 1px solid rgba(212, 168, 83, 0.15);
  backdrop-filter: blur(10px);
}

.glass-card--light:hover {
  border-color: rgba(212, 168, 83, 0.4);
  box-shadow: var(--shadow-lg);
}

/* ---- Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(13, 74, 46, 0.1), rgba(26, 122, 78, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--emerald);
}

.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.feature-card__text {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Card Variants ---- */
.card--glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--cream);
}

.section--light .card--glass {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--charcoal);
  backdrop-filter: none;
}

.card--glass h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.card--glass p {
  line-height: 1.8;
}

.card--feature {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.card--feature:hover {
  border-color: rgba(184, 150, 90, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  font-size: 2rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.card__text {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
}

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

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Image Section With Overlay ---- */
.image-section {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-section:hover img {
  transform: scale(1.05);
}

.image-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,20,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

/* ---- Split Layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
}

.split__media:hover img {
  transform: scale(1.04);
}

.split__media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(212, 168, 83, 0.3);
}

/* ---- Tables ---- */
.data-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 320px;
}

.data-table thead th {
  background: var(--emerald-deep);
  color: var(--gold);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: var(--charcoal);
}

.data-table tbody tr {
  background: var(--white);
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--ivory-warm);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--emerald), var(--gold));
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ---- Icon List ---- */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.icon-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.icon-list__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.icon-list__text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 600px;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(75, 75, 106, 0.4);
}

/* ---- Footer — Bosko-style dark forest green ---- */
.footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer__text {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: var(--space-md);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-normal);
  cursor: pointer;
  animation: bounceIn 0.8s var(--ease-bounce) 2s both;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-btn__tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--charcoal);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-normal);
  pointer-events: none;
}

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

/* ---- Chatbot — Premium AI Advisor ---- */
.chatbot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1010;
  font-family: var(--font-body);
}

.chatbot__toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  border: 2px solid rgba(184, 150, 90, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(14, 31, 26, 0.4), 0 0 0 0 rgba(26, 60, 52, 0.4);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  animation: chatbot-breathe 3s infinite ease-in-out;
}

@keyframes chatbot-breathe {
  0%, 100% { box-shadow: 0 6px 24px rgba(14, 31, 26, 0.4), 0 0 0 0 rgba(184, 150, 90, 0.15); }
  50% { box-shadow: 0 8px 28px rgba(14, 31, 26, 0.5), 0 0 0 8px rgba(184, 150, 90, 0); }
}

.chatbot__toggle:hover {
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(14, 31, 26, 0.5);
  animation: none;
}

.chatbot__toggle--open {
  animation: none;
  background: linear-gradient(135deg, var(--forest-deep) 0%, #0a1914 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.chatbot__toggle svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
  transition: transform var(--transition-normal);
}

.chatbot__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--forest-deep);
  animation: pulse-dot 2s infinite;
}

.chatbot__badge--pulse {
  animation: pulse-dot 1.5s infinite;
}

.chatbot__pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(184, 150, 90, 0.4);
  animation: chatbot-ring-pulse 2.5s infinite;
  pointer-events: none;
}

@keyframes chatbot-ring-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chatbot__toggle--open .chatbot__pulse-ring {
  display: none;
}

/* Chat Window */
.chatbot__window {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 400px;
  max-height: 600px;
  background: var(--white);
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 0 40px rgba(14, 31, 26, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-bounce);
  transform-origin: bottom right;
}

.chatbot__window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Premium Header */
.chatbot__header {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 50%, var(--forest-light) 100%);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(184, 150, 90, 0.2);
  position: relative;
  overflow: hidden;
}

.chatbot__header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 150, 90, 0.05));
  pointer-events: none;
}

.chatbot__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184, 150, 90, 0.25), rgba(184, 150, 90, 0.1));
  border: 1.5px solid rgba(184, 150, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  position: relative;
  flex-shrink: 0;
}

.chatbot__online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--forest-deep);
  animation: online-pulse 2s infinite;
}

@keyframes online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.chatbot__header-info {
  display: flex;
  flex-direction: column;
}

.chatbot__header-info strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.chatbot__header-info span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.chatbot__header-right {
  display: flex;
  z-index: 1;
}

.chatbot__ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(184, 150, 90, 0.2);
  border: 1px solid rgba(184, 150, 90, 0.35);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Messages Container */
.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 300px;
  max-height: 360px;
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #fafaf8 0%, var(--white) 100%);
}

.chatbot__messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot__messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

/* Message Wrappers */
.chatbot__msg-wrapper {
  display: flex;
  gap: 8px;
  animation: chatMsg-in 0.4s var(--ease-smooth) both;
}

.chatbot__msg-wrapper--bot {
  align-self: flex-start;
  max-width: 88%;
}

.chatbot__msg-wrapper--user {
  align-self: flex-end;
  justify-content: flex-end;
  max-width: 80%;
}

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

/* Message Avatar */
.chatbot__msg-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.chatbot__msg-avatar svg {
  width: 16px;
  height: 16px;
}

/* Messages */
.chatbot__msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.chatbot__msg--bot {
  background: var(--cream-warm);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.chatbot__msg--bot strong {
  color: var(--forest);
}

.chatbot__msg--user {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(14, 31, 26, 0.15);
}

/* Typing Indicator */
.chatbot__typing {
  display: flex;
  gap: 5px;
  padding: 14px 18px;
  background: var(--cream-warm);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.chatbot__typing span {
  width: 7px;
  height: 7px;
  background: var(--forest-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

/* Quick Replies */
.chatbot__quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
}

.chatbot__quick-btn {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(14, 31, 26, 0.04);
  color: var(--forest);
  border: 1px solid rgba(14, 31, 26, 0.12);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  font-family: var(--font-body);
  white-space: nowrap;
}

.chatbot__quick-btn:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(14, 31, 26, 0.2);
}

/* Input Area */
.chatbot__input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.chatbot__input-field {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
  background: #fafaf8;
  color: var(--charcoal);
}

.chatbot__input-field::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.chatbot__input-field:focus {
  border-color: var(--forest);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 60, 52, 0.08);
}

.chatbot__send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-smooth);
  flex-shrink: 0;
  color: var(--white);
}

.chatbot__send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(14, 31, 26, 0.3);
}

.chatbot__send-btn:active {
  transform: scale(0.95);
}

/* Footer */
.chatbot__footer {
  padding: 6px 16px;
  text-align: center;
  font-size: 0.62rem;
  color: rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, var(--white), #f8f7f5);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  letter-spacing: 0.3px;
}

.chatbot__footer strong {
  color: rgba(14, 31, 26, 0.5);
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

/* Standalone modal (also acts as overlay) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal__content,
.modal-overlay .modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl);
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
}

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

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--slate);
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: var(--emerald);
  color: var(--white);
}

.modal__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.modal__subtitle {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

/* ---- Newsletter Popup ---- */
.newsletter-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  z-index: 800;
  transform: translateY(120%);
  transition: transform 0.5s var(--ease-smooth);
  border: 1px solid rgba(212, 168, 83, 0.2);
}

.newsletter-popup.active {
  transform: translateY(0);
}

.newsletter-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--slate);
}

.newsletter-popup__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.newsletter-popup__text {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: var(--space-md);
}

.newsletter-popup__form {
  display: flex;
  gap: 8px;
}

.newsletter-popup__input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-popup__input:focus {
  border-color: var(--gold);
}

/* ---- Investor Profiles Tabs ---- */
.profiles-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.profile-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font-family: var(--font-body);
}

.profile-tab.active,
.profile-tab:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.profile-content {
  display: none;
}

.profile-content.active {
  display: block;
  animation: fadeInUp 0.5s var(--ease-smooth);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

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

.reveal--left {
  transform: translateX(-40px);
}

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

.reveal--right {
  transform: translateX(40px);
}

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

.reveal--scale {
  transform: scale(0.9);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* ---- Decorative Elements — Bosko-style ---- */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  border-radius: 0;
  margin: 0 auto var(--space-md);
}

.section__header .gold-divider {
  margin-top: var(--space-sm);
}

.floating-badge {
  position: absolute;
  background: var(--gold);
  color: var(--forest-deep);
  padding: 8px 18px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  animation: float 3s ease-in-out infinite;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

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

/* ---- Form Success/Error States ---- */
.form-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #1a8a50;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.3s var(--ease-smooth);
}

.form-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #c0392b;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-input.error {
  border-color: var(--error);
}

/* ---- Ficha Técnica ---- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.spec-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all var(--transition-normal);
}

.spec-item:hover {
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.spec-item__icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.spec-item__label {
  font-size: 0.8rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.spec-item__value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--emerald-deep);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }

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

  .grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split--reverse {
    direction: ltr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .navbar {
    padding: 0 var(--space-sm);
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: var(--space-md);
    transition: right 0.4s var(--ease-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .navbar__links.active {
    right: 0;
  }

  .navbar__link {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .navbar__cta {
    width: 100%;
    text-align: center;
    margin-top: var(--space-sm);
  }

  .navbar__toggle {
    display: flex;
  }

  /* Grid system */
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .grid--4 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Hero */
  .hero__content {
    padding: calc(var(--nav-height) + 20px) var(--space-sm) 0;
  }

  .hero__stats {
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__stat {
    min-width: 80px;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__scroll {
    bottom: 20px;
  }

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

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

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .stat-item {
    padding: var(--space-md);
  }

  .stat-item__number {
    font-size: 1.8rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Chatbot Mobile */
  .chatbot__window {
    width: calc(100vw - 20px);
    right: -15px;
    bottom: 72px;
    max-height: 70vh;
    border-radius: 16px;
  }

  .chatbot__messages {
    min-height: 200px;
    max-height: 280px;
  }

  .chatbot__msg-wrapper--bot {
    max-width: 92%;
  }

  .chatbot__quick-btn {
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .chatbot__header {
    padding: 12px 14px;
  }

  .chatbot__avatar {
    width: 36px;
    height: 36px;
  }

  .chatbot__header-info strong {
    font-size: 0.95rem;
  }

  .newsletter-popup {
    left: 10px;
    right: 10px;
    max-width: none;
    bottom: 20px;
    padding: var(--space-md);
  }

  .whatsapp-btn {
    bottom: 90px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

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

  .chatbot {
    right: 16px;
    bottom: 16px;
  }

  .chatbot__toggle {
    width: 50px;
    height: 50px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .profiles-tabs,
  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .profiles-tabs::-webkit-scrollbar,
  .tabs::-webkit-scrollbar {
    display: none;
  }

  .profile-tab {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  /* Tables */
  .data-table thead th,
  .data-table tbody td {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  /* Modal */
  .modal__content {
    width: 95%;
    padding: var(--space-lg);
    max-height: 85vh;
  }

  /* Split media */
  .split__media img {
    height: 300px;
  }

  /* Section padding tighter */
  .container {
    padding: 0 var(--space-sm);
  }

  /* Timeline on mobile */
  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline__dot {
    left: -26px;
  }

  /* Icon List */
  .icon-list__item {
    gap: 10px;
  }

  /* Spec grid */
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .hero__stats {
    gap: var(--space-xs);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .hero__stat-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .section__title {
    font-size: 1.6rem;
  }

  h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .split__media img {
    height: 240px;
  }

  .data-table {
    font-size: 0.82rem;
  }

  .data-table thead th,
  .data-table tbody td {
    padding: 8px 10px;
  }

  .stat-item {
    padding: var(--space-sm);
  }

  .stat-item__number {
    font-size: 1.5rem;
  }

  .stat-item__label {
    font-size: 0.7rem;
  }

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

  .btn {
    padding: 12px 24px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .btn--lg {
    padding: 14px 30px;
    font-size: 0.8rem;
  }

  .card--glass,
  .card--feature {
    padding: var(--space-md);
  }

  .icon-list__item {
    font-size: 0.9rem;
  }

  .feature-card {
    padding: var(--space-md);
  }

  .section__label {
    font-size: 0.68rem;
    letter-spacing: 3px;
  }

  /* Footer */
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer__brand {
    font-size: 1.4rem;
  }

  .footer__text {
    font-size: 0.85rem;
  }

  /* Navbar name */
  .navbar__name {
    font-size: 1.2rem;
  }

  .navbar__logo {
    font-size: 1.2rem;
  }
}

/* ---- Print Styles ---- */
@media print {
  .navbar, .whatsapp-btn, .chatbot, .newsletter-popup, .modal-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg);
  }

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

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- PC Visual Enhancements (Neumorphism & Layout) ---- */
@media (min-width: 1025px) {
  /* Text Distribution */
  .section__text {
    max-width: 850px;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--charcoal-light);
  }
  
  .section--dark .section__text {
    color: rgba(255, 255, 255, 0.9);
  }

  /* Grid Column Gaps for better distribution */
  .grid--2 {
    gap: 5rem;
  }
  
  .grid--3 {
    gap: 4rem;
  }

  /* Image Layout & Neumorphism */
  .card--image {
    padding: 12px;
    background: var(--ivory);
    border-radius: var(--radius-xl);
    box-shadow: 
      12px 12px 24px rgba(0, 0, 0, 0.06),
      -12px -12px 24px rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  }

  .section--dark .card--image {
    background: var(--charcoal);
    box-shadow: 
      12px 12px 24px rgba(0, 0, 0, 0.4),
      -12px -12px 24px rgba(40, 44, 43, 0.6);
  }

  .card--image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
      18px 18px 36px rgba(0, 0, 0, 0.1),
      -18px -18px 36px rgba(255, 255, 255, 1);
  }
  
  .section--dark .card--image:hover {
    box-shadow: 
      18px 18px 36px rgba(0, 0, 0, 0.5),
      -18px -18px 36px rgba(40, 44, 43, 0.8);
  }

  img:not(.hero__bg-video) {
    border-radius: var(--radius-xl);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .section img:not(.hero__bg-video):hover {
    transform: translateY(-5px) scale(1.03);
  }

  /* Standalone Image Neumorphism */
  .section--light > .container > .reveal > img,
  .section--light .reveal > div > img {
    box-shadow: 
      15px 15px 30px rgba(0,0,0,0.08),
      -15px -15px 30px rgba(255,255,255,0.9);
  }

  .section--light > .container > .reveal > img:hover,
  .section--light .reveal > div > img:hover {
    box-shadow: 
      20px 20px 40px rgba(0,0,0,0.12),
      -20px -20px 40px rgba(255,255,255,1);
  }

  .section--dark > .container > .reveal > img,
  .section--dark .reveal > div > img {
    box-shadow: 
      15px 15px 30px rgba(0,0,0,0.4),
      -15px -15px 30px rgba(40,44,43,0.5);
  }

  .section--dark > .container > .reveal > img:hover,
  .section--dark .reveal > div > img:hover {
    box-shadow: 
      20px 20px 40px rgba(0,0,0,0.5),
      -20px -20px 40px rgba(40,44,43,0.7);
  }

  /* Neumorphic Details in Buttons */
  .btn {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .btn--primary {
    box-shadow: 
      6px 6px 14px rgba(0, 0, 0, 0.1),
      -6px -6px 14px rgba(255, 255, 255, 0.15);
  }

  .btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 
      10px 10px 20px rgba(0, 0, 0, 0.15),
      -10px -10px 20px rgba(255, 255, 255, 0.2);
  }

  .section--light .btn--primary {
    box-shadow: 
      6px 6px 14px rgba(0, 0, 0, 0.08),
      -6px -6px 14px rgba(255, 255, 255, 0.9);
  }

  .section--light .btn--primary:hover {
    box-shadow: 
      10px 10px 20px rgba(0, 0, 0, 0.12),
      -10px -10px 20px rgba(255, 255, 255, 1);
  }
}
