/* ==========================================================================
   HOMECO - SISTEMAS DE SEGURIDAD & TECNOLOGÍA
   compliance.css - Accesibilidad (A11y), WCAG AA/AAA, Banner de Cookies,
   Diseño de Páginas Legales, Contraste de Enlaces y Prevención de Underlines
   ========================================================================== */

/* 1. ACCESIBILIDAD & NAVEGACIÓN POR TECLADO (WCAG AA/AAA) */
:focus-visible {
  outline: 3px solid #7dbc26 !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

/* Enlace para saltar al contenido principal (Skip Link) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #001841;
  color: #ffffff !important;
  padding: 12px 22px;
  border: 2px solid #7dbc26;
  border-radius: 8px;
  z-index: 9999999;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: top 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 20px;
}

/* Utilidad para lectores de pantalla */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ELIMINACIÓN TOTAL DE SUBRAYADOS Y LÍNEAS EN TELÉFONOS Y CORREOS */
.pagelayer-phone a,
.pagelayer-phone a:hover,
.pagelayer-phone a:focus,
.pagelayer-phone a:active,
.pagelayer-phone a:visited,
.pagelayer-phone-holder a,
.pagelayer-phone-holder a:hover,
.pagelayer-phone-holder a:focus,
.pagelayer-phone span,
.pagelayer-phone,
.pagelayer-email a,
.pagelayer-email a:hover,
.pagelayer-email a:focus,
.pagelayer-email a:active,
.pagelayer-email a:visited,
.pagelayer-email-holder a,
.pagelayer-email-holder a:hover,
.pagelayer-email-holder a:focus,
.pagelayer-email span,
.pagelayer-email,
a[href^="tel"],
a[href^="tel"]:hover,
a[href^="tel"]:focus,
a[href^="mailto"],
a[href^="mailto"]:hover,
a[href^="mailto"]:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

/* CONTRASTE ALTO PARA COLUMNAS DEL FOOTER */
.homeco-footer-col {
  padding-top: 40px;
}

.homeco-footer-heading {
  color: #001841 !important;
  font-family: 'Montserrat Alternates', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  text-transform: capitalize !important;
  display: block;
}

.homeco-footer-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.homeco-footer-list li {
  margin-bottom: 12px !important;
  list-style: none !important;
}

.homeco-footer-link {
  color: #1e293b !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 200ms ease !important;
}

.homeco-footer-link i {
  color: #7dbc26 !important;
  font-size: 13px !important;
  width: 14px !important;
  transition: transform 200ms ease !important;
}

.homeco-footer-link:hover {
  color: #0986c0 !important;
  padding-left: 5px !important;
}

.homeco-footer-link:hover i {
  color: #0986c0 !important;
  transform: translateX(3px);
}

/* Contraste mejorado para botones verdes */
.pagelayer-btn-holder[style*="#7dbc26"],
.pagelayer-btn-custom[style*="#7dbc26"],
.homeco-btn-green {
  color: #001841 !important;
  font-weight: 700 !important;
}

/* 2. BANNER DE CONSENTIMIENTO DE COOKIES */
.homeco-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 980px;
  background: #001841;
  color: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(125, 188, 38, 0.45);
  box-shadow: 0 20px 50px rgba(0, 10, 30, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 9999999;
  padding: 24px 28px;
  font-family: 'Nunito Sans', sans-serif;
  animation: homecoBannerSlideUp 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 250ms ease, transform 250ms ease;
}

@keyframes homecoBannerSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.homeco-cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.homeco-cookie-content {
  flex: 1;
}

.homeco-cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.homeco-cookie-icon {
  font-size: 26px;
  line-height: 1;
}

.homeco-cookie-title {
  margin: 0;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.homeco-cookie-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #e2e8f0;
}

.homeco-cookie-text strong {
  color: #7dbc26;
  font-weight: 700;
}

.homeco-cookie-policy-link {
  color: #7dbc26 !important;
  text-decoration: underline !important;
  font-weight: 600;
  transition: color 200ms ease;
}

.homeco-cookie-policy-link:hover {
  color: #ffffff !important;
}

.homeco-cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.homeco-cookie-btn {
  padding: 11px 20px;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.homeco-cookie-btn-accept {
  background: #7dbc26;
  color: #001841 !important;
  border: 2px solid #7dbc26;
}

.homeco-cookie-btn-accept:hover {
  background: #6da520;
  border-color: #6da520;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(125, 188, 38, 0.4);
}

.homeco-cookie-btn-reject {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.homeco-cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.homeco-cookie-btn-settings {
  background: transparent;
  color: #cbd5e1 !important;
  border: 1px solid transparent;
  padding: 11px 12px;
  font-size: 13.5px;
}

.homeco-cookie-btn-settings:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .homeco-cookie-banner {
    bottom: 15px;
    width: calc(100% - 24px);
    padding: 20px;
  }
  .homeco-cookie-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .homeco-cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .homeco-cookie-btn {
    flex: 1 1 calc(50% - 6px);
  }
  .homeco-cookie-btn-settings {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* 3. ESTILOS DE PÁGINAS LEGALES (DOCUMENTACIÓN HABEAS DATA, TÉRMINOS, POLÍTICAS) */
.homeco-legal-page {
  background-color: #f8fafc;
  color: #1e293b;
  font-family: 'Nunito Sans', sans-serif;
}

.homeco-legal-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 50px 24px 80px 24px;
}

.homeco-legal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px 60px;
  box-shadow: 0 10px 30px rgba(0, 24, 65, 0.06);
  border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .homeco-legal-card {
    padding: 30px 20px;
    border-radius: 12px;
  }
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef7e6;
  color: #215309;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid #c5e6ab;
}

.homeco-legal-card h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  color: #001841;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.homeco-legal-card .legal-subtitle {
  font-size: 16px;
  color: #475569;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Tabla de contenidos interactiva */
.homeco-legal-toc {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #001841;
  padding: 24px 28px;
  border-radius: 8px;
  margin-bottom: 45px;
  box-shadow: 0 4px 15px rgba(0, 24, 65, 0.04);
}

.homeco-legal-toc h3 {
  margin: 0 0 14px 0;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 18px;
  color: #001841;
  font-weight: 800;
}

.homeco-legal-toc ul {
  margin: 0;
  padding-left: 20px;
  column-count: 2;
  column-gap: 30px;
}

@media (max-width: 700px) {
  .homeco-legal-toc ul {
    column-count: 1;
  }
}

.homeco-legal-toc li {
  margin-bottom: 10px;
  font-size: 14.5px;
}

.homeco-legal-toc li a {
  color: #001841;
  text-decoration: none;
  font-weight: 700;
  transition: color 200ms ease;
}

.homeco-legal-toc li a:hover {
  color: #0986c0;
  text-decoration: underline;
}

/* Secciones y Tipografía de Políticas */
.homeco-legal-section {
  margin-bottom: 45px;
  scroll-margin-top: 100px;
}

.homeco-legal-section h2 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 24px;
  color: #001841;
  font-weight: 800;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.homeco-legal-section h2 i {
  color: #7dbc26;
  font-size: 20px;
}

.homeco-legal-section h3 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 19px;
  color: #001841;
  font-weight: 700;
  margin: 24px 0 12px 0;
}

.homeco-legal-section p, 
.homeco-legal-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
}

