/*═══════════════════════════════════════════════════════════════════════════╗
 │  YERAK CONSULTORES - Modern Futuristic Design                             │
 │  Design: Glassmorphism, Gradients, Smooth Animations                      │
 │  Colors: Deep Purple, Cyan Accent, Gradient Highlights                    │
 │  Typography: Sora + Space Grotesk                                         │
 ╚═══════════════════════════════════════════════════════════════════════════*/

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  CSS CUSTOM PROPERTIES                                                    ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

:root {
  /* ─── Primary Colors ─── */
  --color-bg: #0a0a0f;
  --color-bg-light: #12121a;
  --color-bg-card: #16161f;
  --color-bg-elevated: #1a1a25;
  
  /* ─── Accent Colors ─── */
  --color-primary: #6366f1;      /* Indigo */
  --color-primary-light: #818cf8;
  --color-secondary: #22d3ee;    /* Cyan */
  --color-accent: #a855f7;       /* Purple */
  
  /* ─── Gradient ─── */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  
  /* ─── Text Colors ─── */
  --color-text: #ffffff;
  --color-text-muted: #a1a1aa;
  --color-text-subtle: #71717a;
  
  /* ─── Glass Effect ─── */
  --glass-bg: rgba(22, 22, 31, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  
  /* ─── Typography ─── */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Sora', -apple-system, sans-serif;
  
  /* ─── Font Sizes ─── */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);
  --fs-5xl: clamp(3rem, 2rem + 5vw, 6rem);
  
  /* ─── Spacing ─── */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* ─── Layout ─── */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 5vw, 2rem);
  --section-spacing: clamp(5rem, 12vw, 10rem);
  
  /* ─── Borders ─── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* ─── Shadows ─── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-glow-accent: 0 0 60px rgba(168, 85, 247, 0.2);
  
  /* ─── Transitions ─── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ─── Z-Index ─── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-cursor: 9998;
  --z-preloader: 9999;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  CSS RESET & BASE                                                         ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open,
body.loading {
  overflow: hidden;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p { margin-bottom: var(--space-md); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Utilities ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  PRELOADER                                                                 ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  z-index: var(--z-preloader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-xl);
}

.logo-letter {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: letterReveal 0.6s ease forwards;
}

.logo-letter[data-delay="0"] { animation-delay: 0s; }
.logo-letter[data-delay="1"] { animation-delay: 0.1s; }
.logo-letter[data-delay="2"] { animation-delay: 0.2s; }
.logo-letter[data-delay="3"] { animation-delay: 0.3s; }
.logo-letter[data-delay="4"] { animation-delay: 0.4s; }

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--color-bg-card);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: preloaderProgress 2s ease-in-out forwards;
}

@keyframes preloaderProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  HEADER / NAVIGATION                                                       ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  padding: var(--space-md) 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: var(--z-modal);
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: white;
  transition: transform var(--transition-base);
}

.brand:hover .brand-icon {
  transform: scale(1.05) rotate(-3deg);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  display: flex;
  gap: 4px;
}

/* Main Nav */
#main-nav {
  display: none;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

#main-nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

#main-nav a:not(.nav-cta)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

#main-nav a:not(.nav-cta):hover,
#main-nav a:not(.nav-cta).active {
  color: var(--color-text);
}

#main-nav a:not(.nav-cta):hover::before,
#main-nav a:not(.nav-cta).active::before {
  width: 100%;
}

