/* ==========================================================================
   GRUPO PRO DIGITAL - MODERN LIGHT SAAS STYLING (ESTILO DE REFERENCIA)
   ========================================================================== */

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

html {
  scroll-behavior: smooth !important;
}

/* 1. Global Reset & Modern Light SaaS Typography */
body.gpd-core-page {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  background-color: #FAFCFF !important;
  color: #1E293B !important;
}

body.gpd-core-page h1,
body.gpd-core-page h2,
body.gpd-core-page h3,
body.gpd-core-page h4,
body.gpd-core-page h5,
body.gpd-core-page h6 {
  font-family: 'Outfit', sans-serif !important;
  color: #0F172A !important;
}

/* Typography Safeguards & Overrides */
.font-plus-jakarta,
.font-poppins,
.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.font-outfit {
  font-family: 'Outfit', sans-serif !important;
}

/* 2. Visual Themes - Ultra-Clean Light Design with Electric Blue Accents */

.gpd-theme-dark,
.gpd-theme-light {
  background-color: #FAFCFF !important;
  color: #334155 !important;
}

.gpd-theme-dark h1, .gpd-theme-dark h2, .gpd-theme-dark h3, .gpd-theme-dark h4,
.gpd-theme-light h1, .gpd-theme-light h2, .gpd-theme-light h3, .gpd-theme-light h4 {
  color: #0F172A !important;
}

.gpd-theme-dark p, .gpd-theme-light p {
  color: #475569 !important;
}

.gpd-accent-badge {
  background-color: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #2563EB !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
}

/* 3. Button Styles (Blue Gradient Pill Matching Reference Design) */

.gpd-btn-cyan-pill,
.gpd2-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.gpd-btn-cyan-pill:hover,
.gpd2-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45) !important;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
}
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.3) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gpd-btn-cyan-pill:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5) !important;
}

