/* ============================================
   GRUPO FIDUS — Design System & Styles
   ============================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --color-primary-deep: #0D0B2E;
  --color-primary-dark: #1A1145;
  --color-primary-mid: #2D1B69;
  --color-purple-vibrant: #6B3FA0;
  --color-purple-bright: #7C3AED;
  --color-purple-accent: #834DFB;
  --color-purple-glow: #A855F7;
  --color-purple-light: #C084FC;

  --color-blue-deep: #0F1B3D;
  --color-blue-mid: #1E3A5F;

  --color-white: #FFFFFF;
  --color-gray-100: #F8F9FA;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #B8B8D0;
  --color-gray-500: #8E8EA0;
  --color-gray-600: #6C6C80;
  --color-gray-700: #4A4A5A;
  --color-gray-800: #2D2D3D;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0D0B2E 0%, #1A1145 30%, #2D1B69 60%, #1A1145 100%);
  --gradient-purple: linear-gradient(135deg, #1A1145 0%, #6B3FA0 50%, #7C3AED 100%);
  --gradient-dark: linear-gradient(180deg, #0D0B2E 0%, #1A1145 100%);
  --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(107,63,160,0.05) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-btn: linear-gradient(135deg, #7C3AED 0%, #6B3FA0 100%);
  --gradient-btn-hover: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  --gradient-nexus: linear-gradient(135deg, #0D0B2E 0%, #1A1145 30%, #4C1D95 70%, #7C2D12 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.125rem;
  --text-2xl: 1.25rem;
  --text-3xl: 1.5rem;
  --text-4xl: 1.875rem;
  --text-5xl: 2.375rem;
  --text-6xl: 3.25rem;
  --text-7xl: 4rem;

  /* Spacing */
  --space-xs: 0.375rem;
  --space-sm: 0.625rem;
  --space-md: 0.875rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.25rem;
  --space-4xl: 4.5rem;
  --space-5xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(124,58,237,0.3);
  --shadow-glow-lg: 0 0 60px rgba(124,58,237,0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

/* ---- Utilities ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Secciones compactas — sin min-height y padding reducido */
.stats.section,
.partners.section {
  min-height: auto;
  padding: var(--space-3xl) 0;
}

.contact.section {
  min-height: auto;
  padding: var(--space-3xl) 0 var(--space-xl);
}


.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-5xl);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  max-width: 700px;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-purple-accent) 0%, var(--color-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(124,58,237,0.5);
}

.btn-outline:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--color-purple-accent);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ---- Glass Card ---- */
.glass-card {
  background: var(--gradient-glass);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(20px);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 40px rgba(124,58,237,0.6); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(13,11,46,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  flex-shrink: 0;
  margin-right: var(--space-2xl);
}

.navbar-logo img {
  height: 40px;
  min-width: 200px;
  width: auto;
  flex-shrink: 0;
}

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

.navbar-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-400);
  transition: color var(--transition-base);
  position: relative;
}

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

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--color-white);
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--space-xs);
  margin-left: auto;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,63,160,0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-building-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 46, 0.72);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(124,58,237,0.4);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-3xl) var(--space-xl);
}

.hero-logo {
  width: 340px;
  max-width: 80vw;
  margin: 0 auto var(--space-2xl);
  animation: scaleIn 0.8s ease forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-gray-400);
  margin-bottom: var(--space-lg);
}

.hero-tagline span {
  color: var(--color-purple-light);
  font-weight: 500;
}

.hero-tagline .letter {
  transition: color 0.05s;
}

.hero-tagline span:hover .letter {
  color: var(--color-purple-light);
}

.hero-description {
  font-size: var(--text-2xl);
  color: #ffffff;
  font-weight: 300;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.7s forwards;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  animation: fadeIn 1s ease 1.2s forwards;
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gray-500);
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-purple-accent), transparent);
  animation: float 2s ease-in-out infinite;
}

/* ============================================
   ABOUT SECTION (Quiénes Somos)
   ============================================ */
.about {
  background: var(--gradient-dark);
  position: relative;
}

.about-bg-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/backgrounds/edificio-fidtech.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-year {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-purple-light);
  margin-bottom: var(--space-xl);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-card {
  background: var(--gradient-glass);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  backdrop-filter: blur(15px);
  transition: all var(--transition-base);
}

.about-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-purple-light);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-card p {
  color: var(--color-gray-400);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  position: relative;
  background: var(--color-primary-deep);
}

.services-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/services/comercial.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.15;
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.services-header .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-purple-accent);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-lg);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.services-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(13,11,46,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.service-card p {
  color: var(--color-gray-400);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ============================================
   NEXUS SECTION (Oil & Gas)
   ============================================ */
.nexus {
  position: relative;
  background: var(--color-primary-deep);
  overflow: hidden;
  padding: 0 !important;
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
  justify-content: stretch;
}

.nexus-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/backgrounds/oil-gas.png');
  background-size: cover;
  background-position: center;
}

.nexus-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,11,46,0.92) 0%, rgba(26,17,69,0.85) 50%, rgba(76,29,149,0.75) 100%);
}

