/* 
 * AI Advisory Landing Page Styles
 * A minimalist design with a trust-inspiring color palette
 */

/* ========== Variables ========== */
:root {
  /* Colors - Paleta Corporativa Profesional */
  --primary: #0F172A;      /* Deep blue - professional primary */
  --secondary: #3B82F6;    /* Tech blue - secondary accent */
  --accent: #10B981;       /* Success green - CTA accent */
  --accent-alt: #60A5FA;   /* Light blue - alternative accent */
  --text-dark: #0F172A;    /* Deep blue - main text */
  --text-medium: #64748B;  /* Slate gray - secondary text */
  --text-light: #F8FAFC;   /* Off white - text on dark backgrounds */
  --border-light: #E2E8F0; /* Light border color */
  --shadow: rgba(15, 23, 42, 0.1); /* Subtle shadow based on primary */
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Other */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 70px;
}

/* ========== Base Styles ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Compensar header fijo al navegar a anchors */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Estados de foco accesibles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Sólo visible para lectores de pantalla */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; clip-path: inset(50%);
  border: 0; padding: 0; margin: -1px;
}

section {
  padding: 3rem 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-description {
  text-align: center;
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 2rem auto 3rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3.5rem;
  letter-spacing: -0.8px;
}

/* ========== Buttons ========== */
.btn-hero, .main-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
  min-width: unset;
  max-width: 100%;
  width: auto;
  white-space: normal;
  word-break: break-word;
  text-decoration: none !important;
}

.btn-hero span {
  text-decoration: none;
}

.btn-hero:hover, .main-cta:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px) scale(1.02);
}

.btn-hero:active, .main-cta:active {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: scale(0.98);
}

/* Base button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  min-width: unset;
  max-width: 100%;
  width: auto;
  white-space: normal;
  word-break: break-word;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #1a2458;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: #2563EB;
  border-color: #2563EB;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.btn-hero-new {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2rem;
}

.btn-hero-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.enhanced-btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

.enhanced-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.enhanced-btn:hover::before {
  left: 100%;
}

.cta-hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
}

.cta-card-min {
  min-width: 120px;
  text-align: center;
  font-size: 0.98rem;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  background: var(--secondary);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-card-min:hover {
  background: #2563EB;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}

.btn-ver-informe {
  margin-top: auto;
  align-self: flex-end;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary);
}

/* Marca cuando el logo no usa h1 */
.logo .brand {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main-nav ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

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

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.mobile-only {
  display: none;
}

.mobile-hidden {
  display: block;
}

.desktop-only {
  display: block;
}

/* ========== Hero Section ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: linear-gradient(to bottom, #f8f9fa 0%, #f2f2f2 100%);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  width: 35%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Eliminar separador debajo del hero */
.hero-content h2::after {
  display: none !important;
}

/* Color accent para la palabra IA en el hero */
.hero-content .highlight {
  color: var(--accent) !important;
  text-decoration: none !important;
}

.hero-how {
  width: 65%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2.5rem 2rem 2rem 2rem;
  position: relative;
}

.how-title {
  display: none;
  margin: 0;
  padding: 0;
}

.hero-how .service-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-how .service-card {
  flex: 1 1 auto;
  min-width: 0;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid var(--border-light);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 110px;
}

.hero-how .service-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
  transform: translateY(-4px) scale(1.02);
}

.hero-how .card-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  border: 2px solid #fff;
}