/* Dark Outlined Pill Button */
.gpd-btn-dark-pill {
  background-color: rgba(15, 23, 42, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gpd-btn-dark-pill:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* Green WhatsApp Pill Button */
.gpd-btn-whatsapp-pill {
  background-color: #10b981 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gpd-btn-whatsapp-pill:hover {
  background-color: #059669 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

/* Outlined Cyan Pill Button for Cards */
.gpd-btn-outline-cyan-pill {
  border: 1px solid rgba(0, 242, 254, 0.3) !important;
  color: #00F2FE !important;
  background-color: transparent !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gpd-btn-outline-cyan-pill:hover {
  background-color: rgba(0, 242, 254, 0.05) !important;
  border-color: #00F2FE !important;
  color: #00F2FE !important;
  transform: translateY(-2px) !important;
}

/* 4. Cards & Containers */

/* Dark Glassmorphism Cards */
.gpd-glass-card {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

.gpd-glass-card:hover {
  border-color: rgba(0, 242, 254, 0.4) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 242, 254, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* Light Mode Cards - REDISEÑADO A TARJETAS OSCURAS DE CRISTAL (GLASSMORPHISM) */
.gpd-light-card {
  background: rgba(13, 22, 47, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

.gpd-light-card:hover {
  border-color: rgba(0, 242, 254, 0.4) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 242, 254, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* Icon Containers */
.gpd-icon-box-light {
  background-color: rgba(0, 242, 254, 0.1) !important;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  color: #00F2FE !important;
}

.gpd-icon-box-dark {
  background-color: rgba(0, 242, 254, 0.1) !important;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  color: #00F2FE !important;
}

/* 5. Interactive Browser Mockup (Hero) */
.gpd-mockup-wrapper {
  background: linear-gradient(135deg, rgba(8, 15, 37, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 254, 0.08) !important;
  border-radius: 1rem !important;
  overflow: visible !important; /* Allow overlapping badges */
  position: relative !important;
}

.gpd-mockup-header {
  background: rgba(15, 23, 42, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 0.75rem 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gpd-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.gpd-mockup-dot.red { background-color: #ef4444; }
.gpd-mockup-dot.yellow { background-color: #f59e0b; }
.gpd-mockup-dot.green { background-color: #10b981; }

.gpd-mockup-title {
  color: #64748b;
  font-size: 0.7rem;
  font-family: monospace !important;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.05em;
}

.gpd-mockup-content {
  padding: 1.5rem !important;
}

/* Overlapping Mockup Badges */
.gpd-mockup-badge-roi {
  position: absolute !important;
  top: 15% !important;
  right: -8% !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 20;
}

.gpd-mockup-badge-ia {
  position: absolute !important;
  bottom: 8% !important;
  left: -8% !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 20;
}

.gpd-mockup-value {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.gpd-mockup-stat-card {
  background-color: rgba(15, 23, 42, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 0.5rem !important;
  padding: 0.6rem !important;
}

.gpd-mockup-stat-label {
  color: #94a3b8 !important;
  font-size: 0.65rem !important;
  display: block;
  margin-top: 0.25rem;
}

/* 6. Form Styling (Dark Section) */
.gpd-dark-form {
  background: rgba(11, 19, 41, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gpd-dark-form label {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
}

.gpd-dark-form input[type="text"],
.gpd-dark-form input[type="email"],
.gpd-dark-form textarea {
  background-color: rgba(3, 7, 18, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.gpd-dark-form input[type="text"]:focus,
.gpd-dark-form input[type="email"]:focus,
.gpd-dark-form textarea:focus {
  border-color: #00F2FE !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2) !important;
}

/* 7. CTA Center Card */
.gpd-cta-card {
  background: linear-gradient(135deg, #0b1329 0%, #030712 100%) !important;
  border: 1px solid rgba(0, 242, 254, 0.1) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.05) !important;
}

/* 8. Text Legibility in FAQ & Accordions */
.gpd-faq-trigger-light {
  color: #0f172a !important;
}

.gpd-faq-trigger-light:hover {
  color: #0891b2 !important;
}

/* 9. WhatsApp float button */
.gpd-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.gpd-whatsapp-float:hover {
  transform: scale(1.1);
}

/* 10. Legibility Contrast Corrections & Dashicon Centering - REDISEÑADO A PREMIUM DARK */
.gpd-theme-light p,
.gpd-theme-light .text-slate-600,
.gpd-theme-light .text-slate-700,
.gpd-light-card p,
.gpd-light-card span:not(.dashicons):not(.gpd-faq-icon):not(.gpd-accent-badge):not(.text-7xl),
.gpd-light-card div:not(.gpd-icon-box-light):not(.gpd-icon-box-dark):not(.w-6):not(.h-6):not(.w-8):not(.h-8):not(.w-12):not(.h-12) {
  color: #cbd5e1 !important; /* Premium light slate text */
}

.gpd-light-card h1,
.gpd-light-card h2,
.gpd-light-card h3,
.gpd-light-card h4 {
  color: #ffffff !important; /* White titles */
}

/* Centering and sizing Dashicons inside icon boxes */
.gpd-icon-box-light .dashicons,
.gpd-icon-box-dark .dashicons {
  font-size: 20px !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 11. Lucide Icons Styles & Resets */
svg.lucide,
[data-lucide],
svg {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  stroke-width: 2px !important;
  fill: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transition: stroke 0.3s ease !important;
}

/* Icon Box overrides to protect brand/cyan color */
.gpd-icon-box-light,
.gpd-icon-box-light *,
.gpd-icon-box-dark,
.gpd-icon-box-dark * {
  color: #00F2FE !important;
}
.gpd-icon-box-light svg,
.gpd-icon-box-light svg.lucide,
.gpd-icon-box-light [data-lucide],
.gpd-icon-box-dark svg,
.gpd-icon-box-dark svg.lucide,
.gpd-icon-box-dark [data-lucide] {
  stroke: currentColor !important;
}

/* Badges overrides to preserve colors */
.gpd-accent-badge,
.gpd-accent-badge * {
  color: inherit !important;
}

/* 12. CTA Card Contrast and Legibility (Forced Light theme fixes) */
.gpd-cta-card p,
.gpd-cta-card span,
.gpd-cta-card div {
  color: #cbd5e1 !important; /* light slate-300 */
}
.gpd-cta-card h2,
.gpd-cta-card h2 * {
  color: #ffffff !important;
}
.gpd-cta-card .gpd-btn-cyan-pill,
.gpd-cta-card .gpd-btn-cyan-pill * {
  color: #030712 !important;
}

/* 13. WhatsApp Float Button SVG centering */
.gpd-whatsapp-float svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* 14. Watermark / Metodología Step Numbers & Centered Layout */
#metodologia .gpd-glass-card,
#proceso .gpd-light-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  min-height: 200px !important;
}

#metodologia .gpd-glass-card > div,
#proceso .gpd-light-card > div {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

#metodologia .gpd-glass-card span.text-7xl,
#proceso .gpd-light-card span.text-7xl {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 8rem !important;
  font-weight: 900 !important;
  color: rgba(255, 255, 255, 0.025) !important; /* Low opacity watermark behind text */
  z-index: 1 !important;
  pointer-events: none !important;
  user-select: none !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ocultar botón flotante de WhatsApp */
.gpd-whatsapp-float {
  display: none !important;
}

/* 16. FAQs Minimalistas */
#faqs .gpd-light-card {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

#faqs .gpd-light-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

#faqs .gpd-faq-trigger-light {
  padding: 1.25rem 0 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

#faqs .faq-drawer {
  border: none !important;
}

#faqs .faq-drawer div {
  padding: 0 0 1.25rem 0 !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
}

/* 17. Blog Minimalista */
#blog .gpd-light-card {
  background: rgba(13, 22, 47, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 1.25rem !important; /* Smaller padding */
  border-radius: 0.75rem !important;
  box-shadow: none !important;
}

#blog .gpd-light-card:hover {
  border-color: rgba(0, 242, 254, 0.3) !important;
  background: rgba(13, 22, 47, 0.5) !important;
  transform: translateY(-2px) !important;
}

#blog h3.text-base {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

#blog p.text-slate-600 {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  line-height: 1.5 !important;
  margin-top: 0.25rem !important;
}

#blog .pt-4.mt-6 {
  padding-top: 0.75rem !important;
  margin-top: 1rem !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

/* 15. Header Modernization & Compact Layout */
header.fixed.top-0 {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

header.fixed.top-0 .max-w-7xl {
  padding-top: 0.75rem !important; /* Compact vertical padding */
  padding-bottom: 0.75rem !important;
}

header.fixed.top-0 a.group span.text-xl {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
}

header.fixed.top-0 nav a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
}

header.fixed.top-0 nav a:hover {
  color: #00F2FE !important;
}

header.fixed.top-0 .gpd-btn-cyan-pill {
  font-size: 12px !important;
  padding: 0.5rem 1.25rem !important; /* Compact button */
}

/* ==========================================================================
   18. MODAL INTERACTIVO DE SERVICIOS (DOPAMINE & HIGH CONVERSION)
   ========================================================================== */
.gpd-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 13, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gpd-modal-card {
  background: #0B1628;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(6, 182, 212, 0.15);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #f1f5f9;
}

.gpd-modal-overlay.active .gpd-modal-card {
  transform: scale(1) translateY(0);
}

.gpd-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.gpd-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

.gpd-modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 70%);
}

.gpd-modal-body {
  padding: 28px 32px 36px;
}

/* Botón WhatsApp de Alta Conversión */
.gpd-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  border-radius: 99px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.gpd-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28E06C 0%, #159E8E 100%);
}

.gpd-btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Glow Badge Central de Fidelización */
.gpd-fidelization-banner {
  background: linear-gradient(135deg, rgba(15, 30, 56, 0.95) 0%, rgba(20, 37, 64, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.12);
}

.gpd-fidelization-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Forzado de Título y Párrafos Blancos sobre Tarjeta Azul del Hero */
.gpd2-hero-card h1,
.gpd2-hero-title,
h1.gpd2-hero-title,
.gpd2-hero-card p,
.gpd2-hero-desc {
  color: #FFFFFF !important;
}

/* ==========================================================================
   19. MODAL FIX & RESPONSIVE MÓVIL OPTIMIZADO
   ========================================================================== */
.gpd-modal-overlay {
  z-index: 999999 !important;
  padding: 12px !important;
}

.gpd-modal-card {
  width: 100% !important;
  max-width: 720px !important;
  border-radius: 24px !important;
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  /* Modal en Pantallas Móviles */
  .gpd-modal-card {
    max-height: 92vh !important;
    border-radius: 18px !important;
  }
  .gpd-modal-header {
    padding: 20px 16px 16px !important;
  }
  .gpd-modal-body {
    padding: 16px !important;
  }
  .gpd-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }

  /* Forzar 1 columna dentro del modal en móvil para evitar texto apretado */
  .gpd-modal-body > div[style*="grid-template-columns"],
  #gpd-modal-bullets {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Cabecera Oscura Móvil */
  #gpd-header {
    background-color: #0B1628 !important;
  }
  #gpd-mobile-menu {
    background-color: #0B1628 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  #gpd-mobile-menu a {
    color: #F8FAFC !important;
  }

  /* Grilla de Servicios en 2 Columnas Centradas */
  .gpd2-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .gpd2-service-card {
    padding: 14px 10px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 16px !important;
  }
  .gpd2-service-icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto 8px !important;
  }
  .gpd2-service-card h3 {
    font-size: 12px !important;
    text-align: center !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  .gpd2-service-card p {
    font-size: 10px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }
  .gpd2-service-card ul {
    display: none !important;
  }
  .gpd2-service-card button,
  .gpd2-service-card .gpd2-btn-blue {
    font-size: 10px !important;
    padding: 8px 6px !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Sección 4 en Móvil (Metodología, FAQs y Contacto) */
  #contacto .gpd2-container > div[style*="grid-template-columns"],
  #contacto div[style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  #gpd-contact-ajax-form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Ocultar barra de scroll en Slider de Clases */
.gpd2-clases-slider {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.gpd2-clases-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Animación del Ticker Infinito de Tarjetas Pill (Desktop y Mobile 100% Continuo) */
@keyframes gpd-pill-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gpd2-pill-marquee-track {
  display: flex !important;
  gap: 20px !important;
  width: max-content !important;
  animation: gpd-pill-marquee 24s linear infinite !important;
  will-change: transform;
}

.gpd2-pill-marquee-track:hover {
  animation-play-state: paused !important;
}

.gpd2-pill-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.gpd2-pill-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14) !important;
  border-color: #BFDBFE !important;
}

/* ── MÓVIL REGLAS ESPECÍFICAS (BORDES DIFUMINADOS Y SLIDERS EN MÓVIL) ── */
@media (max-width: 768px) {
  .gpd2-pill-marquee-track {
    gap: 12px !important;
    animation-duration: 18s !important;
  }
  .gpd2-pill-card {
    padding: 10px 16px !important;
  }
  .gpd2-pill-card h4 {
    font-size: 12.5px !important;
  }
  .gpd2-pill-card p {
    font-size: 10px !important;
  }
  .gpd2-tooltip-box p {
    font-size: 9.5px !important;
  }

  /* Metodología en Móvil: Fila 1 (N1 izq, N2 der), Fila 2 (N3 abajo en ancho completo centrado) */
  .gpd2-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    text-align: center !important;
  }
  .gpd2-steps-grid > div {
    text-align: center !important;
    padding: 16px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
  }
  .gpd2-steps-grid > div h3,
  .gpd2-steps-grid > div p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .gpd2-steps-grid > div:nth-child(1) {
    grid-column: 1 !important;
  }
  .gpd2-steps-grid > div:nth-child(2) {
    grid-column: 2 !important;
  }
  .gpd2-steps-grid > div:nth-child(3) {
    grid-column: 1 / span 2 !important;
    width: 100% !important;
  }

  /* Galería de Clases en Móvil: 2 Clases visibles en el ancho sin barra de scroll */
  .gpd2-clases-slider {
    gap: 10px !important;
    padding: 6px 2px 18px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    min-width: 0 !important;
    border-radius: 14px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal > div:first-child {
    height: 105px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal > div:first-child > div[style*="width:56px"] {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal > div:last-child {
    padding: 10px 8px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal span[style*="font-size:11px"] {
    font-size: 8.5px !important;
    margin-bottom: 2px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal h3 {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  .gpd2-clases-slider .gpd-open-class-modal button {
    font-size: 9.5px !important;
    padding: 7px 6px !important;
  }
}

/* Animación del Ticker Infinito de Servicios */
@keyframes gpd-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Forzar Título Blanco en la Tarjeta Azul del Hero */
body.gpd-core-page .gpd2-hero-card h1,
body.gpd-core-page .gpd2-hero-title,
.gpd2-hero-title,
.gpd2-hero-card h1 {
  color: #FFFFFF !important;
}