.homeco-legal-section ul, 
.homeco-legal-section ol {
  padding-left: 24px;
  margin: 14px 0;
}

.homeco-legal-section li {
  margin-bottom: 8px;
}

/* Cajas de llamada para derechos y procedimientos clave */
.legal-callout {
  padding: 22px 26px;
  border-radius: 10px;
  margin: 24px 0;
  border-left: 5px solid;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-callout-info {
  background: #f0f7fd;
  border-color: #227bc3;
  color: #0d3b66;
}

.legal-callout-success {
  background: #f4faf0;
  border-color: #7dbc26;
  color: #1c4509;
}

.legal-callout-warning {
  background: #fffbf0;
  border-color: #d97706;
  color: #78350f;
}

.legal-callout-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 800;
  font-size: 16.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tarjeta destacada de Solicitud de Eliminación de Datos */
.legal-deletion-card {
  background: linear-gradient(135deg, #001841 0%, #0d2a5d 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  margin: 30px 0;
  box-shadow: 0 12px 28px rgba(0, 24, 65, 0.2);
}

.legal-deletion-card h3 {
  color: #ffffff !important;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 22px;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-deletion-card p {
  color: #e2e8f0 !important;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-deletion-steps {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-deletion-steps ol {
  margin: 0;
  padding-left: 20px;
}

.legal-deletion-steps li {
  color: #f8fafc !important;
  margin-bottom: 10px;
}

.legal-btn-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7dbc26;
  color: #001841 !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  margin-top: 14px;
  transition: all 200ms ease;
}

.legal-btn-email:hover {
  background: #6da520;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(125, 188, 38, 0.4);
}

/* Tabla de Cookies */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}

