/* =============================================
   AGENCIA IA — BEETBUL
   CSS v2.0 | Minimalista-Juvenil-Tecnológico
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* === VARIABLES === */
:root {
  /* Paleta principal */
  --white: #FFFFFF;
  --bg-light: #F7F8FC;
  --blue-electric: #2563EB;
  --blue-indigo: #4F46E5;
  --black-soft: #111827;

  /* Paleta secundaria */
  --gray-text: #6B7280;
  --gray-border: #E5E7EB;
  --card-bg: #FFFFFF;
  --purple-accent: #7C3AED;
  --green-success: #10B981;

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #7C3AED 100%);
  --gradient-section: linear-gradient(180deg, #F7F8FC 0%, #FFFFFF 100%);
  --gradient-cta: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);

  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Espaciado */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --radius-card: 16px;
  --radius-btn: 10px;

  /* Sombras */
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-header: 0 1px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(37, 99, 235, 0.15);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--black-soft);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* === UTILIDADES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-electric);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black-soft);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
}

/* === ANIMACIONES DE REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.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; }

/* === BOTONES === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-electric);
  color: var(--white);
  border-color: var(--blue-electric);
}

.btn-primary:hover {
  background: var(--blue-indigo);
  border-color: var(--blue-indigo);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

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

.btn-white {
  background: var(--white);
  color: var(--blue-electric);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* === HEADER === */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}

#header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--blue-electric);
  background: rgba(37, 99, 235, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover { background: var(--bg-light); }

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black-soft);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 16px 24px 20px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-text);
  padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
  color: var(--blue-electric);
  background: rgba(37, 99, 235, 0.06);
}

.mobile-nav .btn {
  margin-top: 12px;
  justify-content: center;
  background: var(--blue-electric);
  color: var(--white);
}

/* === HERO === */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1e3a8a;
  background-image: url('../assets/images/hero-agencia-ia-mexico.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 58, 138, 0.72) 0%, rgba(55, 48, 163, 0.68) 50%, rgba(91, 33, 182, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 780px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #93C5FD, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* === PROPUESTA DE VALOR === */
#valor {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.valor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.valor-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.valor-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
}

.valor-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black-soft);
  margin-bottom: 8px;
  line-height: 1.35;
}

.valor-card p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* === DIFERENCIADOR / ENFOQUE === */
#enfoque {
  background: var(--black-soft);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

#enfoque::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

#enfoque::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.enfoque-inner {
  position: relative;
  z-index: 1;
}

.enfoque-headline {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.enfoque-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 20px;
}

.enfoque-headline h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.enfoque-headline h2 span {
  background: linear-gradient(135deg, #93C5FD, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.enfoque-headline p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

.enfoque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.enfoque-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.enfoque-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.35);
}

.enfoque-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(79, 70, 229, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enfoque-icon svg {
  width: 20px;
  height: 20px;
  stroke: #93C5FD;
}

.enfoque-text h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.35;
}

.enfoque-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.enfoque-cierre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 52px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(79, 70, 229, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-card);
  flex-wrap: wrap;
  text-align: center;
}

.enfoque-cierre-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.enfoque-cierre .btn-white {
  background: var(--white);
  color: var(--blue-electric);
  border-color: var(--white);
  flex-shrink: 0;
}

.enfoque-cierre .btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* === QUÉ ES === */
#inicio {
  background: var(--white);
  padding: var(--section-padding);
}

.que-es-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.que-es-text .section-desc {
  max-width: 100%;
  margin-bottom: 28px;
}

.que-es-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--black-soft);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-check svg {
  width: 11px;
  height: 11px;
  stroke: white;
  stroke-width: 2.5;
}

.que-es-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.que-es-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === SOLUCIONES === */
#soluciones {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.soluciones-header {
  text-align: center;
  margin-bottom: 52px;
}

.soluciones-header .section-desc {
  margin: 0 auto;
}

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

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

.solucion-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solucion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

.solucion-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}

.solucion-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black-soft);
  margin-bottom: 10px;
  line-height: 1.3;
}

.solucion-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* === PROCESO === */
#proceso {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.proceso-header {
  text-align: center;
  margin-bottom: 56px;
}

.proceso-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.proceso-step {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proceso-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proceso-step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black-soft);
  margin-bottom: 8px;
}

.proceso-step p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* === SECTORES === */
#sectores {
  background: var(--white);
  padding: var(--section-padding);
}

.sectores-header {
  text-align: center;
  margin-bottom: 52px;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sector-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.3s ease;
}

.sector-chip:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.sector-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sector-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black-soft);
}

