/* ==========================================================================
   Los Santos Marketing — Hoja de Estilos Principal (Moderno, Dinámico y Responsivo)
   ========================================================================== */

:root {
  --brand-green: #688536;
  --brand-green-dark: #536c2a;
  --brand-green-light: #f1f6ea;
  --brand-green-subtle: rgba(104, 133, 54, 0.12);

  --tech-emerald: #10B981;
  --tech-emerald-dark: #059669;
  --tech-emerald-light: #ecfdf5;
  --tech-emerald-glow: rgba(16, 185, 129, 0.35);

  --dark-slate: #0F172A;
  --dark-slate-soft: #1E293B;
  --slate-muted: #64748B;
  --slate-light: #94A3B8;

  --bg-soft: #F8FAF6;
  --bg-white: #FFFFFF;
  --border-subtle: #E2E8F0;
  --border-focus: #10B981;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-soft);
  color: var(--dark-slate);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tipografía */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--slate-muted);
}

/* ==========================================================================
   Header & Barra de Navegación
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: rotate(5deg) scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--dark-slate);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  color: var(--dark-slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color 0.2s;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-green);
}

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

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

.btn-whatsapp-header {
  background: var(--brand-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(104, 133, 54, 0.25);
  transition: all 0.25s ease;
}

.btn-whatsapp-header:hover {
  background: var(--brand-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(104, 133, 54, 0.35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-slate);
}

/* ==========================================================================
   Hero Section Animado
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0b1220 0%, #152238 60%, #0d1b1e 100%);
  color: #ffffff;
  overflow: hidden;
}

/* Malla interactiva de fondo / Luz ambiental */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(104, 133, 54, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
  pointer-events: none;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-glow-dot {
  width: 9px;
  height: 9px;
  background-color: var(--tech-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--tech-emerald);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero-title .text-gradient-green {
  background: linear-gradient(135deg, #a3e635 0%, #688536 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-gradient-ai {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-typing-wrap {
  display: inline-block;
  min-width: 260px;
  border-bottom: 2px solid var(--tech-emerald);
  padding-bottom: 2px;
}

.hero-desc {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--tech-emerald);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px var(--tech-emerald-glow);
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--tech-emerald-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

/* Tarjeta Hero Lateral del Fundador */
.hero-card-founder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.founder-img-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--tech-emerald);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.badge-director-pill {
  position: absolute;
  bottom: 0;
  right: 6px;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 2px solid #0F172A;
}

.founder-name-hero {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.founder-subtitle-hero {
  font-size: 13px;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 12px;
}

.founder-quote-hero {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   Barra de Estadísticas y Confianza (Social Proof)
   ========================================================================== */
.stats-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-muted);
}

/* ==========================================================================
   Sección de Servicios (Los 2 Grandes Pilares)
   ========================================================================== */
.services-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 16px;
  color: var(--slate-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: height 0.3s ease;
}

.pillar-growth::before {
  background: var(--brand-green);
}

.pillar-ai::before {
  background: var(--tech-emerald);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  height: 8px;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.pillar-growth .pillar-tag {
  color: var(--brand-green);
}

.pillar-ai .pillar-tag {
  color: var(--tech-emerald-dark);
}

.pillar-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.pillar-desc {
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.service-subitems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.service-subitem {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-growth .service-icon-wrap {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.pillar-ai .service-icon-wrap {
  background: var(--tech-emerald-light);
  color: var(--tech-emerald-dark);
}

.service-subitem-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-slate);
  margin-bottom: 2px;
}

.service-subitem-text {
  font-size: 13px;
  color: var(--slate-muted);
}

/* ==========================================================================
   Sección Quiénes Somos / Historia / Liderazgo
   ========================================================================== */
.about-section {
  background: #ffffff;
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-profile-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}

.about-avatar-big {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-md);
  margin: 0 auto 20px;
}

.about-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.about-role-title {
  font-size: 14px;
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 18px;
}

.btn-linkedin-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0077b5;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-linkedin-profile:hover {
  background: #005a8b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
}

.about-story-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-timeline-item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 24px;
  border-left: 2px solid var(--brand-green);
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-green);
  border: 2px solid #ffffff;
}

.timeline-year {
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-green);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--slate-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Sección de Proyección Social y Alianzas Locales
   ========================================================================== */
.social-impact-section {
  padding: 80px 0;
  background: var(--brand-green-light);
  border-bottom: 1px solid rgba(104, 133, 54, 0.15);
}

.social-card-inner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(104, 133, 54, 0.25);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.social-card-inner h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--dark-slate);
}

.social-card-inner p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-muted);
}

.social-badges-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-badge-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Formulario Modular de Contacto & Cotizaciones
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.info-card-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-direct-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-green-light);
  color: var(--brand-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-direct-label {
  font-size: 12px;
  color: var(--slate-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-direct-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-slate);
  text-decoration: none;
}

.contact-direct-val:hover {
  color: var(--brand-green);
}

.usa-box-notice {
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 10px;
}

.usa-title-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--dark-slate);
  margin-bottom: 6px;
}

/* Formulario Principal */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-slate);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--dark-slate);
  outline: none;
  transition: all 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--tech-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Selector Interactivo de Tipo de Proyecto */
.service-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.pill-option {
  position: relative;
}

.pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-label {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-slate);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-option input[type="radio"]:checked + .pill-label {
  background: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
  font-weight: 700;
}

/* Campo Honeypot Oculto (Invisible para humanos) */
.honeypot-trap {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.btn-submit-form {
  width: 100%;
  background: var(--tech-emerald);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px var(--tech-emerald-glow);
  transition: all 0.3s ease;
}

.btn-submit-form:hover {
  background: var(--tech-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-submit-form:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ==========================================================================
   Sección Suscripción al Blog
   ========================================================================== */
.newsletter-section {
  background: var(--dark-slate);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-box h3 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 12px;
}

.newsletter-box p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 28px;
}

.newsletter-form-inline {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-form-inline input[type="email"],
.newsletter-form-inline input[type="text"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.newsletter-form-inline input:focus {
  border-color: var(--tech-emerald);
  background: rgba(255, 255, 255, 0.12);
}

.btn-newsletter-sub {
  background: var(--tech-emerald);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s ease;
}

.btn-newsletter-sub:hover {
  background: var(--tech-emerald-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090e18;
  color: #94a3b8;
  padding: 80px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-col p {
  color: #94a3b8;
  line-height: 1.7;
}

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

.footer-nav-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.social-pills-wrap {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-pill-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-pill-link:hover {
  background: var(--brand-green);
  transform: translateY(-3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   Modal / Toast de Confirmación Visual
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content-box {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon.success {
  background: #ecfdf5;
  color: #10B981;
}

.modal-icon.error {
  background: #fef2f2;
  color: #ef4444;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 14px;
  color: var(--slate-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-close-modal {
  background: var(--dark-slate);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-close-modal:hover {
  background: var(--brand-green);
}

/* ==========================================================================
   Animaciones al Scroll (.reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes pulseGlow {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.15) rotate(3deg); opacity: 1; }
}

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

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

/* ==========================================================================
   Media Queries Responsivas
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-card-founder {
    max-width: 440px;
    margin: 0 auto;
  }

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

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

  .social-card-inner {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

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

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none; /* Menú móvil */
  }

  .mobile-toggle {
    display: block;
  }

  .newsletter-form-inline {
    flex-direction: column;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseFloat 3s infinite;
}

.floating-whatsapp-btn:hover {
  background: #20ba59;
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #0F172A;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseFloat {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