.legal-table th, 
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #cbd5e1;
}

.legal-table th {
  background: #f1f5f9;
  color: #001841;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
}

.legal-table tr:hover td {
  background: #f8fafc;
}

/* Pie de documento legal con firma */
.legal-doc-footer {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 2px dashed #cbd5e1;
  font-size: 14px;
  color: #475569;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}


/* ==========================================================================
   HEADER TOPBAR: CORRECCIÓN DEFINITIVA DE EMAIL, TELÉFONO E ÍCONOS
   Estilo armónico, espaciado simétrico, sin desbordes ni líneas cortando íconos
   ========================================================================== */

/* Fila principal del header: distribución perfecta */
.p-1vs6908 > .pagelayer-row-holder {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.pagelayer-row-holder .p-f066969 {
  width: auto !important;
  flex: 0 0 auto !important;
}

.pagelayer-row-holder .p-wr19234 {
  width: auto !important;
  flex: 1 1 auto !important;
  overflow: visible !important;
  margin: 0 24px !important;
}

.pagelayer-row-holder .p-ztm9499 {
  width: auto !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

/* Fila interna que agrupa Email y Teléfono */
.p-iet9579 > .pagelayer-row-holder {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 36px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.pagelayer-row-holder .p-3wr3652,
.pagelayer-row-holder .p-ut07292 {
  width: auto !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

/* Contenedores de cada ítem de contacto (Email / Teléfono) */
.p-zg62145 > .pagelayer-row-holder,
.p-a3m1170 > .pagelayer-row-holder {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

/* Columnas de los íconos (con divisor vertical limpio a la derecha) */
html body.pagelayer-body .pagelayer-row-holder .p-dfd8578,
html body.pagelayer-body .pagelayer-row-holder .p-obs2548,
html body .p-dfd8578,
html body .p-obs2548 {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px 0 0 !important;
  margin: 0 !important;
  border-style: solid !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
  height: 38px !important;
}

/* Normalización de íconos para evitar desbordes */
html body .p-09j202,
html body .p-kp15188,
html body .p-09j202 .pagelayer-icon-holder,
html body .p-kp15188 .pagelayer-icon-holder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  text-align: center !important;
}

html body .p-09j202 i,
html body .p-kp15188 i {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  width: auto !important;
  position: static !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #7dbc26 !important;
  display: inline-block !important;
  transition: transform 200ms ease !important;
}

html body .p-09j202 i:before,
html body .p-kp15188 i:before {
  position: static !important;
  transform: none !important;
  display: inline-block !important;
  line-height: 1 !important;
}

/* Columnas de los textos (Email y Teléfono) */
html body.pagelayer-body .pagelayer-row-holder .p-vcb8260,
html body.pagelayer-body .pagelayer-row-holder .p-cew5937,
html body .p-vcb8260,
html body .p-cew5937 {
  width: auto !important;
  flex: 1 1 auto !important;
  padding: 0 0 0 16px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  overflow: visible !important;
}

/* Etiquetas superiores: "Escríbenos a" y "Llámanos" */
html body.pagelayer-body .p-nme4147,
html body.pagelayer-body .p-b2j1064,
html body.pagelayer-body .p-nme4147 .pagelayer-heading-holder,
html body.pagelayer-body .p-b2j1064 .pagelayer-heading-holder,
html body.pagelayer-body .p-nme4147 .pagelayer-heading-holder *,
html body.pagelayer-body .p-b2j1064 .pagelayer-heading-holder *,
html body .p-nme4147,
html body .p-b2j1064,
html body .p-nme4147 .pagelayer-heading-holder,
html body .p-b2j1064 .pagelayer-heading-holder,
html body .p-nme4147 .pagelayer-heading-holder *,
html body .p-b2j1064 .pagelayer-heading-holder * {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-transform: none !important; /* Mantiene "Escríbenos a" con 'a' minúscula */
  letter-spacing: 0.25px !important;
  color: #94a3b8 !important; /* Gris plateado elegante y de alto contraste */
  line-height: 1.2 !important;
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Contenedores de enlaces de Email y Teléfono */
html body.pagelayer-body .p-boe8540,
html body.pagelayer-body .p-pxc4230,
html body.pagelayer-body .p-boe8540 .pagelayer-email-holder,
html body.pagelayer-body .p-pxc4230 .pagelayer-phone-holder,
html body .p-boe8540,
html body .p-pxc4230 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  display: block !important;
  overflow: visible !important;
  text-align: left !important;
}

/* Valores: "comercial@homeco.com.co" y "+57 301 382 4787" */
html body.pagelayer-body .p-boe8540 a,
html body.pagelayer-body .p-boe8540 .pagelayer-email,
html body.pagelayer-body .p-boe8540 .pagelayer-email *,
html body.pagelayer-body .p-boe8540 a span,
html body.pagelayer-body .p-pxc4230 a,
html body.pagelayer-body .p-pxc4230 .pagelayer-phone,
html body.pagelayer-body .p-pxc4230 .pagelayer-phone *,
html body.pagelayer-body .p-pxc4230 a span,
html body .p-boe8540 a,
html body .p-boe8540 .pagelayer-email,
html body .p-boe8540 .pagelayer-email *,
html body .p-boe8540 a span,
html body .p-pxc4230 a,
html body .p-pxc4230 .pagelayer-phone,
html body .p-pxc4230 .pagelayer-phone *,
html body .p-pxc4230 a span,
html body .homeco-header-contact-link,
html body .homeco-header-contact-link span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  display: inline-block !important;
  transition: color 200ms ease !important;
}

html body.pagelayer-body .p-boe8540 a:hover,
html body.pagelayer-body .p-boe8540 a:hover span,
html body.pagelayer-body .p-pxc4230 a:hover,
html body.pagelayer-body .p-pxc4230 a:hover span,
html body .p-boe8540 a:hover,
html body .p-boe8540 a:hover span,
html body .p-pxc4230 a:hover,
html body .p-pxc4230 a:hover span,
html body .homeco-header-contact-link:hover,
html body .homeco-header-contact-link:hover span {
  color: #7dbc26 !important;
}

/* Responsive / Media Queries para pantallas intermedias */
@media (max-width: 1200px) {
  .p-iet9579 > .pagelayer-row-holder {
    gap: 24px !important;
  }
  .p-boe8540 a,
  .p-boe8540 .pagelayer-email,
  .p-boe8540 a span,
  .p-pxc4230 a,
  .p-pxc4230 .pagelayer-phone,
  .p-pxc4230 a span,
  .homeco-header-contact-link,
  .homeco-header-contact-link span {
    font-size: 13.5px !important;
  }
}

@media (max-width: 991px) {
  .p-boe8540 a,
  .p-boe8540 .pagelayer-email,
  .p-boe8540 a span,
  .p-pxc4230 a,
  .p-pxc4230 .pagelayer-phone,
  .p-pxc4230 a span,
  .homeco-header-contact-link,
  .homeco-header-contact-link span {
    font-size: 13px !important;
  }
}



/* ==========================================================================
   MEJORAS PUNTUALES WCAG & HOMECO DESIGN SYSTEM (OCTUBRE 2026)
   ========================================================================== */

/* 1. HOVER EN PUNTOS 3, 5, 6 Y TARJETAS HERO: ÍCONO PASA A BLANCO PURO */
.homeco-hero-card .hero-card-img {
  transition: transform 250ms ease, filter 250ms ease !important;
}

.homeco-hero-card:hover .hero-card-img,
.homeco-hero-card:focus .hero-card-img {
  transform: scale(1.08) !important;
  filter: brightness(0) invert(1) !important; /* Pasa cualquier color a blanco puro */
}

/* Íconos de lista y menú en hover pasan a blanco */
.homeco-dropdown-menu li a:hover i,
.homeco-dropdown-menu li a:focus i {
  color: #ffffff !important;
}

.pagelayer-service-holder:hover .pagelayer-service-icon i,
.pagelayer-icon-holder:hover i {
  color: #ffffff !important;
}

/* 2. BOTÓN DE ASESORÍA EN EL HEADER (SINCRONIZADO CON LÍNEA VISUAL HOMECO) */
.homeco-wa-header-btn {
  background: var(--pagelayer-color-secondary, #7dbc26) !important;
  color: var(--pagelayer-color-accent, #ffffff) !important;
  font-family: var(--pagelayer-font-text-font-family, 'Nunito Sans', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  text-transform: capitalize !important;
  transition: all 400ms ease !important;
  box-shadow: 0 4px 14px rgba(125, 188, 38, 0.25) !important;
  border: none !important;
}

.homeco-wa-header-btn:hover,
.homeco-wa-header-btn:focus {
  background: var(--pagelayer-color-primary, #001841) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 24, 65, 0.3) !important;
}

.homeco-wa-header-btn i {
  color: #ffffff !important;
  font-size: 16px !important;
}

/* 3. NIVELACIÓN Y SIMETRÍA DE TARJETAS DE EQUIPO (about.html) */
.homeco-team-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
  margin: 35px auto 20px auto;
  max-width: 950px;
}

.homeco-team-card {
  flex: 1 1 380px;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 24, 65, 0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
  box-sizing: border-box;
}

.homeco-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 24, 65, 0.12);
}

.homeco-team-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  margin-bottom: 22px;
  border: 4px solid #7dbc26;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.homeco-team-name {
  font-family: 'Montserrat Alternates', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #001841 !important;
  margin: 0 0 8px 0 !important;
}

.homeco-team-role {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px 0 !important;
  line-height: 1.4;
}

.homeco-team-desc {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 4. SERVICIOS PRINCIPALES: VENTA, INSTALACIÓN, MANTENIMIENTO (services.html) */
.homeco-primary-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

@media (max-width: 991px) {
  .homeco-primary-services-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
}

.homeco-primary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 24, 65, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
  position: relative;
}

.homeco-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 24, 65, 0.14);
}

.homeco-primary-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.homeco-primary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.homeco-primary-card:hover .homeco-primary-img {
  transform: scale(1.06);
}

.homeco-primary-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #001841;
  color: #ffffff;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  border: 1px solid #7dbc26;
  z-index: 2;
}

.homeco-primary-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.homeco-primary-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #001841;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.homeco-primary-desc {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.homeco-primary-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.homeco-primary-features li {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.homeco-primary-features li i {
  color: #7dbc26;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.homeco-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #001841;
  color: #ffffff !important;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 200ms ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.homeco-primary-btn:hover {
  background: #7dbc26;
  color: #001841 !important;
}