/* === INTEGRACIONES === */
#integraciones {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.integraciones-header {
  text-align: center;
  margin-bottom: 52px;
}

.integraciones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.integracion-badge {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.integracion-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

.integracion-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.integracion-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black-soft);
}

.integraciones-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--gray-text);
  font-style: italic;
}

/* === FAQ === */
#faq {
  background: var(--white);
  padding: var(--section-padding);
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

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

.faq-question span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--blue-electric);
}

.faq-item.open .faq-toggle {
  background: var(--blue-electric);
  border-color: var(--blue-electric);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.75;
}

/* === CTA FINAL / CONTACTO === */
#contacto {
  background: var(--gradient-cta);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  pointer-events: none;
}

#contacto::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  pointer-events: none;
}

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

.contacto-text {
  color: var(--white);
}

.contacto-text .section-title {
  color: var(--white);
  font-size: 1.75rem;
}

.contacto-text .section-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  max-width: 100%;
}

.contacto-benefits {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.benefit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93C5FD;
  flex-shrink: 0;
}

/* Formulario */
.contacto-form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 36px 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--white);
  color: var(--blue-electric);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.form-submit-btn:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

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

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* === FOOTER === */
#footer {
  background: var(--black-soft);
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-subdivision {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  font-style: italic;
}

.footer-brand .logo-footer {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #60A5FA;
  stroke-width: 2;
  fill: none;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-nav-list a:hover {
  color: var(--white);
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #6EE7B7;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.footer-whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.5);
  color: #A7F3D0;
}

.footer-whatsapp-btn svg {
  width: 16px;
  height: 16px;
  fill: #6EE7B7;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* === IMAGEN CONTACTO === */
.contacto-img {
  margin-top: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contacto-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* === PÁGINAS WEB === */
#paginas-web {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.paginas-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Tipos de páginas */
.paginas-tipos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
}

.tipo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black-soft);
  transition: all 0.2s ease;
}

.tipo-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.04);
  color: var(--blue-electric);
}

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

/* Grid de precios */
.precios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.precio-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.precio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.precio-card-especial {
  border-color: rgba(79, 70, 229, 0.3);
  background: linear-gradient(145deg, #FAFAFA, #F5F3FF);
}

.precio-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.precio-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.precio-icon-especial {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.precio-nombre {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black-soft);
  margin-bottom: 8px;
}

.precio-desc {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.precio-monto {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
}

.precio-desde {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.precio-valor {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue-electric);
  line-height: 1;
}

.precio-moneda {
  font-size: 0.875rem;
  color: var(--gray-text);
  font-weight: 500;
  margin-left: 4px;
}

.precio-cotizacion {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-indigo);
  line-height: 1.3;
  display: block;
}

.precio-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.precio-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--black-soft);
  line-height: 1.45;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--green-success);
  flex-shrink: 0;
  margin-top: 1px;
}

.precio-cta {
  width: 100%;
  justify-content: center;
}

/* Nota de hosting */
.paginas-nota {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 860px;
  margin: 28px auto 0;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.65;
}

.paginas-nota svg {
  color: var(--blue-electric);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-padding: 70px 0; }

  .valor-grid { grid-template-columns: repeat(2, 1fr); }
  .que-es-inner { gap: 40px; }
  .enfoque-grid { grid-template-columns: 1fr; }
  .soluciones-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-timeline { grid-template-columns: repeat(2, 1fr); }
  .sectores-grid { grid-template-columns: repeat(3, 1fr); }
  .integraciones-grid { grid-template-columns: repeat(3, 1fr); }
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }

  .header-nav,
  .header-actions { display: none; }
  .menu-toggle { display: flex; }

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

  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; }

  .valor-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .que-es-inner { grid-template-columns: 1fr; }
  .que-es-image { order: -1; max-height: 280px; }
  .soluciones-grid { grid-template-columns: 1fr; }
  .proceso-timeline { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
  .integraciones-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.6rem; }

  .precios-grid { grid-template-columns: 1fr; max-width: 480px; }
  .contacto-img { display: none; }
}

@media (max-width: 480px) {
  .valor-grid { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: 1fr 1fr; }
  .integraciones-grid { grid-template-columns: 1fr 1fr; }

  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 0.72rem; }
  .contacto-form-wrapper { padding: 24px 18px; }
  .precio-card { padding: 28px 20px; }
  .precio-valor { font-size: 2.2rem; }
  .enfoque-cierre { flex-direction: column; gap: 18px; padding: 24px 20px; }
  .enfoque-cierre-text { font-size: 1rem; }
}