.nav-cta {
  padding: var(--space-sm) var(--space-lg) !important;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Nav Toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  z-index: var(--z-modal);
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.nav-toggle-lines span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle-lines span:nth-child(2) {
  width: 70%;
  margin-left: auto;
}

.nav-toggle.active .nav-toggle-lines span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.nav-toggle.active .nav-toggle-lines span:nth-child(2) {
  opacity: 0;
  width: 100%;
}

.nav-toggle.active .nav-toggle-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

@media (min-width: 992px) {
  #main-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile Nav */
@media (max-width: 991px) {
  #main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
  }
  
  #main-nav.open {
    opacity: 1;
    visibility: visible;
  }
  
  #main-nav ul {
    flex-direction: column;
    gap: var(--space-2xl);
  }
  
  #main-nav a {
    font-size: var(--fs-2xl);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  }
  
  #main-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }
  
  #main-nav.open li:nth-child(1) a { transition-delay: 0.1s; }
  #main-nav.open li:nth-child(2) a { transition-delay: 0.15s; }
  #main-nav.open li:nth-child(3) a { transition-delay: 0.2s; }
  #main-nav.open li:nth-child(4) a { transition-delay: 0.25s; }
  #main-nav.open li:nth-child(5) a { transition-delay: 0.3s; }
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  BUTTONS                                                                   ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: all var(--transition-base);
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn svg {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

/* Full Width */
.btn-full {
  width: 100%;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  HERO SECTION                                                              ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-5xl) + 60px) 0 var(--space-4xl);
  overflow: hidden;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 211, 238, 0.1), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.3);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.25);
  bottom: 20%;
  left: -50px;
  animation-delay: -7s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(34, 211, 238, 0.2);
  bottom: -50px;
  right: 20%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  backdrop-filter: var(--glass-blur);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  margin-bottom: var(--space-xl);
}

.title-line {
  display: block;
}

.title-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  max-width: 600px;
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-4xl);
}

/* Floating Cards */
.hero-cards {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.floating-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: -2s; }
.floating-card.card-3 { animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
}

.floating-card .card-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.floating-card span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-subtle);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-text-subtle);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  SECTIONS - Base                                                           ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  SERVICES SECTION                                                          ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.section-services {
  background: var(--color-bg-light);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  cursor: default;
}

.service-item:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-primary);
  transform: translateX(10px);
  box-shadow: var(--shadow-glow);
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  transition: opacity var(--transition-base);
}

.service-item:hover .service-number {
  opacity: 1;
}

.service-content h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-base);
}

.service-item:hover .service-content h3 {
  color: var(--color-primary-light);
}

.service-content p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: var(--fs-sm);
  max-width: 500px;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  transition: stroke var(--transition-base);
}

.service-item:hover .service-icon {
  background: var(--gradient-primary);
}

.service-item:hover .service-icon svg {
  stroke: white;
}

@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
    text-align: center;
  }
  
  .service-number {
    font-size: var(--fs-2xl);
  }
  
  .service-icon {
    margin: 0 auto;
  }
  
  .service-content p {
    max-width: none;
  }
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  ABOUT SECTION                                                             ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.section-about {
  overflow: visible;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* Sticky Content */
.about-sticky {
  position: relative;
}

@media (min-width: 992px) {
  .about-sticky {
    position: sticky;
    top: 120px;
    height: fit-content;
  }
}

.about-sticky-content {
  padding-right: var(--space-2xl);
}

.about-sticky-content .section-number {
  margin-bottom: var(--space-md);
}

.about-sticky-content .section-title {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.about-description p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.about-cta {
  margin-top: var(--space-2xl);
}

/* About Cards */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-card {
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.about-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.about-card.card-accent {
  background: var(--gradient-primary);
  border-color: transparent;
}

.about-card.card-accent:hover {
  transform: translateY(-5px) scale(1.02);
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
}

.about-card.card-accent .card-icon-box {
  background: rgba(255, 255, 255, 0.2);
}

.card-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.about-card.card-accent .card-icon-box svg {
  stroke: white;
}

.card-header h3 {
  font-size: var(--fs-xl);
}

.about-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.about-card.card-accent p {
  color: rgba(255, 255, 255, 0.9);
}

/* Valores Section */
.valores-section {
  margin-top: var(--space-5xl);
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--glass-border);
}

.valores-title {
  text-align: center;
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2xl);
}

.valores-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.valores-track {
  display: flex;
  gap: var(--space-md);
  animation: scroll 30s linear infinite;
  width: max-content;
}

.valores-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.valor-chip {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-base);
}