.nexus-content {
  position: relative;
  z-index: 1;
  max-width: none !important;
  padding: 0 !important;
  width: 100%;
}

.nexus-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  align-items: stretch;
  height: 100vh;
  width: 100%;
}

.nexus-text {
  padding: var(--space-4xl) var(--space-3xl) var(--space-4xl) max(var(--space-xl), calc((100vw - var(--max-width)) / 2 + var(--space-xl)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nexus-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(234,88,12,0.15);
  border: 1px solid rgba(234,88,12,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: #FB923C;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
}

.nexus-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.nexus-text h2 .nexus-name {
  color: #FB923C;
}

.nexus-text p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.nexus-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nexus-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.nexus-feature:hover {
  border-color: rgba(234,88,12,0.3);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(234,88,12,0.15);
}

.nexus-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-lg);
  background: rgba(234,88,12,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nexus-feature h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #FB923C;
  margin-bottom: var(--space-xs);
}

.nexus-feature p {
  color: var(--color-gray-400);
  font-size: var(--text-base);
  line-height: 1.5;
  margin-bottom: 0;
}

.nexus-image {
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.08);
  align-self: stretch;
}

.nexus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.nexus-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,46,0.6) 0%, transparent 50%);
}

/* ============================================
   STATS SECTION (Números)
   ============================================ */
.stats {
  position: relative;
  background: var(--gradient-purple);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/backgrounds/fnd-graphs.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.stats-content {
  position: relative;
  z-index: 1;
}

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

.stats-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
}

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

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  font-weight: 500;
}

/* ============================================
   PARTNERS SECTION (Alianzas)
   ============================================ */
.partners {
  background: var(--gradient-dark);
  position: relative;
}

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

.partners-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: 1.2;
}

.partners-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-4xl);
}

.partner-value {
  padding: var(--space-xs) var(--space-lg);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-purple-light);
  transition: all var(--transition-base);
}

.partner-value:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}

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

.partner-logo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all var(--transition-base);
}

.partner-logo-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.03);
}

.partner-logo-card img {
  max-width: 130px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

/* Tamaños individuales por logo */
#partner-triunfo img         { max-width: 156px; max-height: 53px; }
#partner-sancristobal img    { max-width: 251px; max-height: 84px; }
#partner-allianz img         { max-width: 186px; max-height: 70px; }
#partner-bbva img            { max-width: 120px; max-height: 43px; }
#partner-asociart img        { max-width: 276px; max-height: 101px; }
#partner-berkley img         { max-width: 180px; max-height: 65px; }
#partner-iapser img          { max-width: 180px; max-height: 65px; }
#partner-credito img         { max-width: 200px; max-height: 62px; }

.partner-logo-card:hover img {
  filter: grayscale(0%) brightness(1) invert(0);
  opacity: 1;
}

/* ============================================
   TEAM SECTION (Equipo)
   ============================================ */
.team {
  background: var(--color-primary-deep);
  position: relative;
}

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

.team-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.team-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  max-width: 700px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.team-card {
  background: var(--gradient-glass);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  backdrop-filter: blur(15px);
  transition: all var(--transition-base);
}

.team-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple-accent), var(--color-purple-vibrant));
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--color-white);
  border: 3px solid rgba(124,58,237,0.3);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.team-card .team-role {
  font-size: var(--text-sm);
  color: var(--color-purple-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.team-card p:last-child {
  font-size: var(--text-base);
  color: var(--color-gray-400);
  line-height: 1.6;
}

.team-network {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-xl);
}

.team-network-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-6xl);
  color: var(--color-purple-light);
  line-height: 1;
}

.team-network p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  margin-top: var(--space-sm);
}

/* ============================================
   ADVISORS MAP SECTION
   ============================================ */
.advisors-map {
  background: var(--gradient-dark);
  position: relative;
  display: block !important;
}

.advisors-map .container {
  width: 100%;
  max-width: var(--max-width);
}

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

.advisors-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.advisors-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.advisors-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  min-height: 500px;
}

#advisors-map-canvas {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  min-height: 500px;
}

.advisors-list {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  overflow-y: auto;
  max-height: 500px;
}

.advisors-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.advisors-list-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
}

.advisors-list-header .advisor-count {
  font-size: var(--text-sm);
  color: var(--color-purple-light);
  background: rgba(124,58,237,0.15);
  padding: 2px 12px;
  border-radius: var(--radius-full);
}

.advisor-item {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: var(--space-xs);
}

.advisor-item:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.15);
}

.advisor-item.active {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.3);
}

.advisor-item-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: 2px;
}

