/* ==========================================
   VARIABLES Y TOKENS DE DISEÑO
   ========================================== */
:root {
  --bg:           #E8F4F2;
  --bg-alt:       #DFF0EE;
  --surface:      #F4FAFA;
  --surface-2:    #FFFFFF;
  --accent:       #1A7A6E;
  --accent-mid:   #2A9D8F;
  --accent-light: #5BBFB5;
  --accent-ghost: rgba(26,122,110,0.08);
  --accent-border:rgba(26,122,110,0.15);
  --text-1:       #0D1E1C;
  --text-2:       #3A5C58;
  --text-3:       #6B8C88;
  --border:       rgba(13,30,28,0.08);
  --shadow-sm:    0 2px 12px rgba(13,30,28,0.06);
  --shadow-md:    0 8px 32px rgba(13,30,28,0.10);
  --shadow-lg:    0 24px 64px rgba(13,30,28,0.13);
  --silk:         cubic-bezier(0.16, 1, 0.3, 1);
  --silk-dur:     0.8s;
  --radius:       16px;
  --radius-lg:    24px;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Textura sutil de fondo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ==========================================
   CLASES DE UTILIDAD
   ========================================== */
.container { 
  max-width: 1160px; 
  margin: 0 auto; 
  padding: 0 32px; 
}

.section-label {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  font-size: 11px; 
  font-weight: 600; 
  letter-spacing: 0.14em;
  text-transform: uppercase; 
  color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 6px 14px; 
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-label::before {
  content: ''; 
  width: 6px; 
  height: 6px;
  background: var(--accent); 
  border-radius: 50%;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; 
  letter-spacing: -0.03em;
  line-height: 1.15; 
  color: var(--text-1);
}

.section-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.section-sub {
  font-size: 1.0625rem; 
  line-height: 1.75;
  color: var(--text-2); 
  max-width: 520px; 
  margin-top: 16px;
}

/* Animaciones al hacer scroll */
.reveal { 
  opacity: 0; 
  transform: translateY(28px); 
  transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); 
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   1. BARRA DE NAVEGACIÓN
   ========================================== */
.nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--silk-dur) var(--silk), background var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(232,244,242,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  max-width: 1160px; 
  margin: 0 auto; 
  padding: 0 32px;
}

.nav-logo {
  font-size: 1.25rem; 
  font-weight: 700; 
  letter-spacing: -0.04em;
  color: var(--text-1);
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  font-size: 0.9rem; 
  font-weight: 500; 
  color: var(--text-2);
  position: relative; 
  padding: 7px 16px; 
  border-radius: 100px;
  background: transparent;
  box-shadow: inset 0 0 0 0px var(--accent-border);
  transition: color 0.4s var(--silk), background 0.4s var(--silk), box-shadow 0.4s var(--silk);
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-ghost);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  font-size: 0.875rem; 
  font-weight: 500; 
  color: var(--text-2);
  padding: 9px 20px; 
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.btn-ghost:hover { color: var(--accent); background: var(--accent-ghost); }

.btn-primary {
  font-size: 0.875rem; 
  font-weight: 600; 
  color: #fff;
  background: var(--accent); 
  padding: 10px 22px; 
  border-radius: 100px;
  transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  box-shadow: 0 4px 16px rgba(26,122,110,0.25);
}

.btn-primary:hover {
  background: var(--accent-mid);
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(26,122,110,0.35);
}

/* Botón Hamburguesa Móvil */
.nav-hamburger {
  display: none; 
  flex-direction: column; 
  gap: 5px;
  width: 28px; 
  padding: 4px; 
  cursor: pointer;
}

.nav-hamburger span {
  display: block; 
  height: 2px; 
  background: var(--text-1);
  border-radius: 2px; 
  transition: all 0.4s var(--silk);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú Desplegable Móvil */
.mobile-menu {
  position: fixed; 
  inset: 0; 
  z-index: 999;
  background: var(--bg);
  display: flex; 
  flex-direction: column; 
  align-items: center;
  justify-content: flex-start;
  opacity: 0; 
  pointer-events: none;
  transition: opacity 0.4s var(--silk);
  overflow-y: auto;
  padding: 100px 32px 100px;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-size: 1.1rem; 
  font-weight: 600; 
  letter-spacing: -0.01em;
  color: var(--text-1); 
  padding: 14px 0; 
  width: 100%; 
  text-align: center;
  border-bottom: 1px solid var(--border);
  opacity: 0; 
  transform: translateY(16px);
  transition: opacity 0.5s var(--silk), transform 0.5s var(--silk), color 0.3s;
}

.mobile-menu a:first-child { border-top: 1px solid var(--border); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .mobile-cta {
  margin-top: 28px;
  font-size: 0.9375rem; 
  font-weight: 600;
  background: var(--accent); 
  color: #fff;
  padding: 14px 40px; 
  border-radius: 100px;
  border: none;
  opacity: 0; 
  transform: translateY(16px);
  transition: opacity 0.5s var(--silk) 0.35s, transform 0.5s var(--silk) 0.35s, background 0.3s;
}
.mobile-menu.open .mobile-cta { opacity: 1; transform: none; }

/* ==========================================
   2. SECCIÓN HERO
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex; 
  align-items: center;
  padding: 120px 0 80px;
  position: relative; 
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; 
  top: -10%; 
  right: -5%;
  width: 55vw; 
  height: 55vw; 
  max-width: 720px; 
  max-height: 720px;
  background: radial-gradient(ellipse at center, rgba(91,191,181,0.18) 0%, rgba(42,157,143,0.06) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; 
  bottom: -15%; 
  left: -8%;
  width: 40vw; 
  height: 40vw; 
  max-width: 500px; 
  max-height: 500px;
  background: radial-gradient(ellipse at center, rgba(26,122,110,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative; 
  z-index: 1;
  display: grid; 
  grid-template-columns: 1fr 1fr;
  align-items: center; 
  gap: 64px;
}

.hero-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: var(--surface-2); 
  border: 1px solid var(--accent-border);
  border-radius: 100px; 
  padding: 6px 16px 6px 8px;
  margin-bottom: 28px; 
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 24px; 
  height: 24px; 
  border-radius: 50%;
  background: var(--accent); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 11px; 
  color: #fff; 
  font-weight: 700; 
  flex-shrink: 0;
}

.hero-badge span { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }
.hero-badge strong { color: var(--accent); }

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700; 
  letter-spacing: -0.04em; 
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.0625rem; 
  line-height: 1.75;
  color: var(--text-2); 
  max-width: 480px; 
  margin-bottom: 40px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-primary-lg {
  font-size: 0.9375rem; 
  font-weight: 600; 
  color: #fff;
  background: var(--accent); 
  padding: 14px 32px; 
  border-radius: 100px;
  display: flex; 
  align-items: center; 
  gap: 10px;
  transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  box-shadow: 0 6px 24px rgba(26,122,110,0.30);
}

.btn-primary-lg:hover { 
  background: var(--accent-mid); 
  transform: scale(1.02); 
  box-shadow: 0 8px 32px rgba(26,122,110,0.40); 
}

.btn-primary-lg .btn-arrow { transition: transform 0.4s var(--silk); }
.btn-primary-lg:hover .btn-arrow { transform: translateX(4px); }

.btn-outline-lg {
  font-size: 0.9375rem; 
  font-weight: 500; 
  color: var(--accent);
  border: 1.5px solid var(--accent-border); 
  padding: 13px 28px; 
  border-radius: 100px;
  display: flex; 
  align-items: center; 
  gap: 8px;
  transition: background 0.4s var(--silk), border-color 0.4s var(--silk), transform var(--silk-dur) var(--silk);
}

.btn-outline-lg:hover { 
  background: var(--accent-ghost); 
  border-color: var(--accent); 
  transform: scale(1.02); 
}

.hero-trust {
  display: flex; 
  align-items: center; 
  gap: 20px;
  margin-top: 48px; 
  flex-wrap: wrap;
}

.trust-item {
  display: flex; 
  align-items: center; 
  gap: 8px;
  font-size: 0.8125rem; 
  color: var(--text-3); 
  font-weight: 500;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 20px; background: var(--border); }

.hero-visual {
  position: relative; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.hero-dashboard {
  width: 100%; 
  max-width: 520px;
  background: linear-gradient(180deg, #E7F4F1 0%, #E7F4F1 50%, rgba(26, 122, 111, 0.15) 100%);
  border-radius: var(--radius-lg);
}

.dashboard-body { padding: 1px; }

/* Badges Flotantes */
.hero-float-badge {
  position: absolute; 
  bottom: -16px; 
  left: -24px;
  background: var(--surface-2); 
  border: 1px solid var(--border);
  border-radius: var(--radius); 
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex; 
  align-items: center; 
  gap: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}

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

.float-badge-icon {
  width: 36px; 
  height: 36px; 
  border-radius: 10px;
  background: var(--accent); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #fff; 
  font-size: 16px; 
  flex-shrink: 0;
}

.float-badge-text { font-size: 0.75rem; }
.float-badge-text strong { display: block; font-weight: 700; color: var(--text-1); }
.float-badge-text span { color: var(--text-3); }

.hero-float-badge-2 {
  position: absolute; 
  top: 20px; 
  right: -20px;
  background: var(--accent); 
  border-radius: var(--radius);
  padding: 10px 16px; 
  box-shadow: 0 8px 24px rgba(26,122,110,0.35);
  animation: floatBadge2 4s ease-in-out 2s infinite;
}

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

.float-badge-2-val { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.float-badge-2-label { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ==========================================
   3. CARRUSEL 3D
   ========================================== */
.carousel-section {
  display: block;
  padding: 120px 0; 
  background: var(--surface);
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.carousel-header { text-align: center; margin-bottom: 0; }
.carousel-header .section-sub { margin: 16px auto 0; text-align: center; }

.carousel-stage {
  position: relative;
  height: clamp(480px, 52vw, 780px);
  perspective: clamp(900px, 120vw, 1800px);
  perspective-origin: center center;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.carousel-track {
  position: relative; 
  width: 100%; 
  height: 100%;
  transform-style: preserve-3d;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.phone-card {
  position: absolute;
  transition: transform 0.6s var(--silk), opacity 0.6s var(--silk);
  cursor: pointer;
}

.phone-shell {
  background: #C8D4D2;
  border-radius: 32px;
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(150,175,170,0.5), 0 24px 56px rgba(13,30,28,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative;
  transition: box-shadow 0.6s var(--silk);
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
}

.phone-card[data-pos="center"]       { z-index: 10; }
.phone-card[data-pos="left1"],
.phone-card[data-pos="right1"]       { z-index: 8; }
.phone-card[data-pos="left2"],
.phone-card[data-pos="right2"]       { z-index: 6; }
.phone-card[data-pos="hidden-left"],
.phone-card[data-pos="hidden-right"] { z-index: 4; }

/* Controles del Carrusel */
.carousel-controls {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 24px;
  width: 100%; 
  margin-top: 48px;
}

.carousel-btn {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  background: var(--surface-2);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--accent); 
  cursor: pointer;
  transition: all 0.4s var(--silk);
}

.carousel-btn:hover {
  background: var(--accent); 
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
}

.carousel-dots { display: flex; gap: 8px; align-items: center; }

.carousel-dot {
  width: 8px; 
  height: 8px; 
  border-radius: 50%;
  background: var(--accent-border); 
  cursor: pointer;
  transition: all 0.4s var(--silk);
}

.carousel-dot.active {
  background: var(--accent); 
  width: 24px; 
  border-radius: 4px;
}

/* Control de Zoom */
.carousel-zoom {
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 8px; 
  padding: 30px 0 0;
}

.zoom-btn {
  width: 32px; 
  height: 32px; 
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  background: var(--surface-2);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--accent); 
  cursor: pointer; 
  font-size: 16px; 
  line-height: 1;
  transition: all 0.35s var(--silk);
  user-select: none;
}

.zoom-btn:hover:not(:disabled) {
  background: var(--accent); 
  color: #fff; 
  border-color: var(--accent);
}

.zoom-btn:disabled { opacity: 0.28; cursor: not-allowed; }

.zoom-pips { display: flex; gap: 5px; align-items: center; }

.zoom-pip {
  width: 6px; 
  height: 6px; 
  border-radius: 50%;
  background: var(--accent-border);
  transition: background 0.3s var(--silk), transform 0.3s var(--silk);
  cursor: pointer;
}

.zoom-pip.active { background: var(--accent); transform: scale(1.4); }

/* ==========================================
   4. TESTIMONIOS
   ========================================== */
.testimonials-section { padding: 100px 0; }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .section-sub { margin: 16px auto 0; text-align: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.testimonial-card {
  background: var(--surface-2); 
  border-radius: var(--radius-lg);
  border: 1px solid var(--border); 
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
}

.testimonial-card:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
.testimonial-card.tall { grid-row: span 2; }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars span { color: var(--accent); font-size: 14px; }

.testimonial-quote {
  font-size: 0.9375rem; 
  line-height: 1.7; 
  color: var(--text-2);
  margin-bottom: 24px; 
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  flex-shrink: 0;
  border: 2px solid var(--accent-border);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-weight: 700; 
  font-size: 0.875rem; 
  color: var(--accent);
  background: var(--accent-ghost);
}

.author-name { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.author-role { font-size: 0.75rem; color: var(--text-3); margin-top: 1px; }

/* ==========================================
   5. COBERTURA Y RECURSOS
   ========================================== */
.integrations-section {
  padding: 100px 0; 
  background: var(--surface);
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
}

.integrations-header { text-align: center; margin-bottom: 56px; }
.integrations-header .section-sub { margin: 16px auto 0; text-align: center; }

.integrations-grid {
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px;
  justify-content: center; 
  max-width: 860px; 
  margin: 0 auto;
}

.integration-tile {
  background: var(--surface-2); 
  border-radius: 100px;
  border: 1px solid var(--border); 
  padding: 10px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk), border-color 0.4s, color 0.4s, background 0.4s;
}

.integration-tile:hover {
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border); 
  background: var(--accent-ghost);
}

.integration-name {
  font-size: 0.875rem; 
  font-weight: 600; 
  color: var(--text-2);
  white-space: nowrap; 
  letter-spacing: -0.01em;
}

.integration-tile:hover .integration-name { color: var(--accent); }

/* ==========================================
   6. PREGUNTAS FRECUENTES (FAQ)
   ========================================== */
.faq-section { padding: 100px 0; }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar .section-sub { margin-top: 16px; margin-bottom: 32px; }

.faq-toggle-all {
  font-size: 0.875rem; 
  font-weight: 600; 
  color: var(--accent);
  display: flex; 
  align-items: center; 
  gap: 6px;
  transition: opacity 0.3s;
}
.faq-toggle-all:hover { opacity: 0.75; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 22px 0; 
  cursor: pointer; 
  gap: 16px;
  font-size: 0.9375rem; 
  font-weight: 600; 
  color: var(--text-1);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px; 
  height: 28px; 
  border-radius: 50%;
  border: 1.5px solid var(--accent-border); 
  flex-shrink: 0;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--accent); 
  font-size: 16px; 
  font-weight: 300;
  transition: transform 0.5s var(--silk), background 0.4s, color 0.4s;
}

.faq-item.open .faq-icon { 
  transform: rotate(45deg); 
  background: var(--accent); 
  color: #fff; 
  border-color: var(--accent); 
}

.faq-answer {
  display: grid; 
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--silk);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  overflow: hidden;
  font-size: 0.9rem; 
  line-height: 1.75; 
  color: var(--text-2);
  padding-bottom: 0;
  transition: padding-bottom 0.5s var(--silk);
}
.faq-item.open .faq-answer-inner { padding-bottom: 20px; }

/* ==========================================
   7. BANNER CTA Y FOOTER
   ========================================== */
.cta-section { padding: 100px 0; }

.cta-inner {
  background: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 80px;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 48px;
  position: relative; 
  overflow: hidden;
}

.cta-content { position: relative; z-index: 1; max-width: 560px; }

.cta-label {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  font-size: 11px; 
  font-weight: 600; 
  letter-spacing: 0.14em;
  text-transform: uppercase; 
  color: var(--accent-light);
  border: 1px solid rgba(91,191,181,0.3);
  padding: 6px 14px; 
  border-radius: 100px; 
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700;
  letter-spacing: -0.03em; 
  line-height: 1.15; 
  color: #fff; 
  margin-bottom: 16px;
}
.cta-title em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--accent-light); }

.cta-sub { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }

.btn-cta-primary {
  display: flex; 
  align-items: center; 
  gap: 10px;
  font-size: 0.9375rem; 
  font-weight: 600; 
  color: #fff;
  background: var(--accent); 
  padding: 16px 36px; 
  border-radius: 100px;
  white-space: nowrap;
  transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk);
  box-shadow: 0 8px 32px rgba(26,122,110,0.40);
}
.btn-cta-primary:hover { background: var(--accent-mid); transform: scale(1.02); }

.btn-cta-ghost {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
  font-size: 0.875rem; 
  font-weight: 500; 
  color: rgba(255,255,255,0.6);
  padding: 14px; 
  border-radius: 100px; 
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.btn-cta-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* Footer */
.footer {
  background: var(--text-1); 
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; 
  margin-bottom: 64px;
}

.footer-brand .nav-logo { color: #fff; font-size: 1.3rem; margin-bottom: 16px; display: block; }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 240px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }

.social-btn {
  width: 36px; 
  height: 36px; 
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: rgba(255,255,255,0.4); 
  font-size: 14px; 
  transition: all 0.4s var(--silk);
}
.social-btn:hover { border-color: var(--accent-light); color: var(--accent-light); }

.footer-col-label {
  font-size: 0.72rem; 
  font-weight: 700; 
  letter-spacing: 0.12em;
  text-transform: uppercase; 
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 16px;
}

.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ==========================================
   DISEÑO RESPONSIVO
   ========================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; padding: 56px 40px; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
  .hero-float-badge-2 { right: 0; }
  .carousel-stage { height: 400px; }
}