.valor-chip:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-elevated);
}

.valor-chip svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
}

.valor-chip span {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  RECURSOS SECTION                                                          ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.section-recursos {
  background: var(--color-bg-light);
}

.recursos-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .recursos-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .recursos-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  
  .recurso-lg {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  
  .recurso-wide {
    grid-column: 2 / 4;
  }
}

.recurso-card {
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.recurso-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.recurso-icon,
.recurso-icon-large {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.recurso-icon {
  width: 56px;
  height: 56px;
}

.recurso-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.recurso-card:hover .recurso-icon {
  background: var(--gradient-primary);
}

.recurso-card:hover .recurso-icon svg {
  stroke: white;
}

/* Large Card */
.recurso-lg {
  justify-content: space-between;
}

.recurso-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.recurso-icon-large {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
}

.recurso-icon-large svg {
  width: 60px;
  height: 60px;
  stroke: white;
}

.recurso-info h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.recurso-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
}

.recurso-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.recurso-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.recurso-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Standard Card */
.recurso-card:not(.recurso-lg):not(.recurso-wide) h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.recurso-card:not(.recurso-lg):not(.recurso-wide) p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

/* Wide Card */
.recurso-wide {
  flex-direction: row;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.recurso-wide .recurso-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.recurso-content-wide {
  flex: 1;
  min-width: 200px;
}

.recurso-content-wide h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

.recurso-content-wide p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

.recurso-stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.recurso-stats .stat {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-text {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text);
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  CONTACT SECTION                                                           ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.section-contact {
  padding: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Info */
.contact-info {
  padding: var(--section-spacing) var(--container-padding);
  display: flex;
  align-items: center;
  background: var(--color-bg);
}

.contact-info-inner {
  max-width: 500px;
}

.contact-info .section-number {
  margin-bottom: var(--space-md);
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.contact-description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-method:hover {
  border-color: var(--color-primary);
  transform: translateX(10px);
}

.method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.method-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.method-whatsapp {
  background: #25D366;
}

.method-whatsapp svg {
  fill: white;
  stroke: none;
}

.contact-method:hover .method-icon:not(.method-whatsapp) {
  background: var(--gradient-primary);
}

.contact-method:hover .method-icon:not(.method-whatsapp) svg {
  stroke: white;
}

.method-text {
  flex: 1;
}

.method-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.method-text span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.method-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.method-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
}

.contact-method:hover .method-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Form */
.contact-form-wrapper {
  padding: var(--section-spacing) var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
}

.contact-form {
  width: 100%;
  max-width: 500px;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.form-header h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
}

.form-header p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.form-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form-group .optional {
  color: var(--color-text-subtle);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 575px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  FOOTER                                                                    ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.site-footer {
  background: var(--color-bg);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.footer-brand .brand {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  max-width: 300px;
  margin-bottom: 0;
}

.footer-column h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-column a:hover {
  color: var(--color-primary-light);
}

.footer-links {
  display: flex;
  gap: var(--space-4xl);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--color-text-subtle);
  margin-bottom: 0;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  SCROLL TO TOP                                                             ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  REVEAL ANIMATIONS                                                         ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
}

.fade-in { opacity: 0; }
.fade-in.visible { opacity: 1; }

.fade-up {
  transform: translateY(50px);
}

.fade-up.visible {
  transform: translateY(0);
}

.slide-in {
  transform: translateX(-50px);
  opacity: 0;
}

.slide-in.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  RESPONSIVE                                                                ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

/* Tablets y pantallas medianas */
@media (max-width: 991px) {
  .about-wrapper {
    padding: 0 var(--container-padding);
  }
  
  .about-sticky-content {
    padding-right: 0;
    text-align: center;
  }
  
  .about-sticky-content .section-title {
    text-align: center;
  }
  
  .about-cta {
    display: flex;
    justify-content: center;
  }
  
  .contact-info {
    justify-content: center;
    text-align: center;
  }
  
  .contact-info-inner {
    max-width: 100%;
  }
  
  .contact-info .section-title {
    text-align: center;
  }
}

/* Móviles */
@media (max-width: 767px) {
  .hero {
    padding-top: calc(var(--space-4xl) + 50px);
    padding-bottom: var(--space-2xl);
    min-height: auto;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-badge {
    font-size: var(--fs-xs);
    padding: var(--space-xs) var(--space-md);
  }
  
  .hero-description {
    font-size: var(--fs-base);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-cards {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: 0;
  }
  
  .floating-card {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    animation: none;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  /* Servicios móvil */
  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    text-align: center;
  }
  
  .service-item:hover {
    transform: none;
  }
  
  .service-number {
    font-size: var(--fs-xl);
    order: -1;
  }
  
  .service-icon {
    margin: 0 auto var(--space-md);
    order: 0;
  }
  
  .service-content {
    order: 1;
  }
  
  .service-content p {
    max-width: none;
  }
  
  /* About móvil */
  .about-cards {
    gap: var(--space-md);
  }
  
  .about-card {
    padding: var(--space-lg);
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .about-card p {
    text-align: center;
  }
  
  /* Valores móvil */
  .valores-section {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl) 0;
  }
  
  .valores-title {
    font-size: var(--fs-xl);
  }
  
  .valor-chip {
    padding: var(--space-sm) var(--space-md);
  }
  
  .valor-chip span {
    font-size: var(--fs-xs);
  }
  
  /* Recursos móvil */
  .recursos-bento {
    gap: var(--space-md);
  }
  
  .recurso-card {
    padding: var(--space-lg);
  }
  
  .recurso-wide {
    flex-direction: column;
    text-align: center;
  }
  
  .recurso-wide .recurso-icon {
    margin-bottom: var(--space-md);
  }
  
  .recurso-stats {
    justify-content: center;
    width: 100%;
  }
  
  .recurso-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .recurso-icon-large svg {
    width: 40px;
    height: 40px;
  }
  
  /* Contacto móvil */
  .contact-wrapper {
    min-height: auto;
  }
  
  .contact-info {
    padding: var(--space-3xl) var(--container-padding);
  }
  
  .contact-form-wrapper {
    padding: var(--space-3xl) var(--container-padding);
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
  
  .contact-method {
    padding: var(--space-md);
  }
  
  .contact-method:hover {
    transform: none;
  }
  
  .method-arrow {
    display: none;
  }
  
  /* Footer móvil */
  .footer-top {
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-2xl);
    width: 100%;
  }
  
  .footer-column {
    text-align: center;
  }
}

/* Móviles pequeños */
@media (max-width: 575px) {
  :root {
    --section-spacing: clamp(3rem, 10vw, 5rem);
  }
  
  .section-header {
    margin-bottom: var(--space-2xl);
  }
  
  .section-title {
    font-size: var(--fs-3xl);
  }
  
  .hero-title {
    font-size: var(--fs-3xl);
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--fs-xs);
  }
  
  .form-grid {
    gap: var(--space-md);
  }
  
  .recurso-stats .stat {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .stat-text {
    font-size: 0.65rem;
  }
  
  /* Orbs más pequeños en móvil */
  .orb-1 {
    width: 200px;
    height: 200px;
  }
  
  .orb-2 {
    width: 150px;
    height: 150px;
  }
  
  .orb-3 {
    width: 100px;
    height: 100px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
  
  .orb { animation: none; }
  .floating-card { animation: none; }
  .valores-track { animation: none; }
}

/* Print */
@media print {
  .site-header,
  .preloader,
  .scroll-top,
  .nav-toggle,
  .cursor-follower,
  .cursor-dot {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
