/*------------------------------------------------------------------
  MD INTELLIGENCE — CUSTOM THEME
  Esquema de colores: Azul Oscuro + Violeta
  Sobreescribe el template Biztrox base
-------------------------------------------------------------------*/

/* ===========================
   VARIABLES DE COLOR
=========================== */
:root {
  --md-navy:      #0a1628;
  --md-navy-mid:  #0f2040;
  --md-navy-light:#162a50;
  --md-violet:    #7c3aed;
  --md-violet-lt: #9f67ff;
  --md-blue:      #3b82f6;
  --md-blue-lt:   #60a5fa;
  --md-cyan:      #06b6d4;
  --md-white:     #ffffff;
  --md-light:     #f0f4ff;
  --md-gray:      #f5f7fa;
  --md-text:      #1e293b;
  --md-text-muted:#64748b;
  --md-gradient:  linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --md-gradient-dark: linear-gradient(135deg, #0a1628 0%, #162a50 100%);
}

/* ===========================
   RESET DE COLORES PRIMARIOS
=========================== */
/* Sobreescribir rojo #e84444 con violeta */
.text-primary { color: var(--md-violet) !important; }
.bg-primary    { background-color: var(--md-violet) !important; }
.bg-secondary  { background-color: var(--md-navy) !important; }
.bg-gray       { background-color: var(--md-gray) !important; }

a:hover                     { color: var(--md-violet); }
a.text-dark:hover,
a.text-white:hover          { color: var(--md-violet-lt) !important; }

::-moz-selection { background: var(--md-violet); color: #fff; }
::selection      { background: var(--md-violet); color: #fff; }

/* ===========================
   BOTONES
=========================== */
.btn-primary {
  background: var(--md-gradient);
  background-color: var(--md-violet);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover,
.btn-primary:active { background: var(--md-violet-lt) !important; box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); }

.btn-secondary { background: var(--md-navy-mid); color: #fff; }
.btn-secondary:hover,
.btn-secondary:active { background: var(--md-violet) !important; }

.btn-outline-violet {
  background: transparent;
  color: var(--md-white);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 35px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 14px;
  transition: .3s ease;
}
.btn-outline-violet:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ===========================
   DECORATIVOS — BORDES DE TÍTULO
=========================== */
.section-title-border::before,
.section-title-border-gray::before   { background: var(--md-violet); }
.section-title-border::after         { border-color: var(--md-violet); background: #fff; box-shadow: 0 0 0 5px #fff; }
.section-title-border-gray::after    { border-color: var(--md-violet); background: var(--md-gray); box-shadow: 0 0 0 5px var(--md-gray); }
.section-title-border-half::before   { border-color: var(--md-violet); }
.section-title-border-half::after    { background: var(--md-violet); }
.section-title-border-half-white::after { background: #fff; }

.overlay-primary::before { background: var(--md-violet); opacity: .75; }

/* round icon */
.round-icon { color: var(--md-violet); border-color: rgba(124, 58, 237, 0.2); }

/* square icon (service cards) */
.square-icon { background: var(--md-violet); color: #fff; }

/* progress bar */
.progress-bar { background: var(--md-gradient); }

/* card link / accordion */
.card-link i.text-primary,
i.text-primary { color: var(--md-violet) !important; }

/* ===========================
   NAVIGATION
=========================== */
.top-header {
  background: var(--md-navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
}
.top-header a { color: rgba(255,255,255,0.75); font-size: 13px; }
.top-header a:hover { color: var(--md-violet-lt); }
.top-header .list-inline-item + .list-inline-item { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 14px; margin-left: 8px; }

.navigation {
  background: var(--md-navy-mid) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
/* Logo SVG sizing — el SVG incluye cerebro + texto, mantener proporción */
.navbar-brand img[src*=".svg"] { max-height: 48px !important; width: auto; max-width: 220px; }
.footer-brand img[src*=".svg"] { max-height: 48px !important; width: auto; max-width: 220px; }

.navigation .navbar { background: transparent !important; padding: 12px 0; }
.navigation .nav-link { color: rgba(255,255,255,0.85) !important; font-size: 14px; font-weight: 500; padding: 8px 16px !important; letter-spacing: 0.3px; }
.navigation .nav-link:hover,
.navigation .nav-item.active .nav-link { color: var(--md-violet-lt) !important; }

.navigation .dropdown-menu {
  background: var(--md-navy);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  padding: 8px 0;
}
.navigation .dropdown-item { color: rgba(255,255,255,0.75); font-size: 13px; padding: 8px 20px; }
.navigation .dropdown-item:hover { background: rgba(124,58,237,0.15); color: var(--md-violet-lt); }

.navigation .navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navigation .navbar-toggler-icon { filter: invert(1); }

/* CTA button nav */
.nav-item .btn-primary.btn-sm {
  background: var(--md-gradient) !important;
  border: none;
  border-radius: 25px;
  padding: 10px 22px !important;
  font-size: 13px;
  color: #fff;
}

/* ===========================
   SEARCH FORM
=========================== */
.search-form { background: var(--md-navy); }

/* ===========================
   HERO SECTION
=========================== */
.md-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--md-gradient-dark);
  position: relative;
  overflow: hidden;
}

.md-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.12) 0%, transparent 50%);
}

/* Animated grid overlay */
.md-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.md-hero-content { position: relative; z-index: 2; }

.md-hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
@media (max-width: 768px) { .md-hero h1 { font-size: 32px; } }
@media (max-width: 400px) { .md-hero h1 { font-size: 26px; } }

.md-hero .hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.md-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 25px;
  padding: 6px 18px;
  font-size: 12px;
  color: var(--md-violet-lt);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.md-hero .hero-badge i { font-size: 14px; }

.md-hero .hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.md-hero .hero-stats .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}
.md-hero .hero-stats .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual cards */
.md-hero-visual { position: relative; z-index: 2; }
.md-hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
  transition: .3s ease;
}
.md-hero-card:hover { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
.md-hero-card .card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--md-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.md-hero-card .card-icon i { color: #fff; font-size: 20px; }
.md-hero-card h6 { color: #fff; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.md-hero-card p { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0; }

/* ===========================
   SECCIÓN: PROPUESTA DE VALOR
=========================== */
.value-section { padding: 80px 0; background: #fff; }

.value-card {
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid rgba(124,58,237,0.1);
  text-align: center;
  transition: .3s ease;
  height: 100%;
}
.value-card:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-4px);
}
.value-card .val-icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(59,130,246,0.1) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-card .val-icon i { font-size: 28px; color: var(--md-violet); }
.value-card h5 { color: var(--md-text); font-weight: 600; margin-bottom: 12px; }
.value-card p { color: var(--md-text-muted); font-size: 14px; margin: 0; }

/* ===========================
   SECCIÓN: QUIÉNES SOMOS
=========================== */
.about-md {
  padding: 100px 0;
  background: var(--md-gray);
}
.about-md .about-badge {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--md-violet);
  border-radius: 25px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.about-md h2 { color: var(--md-text); font-weight: 700; margin-bottom: 20px; }
.about-md p { color: var(--md-text-muted); line-height: 1.8; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.about-feature .feat-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 12px;
  background: var(--md-gradient);
  display: flex; align-items: center; justify-content: center;
}
.about-feature .feat-icon i { color: #fff; font-size: 18px; }
.about-feature h6 { color: var(--md-text); font-weight: 600; margin-bottom: 4px; }
.about-feature p { color: var(--md-text-muted); font-size: 13px; margin: 0; }

.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.about-img-wrapper img { border-radius: 20px; width: 100%; }
.about-img-badge {
  position: absolute;
  bottom: 30px; left: 30px;
  background: var(--md-gradient);
  border-radius: 14px;
  padding: 18px 24px;
  color: #fff;
}
.about-img-badge .big-num { font-size: 42px; font-weight: 700; line-height: 1; }
.about-img-badge p { font-size: 13px; margin: 0; opacity: .85; }

/* ===========================
   SECCIÓN: SERVICIOS
=========================== */
.services-md { padding: 100px 0; background: #fff; }

.service-md-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}
.service-md-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--md-gradient);
  transform: scaleX(0);
  transition: .3s ease;
  transform-origin: left;
}
.service-md-card:hover { box-shadow: 0 16px 48px rgba(124,58,237,0.12); transform: translateY(-5px); border-color: rgba(124,58,237,0.2); }
.service-md-card:hover::before { transform: scaleX(1); }

.service-md-card .srv-icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(59,130,246,0.08) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-md-card .srv-icon i { font-size: 24px; color: var(--md-violet); }
.service-md-card h5 { color: var(--md-text); font-weight: 600; margin-bottom: 12px; font-size: 17px; }
.service-md-card p { color: var(--md-text-muted); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.service-md-card ul { padding: 0; margin: 0; }
.service-md-card ul li { color: var(--md-text-muted); font-size: 13px; padding: 3px 0; }
.service-md-card ul li::before { content: '→ '; color: var(--md-violet); font-weight: 700; }
.service-md-card .srv-link { color: var(--md-violet); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.service-md-card .srv-link:hover { color: var(--md-violet-lt); gap: 10px; }

/* ===========================
   SECCIÓN: IA DESTACADA
=========================== */
.ai-section {
  padding: 100px 0;
  background: var(--md-gradient-dark);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.25) 0%, transparent 60%);
}
.ai-section .section-inner { position: relative; z-index: 2; }

.ai-section .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.5);
  border-radius: 25px;
  padding: 6px 18px;
  font-size: 12px;
  color: var(--md-violet-lt);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.ai-section h2 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 20px; }
@media (max-width: 768px) { .ai-section h2 { font-size: 28px; } }
.ai-section p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.8; }