/* Acordeón / Desplegable de Mantenimiento (Preventivo y Correctivo) */
.homeco-maint-toggle {
  background: #f1f5f9;
  border: 2px solid #7dbc26;
  color: #001841 !important;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 250ms ease;
  margin-top: auto;
  box-sizing: border-box;
}

.homeco-maint-toggle:hover {
  background: #e2e8f0;
}

.homeco-maint-toggle i.fa-chevron-down {
  transition: transform 300ms ease;
  color: #7dbc26;
}

.homeco-maint-toggle.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.homeco-maint-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
  opacity: 0;
}

.homeco-maint-content.open {
  max-height: 900px;
  opacity: 1;
  margin-top: 16px;
}

.homeco-maint-card {
  background: #f8fafc;
  border-left: 4px solid #7dbc26;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  text-align: left;
}

.homeco-maint-card.correctivo {
  border-left-color: #001841;
}

.homeco-maint-card-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #001841;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.homeco-maint-card-title i {
  color: #7dbc26;
}

.homeco-maint-card.correctivo .homeco-maint-card-title i {
  color: #001841;
}

.homeco-maint-card p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 5. SECCIÓN Y CARRUSELES POR CATEGORÍA DE PRODUCTOS / SOLUCIONES */
.homeco-catalog-section {
  padding: 60px 0 80px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.homeco-catalog-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.homeco-catalog-badge {
  display: inline-block;
  background: rgba(125, 188, 38, 0.15);
  color: #4a7512;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.homeco-catalog-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #001841;
  margin: 0 0 14px 0;
  line-height: 1.25;
}

.homeco-catalog-subtitle {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.homeco-cat-carousel-block {
  max-width: 1200px;
  margin: 0 auto 45px auto;
  padding: 0 20px;
}

.homeco-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}

.homeco-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homeco-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #001841;
  color: #7dbc26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.homeco-cat-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #001841;
  margin: 0;
}