.advisor-item-address {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.advisor-item-type {
  display: inline-block;
  font-size: var(--text-xs);
  padding: 1px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.advisor-item-type.type-oficina {
  background: rgba(124,58,237,0.2);
  color: var(--color-purple-light);
}

.advisor-item-type.type-asesor {
  background: rgba(16,185,129,0.15);
  color: var(--color-success);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact {
  background: var(--color-primary-deep);
  position: relative;
}

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

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.contact-info > p {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-locations {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.contact-location {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-location-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-location h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-purple-light);
  margin-bottom: 4px;
}

.contact-location p {
  font-size: var(--text-base);
  color: var(--color-gray-400);
  line-height: 1.5;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-lg);
  color: var(--color-purple-light);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.contact-anguard {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(16,185,129,0.05) 100%);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-xl);
  color: var(--color-success);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.contact-anguard:hover {
  background: rgba(16,185,129,0.2);
  border-color: rgba(16,185,129,0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(16,185,129,0.2);
}

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  backdrop-filter: blur(15px);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem var(--space-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-purple-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-600);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-btn);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.form-submit:hover {
  background: var(--gradient-btn-hover);
  box-shadow: var(--shadow-glow-lg);
  transform: translateY(-2px);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.form-success h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-gray-400);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-lg);
}

.footer-brand img {
  height: 38px;
  margin-bottom: var(--space-md);
}

.footer-brand .footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-gray-400);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.footer-brand .footer-desc {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  padding: 0.1rem 0;
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-purple-light);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-2px);
}

/* Legal text */
.footer-legal-text {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  text-align: center;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* SSN bar */
.footer-ssn-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-ssn-items {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.footer-ssn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.footer-ssn-item:first-child {
  padding-left: 0;
}

.footer-ssn-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}

.footer-ssn-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
}

.footer-ssn-link {
  transition: color var(--transition-base);
}

.footer-ssn-link:hover {
  color: var(--color-purple-light);
}

.footer-ssn-logo img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.footer-ssn-logo:hover img {
  opacity: 1;
}

/* Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   COTIZAR FLOATING BUTTON
   ============================================ */
.cotizar-float {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 999;
}

.cotizar-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(124,58,237,0.45);
  transition: all var(--transition-base);
  animation: pulse-glow 3s ease-in-out infinite;
  letter-spacing: 0.02em;
}

.cotizar-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
  background: var(--gradient-btn-hover);
}

.cotizar-tooltip {
  position: absolute;
  left: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-gray-800);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cotizar-float:hover .cotizar-tooltip {
  opacity: 1;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: pulse-glow 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-gray-800);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --text-7xl: 3.5rem;
  }

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

  .about-grid,
  .nexus-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-bg-image { display: none; }

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

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

  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }

  .advisors-container {
    grid-template-columns: 1fr;
  }

  #advisors-map-canvas { min-height: 400px; }

  .advisors-list {
    max-height: 300px;
  }

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

  .nexus-image { display: none; }
  .nexus-content { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
  .nexus-text { justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2rem;
    --text-6xl: 2.5rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

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

  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13,11,46,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    border-top: 1px solid rgba(124,58,237,0.15);
    gap: var(--space-md);
  }

  .navbar-nav.open { display: flex; }

  .navbar-toggle { display: flex; }

  .hero-logo { width: 280px; }
  .hero-tagline { font-size: var(--text-xl); letter-spacing: 0.08em; }

  .cotizar-float {
    bottom: var(--space-md);
    left: var(--space-md);
  }

  .cotizar-btn {
    width: 56px;
    height: 56px;
    font-size: var(--text-xs);
  }

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

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

  .stat-number { font-size: var(--text-4xl); }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .team-grid .team-card:last-child {
    max-width: 100%;
  }

  .contact-grid { gap: var(--space-2xl); }
  .form-row { grid-template-columns: 1fr; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .whatsapp-float {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  :root {
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
  }

  .hero-logo { width: 220px; }

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

  .partners-logos {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   LUCIDE LINE ICONS
   ============================================ */

/* Icons inside icon containers */
.service-icon svg,
.nexus-feature-icon svg,
.contact-location-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-purple-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Remove emoji font-size from containers */
.service-icon { font-size: 0; }
.nexus-feature-icon { font-size: 0; }
.contact-location-icon { font-size: 0; }

/* Inline icons (in text/headings) */
.about-year svg,
.about-card h3 svg,
.nexus-label svg,
.contact-email svg,
.contact-anguard svg,
.form-success-icon svg {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.about-year svg    { width: 16px; height: 16px; }
.about-card h3 svg { width: 20px; height: 20px; margin-right: 4px; }
.nexus-label svg   { width: 16px; height: 16px; }
.contact-email svg { width: 18px; height: 18px; margin-right: 6px; }
.contact-anguard svg { width: 18px; height: 18px; margin-right: 6px; }

/* Form success icon */
.form-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #10b981;
}

/* Footer social icons */
.footer-social a svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}