.hero-how .card-header {
  width: 28%;
  min-width: 90px;
  padding: 1.2rem 0.5rem 1.2rem 3.5rem;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.hero-how .card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.hero-how .card-content {
  width: 50%;
  padding: 1.2rem 1rem 1.2rem 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.97rem;
  color: var(--text-medium);
}

.hero-how .price {
  width: 22%;
  min-width: 80px;
  background: #f2f2f2;
  border-left: 1px solid var(--border-light);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 1.2rem 1rem;
  font-size: 1rem;
  gap: 0.3rem;
}

.hero-how .price-tag {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-how .phase-tag {
  font-size: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 0.2rem;
}

.hero-how .contact-tag {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Minimalista Hero ========== */
.minimal-hero {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(203, 213, 225, 0.15) 2px, rgba(203, 213, 225, 0.15) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(203, 213, 225, 0.15) 2px, rgba(203, 213, 225, 0.15) 3px),
    linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px, 100% 100%;
  padding: 4rem 0 2.5rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

/* Hero Split Layout - CONSOLIDADO */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}

.hero-right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

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

/* Hero Title - CONSOLIDADO */
.hero-title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: var(--primary);
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -1.5px;
  line-height: 1.1 !important;
}

.hero-title .highlight {
  color: var(--accent);
}

/* Hero Subtitle - CONSOLIDADO */
.hero-subtitle {
  font-size: 1.25rem !important;
  color: #475569 !important;
  margin-bottom: 2.5rem !important;
  margin-top: 0;
  line-height: 1.7 !important;
  font-weight: 400;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

.hero-subtitle strong::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
  z-index: -1;
  border-radius: 4px;
}

/* Hero Image - CONSOLIDADO */
.hero-img {
  max-width: 540px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: none !important;
  box-shadow: none !important;
}

/* Hero Badge - CONSOLIDADO */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.badge-icon {
  font-size: 1rem;
}

/* Gradient Text - CONSOLIDADO */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: rgb(0, 0, 0);
  letter-spacing: 0.05em;
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: 'IA';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(25px);
  opacity: 0.4;
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.3;
    filter: blur(25px);
  }
  50% {
    opacity: 0.5;
    filter: blur(30px);
  }
}

