/* ================================================================
   GUADIGITAL — Hoja de estilos principal
   Versión: 1.0.0 | Autor: Miguel Ángel Fernández
   ================================================================ */

/* ----------------------------------------------------------------
   1. TOKENS DE DISEÑO (CSS Custom Properties)
   ---------------------------------------------------------------- */
:root {
  --gd-navy-darkest:  #060F1E;
  --gd-navy-deep:     #0A1628;
  --gd-navy-mid:      #0F2444;
  --gd-navy-light:    #1E3A5F;
  --gd-blue-primary:  #1D4ED8;
  --gd-blue-hover:    #1E40AF;
  --gd-blue-light:    #3B82F6;
  --gd-blue-sky:      #38BDF8;
  --gd-blue-pale:     #EFF6FF;
  --gd-blue-surface:  #DBEAFE;
  --gd-white:         #FFFFFF;
  --gd-gray-50:       #F8FAFC;
  --gd-gray-100:      #F1F5F9;
  --gd-gray-200:      #E2E8F0;
  --gd-gray-400:      #94A3B8;
  --gd-gray-600:      #475569;
  --gd-gray-800:      #1E293B;
  --gd-text-dark:     #E0EFFE;
  --gd-text-muted:    rgba(224, 239, 254, 0.65);
  --gd-font-display:  'Syne', sans-serif;
  --gd-font-body:     'Plus Jakarta Sans', sans-serif;
  --gd-radius-sm:     8px;
  --gd-radius-md:     12px;
  --gd-radius-lg:     20px;
  --gd-radius-xl:     32px;
  --gd-transition:    0.2s ease;
  --gd-shadow-sm:     0 2px 8px rgba(10, 22, 40, 0.08);
  --gd-shadow-md:     0 4px 24px rgba(10, 22, 40, 0.12);
  --gd-shadow-lg:     0 8px 40px rgba(10, 22, 40, 0.18);
}

/* ----------------------------------------------------------------
   2. RESET Y BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--gd-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gd-gray-800);
  background: var(--gd-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--gd-transition); }
button { cursor: pointer; font-family: var(--gd-font-body); }
ul, ol { list-style: none; }
input, textarea, select { font-family: var(--gd-font-body); }

/* ----------------------------------------------------------------
   3. TIPOGRAFÍA
   ---------------------------------------------------------------- */