.ai-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: .3s ease;
}
.ai-feature-item:hover { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
.ai-feature-item .ai-feat-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px;
  background: var(--md-gradient);
  display: flex; align-items: center; justify-content: center;
}
.ai-feature-item .ai-feat-icon i { color: #fff; font-size: 18px; }
.ai-feature-item h6 { color: #fff; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.ai-feature-item p { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0; }

.ai-quote-box {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  border-left: 4px solid var(--md-violet);
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
}
.ai-quote-box p { color: rgba(255,255,255,0.85); font-style: italic; font-size: 16px; line-height: 1.7; margin: 0; }

/* ===========================
   SECCIÓN: METODOLOGÍA
=========================== */
.methodology-section { padding: 100px 0; background: var(--md-gray); }

.method-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: .3s ease;
}
.method-step:hover { box-shadow: 0 8px 30px rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.2); }
.method-step .step-num {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: 12px;
  background: var(--md-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.method-step h6 { color: var(--md-text); font-weight: 600; margin-bottom: 4px; }
.method-step p { color: var(--md-text-muted); font-size: 13px; margin: 0; }

/* ===========================
   SECCIÓN: INDUSTRIAS
=========================== */
.industries-section { padding: 80px 0; background: #fff; }

.industry-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: .3s ease;
}
.industry-card:hover { box-shadow: 0 8px 30px rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25); transform: translateY(-3px); }
.industry-card .ind-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(59,130,246,0.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.industry-card .ind-icon i { font-size: 26px; color: var(--md-violet); }
.industry-card h6 { color: var(--md-text); font-weight: 600; margin: 0; }

/* ===========================
   CTA BAND
=========================== */
.cta-band {
  padding: 80px 0;
  background: var(--md-gradient);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.btn-cta-white {
  background: #fff;
  color: var(--md-violet);
  border-radius: 35px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: .3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta-white:hover { background: var(--md-navy); color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 35px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: .3s ease;
  margin-left: 12px;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* ===========================
   FOOTER
=========================== */
footer.md-footer {
  background: var(--md-navy);
  padding-top: 80px;
}
footer.md-footer .footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.7; margin: 20px 0; }
footer.md-footer h5 { color: #fff; font-weight: 600; margin-bottom: 20px; font-size: 15px; }
footer.md-footer .footer-links { padding: 0; margin: 0; }
footer.md-footer .footer-links li { margin-bottom: 10px; }
footer.md-footer .footer-links a { color: rgba(255,255,255,0.55); font-size: 14px; transition: .2s; }
footer.md-footer .footer-links a:hover { color: var(--md-violet-lt); padding-left: 4px; }
footer.md-footer .footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer.md-footer .footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }
footer.md-footer .footer-bottom a { color: rgba(255,255,255,0.4); }
footer.md-footer .footer-bottom a:hover { color: var(--md-violet-lt); }

.social-icon-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: .3s;
}
.social-icon-outline:hover { background: var(--md-violet); border-color: var(--md-violet); color: #fff; }

/* ===========================
   PAGE TITLES (páginas interiores)
=========================== */
.md-page-title {
  padding: 100px 0 60px;
  background: var(--md-gradient-dark);
  position: relative;
  overflow: hidden;
}
.md-page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.2) 0%, transparent 60%);
}
.md-page-title .inner { position: relative; z-index: 2; }
.md-page-title h1 { color: #fff; font-weight: 700; font-size: 42px; }
.md-page-title .breadcrumb-item,
.md-page-title .breadcrumb-item a { color: rgba(255,255,255,0.6); font-size: 13px; }
.md-page-title .breadcrumb-item.active { color: var(--md-violet-lt); }
.md-page-title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===========================
   CONTACT
=========================== */
.contact-info-card {
  background: var(--md-navy-mid);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
}
.contact-info-card h3 { color: #fff; font-weight: 700; margin-bottom: 12px; }
.contact-info-card > p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 32px; }

.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px;
  background: rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .ci-icon i { color: var(--md-violet-lt); font-size: 18px; }
.contact-info-item h6 { color: #fff; font-weight: 600; margin-bottom: 2px; font-size: 14px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0; text-decoration: none; }
.contact-info-item a:hover { color: var(--md-violet-lt); }

.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.contact-form-wrapper h3 { color: var(--md-text); font-weight: 700; margin-bottom: 8px; }
.contact-form-wrapper > p { color: var(--md-text-muted); font-size: 14px; margin-bottom: 28px; }
.contact-form-wrapper .form-control {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--md-text);
  transition: .2s;
}
.contact-form-wrapper .form-control:focus {
  border-color: var(--md-violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

/* ===========================
   ABOUT PAGE
=========================== */
.mission-vision-card {
  border-radius: 16px;
  padding: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.mission-vision-card.mission-bg { background: var(--md-gradient-dark); }
.mission-vision-card.vision-bg  { background: var(--md-gradient); }
.mission-vision-card h4 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.mission-vision-card p  { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.8; margin: 0; }
.mission-vision-card .mv-icon { font-size: 48px; color: rgba(255,255,255,0.15); margin-bottom: 16px; }

.differentiator-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(124,58,237,0.15);
  height: 100%;
  transition: .3s ease;
}
.differentiator-card:hover { box-shadow: 0 8px 30px rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
.differentiator-card .dif-num {
  font-size: 48px;
  font-weight: 800;
  background: var(--md-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.differentiator-card h6 { color: var(--md-text); font-weight: 600; margin-bottom: 8px; }
.differentiator-card p  { color: var(--md-text-muted); font-size: 13px; margin: 0; }

/* ===========================
   SERVICIOS PAGE
=========================== */
.service-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: .3s ease;
  height: 100%;
}
.service-detail-card:hover { box-shadow: 0 16px 48px rgba(124,58,237,0.1); }
.service-detail-card .sdd-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.service-detail-card .sdd-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--md-gradient);
  display: flex; align-items: center; justify-content: center;
}
.service-detail-card .sdd-icon i { color: #fff; font-size: 22px; }
.service-detail-card h4 { color: var(--md-text); font-weight: 700; margin: 0; font-size: 20px; }
.service-detail-card .sdd-desc { color: var(--md-text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.service-detail-card .sdd-items { padding: 0; margin: 0; }
.service-detail-card .sdd-items li { padding: 6px 0; color: var(--md-text-muted); font-size: 13px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; gap: 8px; }
.service-detail-card .sdd-items li:last-child { border-bottom: none; }
.service-detail-card .sdd-items li i { color: var(--md-violet); font-size: 14px; }
.service-detail-card .ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.08);
  color: var(--md-violet);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
}

/* ===========================
   UTILITIES
=========================== */
.gradient-text {
  background: var(--md-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-badge {
  display: inline-block;
  background: rgba(124,58,237,0.08);
  color: var(--md-violet);
  border-radius: 25px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.mt-n4 { margin-top: -40px !important; }

/* Preloader */
.preloader { background: var(--md-navy); }

/* Client logos sobre fondo claro */
.client-logo-slider .slick-track { display: flex; align-items: center; }
.client-logo-slider a img { filter: grayscale(100%) opacity(0.45); transition: .3s; }
.client-logo-slider a:hover img { filter: grayscale(0) opacity(1); }

/* Section title small override */
.section-title-sm { color: var(--md-violet); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