.homeco-carousel-controls {
  display: flex;
  gap: 10px;
}

.homeco-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #001841;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 14px;
}

.homeco-carousel-btn:hover,
.homeco-carousel-btn:focus {
  background: #7dbc26;
  color: #001841;
  transform: scale(1.05);
}

.homeco-carousel-track-wrap {
  position: relative;
  overflow: hidden;
}

.homeco-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 10px 4px 20px 4px;
}

.homeco-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.homeco-product-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .homeco-product-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 550px) {
  .homeco-product-card {
    flex: 0 0 100%;
  }
}

.homeco-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 24, 65, 0.12);
}

.homeco-product-img-box {
  width: 100%;
  height: 200px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  border-bottom: 1px solid #f1f5f9;
}

.homeco-product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
}

.homeco-product-card:hover .homeco-product-img-box img {
  transform: scale(1.05);
}

.homeco-product-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.homeco-product-name {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #001841;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.homeco-product-desc {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.homeco-product-wa-btn {
  background: #25d366;
  color: #ffffff !important;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 200ms ease;
}

.homeco-product-wa-btn:hover {
  background: #1ebc59;
}

/* ==========================================================================
   CONTACT PAGE CARD CONTRAST FIX
   ========================================================================== */
.p-jtq46 .pagelayer-phone,
.p-jtq46 .pagelayer-phone *,
.p-jtq46 a,
.p-jtq46 a span,
.p-vdt964 .pagelayer-email,
.p-vdt964 .pagelayer-email *,
.p-vdt964 a,
.p-vdt964 a span,
.homeco-contact-card-link,
.homeco-contact-card-link span {
  color: #001841 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
}
.p-jtq46 a:hover,
.p-jtq46 a:hover span,
.p-vdt964 a:hover,
.p-vdt964 a:hover span,
.homeco-contact-card-link:hover,
.homeco-contact-card-link:hover span {
  color: #7dbc26 !important;
}