.gd-h1, .gd-h2, .gd-h3, .gd-h4 {
  font-family: var(--gd-font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.gd-h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; }
.gd-h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.gd-h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.gd-h4 { font-size: 1.1rem; }
.gd-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.8; }
.gd-small { font-size: 0.875rem; }
.gd-xs { font-size: 0.8rem; }
.text-white { color: var(--gd-white) !important; }
.text-muted-dark { color: var(--gd-text-muted); }
.text-blue { color: var(--gd-blue-primary); }
.text-sky { color: var(--gd-blue-sky); }
.text-gray { color: var(--gd-gray-600); }
.text-center { text-align: center; }
.text-bold { font-weight: 600; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

/* ----------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------- */
.gd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gd-section {
  padding: 96px 1.5rem;
}
.gd-section-sm { padding: 64px 1.5rem; }
.gd-section-dark { background: var(--gd-navy-deep); }
.gd-section-light { background: var(--gd-gray-50); }
.gd-section-pale  { background: var(--gd-blue-pale); }
.gd-section-white { background: var(--gd-white); }

.gd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.gd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gd-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.gd-flex   { display: flex; }
.gd-flex-center { display: flex; align-items: center; justify-content: center; }
.gd-flex-between { display: flex; align-items: center; justify-content: space-between; }
.gd-gap-1 { gap: 0.5rem; }
.gd-gap-2 { gap: 1rem; }
.gd-gap-3 { gap: 1.5rem; }
.gd-mt-1 { margin-top: 0.5rem; }
.gd-mt-2 { margin-top: 1rem; }
.gd-mt-3 { margin-top: 1.5rem; }
.gd-mt-4 { margin-top: 2rem; }
.gd-mt-6 { margin-top: 3rem; }
.gd-mb-2 { margin-bottom: 1rem; }
.gd-mb-3 { margin-bottom: 1.5rem; }

/* ----------------------------------------------------------------
   5. SECCIÓN HEADER
   ---------------------------------------------------------------- */
.gd-section-header { max-width: 700px; }
.gd-section-header.centered { margin: 0 auto; text-align: center; }
.gd-section-header p { margin-top: 1rem; }

/* ----------------------------------------------------------------
   6. BADGES / ETIQUETAS
   ---------------------------------------------------------------- */
.gd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.gd-badge--blue {
  background: var(--gd-blue-pale);
  color: var(--gd-blue-primary);
}
.gd-badge--sky {
  background: rgba(56, 189, 248, 0.12);
  color: var(--gd-blue-sky);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.gd-badge--pulse::before {
  content: '';
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: gd-pulse 2s infinite;
}
@keyframes gd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ----------------------------------------------------------------
   7. BOTONES
   ---------------------------------------------------------------- */
.gd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--gd-radius-sm);
  border: 2px solid transparent;
  transition: all var(--gd-transition);
  white-space: nowrap;
  text-decoration: none;
}
.gd-btn--primary {
  background: var(--gd-blue-primary);
  color: var(--gd-white);
  border-color: var(--gd-blue-primary);
}
.gd-btn--primary:hover {
  background: var(--gd-blue-hover);
  border-color: var(--gd-blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--gd-shadow-md);
  color: var(--gd-white);
}
.gd-btn--outline {
  background: transparent;
  color: var(--gd-white);
  border-color: rgba(255,255,255,0.25);
}
.gd-btn--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  color: var(--gd-white);
}
.gd-btn--outline-blue {
  background: transparent;
  color: var(--gd-blue-primary);
  border-color: var(--gd-blue-primary);
}
.gd-btn--outline-blue:hover {
  background: var(--gd-blue-primary);
  color: var(--gd-white);
}
.gd-btn--white {
  background: var(--gd-white);
  color: var(--gd-blue-primary);
  border-color: var(--gd-white);
}
.gd-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: var(--gd-blue-primary);
}
.gd-btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.gd-btn--sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.gd-btn--full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   8. NAVEGACIÓN
   ---------------------------------------------------------------- */
