 html,
 body {
   font-family: 'Lexend Deca', sans-serif;
   user-select: none;
 }

 /* main.scss */
 button,
 .btn,
 [type="button"],
 [type="submit"],
 [type="reset"] {
   border-radius: 9999px !important;
   cursor: pointer;
 }

 .btn-banner {
   border-radius: 9999px !important;
   cursor: pointer;
 }


 /* Botón fijo */
 .btn-fixed {
   position: fixed;
   bottom: 12px;
   right: 12px;
   padding: 10px 20px;
   background-color: #001f3f;
   color: #ffffff;
   border: 1px #ffffff solid;
   cursor: pointer;
   font-size: 16px;
   font-weight: bold;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
   letter-spacing: 1px;
   z-index: 99999;
 }

 .btn-fixed:hover {
   color: #04dd04;
 }

 .modal {
   display: none;
   /* Oculto por defecto */
   position: fixed;
   inset: 0;
   z-index: 999999;
   /* no hace falta poner tantos 9 */
   background-color: rgba(0, 0, 0, 0.6);
   /* Fondo oscuro */
   justify-content: center;
   align-items: center;
 }


 /* Tarjeta */
 .modal-card {
   background: #fff;
   width: 97dvw;
   max-height: 96dvh;
   border-radius: 6px;
   box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2),
     0 24px 38px 3px rgba(0, 0, 0, .14),
     0 9px 46px 8px rgba(0, 0, 0, .12);
   display: flex;
   flex-direction: column;
   overflow: hidden;
 }

 /* Header */
 .modal-header {
   height: 60px !important;
   max-height: 60px !important;
   background-color: #001f3f;
   padding: 12px 16px;
   border-bottom: 1px solid #e0e0e0;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .modal-title {
   margin: 0;
   font-size: 1.25rem;
   font-weight: 600;
   color: #FFFFFF !important;
 }



 /* Body con scroll */
 .modal-body {
   padding: 16px;
   flex: 1;
   overflow-y: auto;
   line-height: 1.5;
   color: #001f3f;
 }

 /* Footer */
 .modal-footer {
   padding: 8px 16px;
   border-top: 1px solid #e0e0e0;
   background-color: #fafafa;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 /* Botones estilo Material */
 .btn-mat {
   border: none;
   background: transparent;
   padding: 0 16px;
   height: 36px;
   min-width: 64px;
   font-size: 0.875rem;
   font-weight: 500;
   text-transform: uppercase;
   border-radius: 4px;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   transition: background 0.2s;
 }

 .btn-secondary {
   color: #3f51b5;
 }

 .btn-secondary:hover {
   background: rgba(63, 81, 181, 0.08);
 }

 .btn-primary {
   background-color: #3f51b5;
   color: #fff;
 }

 .btn-primary:hover {
   background-color: #303f9f;
 }



 .step-panel h3 {
   margin-bottom: 12px;
   font-size: 1rem;
   font-weight: 600;
   color: #001f3f;
 }

 .waste-options {
   display: flex;
   gap: 16px;
   flex-wrap: wrap;
 }

 .waste-card {
   border: 1px solid #ccc;
   border-radius: 6px;
   cursor: pointer;
   flex: 1 1 180px;
   max-width: 100%;
   text-align: center;
   transition: all 0.3s ease;
 }




 .waste-card input {
   display: none;
   /* ocultamos el radio */
 }

 .waste-card .card-content {
   padding: 12px;
 }

 .waste-card img {
   width: 80px;
   height: 80px;
   object-fit: contain;
   margin-bottom: 8px;
 }

 .waste-card span {
   display: block;
   font-weight: 500;
   color: #001f3f;
 }

 .waste-card:hover {
   border-color: #3f51b5;
   box-shadow: 0 0 6px rgba(63, 81, 181, 0.4);
 }

 .waste-card input:checked+.card-content {
   border: 2px solid #3f51b5;
   border-radius: 6px;
 }


 .form-input {
   width: 100%;
   padding: 8px;
   margin: 6px 0 12px;
   border: 1px solid #ccc;
   border-radius: 4px;
 }



 /**LOADER*/

 .miLoader {
   border: 3px solid #f3f3f3;
   /* color de fondo */
   border-top: 3px solid #3f51b5;
   /* color del loader */
   border-radius: 50%;
   width: 18px;
   height: 18px;
   animation: spin 1s linear infinite;
   display: inline-block;
   vertical-align: middle;
   margin-left: 8px;
 }

 @keyframes spin {
   0% {
     transform: rotate(0deg);
   }

   100% {
     transform: rotate(360deg);
   }
 }


 /* Asegúrate que el span de error tenga un margen inferior */
 .error-message {
   color: #d32f2f;
   font-size: 0.85rem;
   margin-top: 5px;
   margin-bottom: 15px;
   /* Agregamos espacio hacia abajo */
   display: none;
   font-weight: 500;
 }

 /* El input y el label deben tener su propio espacio de bloque */
 .form-input {
   display: block;
   /* ... otros estilos ... */
   margin-bottom: 5px;
   /* Un pequeño margen después del input */
 }

 label {
   display: block;
   margin-top: 10px;
   /* Espacio antes del label */
 }


 /* Cuando la pantalla sea menor a 450px */
 @media (max-width: 450px) {
   .waste-container {
     flex-direction: column;
     /* apila las tarjetas */
     align-items: center;
     /* opcional: centra las tarjetas */
   }

   .waste-card {
     flex: 1 1 100%;
     /* ocupa todo el ancho disponible */
     max-width: 100%;
     /* asegura que no se limite a 200px */
   }
 }


 /* ---------------START it-asset-recycling------------ */
 .asset-section {
   background-color: #f9f9f9;
   padding: 3rem 1rem; 
 }

 .asset-title h2 {
   color: #001f3f; 
   font-weight: 700;
   margin-bottom: 1rem;
 }

 .asset-title p {
   color: #001f3f;
   font-size: 1.1rem;
 }

 /* Grid principal */
 .asset-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
 }

 /* Cada tarjeta */
 .asset-card {
   display: flex;
   flex-direction: column;
   background: #fff;
   border: 1px solid #999;
   border-radius: 0.5rem;
   overflow: hidden;
 }

 /* Imagen */
 .asset-image img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   border-bottom: 1px solid #999;
 }

 /* Texto */
 .asset-text h4 {
   color: #001f3f;
   margin-bottom: 1rem;
   border-bottom: 1px solid #999;
   padding-bottom: 0.5rem;
 }

 .asset-list {
   list-style: none;
   padding: 0;
   margin: 1.5rem 0;
   line-height: 1.6;
 }

 .asset-list li {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   margin-bottom: 1rem;
   color: #333;
   border-bottom: 1px dashed #999;
   padding-bottom: 0.5rem;
 }

 .asset-list li:last-child {
   border-bottom: none;
 }

 .asset-list li i {
   color: #049004;
   font-size: 1.2rem;
 }

 /* Responsivo */
 @media (max-width: 900px) {
   .asset-grid {
     grid-template-columns: 1fr;
   }
 }

 /* -.....-ESTE ES EL GRIP DE LISTA QUE SALE ABAJO ---...-- */

 .device-section {
   background-color: #f9f9f9;
   padding: 2rem;
   border-radius: 0.5rem;
 }

 .device-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   /* ✅ 3 columnas escritorio */
   gap: 2rem;
 }

 .device-card {
   background: #fff;
   border: 1px solid #ccc;
   border-radius: 0.5rem;
   padding: 1.5rem;
 }

 .device-card h3 {
   color: #001f3f;
   font-weight: 700;
   margin-bottom: 0.75rem;
   border-bottom: 1px solid #999;
   padding-bottom: 0.25rem;
 }

 .device-card ul {
   list-style: none;
   padding: 0;
   margin: 0;
 }

 .device-card ul li {
   margin-bottom: 0.5rem;
   padding-left: 1.2rem;
   position: relative;
   color: #333;
 }

 .device-card ul li::before {
   content: "✔";
   position: absolute;
   left: 0;
   color: #049004;
   font-weight: bold;
 }

 .device-card p {
   font-style: italic;
   color: #001f3f;
   margin-top: 0.5rem;
 }

 /* Responsivo */
 @media (max-width: 992px) {

   .device-grid {
     grid-template-columns: repeat(2, 1fr);
   }
 }

 @media (max-width: 576px) {

   .device-grid {
     grid-template-columns: 1fr;
   }
 }

 /* ---------------END it-asset-recycling------------ */


 /* ---------------START  mixed-weee-recycling------------ */
 :host {
  display: block;
  background-color: #f9f9f9;
  padding: 2rem 1rem;
}