/* Highlight Text */
.highlight-text {
  position: relative;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(120deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
  padding: 0.3rem 0.6rem;
  margin: 0 0.2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  display: inline-block;
  transition: all 0.3s ease;
  transform: perspective(1px) translateZ(0);
}

.highlight-text::before {
  content: "💡";
  position: absolute;
  left: -0.3rem;
  top: -0.2rem;
  font-size: 0.9rem;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.highlight-text:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
  background: linear-gradient(120deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.highlight-text:hover::after {
  transform: scaleX(1);
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Highlight Badge */
.highlight-badge {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 0.1));
  color: var(--primary);
  font-weight: 400;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  border-radius: 16px;
  margin: 0 0.3rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.highlight-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-badge::after {
  content: '✨';
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  animation: sparkle 1.5s ease-in-out infinite;
}

.highlight-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.highlight-badge:hover::before {
  opacity: 1;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.7; transform: translateY(-50%) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-50%) rotate(180deg); }
}

/* Hero Features - CONSOLIDADO */
.hero-features,
.hero-features-inline {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  flex: 0 0 auto;
  white-space: nowrap;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.counter-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  min-width: 48px;
  display: inline-block;
  transition: color 0.2s;
}

.counter-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.hero-stats-new {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-gradient {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.floating-cards {
  position: relative;
  z-index: 1;
}

.card {
  position: absolute;
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--primary);
  min-width: 200px;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 50px;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  top: 200px;
  right: 50px;
  animation-delay: 2s;
}

.card-3 {
  bottom: 80px;
  left: 80px;
  animation-delay: 4s;
}

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

/* ========== Hero Form Integration ========== */
.hero-form-container {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 
    0 20px 60px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  border: 1px solid rgba(226, 232, 240, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  max-width: 480px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-form-container:hover::before {
  opacity: 1;
}

.hero-form-container:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 80px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.hero-form .form-group {
  margin-bottom: 0;
}

.hero-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-form .form-group input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 1rem;
  color: var(--primary);
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.hero-form .form-group input:focus {
  border-color: var(--accent);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  transform: translateY(-1px);
}

.hero-form .form-group input::placeholder {
  color: #94A3B8;
  font-size: 0.95rem;
}

.hero-form button[type="submit"] {
  margin-top: 0.5rem;
  width: auto;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  align-self: center;
  min-width: 200px;
}

/* ========== How It Works Section ========== */
.how-it-works {
  background-color: #fff;
  padding: 6rem 0;
  position: relative;
}

.minimal-section {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 2px solid var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Card Icon - CONSOLIDADO con diferentes usos */
.card-icon {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
  border: 3px solid white;
}

.card-icon-top {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.card-icon-top svg {
  width: 36px;
  height: 36px;
  stroke: var(--secondary);
  stroke-width: 2.5;
  transition: all 0.3s ease;
}

.card-header {
  width: 100%;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #f9f9f9 100%);
  color: var(--primary);
  position: relative;
}

.card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.card-header-min {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.card-number-min {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  border: none;
  flex-shrink: 0;
  margin-right: 0.7rem;
  position: static;
}

.card-content {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #fff;
}

.card-content p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.card-content-min {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.card-content-min h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.card-content-min p {
  color: var(--text-medium);
  font-size: 0.97rem;
  margin-bottom: 0.7rem;
}

.card-content-min p:last-of-type {
  margin-bottom: 0;
}

.card-actions-min {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 0;
  gap: 1rem;
}

.card-actions-placeholder {
  visibility: hidden;
}

.horizontal-cards {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.service-card-min {
  background: #f8f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(18,25,64,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  border: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card-min:hover {
  box-shadow: 0 12px 40px rgba(18,25,64,0.15);
  transform: translateY(-8px);
}

.service-card-min:hover .card-icon-top {
  transform: translateX(-50%) scale(1.15);
  filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.35));
}

.service-card-min:hover .card-icon-top svg {
  stroke: var(--accent);
  transform: scale(1.05);
}

.price {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #f9f9f9;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price.free {
  color: var(--accent);
}

.price-tag {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.price-tag-min {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  padding: 0.3rem 1rem;
  border: 2px solid var(--accent);
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
}

.phase-tag {
  font-size: 0.7rem;
  background-color: var(--primary);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-tag {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--accent);
}

.fases-opcionales-note {
  color: var(--text-medium);
  text-align: center;
  font-size: 0.98rem;
  margin-top: 1.2rem;
}

/* ========== Report Generator Section ========== */
.report-generator {
  background-color: var(--secondary);
  padding: 3rem 0 2.5rem 0;
  position: relative;
}

.report-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 30px var(--shadow);
}

.report-actions {
  flex-direction: column;
}

.minimal-form {
  max-width: 540px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 1px rgba(0, 0, 0, 0.1);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.minimal-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  border-radius: 24px 24px 0 0;
}

.minimal-form .form-group label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.minimal-form .form-group label svg {
  color: #10b981;
  flex-shrink: 0;
}

.minimal-form .form-group input,
.minimal-form .form-group select,
.minimal-form .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 0.2rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.minimal-form .form-group input:hover,
.minimal-form .form-group select:hover,
.minimal-form .form-group textarea:hover {
  border-color: #10b981;
  background: #fff;
}

.minimal-form .form-group input:focus,
.minimal-form .form-group select:focus,
.minimal-form .form-group textarea:focus {
  border: 2px solid #10b981;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  transform: translateY(-1px);
}

.minimal-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.minimal-form .form-group input::placeholder,
.minimal-form .form-group textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.minimal-form button[type="submit"] {
  margin-top: 0.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

.minimal-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  background-color: #f9f9f9;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Report Results */
.report-results {
  background: #ffffff;
  border-top: 2px solid #E2E8F0;
  animation: fadeInResults 0.5s ease-in-out;
}

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

.report-results .section-title {
  color: var(--primary);
  position: relative;
  padding-bottom: 1rem;
  animation: slideInFromTop 0.6s ease-out;
}

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

.report-results .section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: expandLine 0.8s ease-out 0.3s both;
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

.progress-container {
  background: #f0f0f0;
  border-radius: 12px;
  height: 30px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 12px;
  width: 0%;
  transition: width 0.3s ease;
}

#progress-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skeleton-header {
  height: 60px;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.skeleton-summary {
  height: 120px;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.skeleton-chart {
  height: 200px;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.skeleton-recommendation {
  height: 80px;
  max-width: 800px;
  margin: 0 auto 1rem;
}

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

#report-result {
  animation: fadeInReport 0.6s ease-in-out;
}

@keyframes fadeInReport {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========== Examples Section ========== */
.examples {
  background-color: #fff;
  padding: 3rem 0 2.5rem 0;
}

/* Slider y Testimonios - CONSOLIDADO */
.minimal-slider {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.testimonial-min {
  background: #f8f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(18,25,64,0.06);
  padding: 2.2rem 2rem 2rem 2rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  border: none;
}

.quote-min {
  font-size: 1.05rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.author-min {
  font-size: 0.97rem;
  color: var(--text-medium);
  font-weight: 600;
}

.ejemplo-informes-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.ejemplo-informe-card {
  background: #f8f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(18,25,64,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: none;
}

.ejemplo-informe-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.ejemplo-sector {
  color: var(--text-medium);
  font-size: 0.97rem;
  margin-bottom: 1.2rem;
}

/* ========== FAQ Section ========== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(18,25,64,0.06);
  padding: 1.2rem 1.5rem;
  transition: box-shadow 0.2s;
}

.faq-question {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-answer {
  margin-top: 0.7rem;
  color: var(--text-medium);
  font-size: 0.98rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ========== Contact Section ========== */
.contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f3f1 100%);
  padding: 4rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact.minimal-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f3f1 100%);
  padding: 4rem 0 3.5rem 0;
}

.contact-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -1rem auto 2.5rem auto;
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-method {
  text-align: center;
}

.contact-method .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.contact-method:hover .icon {
  transform: scale(1.1);
  background-color: rgba(16, 185, 129, 0.2);
}

.contact-method h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-method p {
  color: var(--text-medium);
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 30px var(--shadow);
  border: 1px solid var(--border-light);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-logo p {
  color: rgba(242, 242, 242, 0.7);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(242, 242, 242, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

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

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Footer Bottom - CONSOLIDADO */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(119, 106, 106, 0.7);
  font-size: 0.85rem;
}

.footer-disclaimer {
  color: var(--text-medium);
  font-size: 1rem;
  margin-top: 0.7rem;
  text-align: center;
  line-height: 1.5;
  border-radius: 6px;
  padding: 0.5rem 0;
}

/* Minimal Footer */
.minimal-footer {
  background: #f8f9fa;
  color: var(--primary);
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.minimal-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.minimal-footer .footer-logo h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.minimal-footer .footer-logo p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.minimal-footer .footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.minimal-footer .footer-links ul li a {
  color: var(--primary);
  font-size: 0.97rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.minimal-footer .footer-links ul li a:hover {
  color: var(--accent);
}

.minimal-footer .footer-bottom {
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e5e7eb;
}

/* ========== Modal & Frames ========== */
.modal-informe {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; 
  top: 0; 
  width: 100vw; 
  height: 100vh;
  background: rgba(18,25,64,0.45);
  align-items: center;
  justify-content: center;
}

.modal-informe.active {
  display: flex;
}

.modal-informe-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(18,25,64,0.18);
  padding: 1.5rem;
  max-width: 90vw;
  max-height: 90vh;
  width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.modal-informe-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
  top: 1rem; 
  right: 1rem;
  cursor: pointer;
  z-index: 10;
}

#iframe-informe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 12px;
  margin-top: 2.5rem;
  background: #204468;
}

/* Doc Modal */
.doc-modal {
  width: min(1100px, 50vw);
  max-width: 50vw;
  height: min(88vh, 880px);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.doc-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
}

.doc-toolbar button,
.doc-toolbar a {
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

.doc-toolbar button.active { 
  background:#f0f7ff; 
  border-color:#cfe3ff; 
}

.doc-toolbar .sep { 
  width:1px; 
  height:20px; 
  background:#e6e6e6; 
}

.doc-toolbar .spacer { 
  flex: 1 1 auto; 
}

.doc-wrap {
  position: relative;
  flex: 1 1 auto;
  background: #f7f7f7;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 100%;
}

#docFrame {
  position: relative;
  left: 0; 
  top: 0;
  border: 0;
  background: #fff;
  transform-origin: top left;
  max-width: 100%;
}

/* Auto-fit iframe (report viewer) */
.frame-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 16px;
}

.frame-wrap.no-fit {
  overflow: hidden;
}

.frame-wrap.narrow {
  max-width: 1100px;
}

.report-frame {
  position: absolute;
  left: 0; 
  top: 0;
  border: 0;
  transform-origin: top left;
  background: #fff;
}

.report-frame.no-fit {
  position: relative;
  width: 100% !important;
  height: 80vh !important;
  transform: none !important;
  left: 0 !important;
  top: 0 !important;
}

/* Frames específicos */
#frameWrap-ejemplo {
  height: min(1000px, 80vh);
  overflow: hidden;
}

#reportFrame-ejemplo {
  position: relative;
  width: 100%;
  height: 80vh;
  border: 0;
  transform: none !important;
  left: 0; 
  top: 0;
}

#frameWrap-main.no-fit {
  height: min(1000px, 80vh);
  overflow: hidden;
}

/* ========== Responsive Styles ========== */

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { 
    animation: none !important; 
    transition: none !important; 
  }
  .enhanced-btn::before { 
    display: none !important; 
  }
}

/* 1200px Breakpoint */
@media (max-width: 1200px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    white-space: normal;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* 992px Breakpoint */
@media (max-width: 992px) {
  .header {
    padding: 1rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  .mobile-hidden {
    display: none;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1009;
  }
  
  body.mobile-menu-open .main-nav {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
  }
  
  .hero-section .container {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .hero-content, .hero-how {
    width: 100%;
    min-width: 0;
    padding: 0;
    box-shadow: none;
  }
  
  .hero-how {
    padding: 2rem 0 0 0;
    background: none;
    box-shadow: none;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .hero-content h2 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
    white-space: normal;
  }
  
  .service-card {
    flex: 1 1 calc(50% - 2rem);
  }
  
  .service-card-wrapper {
    margin-bottom: 0.7rem;
  }
  
  .card-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .report-form, .contact-form {
    padding: 2rem;
  }
  
  .report-actions {
    flex-direction: column;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 3rem;
  }
  
  .cta-hero-wrapper {
    justify-content: flex-start;
  }
}

/* 900px Breakpoint */
@media (max-width: 900px) {
  .horizontal-cards, .minimal-slider {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .minimal-footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .hero-left {
    align-items: center;
    text-align: center;
    padding-right: 0;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-subtitle {
    text-align: center;
  }
  
  .hero-split {
    flex-direction: column;
    gap: 2.5rem;
    min-height: unset;
  }
  
  .hero-left, .hero-right {
    flex: 1 1 100%;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-img {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .ejemplo-informes-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .modal-informe-content {
    width: 98vw;
    padding: 0.5rem;
  }
  
  #iframe-informe {
    height: 55vh;
  }
  
  .hero-split {
    flex-direction: column;
    gap: 3rem;
  }
  
  .hero-left, .hero-right {
    flex: 1 1 100%;
    width: 100%;
  }
  
  .hero-form-container {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* 768px Breakpoint */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .hero-content h2 {
    font-size: 1.7rem;
  }
  
  .service-card {
    flex: 1 1 100%;
  }
  
  .accordion-header {
    font-size: 1rem;
    padding: 1.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo p {
    max-width: none;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .hero-img {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  
  .hero-features,
  .hero-features-inline {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stats-new {
    gap: 2rem;
  }
  
  .floating-cards {
    display: none;
  }
  
  .feature-item {
    font-size: 0.85rem;
  }
}

/* 600px Breakpoint */
@media (max-width: 600px) {
  .minimal-hero {
    padding: 2rem 0 1.2rem 0;
    min-height: unset;
  }
  
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 1.3rem;
  }
  
  .service-card-min, .testimonial-min {
    min-width: 0;
    max-width: 100%;
    padding: 1.2rem 1rem 1rem 1rem;
  }
  
  .minimal-form {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 100%;
  }
  
  .minimal-form .form-group input,
  .minimal-form .form-group select,
  .minimal-form .form-group textarea {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* 576px Breakpoint */
@media (max-width: 576px) {
  .hero-section, .minimal-hero {
    padding-top: 2rem;
  }
  
  .hero-section .container.hero-split {
    margin-top: 5.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .section-title {
    font-size: 1.8rem !important;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn-hero {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
  
  .report-form, .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial {
    flex: 0 0 300px;
    padding: 1.5rem;
  }
  
  .hero-features-inline {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-form-container {
    padding: 1.8rem 1.3rem;
    border-radius: 16px;
  }
  
  .hero-form .form-group input {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }
  
  .hero-form button[type="submit"] {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
    min-width: unset;
  }
}
