/* ==========================================================================
   REDISEÑO "ESTILO CRM" — Montano & Co.
   Se carga al final del <head> (después de main.css y de los estilos del
   layout). Las reglas usan el prefijo "body" para ganarle también a los
   bloques <style> que están dentro de las páginas.
   Para cambiar el tono del fondo basta con cambiar --bg aquí abajo.
   ========================================================================== */

:root,
.dark-background,
.light-background {
  --bg: #070707;            /* fondo general: el negro de la imagen de referencia */
  --surface: #1A1A1C;       /* tarjetas */
  --surface-2: #232326;     /* iconos / elementos dentro de tarjetas */
  --border: #2E2E31;
  --lime: #B9FF66;          /* acento */
  --on-lime: #0D0D0E;
  --cta-yellow: #E7E009;    /* botones de acción: siguen amarillos */
  --on-cta: #141517;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);

  /* Variables de la plantilla (main.css) apuntando a la nueva paleta */
  --background-color: var(--bg);
  --default-color: rgba(255, 255, 255, 0.78);
  --heading-color: var(--text);
  --accent-color: var(--lime);
  --surface-color: var(--surface);
  --contrast-color: var(--on-lime);
  --default-font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading-font: "Urbanist", system-ui, sans-serif;
  --nav-font: "Urbanist", system-ui, sans-serif;
}

/* ---------- Base: un solo fondo continuo, tipografía Urbanist ---------- */
html body {
  background: transparent !important;
  background-image: none !important;
  color: var(--default-color);
  font-family: var(--default-font) !important;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body span, body li, body button, body input, body textarea, body select,
body .metric-num, body .roadmap-node,
body .navmenu a, body .footer {
  font-family: var(--default-font) !important;
}
body h1, body h2, body h3 { letter-spacing: -0.5px; }

body .section:not(#hero),
body section.dark-background:not(#hero),
body section.light-background:not(#hero),
body #services.section,
body .roadmap-section,
body .testimonials-section,
body .aliados-section,
body .faq-section,
body #contact.section,
body #services, body #cards, body #testimonials, body #aliados, body #faq, body #contact,
body #testimonials.testimonials-section, body #services.section {
  background: transparent !important;
  background-image: none !important;
}

/* Encabezado y pie */
body .header,
body #header,
body .header.sticked,
body .scrolled .header {
  background: rgba(7, 7, 7, 0.85) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
body footer.footer,
body footer.footer.dark-background,
body .footer-v2 {
  background: rgba(7, 7, 7, 0.55) !important;
  border-top: 1px solid var(--border);
}
body .navmenu a::after { background-color: var(--lime) !important; }
body .navmenu .active,
body .navmenu .active:focus,
body .navmenu a:hover { color: var(--lime) !important; }
body .footer-v2 .footer-social-row a:hover { background-color: var(--lime) !important; border-color: var(--lime) !important; color: var(--on-lime) !important; }

/* ---------- Títulos de sección: "eyebrow" lima + título blanco ---------- */
body .section-title span {
  color: var(--lime) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  position: static !important;
  display: block;
  margin-bottom: 8px;
}
body .section-title h2 {
  color: var(--text) !important;
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0 !important;
  text-transform: none !important;
}
body .hero h1 { text-transform: uppercase !important; font-weight: 800 !important; letter-spacing: 0; }
body .hero p { text-align: left !important; color: var(--text-dim) !important; line-height: 1.6; }
body .section-title h2::before,
body .section-title h2::after { display: none !important; }
body .section-title p { color: var(--text-dim) !important; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Botones de acción (CTA): amarillo, forma de píldora ---------- */
body .hero .hero-cta,
body .btn-get-started,
body .pill-btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
}
body .hero .hero-cta-primary,
body .pill-btn,
body .navmenu .nav-cta > a,
body .contact .php-email-form button[type=submit],
body form button[type=submit] {
  background: var(--cta-yellow) !important;
  border: 2px solid var(--cta-yellow) !important;
  color: var(--on-cta) !important;
}
body .hero .hero-cta-primary:hover,
body .pill-btn:hover,
body .navmenu .nav-cta > a:hover,
body form button[type=submit]:hover {
  background: #F2EC3A !important;
  border-color: #F2EC3A !important;
  color: var(--on-cta) !important;
  box-shadow: 0 6px 18px rgba(231, 224, 9, 0.25) !important;
}
body .hero .hero-cta-secondary {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}
body .hero .hero-cta-secondary:hover { border-color: var(--lime) !important; color: var(--lime) !important; }

/* ---------- Hero: cifras y precios en lima ---------- */
body .metric-num { color: var(--lime) !important; font-weight: 800 !important; }
body .crypto-ticker-header { color: var(--lime) !important; }
body .crypto-ticker-symbol { background: rgba(185, 255, 102, 0.12) !important; color: var(--lime) !important; }
body .crypto-ticker-list::-webkit-scrollbar-thumb { background: rgba(185, 255, 102, 0.35) !important; }
body .crypto-ticker {
  background: rgba(26, 26, 28, 0.72) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
}

/* ---------- Etiqueta tipo "estado" del CRM ---------- */
body .tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
body .tag-pill.lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }

/* ---------- Servicios: tarjeta tipo "lead card" ---------- */
body .services .service-item.lead-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: none !important;
  text-align: left !important;
  transition: transform .25s ease, border-color .25s ease;
}
body .services .service-item.lead-card::before,
body .services .service-item.lead-card::after { display: none !important; }
body .services .service-item.lead-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 102, 0.45) !important;
}
body .services .service-item.lead-card .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body .services .service-item.lead-card .icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: var(--surface-2) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: none !important;
}
body .services .service-item.lead-card .icon::before,
body .services .service-item.lead-card .icon::after { display: none !important; }
body .services .service-item.lead-card .icon i {
  color: var(--lime) !important;
  font-size: 1.2rem !important;
  margin: 0 !important;
}
body .services .service-item.lead-card h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 !important;
}
body .services .service-item.lead-card p {
  font-size: 0.88rem !important;
  color: var(--text-dim) !important;
  line-height: 1.55;
  margin: 0 !important;
}