/* Contenedor principal */
.xcopia-container {
  max-width: 100%;
  padding: 1rem;
}

/* Fila de título (100%) */
.xcopia-row-title {
  width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.xcopia-row-title h4 {
  color: #001f3f;
  font-weight: 700;
  border-bottom: 1px solid #999;
  padding-bottom: 0.5rem;
}

/* Fila con imagen + textos */
.xcopia-row-content {
  margin: 24px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #999;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: #fff;
}

/* Imagen */
.xcopia-row-content img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #999;
}

/* Textos */
.xcopia-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.xcopia-texts p {
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.xcopia-texts p:last-child {
  color: #001f3f;
  font-style: italic;
  border-top: 1px solid #999;
  padding-top: 0.5rem;
}

/* Responsividad */
@media (max-width: 768px) {
  .xcopia-row-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .xcopia-texts {
    width: 100%;
  }
}


 /* ---------------END  mixed-weee-recycling------------ */


 /* ---------------START  /audio-visual-recycling------------ */
 

 .xa-section {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

.xa-title h2 {
  color: #001f3f;
  font-weight: 700;
  margin-bottom: 1rem;
}

.xa-subtitle {
  color: #001f3f;
  font-size: 1.1rem;
}

.xa-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #999;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 2rem;
}

.xa-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #999;
}