/* ==========================================================================
   HOMECO TOPBAR GREEN BANNER - SINGLE CONTINUOUS LINE (NO WRAP)
   ========================================================================== */
.p-cee8939 > .pagelayer-row-holder {
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Columna Izquierda: Horario + Dirección (72% del contenedor) */
.p-cee8939 .pagelayer-row-holder > .p-5o13426 {
  width: 72% !important;
  flex: 0 0 72% !important;
  max-width: 72% !important;
}

.p-cee8939 .p-ub13078 > .pagelayer-row-holder {
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}

/* Subcolumna Horario */
.p-cee8939 .pagelayer-row-holder .p-6lk6729 {
  width: auto !important;
  flex: 0 0 auto !important;
  padding-right: 18px !important;
}

/* Subcolumna Dirección */
.p-cee8939 .pagelayer-row-holder .p-bkm3710 {
  width: auto !important;
  flex: 0 0 auto !important;
  padding-left: 18px !important;
}

.p-cee8939 .p-nna5285 > .pagelayer-row-holder,
.p-cee8939 .p-z1o3101 > .pagelayer-row-holder {
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Iconos de Horario y Dirección */
.p-cee8939 .pagelayer-row-holder .p-4bz9631,
.p-cee8939 .pagelayer-row-holder .p-2k93202 {
  width: 38px !important;
  flex: 0 0 38px !important;
}

/* Textos de Horario y Dirección */
.p-cee8939 .pagelayer-row-holder .p-6hc8876,
.p-cee8939 .pagelayer-row-holder .p-wlo4707 {
  width: auto !important;
  flex: 0 0 auto !important;
}

.p-cee8939 .pagelayer-heading-holder,
.p-cee8939 .pagelayer-heading-holder *,
.p-cee8939 .pagelayer-address-holder,
.p-cee8939 .pagelayer-address,
.p-cee8939 .pagelayer-address * {
  white-space: nowrap !important;
}

/* Columna Derecha: Residencial | Comercial (28% del contenedor) */
.p-cee8939 .pagelayer-row-holder > .p-uod591 {
  width: 28% !important;
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

.p-cee8939 .p-78w1757 > .pagelayer-row-holder {
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
}

.p-cee8939 .pagelayer-row-holder .p-xz77167 {
  width: auto !important;
  flex: 0 0 auto !important;
  padding-right: 16px !important;
}

.p-cee8939 .pagelayer-row-holder .p-y3z1553 {
  width: auto !important;
  flex: 0 0 auto !important;
  padding-left: 16px !important;
}

.p-cee8939 .p-xtu9670,
.p-cee8939 .p-xk56817 {
  width: auto !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
}

/* ==========================================================================
   ALINEACIÓN PERFECTA DE OFERTAS ESPECIALES (index.html)
   ========================================================================== */
.p-l5h503 .pagelayer-row-holder {
  display: flex !important;
  align-items: stretch !important;
}

.p-l5h503 .pagelayer-col {
  display: flex !important;
  flex-direction: column !important;
}

.p-l5h503 .pagelayer-col-holder {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}

.p-l5h503 .pagelayer-service-container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}

.p-l5h503 .pagelayer-service-details {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Títulos en una sola línea equilibrada para los 4 bloques */
.p-l5h503 .pagelayer-service-heading {
  font-size: 19.5px !important;
  white-space: nowrap !important;
  text-align: center !important;
  padding: 16px 0 12px 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Cuerpos de texto alineados en una misma línea base horizontal exacta */
.p-l5h503 .pagelayer-service-text {
  flex: 1 1 auto !important;
  display: block !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  padding: 0 4px !important;
  margin: 0 !important;
}

.p-l5h503 .pagelayer-service-text span {
  display: inline !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
}