.gd-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(6, 15, 30, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 1.5rem;
  transition: border-color 0.3s;
}
.gd-nav.scrolled { border-bottom-color: rgba(56,189,248,0.12); }
.gd-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gd-nav-logo {
  font-family: var(--gd-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gd-white);
  letter-spacing: -0.02em;
}
.gd-nav-logo span { color: var(--gd-blue-sky); }
.gd-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.gd-nav-links a {
  color: rgba(224,239,254,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--gd-transition);
}
.gd-nav-links a:hover,
.gd-nav-links a.active { color: var(--gd-white); }
.gd-nav-links .gd-nav-phone {
  color: var(--gd-blue-sky) !important;
  font-size: 0.875rem !important;
}
.gd-nav-links .gd-nav-cta {
  background: var(--gd-blue-primary);
  color: var(--gd-white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: var(--gd-radius-sm);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background var(--gd-transition) !important;
}
.gd-nav-links .gd-nav-cta:hover { background: var(--gd-blue-hover) !important; }
.gd-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.gd-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gd-white);
  border-radius: 2px;
  transition: all 0.3s;
}
.gd-nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(6,15,30,0.98);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
  z-index: 8999;
  flex-direction: column;
  gap: 1rem;
}
.gd-nav-mobile.open { display: flex; }
.gd-nav-mobile a {
  color: rgba(224,239,254,0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gd-nav-mobile a:last-child { border: none; }
.gd-nav-mobile a:hover { color: var(--gd-white); }

/* ----------------------------------------------------------------
   9. HERO
   ---------------------------------------------------------------- */
.gd-hero {
  min-height: 100vh;
  background: var(--gd-navy-deep);
  display: flex;
  align-items: center;
  padding: 110px 1.5rem 80px;
  position: relative;
  overflow: hidden;
}
.gd-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 65% 50%, rgba(29, 78, 216, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}
.gd-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  pointer-events: none;
}
.gd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.gd-hero-content .gd-h2 {
  font-family: var(--gd-font-body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--gd-text-muted);
  margin: 1rem 0 1.25rem;
  letter-spacing: 0;
}
.gd-hero-content .gd-lead { color: rgba(224,239,254,0.65); max-width: 550px; margin-bottom: 2.5rem; }
.gd-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.gd-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.gd-stat-num {
  font-family: var(--gd-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gd-white);
  line-height: 1;
}
.gd-stat-num span { color: var(--gd-blue-sky); }
.gd-stat-label {
  font-size: 0.75rem;
  color: var(--gd-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero interior (páginas de servicio) */
.gd-hero-inner {
  min-height: 55vh;
  padding-top: 110px;
}
.gd-hero-inner .gd-h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ----------------------------------------------------------------
   10. TARJETAS (CARDS)
   ---------------------------------------------------------------- */
/* Tarjeta de servicio — fondo oscuro */
.gd-service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--gd-radius-lg);
  padding: 2rem;
  transition: border-color var(--gd-transition), background var(--gd-transition);
}
.gd-service-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(29, 78, 216, 0.08);
}
.gd-service-icon {
  width: 52px; height: 52px;
  background: rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--gd-radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.gd-service-card h3 {
  font-family: var(--gd-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gd-white);
  margin-bottom: 0.75rem;
}
.gd-service-card p { font-size: 0.9rem; color: var(--gd-text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.gd-feature-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.gd-feature-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(224,239,254,0.6);
}
.gd-feature-item::before { content: ''; width: 4px; height: 4px; background: var(--gd-blue-sky); border-radius: 50%; flex-shrink: 0; }
.gd-service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--gd-blue-sky);
  transition: gap var(--gd-transition);
}
.gd-service-link:hover { gap: 10px; }

/* Tarjeta blanca (fondo claro) */
.gd-card {
  background: var(--gd-white);
  border: 1px solid var(--gd-gray-200);
  border-radius: var(--gd-radius-lg);
  padding: 1.75rem;
  transition: border-color var(--gd-transition), box-shadow var(--gd-transition);
}
.gd-card:hover {
  border-color: var(--gd-blue-light);
  box-shadow: var(--gd-shadow-md);
}
.gd-card-icon {
  width: 44px; height: 44px;
  background: var(--gd-blue-pale);
  border-radius: var(--gd-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.gd-card h3 {
  font-family: var(--gd-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gd-navy-deep);
  margin-bottom: 0.4rem;
}
.gd-card p { font-size: 0.875rem; color: var(--gd-gray-600); }

/* ----------------------------------------------------------------
   11. PASOS / PROCESO
   ---------------------------------------------------------------- */
.gd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.gd-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--gd-gray-50);
  border: 1px solid var(--gd-gray-200);
  border-radius: var(--gd-radius-lg);
}
.gd-step::after {
  content: '';
  position: absolute;
  top: 2.5rem; right: -0.85rem;
  width: 1.5rem; height: 2px;
  background: var(--gd-blue-light);
  opacity: 0.35;
}
.gd-step:last-child::after { display: none; }
.gd-step-num {
  font-family: var(--gd-font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gd-blue-surface);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.gd-step h3 {
  font-family: var(--gd-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gd-navy-deep);
  margin-bottom: 0.5rem;
}
.gd-step p { font-size: 0.875rem; color: var(--gd-gray-600); line-height: 1.6; }

/* ----------------------------------------------------------------
   12. TESTIMONIOS
   ---------------------------------------------------------------- */
.gd-testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--gd-radius-lg);
  padding: 1.75rem;
}
.gd-stars { color: #FBBF24; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.gd-testimonial-text {
  font-size: 0.95rem;
  color: rgba(224,239,254,0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.gd-testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.gd-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gd-blue-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gd-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gd-white);
  flex-shrink: 0;
}
.gd-author-name { font-size: 0.875rem; font-weight: 600; color: var(--gd-white); }
.gd-author-role { font-size: 0.75rem; color: var(--gd-text-muted); }