.xa-content h4 {
  color: #001f3f;
  margin-bottom: 1rem;
  border-bottom: 1px solid #999;
  padding-bottom: 0.5rem;
}

.xa-items {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.xa-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 1px dashed #999;
  padding-bottom: 0.5rem;
 
}

.xa-items li:last-child {
  border-bottom: none;
}

.xa-items li i {
  color: #049004;
  font-size: 1.2rem;
}



 /* ---------------END /audio-visual-recycling------------ */


  .custom-thead {
    background-color: #001f3f;   /* Fondo azul oscuro */
  }
  .custom-thead th {
    padding: 16px;
    background-color: #001f3f;   /* Fondo azul oscuro */
    color: #FFFFFF;              /* Texto blanco */
    font-size: 16px;             /* Tamaño de fuente */
    font-weight: bold;           /* Negrita */
  }


  /**INICIO GRILLA DE SUB SERVICIO COMO OTHER SERVICE Y MAS ***/

  .zb-services-section {
  padding: 2rem 2rem;
  font-family: 'Lexend Deca', sans-serif;
  color: #001f3f;
  background-color: rgba(152, 251, 152, 0.6);
}

/* título principal */
.zb-services-section .zb-section-title {
  padding: 0rem 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #001f3f;
}

/* texto principal */
.zb-services-section .zb-section-text {
  color: #049004;
  padding: 0rem 2rem;
  margin: 0 auto 3rem auto;
  text-align: center;
  line-height: 1.4;
  font-size: 1.4rem;
}

/* grilla responsive */
.zb-services-section .zb-cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 900px) {
  .zb-services-section .zb-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .zb-services-section .zb-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 300px) {
  .zb-services-section .zb-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* card */
.zb-services-section .zb-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* fila con título e imagen */
.zb-services-section .zb-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zb-services-section .zb-card-title h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #001f3f;
  margin: 0;
}

.zb-services-section .zb-card-image img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

/* texto */
.zb-services-section .zb-card-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1rem;
  color: #001f3f;
  flex-grow: 1;
}

/* botón/enlace "More details" */
.zb-services-section .zb-read-more {
  align-self: flex-end;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0073e6;
  cursor: pointer;
  transition: color 0.3s ease;
}

.zb-services-section .zb-read-more:hover {
  color: #005bb5;
  text-decoration: underline;
}


/********POLITICAS DE PRICACIADAD *******/
.ter {
  padding: 2rem;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.ter h2, .ter h3 {
  color: #004d40;
  margin-top: 1.5rem;
}

.ter ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.ter h4 {
  color: #004d40; 
}
/********END POLITICAS DE PRICACIADAD *******/



/********START COMPANY POCIES *******/
/* Contenedor general de la card */
.cp-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  padding: 24px;
  margin-top: 24px;
}

/* Fila principal: imagen + contenido */
.cp-card-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

/* Columna de la imagen */
.cp-card-media {
  width: 100px;
  min-width: 100px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-card-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
}

/* Columna de contenido (título, texto, enlace) */
.cp-card-content {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
}

/* Título */
.cp-card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 600;
}

/* Texto */
.cp-card-text {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Enlace "Leer más" */
.cp-card-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.cp-card-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* Responsivo: pila vertical en pantallas pequeñas */
@media (max-width: 520px) {
  .cp-card-row {
    grid-template-columns: 1fr;
  }

  .cp-card-media {
    width: 100%;
    height: 180px;
  }

  .cp-card-content {
    margin-top: 8px;
  }
}


/********END COMPANY POCIES *******/

 /******** MDOAL POLITICAS AL COMIENZO  *******/
    .modal-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Caja del modal */
    .modal-box {
      background: #fff;
      padding: 20px;
      max-width: 400px;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      font-family: Arial, sans-serif;
      color: #001f3f;
    }

    .modal-box h2 {
      margin-top: 0;
      padding: 16px;
      color: #001f3f;
    }

    .modal-buttons {
      margin-top: 20px;
      display: flex;
      justify-content: space-around;
    }

    .modal-buttons button {
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
    }

    .accept-btn {
      margin-top: 16px;
      background: #4CAF50;
      color: white;
    }

    .close-btn {
      margin-top: 16px;
      background: #f44336;
      color: white;
    }

    .modal-box a {
      padding: 16px;
      color: #007BFF;
      text-decoration: none;
    }
     /******** end  POLITICAS AL COMIENZO  *******/