/* 
   GarriAgentes - Hoja de Estilos Principal (styles.css)
   Estilo: Moderno, tecnológico, limpio, con toques de glassmorphism y auras de luz en fondo oscuro.
*/

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

/* --- Variables Globales --- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colores */
  --bg-dark: #070a13;
  --bg-card: rgba(13, 20, 38, 0.6);
  --bg-card-hover: rgba(20, 31, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --accent-electric: #00f2fe;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
}

/* --- Reseteo de Estilos --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* --- Fondo de Aura Luminosa --- */
body::before, body::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

body::after {
  top: 60%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
}

/* --- Tipografía --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

/* --- Layout y Clases de Utilidad --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-electric);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 60%, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1rem;
  gap: 8px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-30deg);
  transition: 0.75s ease;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* --- Cabecera / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(12px);
  border-color: var(--border-color);
  padding: 10px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .container {
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-cta {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* --- Hero Section --- */
#hero {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite alternate;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.hero-trust-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.hero-trust-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.7;
}

.trust-logo {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Ilustración del Hero (Dashboard Virtual) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

.dashboard-mockup {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.mockup-header {
  height: 40px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-color);
  gap: 6px;
}

.mockup-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
}

.mockup-dots span:nth-child(1) { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #f59e0b; }
.mockup-dots span:nth-child(3) { background-color: #10b981; }

.mockup-title {
  margin-left: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.mockup-body {
  padding: 24px;
}

.mockup-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 8px;
  position: relative;
  transition: var(--transition-normal);
}

.flow-node:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.flow-node.active-node {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(37,99,235,0.2);
}

.flow-node.active-node::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--accent-electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-electric);
}

.node-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-electric);
}

.flow-node.active-node .node-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-electric);
}

.node-info {
  flex: 1;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.node-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.active-node .node-status {
  color: var(--accent-green);
  font-weight: 500;
}

.flow-connector {
  height: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-green));
  margin-left: 33px;
  opacity: 0.6;
}

/* --- Sección "Qué Hacemos" --- */
#que-hacemos {
  background: linear-gradient(to bottom, transparent, rgba(13, 20, 38, 0.2));
}

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

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-text strong {
  color: #ffffff;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
}

.about-features li svg {
  color: var(--accent-electric);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Integraciones Diagrama Visual */
.integrations-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.integration-core {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-electric) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--primary-glow);
  z-index: 2;
  margin-bottom: 20px;
}

.integration-core svg {
  width: 36px;
  height: 36px;
  color: white;
}

.integration-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 30px;
}

.integrations-circle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 400px;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-normal);
}

.integration-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.integration-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-electric);
}

/* --- Sección "Servicios" --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-electric);
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* --- Sección "Casos de Uso" (Interactiva) --- */
#casos-uso {
  background-color: rgba(13, 20, 38, 0.15);
}

.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.03);
}

.tab-btn.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-electric);
  border-color: rgba(37, 99, 235, 0.2);
}

.tab-content-panel {
  display: none;
  animation: fade-in 0.5s ease forwards;
}

.tab-content-panel.active {
  display: block;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.case-info h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.case-tag {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: inline-block;
}

.case-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* Comparación Antes / Después */
.case-comparison {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-box {
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.comp-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
}

.comp-before {
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.1);
}

.comp-before::before {
  background-color: #ef4444;
}

.comp-after {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.15);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.03);
}

.comp-after::before {
  background-color: var(--accent-green);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-before .comp-header {
  color: #f87171;
}

.comp-after .comp-header {
  color: #34d399;
}

.comp-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comp-after .comp-text {
  color: var(--text-main);
}

/* --- Sección "Por qué GarriAgentes" --- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.why-left {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.why-left h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.why-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.why-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.02);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.why-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-item-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Sección de Contacto --- */
#contacto {
  background: linear-gradient(to top, rgba(13, 20, 38, 0.3), transparent);
}

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

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

.contact-info h3 {
  font-size: 2rem;
}

.contact-info p {
  color: var(--text-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 46px;
  height: 46px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-electric);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.detail-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.detail-text a, .detail-text p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.detail-text a:hover {
  color: var(--accent-electric);
}

.contact-socials {
  margin-top: 10px;
}

.social-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Formulario */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.25);
  background: rgba(7, 10, 19, 0.9);
}

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

/* Feedback de Envío Formulario */
.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 8px;
}

.form-feedback.success {
  display: flex;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* --- Footer --- */
footer {
  background-color: #04060b;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffffff;
}

/* --- Animaciones CSS --- */
@keyframes pulse-glow {
  from {
    transform: scale(0.9);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
  to {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clases de animación en scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Media Queries (Adaptabilidad) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-left {
    position: static;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  header .container {
    height: 70px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust-logos {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-container {
    padding: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