/* ----------------------------------------------------------------
   13. RESULTADOS / MÉTRICAS
   ---------------------------------------------------------------- */
.gd-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gd-result { text-align: center; }
.gd-result-num {
  font-family: var(--gd-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gd-white);
  line-height: 1;
}
.gd-result-num span { color: var(--gd-blue-sky); }
.gd-result-label { font-size: 0.75rem; color: var(--gd-text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ----------------------------------------------------------------
   14. FAQ
   ---------------------------------------------------------------- */
.gd-faq-item { border-bottom: 1px solid var(--gd-gray-200); }
.gd-faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--gd-font-body);
  font-size: 0.95rem; font-weight: 600;
  color: var(--gd-navy-deep); gap: 1rem;
  cursor: pointer;
}
.gd-faq-q:hover { color: var(--gd-blue-primary); }
.gd-faq-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 1.5px solid var(--gd-gray-400); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--gd-gray-400);
  transition: transform 0.3s, border-color 0.2s;
}
.gd-faq-item.open .gd-faq-chevron { transform: rotate(180deg); border-color: var(--gd-blue-primary); color: var(--gd-blue-primary); }
.gd-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.gd-faq-item.open .gd-faq-a { max-height: 300px; }
.gd-faq-a p { font-size: 0.9rem; color: var(--gd-gray-600); line-height: 1.7; padding-bottom: 1.25rem; }

/* ----------------------------------------------------------------
   15. FORMULARIO DE CONTACTO
   ---------------------------------------------------------------- */
.gd-form-wrap {
  background: var(--gd-white);
  border: 1px solid var(--gd-gray-200);
  border-radius: var(--gd-radius-xl);
  padding: 2.5rem;
}
.gd-form-group { margin-bottom: 1rem; }
.gd-form-group label {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  color: var(--gd-gray-600);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.gd-form-group input,
.gd-form-group textarea,
.gd-form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gd-gray-200);
  border-radius: var(--gd-radius-sm);
  font-size: 0.9rem;
  color: var(--gd-gray-800);
  background: var(--gd-white);
  transition: border-color var(--gd-transition);
  outline: none;
  appearance: none;
}
.gd-form-group input:focus,
.gd-form-group textarea:focus,
.gd-form-group select:focus { border-color: var(--gd-blue-primary); }
.gd-form-group textarea { min-height: 100px; resize: vertical; }
.gd-form-privacy { font-size: 0.75rem; color: var(--gd-gray-400); margin-bottom: 1rem; line-height: 1.5; }
.gd-form-privacy a { color: var(--gd-blue-primary); text-decoration: underline; }
.gd-form-msg { font-size: 0.875rem; padding: 0.75rem 1rem; border-radius: var(--gd-radius-sm); margin-top: 1rem; display: none; }
.gd-form-msg.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; display: block; }
.gd-form-msg.error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; display: block; }

/* ----------------------------------------------------------------
   16. CTA FINAL
   ---------------------------------------------------------------- */
.gd-cta-section {
  background: var(--gd-blue-primary);
  padding: 90px 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gd-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(15, 36, 68, 0.35) 0%, transparent 50%);
}
.gd-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.gd-cta-inner h2 {
  font-family: var(--gd-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--gd-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.gd-cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2.5rem; }
.gd-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
.gd-footer {
  background: var(--gd-navy-darkest);
  padding: 4rem 1.5rem 2rem;
  color: var(--gd-text-muted);
}
.gd-footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.gd-footer-logo { font-family: var(--gd-font-display); font-size: 1.4rem; font-weight: 800; color: var(--gd-white); margin-bottom: 1rem; }
.gd-footer-logo span { color: var(--gd-blue-sky); }
.gd-footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.gd-footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.gd-footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--gd-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  color: var(--gd-text-muted);
  transition: all var(--gd-transition);
}
.gd-footer-social a:hover { background: var(--gd-blue-primary); border-color: var(--gd-blue-primary); color: var(--gd-white); }
.gd-footer-col h4 {
  font-family: var(--gd-font-display);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gd-white); margin-bottom: 1.25rem;
}
.gd-footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.gd-footer-col ul a { font-size: 0.875rem; color: var(--gd-text-muted); transition: color var(--gd-transition); }
.gd-footer-col ul a:hover { color: var(--gd-white); }
.gd-footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.gd-footer-contact-item a { color: var(--gd-blue-sky); }
.gd-footer-contact-item a:hover { text-decoration: underline; }
.gd-footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.gd-footer-bottom p { font-size: 0.8rem; }
.gd-footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.gd-footer-legal a { font-size: 0.8rem; color: var(--gd-text-muted); transition: color var(--gd-transition); }
.gd-footer-legal a:hover { color: var(--gd-white); }