/* ---------- Cómo trabajamos: pista de pasos + tarjetas ---------- */
body .process-track {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 10px 0 24px;
  overflow: hidden;
}
body .process-track .line,
body .process-track .line-fill {
  position: absolute;
  left: 60px;
  right: 60px;
  top: 46px;
  height: 2px;
  z-index: 0;
}
body .process-track .line { background: var(--border); }
body .process-track .line-fill { background: var(--lime); }
body .process-step-dot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-align: center;
}
body .process-step-dot .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 0 6px var(--surface);
}
body .process-step-dot span {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  line-height: 1.3;
  max-width: 160px;
}
body .process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
body .process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color .25s ease;
}
body .process-card:hover { border-color: rgba(185, 255, 102, 0.45); }
body .process-card-num {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
body .process-card h4 { font-size: 0.98rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
body .process-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.55; margin: 0; }

@media (max-width: 991.98px) {
  body .process-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  body .process-track { padding: 20px 12px; }
  body .process-track .line, body .process-track .line-fill { left: 30px; right: 30px; top: 40px; }
  body .process-step-dot span { display: none; }
  body .process-cards { grid-template-columns: 1fr; }
}

/* ---------- Testimonios: "expedientes" como las tarjetas de tareas del CRM ----------
   Forma: pestaña alta a la izquierda (foto + nombre), esquina superior derecha
   recortada con dos botones redondos, y el cuerpo de la tarjeta debajo.
   Colores alternados: lima y gris. */
body .testimonials-track { align-items: stretch; padding: 6px 0 20px; gap: 22px !important; }
@property --card { syntax: '<color>'; inherits: true; initial-value: #4E4E4E; }
@property --card-ink { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
body .exp-card {
  --card: #4E4E4E;
  --card-ink: #ffffff;
  --card-dim: rgba(255, 255, 255, 0.65);
  transition: --card .3s ease, --card-ink .3s ease;
  cursor: default;
  --r: 26px;
  position: relative;
  flex: 0 0 auto;
  width: 360px;
  display: flex;
  flex-direction: column;
  color: var(--card-ink);
}
body .exp-card:hover,
body .exp-card.is-active {
  --card: var(--lime);
  --card-ink: #0D0D0E;
  --card-dim: rgba(13, 13, 14, 0.62);
}
body .exp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
body .exp-tab {
  position: relative;
  flex: 0 0 66%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--r) var(--r) 0 0;
  padding: 14px 16px 8px;
  min-width: 0;
}
/* curva cóncava donde la pestaña se une con el cuerpo */
body .exp-tab::after {
  content: "";
  position: absolute;
  right: calc(var(--r) * -1);
  bottom: 0;
  width: var(--r);
  height: var(--r);
  background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - 0.5px), var(--card) var(--r));
}
body .exp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
body .exp-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0D0E;
  color: var(--lime);
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
}
body .exp-card .exp-initials { background: var(--lime); color: #0D0D0E; transition: background-color .3s ease, color .3s ease; }
body .exp-card:hover .exp-initials,
body .exp-card.is-active .exp-initials { background: #0D0D0E; color: var(--lime); }
body .exp-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
body .exp-who strong {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .exp-who small {
  font-size: 0.7rem;
  color: var(--card-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .exp-actions {
  display: flex;
  gap: 8px;
  padding: 0 4px 10px 0;
}
body .exp-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #070707;
  border: 1px solid #2E2E31;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
body .exp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border-radius: 0 var(--r) var(--r) var(--r);
  padding: 14px 18px 18px;
}
body .exp-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--card-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
body .exp-card .testimonial-quote {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--card-ink);
  margin: 0;
  font-style: normal;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .exp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body .exp-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body .exp-status small { font-size: 0.68rem; color: var(--card-dim); }
body .exp-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--card-dim);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}
body .exp-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #070707;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
body .exp-card .exp-round { background: #ffffff; color: #0D0D0E; transition: background-color .3s ease, color .3s ease; }
body .exp-card:hover .exp-round,
body .exp-card.is-active .exp-round { background: #070707; color: #ffffff; }
@media (max-width: 575.98px) {
  body .exp-card { width: 300px; }
}

/* ---------- Preguntas frecuentes, aliados y contacto ---------- */
body .faq-item {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
}
body .faq-item:hover { border-color: rgba(185, 255, 102, 0.45) !important; }
body .faq-question i { color: var(--lime) !important; }

body .aliados-title span { color: var(--lime) !important; font-size: 0.78rem !important; }
body .aliados-logos { gap: 20px !important; flex-wrap: wrap; }
body .aliados-logos a,
body .aliados-logos .aliado-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 220px;
  max-width: 340px;
  height: 140px;
  transition: border-color .25s ease;
}
body .aliados-logos a:hover,
body .aliados-logos .aliado-item:hover { border-color: rgba(185, 255, 102, 0.45); }
body .aliados-logos .aliado-logo,
body .aliados-logos .aliado-logo-landor,
body .aliados-logos .aliado-logo-svc {
  height: auto !important;
  max-height: 96px;
  max-width: 100%;
  width: auto;
}

body .contact .info-item,
body .contact .php-email-form,
body .contact .info-box,
body .contact form {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
}
/* Tarjetas Dirección / Teléfono / Correo: texto centrado y con margen interno
   para que no toque los bordes; las tres con la misma altura. */
body .contact .info-item {
  padding: 26px 28px 28px !important;
  text-align: center;
  height: 100%;
  gap: 4px;
}
body .contact .info-item p {
  text-align: center;
  max-width: 440px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body .contact .info-item i,
body .contact .info-item .icon {
  color: var(--lime) !important;
  background: var(--surface-2) !important;
  border-radius: 12px !important;
}
body input.form-control,
body textarea.form-control,
body select.form-control {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
}
body input.form-control:focus,
body textarea.form-control:focus { border-color: var(--lime) !important; box-shadow: none !important; }

/* ---------- Acentos del encabezado y pie: lima (los botones siguen amarillos) ---------- */
body .footer-col-bar { background-color: var(--lime) !important; }
body .mobile-menu-links a.active { color: var(--lime) !important; }
body .lang-toggle-option.active { background: var(--lime) !important; color: var(--on-lime) !important; }

/* ---------- Testimonios largos: "…" + botón "Ver más" + ventana con el texto completo ---------- */
body .exp-card button { font: inherit; cursor: pointer; }
body .exp-card .exp-round { border: none; }
body .exp-card .exp-round:focus-visible,
body .exp-more:focus-visible { outline: 2px solid var(--cta-yellow); outline-offset: 2px; }
body .exp-more {
  display: none;
  align-self: flex-start;
  margin-top: -4px;
  background: none;
  border: none;
  padding: 0;
  color: var(--card-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .exp-more i { font-size: 0.75rem; margin-left: 2px; }
body .exp-card.is-long .exp-more { display: inline-flex; align-items: center; gap: 4px; }
body .testimonials-marquee.is-paused .testimonials-track { animation-play-state: paused !important; }

body .exp-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow: auto;
  background: var(--lime);
  color: #0D0D0E;
  border: none;
  border-radius: 26px;
  padding: 26px 26px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
body .exp-dialog::backdrop { background: rgba(7, 7, 7, 0.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body .exp-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #070707;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
body .exp-dialog-who { display: flex; align-items: center; gap: 10px; padding-right: 50px; margin-bottom: 16px; }
body .exp-dialog-who .exp-initials { background: #0D0D0E; color: var(--lime); }
body .exp-dialog-who .exp-who { display: flex; flex-direction: column; line-height: 1.25; }
body .exp-dialog-who strong { font-size: 1rem; font-weight: 800; white-space: normal; }
body .exp-dialog-who small { font-size: 0.78rem; color: rgba(13, 13, 14, 0.65); white-space: normal; }
@media (max-width: 575.98px) {
  body .section-title p { padding-left: 16px; padding-right: 16px; }
}
body .exp-dialog-quote { font-size: 1.08rem; font-weight: 600; line-height: 1.55; margin: 0 0 18px; color: #0D0D0E; }
body .exp-dialog-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(13, 13, 14, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   PAGINAS INTERNAS (Equipo, Proceso, Servicios, Real Estate y demas servicios,
   Blog, articulo del blog, Privacidad/Terminos): mismo estilo CRM.
   Dorado a lima, tarjetas blancas a tarjetas oscuras, esquinas redondeadas.
   ========================================================================== */

/* Etiquetas, migas de pan y enlaces que eran dorados */
body .services-index-label,
body .blog-eyebrow,
body .services-breadcrumb .active,
body .services-breadcrumb a:hover,
body .service-summary-link,
body .blog-card-date,
body .blog-article-meta,
body .blog-article-meta i,
body .blog-back-link,
body .legal-content h2,
body .legal-content a { color: var(--lime) !important; }
body .blog-back-link:hover { color: #fff !important; }
body .services-index-label,
body .blog-eyebrow { font-size: 0.78rem !important; font-weight: 700 !important; letter-spacing: 1px !important; }

/* Titulos de pagina: Urbanist en negrita (antes una letra con serifa) */
body .services-index-header h1 {
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

/* Servicios: tarjetas de resumen */
body .service-summary-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body .service-summary-card:hover { border-color: rgba(185, 255, 102, 0.45) !important; box-shadow: none !important; }
body .service-icon-badge {
  background: var(--surface-2) !important;
  border: none !important;
  border-radius: 12px !important;
  color: var(--lime) !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 1.25rem !important;
}
body .service-summary-card:hover .service-icon-badge { box-shadow: none !important; }
body .services-index-banner { border-radius: 20px !important; box-shadow: 0 0 0 1px var(--border) !important; }

/* Botones "Agenda tu consulta" de las paginas internas: amarillo, pildora */
body .services-index-btn,
body .btn-get-started,
body a.btn.btn-primary {
  background: var(--cta-yellow) !important;
  border: 2px solid var(--cta-yellow) !important;
  color: var(--on-cta) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  font-size: 1rem !important;
}
body .services-index-btn:hover,
body .btn-get-started:hover,
body a.btn.btn-primary:hover {
  background: #F2EC3A !important;
  border-color: #F2EC3A !important;
  color: var(--on-cta) !important;
  box-shadow: 0 6px 18px rgba(231, 224, 9, 0.25) !important;
}

/* Tarjetas de pasos / sub-servicios (Proceso, Real Estate, Corporativo, Laboral...).
   Mismo look que las "lead card" del inicio: alineadas a la izquierda, icono pequeno. */
body .services .service-item:not(.lead-card) {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  height: 100%;
  text-align: left !important;
  box-shadow: none !important;
  transition: transform .25s ease, border-color .25s ease;
}
body .services .service-item:not(.lead-card)::before,
body .services .service-item:not(.lead-card)::after { display: none !important; }
body .services .service-item:not(.lead-card):hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 102, 0.45) !important;
}
body .services .service-item:not(.lead-card) .icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: var(--surface-2) !important;
  margin: 0 0 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body .services .service-item:not(.lead-card) .icon::before,
body .services .service-item:not(.lead-card) .icon::after { display: none !important; }
body .services .service-item:not(.lead-card) .icon i { color: var(--lime) !important; font-size: 1.3rem !important; margin: 0 !important; }
body .services .service-item:not(.lead-card) h3,
body .services .service-item:not(.lead-card) h4 { font-size: 1.1rem !important; font-weight: 700 !important; color: var(--text) !important; margin-bottom: 10px !important; }
body .services .service-item:not(.lead-card) p { font-size: 0.92rem !important; color: var(--text-dim) !important; line-height: 1.6; margin: 0 !important; }
body .services .service-hero-image { border-radius: 20px !important; }

/* Equipo: tarjeta de cada miembro */
body .team .member {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: none !important;
  width: 100%;
  transition: border-color .25s ease;
}
body .team .member:hover { border-color: rgba(185, 255, 102, 0.45) !important; }
body .team .member img { border-radius: 0 !important; }
body .team .member h4 { color: var(--text) !important; font-weight: 800 !important; }
body .team .member span { color: var(--lime) !important; font-style: normal !important; font-weight: 600; }
body .team .member p { color: var(--text-dim) !important; font-style: normal !important; }
body .team .member .social a { color: var(--text-dim) !important; }
body .team .member .social a:hover { color: var(--lime) !important; }

/* Blog: tarjetas del listado */
body .blog-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}
body .blog-card:hover { border-color: rgba(185, 255, 102, 0.45) !important; box-shadow: none !important; }
body .blog-card-img { background: var(--surface-2) !important; }
body .blog-card-img-placeholder { color: rgba(255, 255, 255, 0.25) !important; }
body .blog-card-title { color: var(--text) !important; }
body .blog-card-excerpt { color: var(--text-dim) !important; }
body .blog-card-link { color: var(--lime) !important; }
body .blog-pagination .page-link { background: var(--surface) !important; border-color: var(--border) !important; color: #fff !important; }
body .blog-pagination .page-item.active .page-link { background: var(--lime) !important; border-color: var(--lime) !important; color: var(--on-lime) !important; }

/* Blog: articulo */
body .blog-article {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}
body .blog-article h1 { color: var(--text) !important; font-weight: 800 !important; }
body .blog-article-cover { background: var(--surface-2) !important; }
body .blog-article-content { color: rgba(255, 255, 255, 0.8) !important; }
body .blog-article-content h1,
body .blog-article-content h2,
body .blog-article-content h3 { color: var(--text) !important; }
body .blog-article-content a { color: var(--lime) !important; }
body .blog-article-content blockquote {
  border-left-color: var(--lime) !important;
  background: var(--surface-2) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}
body .blog-article-meta-sep { color: rgba(255, 255, 255, 0.3) !important; }
body .blog-sidebar-item { background: var(--surface) !important; border: 1px solid var(--border); border-radius: 14px !important; }
body .blog-sidebar-item:hover { border-color: rgba(185, 255, 102, 0.45); }

/* ---------- Servicios y Como trabajamos (inicio): mismo efecto que los testimonios ----------
   Tarjetas grises que se pintan de verde lima al pasar el cursor (o al llegar con el teclado). */
body .services .service-item.lead-card,
body .process-card {
  background: #4E4E4E !important;
  border-color: #4E4E4E !important;
  transition: background-color .3s ease, border-color .3s ease, transform .25s ease;
}
body .services .service-item.lead-card h3,
body .process-card h4 { color: #ffffff !important; transition: color .3s ease; }
body .services .service-item.lead-card p,
body .process-card p { color: rgba(255, 255, 255, 0.72) !important; transition: color .3s ease; }
body .services .service-item.lead-card .icon { background: #070707 !important; }
body .services .service-item.lead-card .tag-pill { background: rgba(7, 7, 7, 0.35); border-color: transparent; color: #fff; }
body .services .service-item.lead-card .tag-pill.lime { background: var(--lime); color: var(--on-lime); }
body .process-card-num { transition: color .3s ease; }

body .services .service-item.lead-card:hover,
body .services .service-item.lead-card:focus-within,
body .services .service-item.lead-card.is-active,
body .process-card:hover,
body .process-card.is-active {
  background: var(--lime) !important;
  border-color: var(--lime) !important;
}
body .services .service-item.lead-card:hover h3,
body .services .service-item.lead-card:focus-within h3,
body .services .service-item.lead-card.is-active h3,
body .process-card.is-active h4,
body .process-card:hover h4 { color: #0D0D0E !important; }
body .services .service-item.lead-card:hover p,
body .services .service-item.lead-card:focus-within p,
body .services .service-item.lead-card.is-active p,
body .process-card.is-active p,
body .process-card:hover p { color: rgba(13, 13, 14, 0.85) !important; }
body .services .service-item.lead-card:hover .tag-pill,
body .services .service-item.lead-card:focus-within .tag-pill,
body .services .service-item.lead-card.is-active .tag-pill { background: #070707; color: var(--lime); border-color: #070707; }
body .process-card:hover .process-card-num,
body .process-card.is-active .process-card-num { color: #0D0D0E; }

/* Mapa de Google: mismas esquinas redondeadas que las tarjetas */
body .contact iframe { width: 100% !important; border-radius: 20px; border: 1px solid var(--border) !important; display: block; }

/* ---------- Pie de pagina: separar los titulos de la linea y centrar el bloque ----------
   Logo | Enlaces utiles | Empresa | insignia Compliance Officer, todo centrado y con
   espacios iguales, en vez de dejar la insignia pegada al borde derecho. */
body footer.footer.footer-v2 .footer-top { padding-top: 40px !important; }
body .footer-v2-row {
  justify-content: center;
  align-items: center;
  gap: 56px;
}
body .footer-cols-row { gap: 56px; flex-wrap: nowrap; }
body .footer-col { flex: 0 0 auto; min-width: 0; max-width: none; }
body .footer-col-empresa { flex: 0 1 320px; max-width: 320px; }
body .footer-badge-col { margin-left: 0; }
@media (max-width: 1199.98px) {
  body .footer-v2-row,
  body .footer-cols-row { gap: 40px; }
  body .footer-col-empresa { flex-basis: 280px; max-width: 280px; }
  body .footer-badge-img { width: 140px; }
}
@media (max-width: 991.98px) {
  body .footer-cols-row { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
  body footer.footer.footer-v2 .footer-top { padding-top: 32px !important; }
  body .footer-col,
  body .footer-col-empresa { flex: 1 1 100%; max-width: 340px; }
}

/* ---------- Testimonios: recorte limpio de la carpeta + pildora de comillas ----------
   La curva de la pestana se monta 1px sobre la pestana y el cuerpo para que no
   quede una rayita oscura (hueco de medio pixel) donde se unen las piezas. */
body .exp-tab::after {
  right: auto;
  left: calc(100% - 1px);
  bottom: -1px;
  width: calc(var(--r) + 1px);
  height: calc(var(--r) + 1px);
  background: radial-gradient(circle at 100% 0, transparent var(--r), var(--card) calc(var(--r) + 0.6px));
}
body .exp-body { margin-top: -1px; }
body .exp-tab { padding-bottom: 9px; }
/* La flecha se quito: las comillas pasan a ser una pildora ancha */
body .exp-circle-wide {
  width: 88px;
  border-radius: 999px;
  font-size: 1.05rem;
}
/* Comillas de la pildora (fuera de la tarjeta) en verde lima */
body .exp-circle-wide { color: var(--lime); border-color: rgba(185, 255, 102, 0.45); }

/* ==========================================================================
   FONDO DE ONDAS para todo el sitio (bandas apenas mas claras sobre #070707).
   Va fijo detras de todo: las secciones son transparentes y las tarjetas
   conservan su propio fondo, asi la lectura no cambia. El video del inicio
   tiene su propio fondo y lo tapa, asi que no se toca.
   Imagen: public/images/fondo-ondas.webp (26 KB).
   ========================================================================== */
html { background: var(--bg) !important; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg) url("../../../images/fondo-ondas.webp") center / cover no-repeat;
}
@media (max-width: 767.98px) {
  /* En celular las ondas se ven mas finas si la imagen no se estira tanto */
  body::before { background-size: auto 100%; }
}

/* ==========================================================================
   PAGINA DE CONTACTO: formulario oscuro, dorado a lima, titulo en negrita
   ========================================================================== */
body .contact-il { background: transparent !important; }
body .contact-il-label { color: var(--lime) !important; font-size: 0.78rem !important; letter-spacing: 1px !important; }
body .contact-il-info h2 {
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  font-size: 2.1rem !important;
  letter-spacing: -0.5px;
}
body .contact-il-channel {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body .contact-il-channel:hover { border-color: rgba(185, 255, 102, 0.45) !important; background: var(--surface) !important; }
body .contact-il-channel-icon {
  background: var(--surface-2) !important;
  border: none !important;
  border-radius: 12px !important;
  color: var(--lime) !important;
}
body .contact-il-channel:hover .contact-il-channel-icon { box-shadow: none !important; }
body .contact-il-channel a:hover { color: var(--lime) !important; }
body .contact-il-channels { gap: 14px !important; margin-bottom: 26px !important; }
body .btn-whatsapp-il { border-radius: 999px !important; font-weight: 700 !important; }

body .contact-il-promises {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body .contact-il-promises li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
body .contact-il-promises i { color: var(--lime); }

/* Formulario: tarjeta oscura */
body .contact-il-card {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: 24px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5) !important;
  padding: 32px !important;
}
body .contact-il-card::before { display: none !important; }
body .contact-il-card h3 { color: var(--text) !important; font-weight: 800 !important; font-size: 1.3rem !important; }
body .contact-il-card-sub { color: var(--text-dim) !important; }
body .il-form-group label { color: rgba(255, 255, 255, 0.85) !important; }
body .il-req { color: var(--lime) !important; }
body .il-form-group input[type="text"],
body .il-form-group input[type="email"],
body .il-form-group input[type="tel"],
body .il-form-group select,
body .il-form-group textarea,
body .il-phone-prefix {
  background-color: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
}
body .il-form-group select option { background: #1A1A1C; color: #fff; }
body .il-form-group input::placeholder,
body .il-form-group textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
body .il-form-group input:focus,
body .il-form-group select:focus,
body .il-form-group textarea:focus {
  border-color: var(--lime) !important;
  box-shadow: 0 0 0 3px rgba(185, 255, 102, 0.15) !important;
}
body .il-phone-hint { color: rgba(255, 255, 255, 0.45) !important; }
body .il-consent-label { color: rgba(255, 255, 255, 0.7) !important; }
body .il-consent-label a { color: var(--lime) !important; }
body .il-consent-label input { accent-color: var(--lime); }
body .il-form-error { color: #F87171 !important; }
body .il-form-group.has-error input,
body .il-form-group.has-error select { border-color: #F87171 !important; }
body .il-form-submit {
  background: var(--cta-yellow) !important;
  color: var(--on-cta) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}
body .il-form-submit:hover { background: #F2EC3A !important; box-shadow: 0 6px 18px rgba(231, 224, 9, 0.25) !important; }
body .il-form-privacy { color: rgba(255, 255, 255, 0.45) !important; }
body .il-loading { background: var(--surface-2) !important; color: #fff !important; }
body .il-sent-message { background: rgba(185, 255, 102, 0.12) !important; color: var(--lime) !important; }
body .il-error-message { background: rgba(248, 113, 113, 0.12) !important; color: #F87171 !important; }
body .contact-il-map { background: transparent !important; }
body .contact-il-map iframe { border-radius: 20px; border: 1px solid var(--border) !important; }

/* ---------- Titulo principal (H1) de cada pagina: mismo aspecto que antes tenia el H2 ---------- */
body .section-title h1 {
  color: var(--text) !important;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 20px !important;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  text-transform: none !important;
  letter-spacing: -0.5px;
}
@media (max-width: 767.98px) { body .section-title h1 { font-size: 1.75rem; } }
body .contact-il-info h1 {
  color: #ffffff;
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  font-size: 2.1rem !important;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

/* Aliados nuevos (logos recortados sin fondo, texto en blanco) */
body .aliados-logos .aliado-logo-own { max-height: 86px; }
body .aliados-logos .aliado-logo-am { max-height: 104px; }
body .aliados-logos .aliado-logo-intersection { max-height: 64px; }
/* Aliados en cuadricula pareja: 3 por fila (2 en tablet y celular) */
body .aliados-logos {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}
body .aliados-logos a,
body .aliados-logos .aliado-item { max-width: none; }
@media (max-width: 991.98px) {
  body .aliados-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  body .aliados-logos { gap: 12px !important; }
  body .aliados-logos a,
  body .aliados-logos .aliado-item { height: 110px; padding: 14px 16px; }
}