/* ----------------------------------------------------------------
   18. COOKIE BANNER
   ---------------------------------------------------------------- */
.gd-cookie {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: var(--gd-navy-deep);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--gd-radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 700px; width: calc(100% - 3rem);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.gd-cookie p { font-size: 0.875rem; color: var(--gd-text-muted); line-height: 1.5; }
.gd-cookie p a { color: var(--gd-blue-sky); text-decoration: underline; }
.gd-cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.gd-cookie-accept { background: var(--gd-blue-primary); color: var(--gd-white); border: none; padding: 0.5rem 1.25rem; border-radius: var(--gd-radius-sm); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.gd-cookie-reject { background: transparent; color: var(--gd-text-muted); border: 1px solid rgba(255,255,255,0.15); padding: 0.5rem 1rem; border-radius: var(--gd-radius-sm); font-size: 0.85rem; white-space: nowrap; }
.gd-cookie.hidden { display: none; }

/* ----------------------------------------------------------------
   19. ANIMACIONES SCROLL
   ---------------------------------------------------------------- */
.gd-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gd-reveal.visible { opacity: 1; transform: translateY(0); }
.gd-reveal-delay-1 { transition-delay: 0.1s; }
.gd-reveal-delay-2 { transition-delay: 0.2s; }
.gd-reveal-delay-3 { transition-delay: 0.3s; }

/* ----------------------------------------------------------------
   20. UTILIDADES EXTRA
   ---------------------------------------------------------------- */
.gd-divider { height: 1px; background: var(--gd-gray-200); margin: 2rem 0; }
.gd-divider--dark { background: rgba(255,255,255,0.08); }
.gd-accent-line {
  width: 40px; height: 3px;
  background: var(--gd-blue-primary);
  border-radius: 2px;
  margin: 1rem 0;
}
.gd-highlight-box {
  background: var(--gd-blue-pale);
  border-left: 3px solid var(--gd-blue-primary);
  border-radius: 0 var(--gd-radius-sm) var(--gd-radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.925rem;
  color: var(--gd-navy-deep);
}

/* ----------------------------------------------------------------
   21. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gd-grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .gd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gd-steps  { grid-template-columns: repeat(2, 1fr); }
  .gd-results { grid-template-columns: repeat(2, 1fr); }
  .gd-footer-grid { grid-template-columns: 1fr 1fr; }
  .gd-step::after { display: none; }
}

@media (max-width: 768px) {
  .gd-section { padding: 64px 1.25rem; }
  .gd-nav-links { display: none; }
  .gd-nav-toggle { display: flex; }
  .gd-grid-3 { grid-template-columns: 1fr; }
  .gd-grid-4 { grid-template-columns: 1fr; }
  .gd-steps  { grid-template-columns: 1fr; }
  .gd-results { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .gd-footer-grid { grid-template-columns: 1fr; }
  .gd-footer-bottom { flex-direction: column; text-align: center; }
  .gd-hero-stats { gap: 1.5rem; }
  .gd-cookie { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .gd-results { grid-template-columns: 1fr 1fr; }
  .gd-btn { font-size: 0.875rem; padding: 0.75rem 1.4rem; }
  .gd-hero-ctas { flex-direction: column; }
  .gd-hero-ctas .gd-btn { text-align: center; justify-content: center; }
}
