/* =========================================
   ELECTRIC CENTER - ESTILOS GENERALES
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #222222;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

a {
    transition: color 0.2s ease;
}

/* =========================================
   ENCABEZADO
========================================= */

header {
    background-color: #ffffff;
}

.encabezado-superior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 5%;
}

.logo-enlace {
    display: inline-block;
    flex-shrink: 0;
}

.encabezado-superior .logo {
    width: 290px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* BUSCADOR */

.buscador {
    display: flex;
    align-items: stretch;
    flex: 1;
    max-width: 600px;
    min-width: 0;
    margin: 0;
}

.buscador input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid #dddddd;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    outline: none;
}

.buscador input:focus {
    border-color: #e86c16;
}

.buscador button {
    padding: 14px 22px;
    background-color: #e86c16;
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: bold;
}

.buscador button:hover {
    background-color: #c9570d;
}

/* REDES SOCIALES Y UBICACIÓN */

.accesos {
    display: flex;
    align-items: center;
    gap: 25px;
}

.acceso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.acceso:visited {
    color: #333333;
}

.acceso:hover,
.acceso:visited:hover {
    color: #e86c16;
}

.acceso i {
    font-size: 24px;
    color: #e86c16;
    transition: transform 0.3s;
}

.acceso:hover i {
    transform: scale(1.15);
}

.redes-desplegable {
    position: relative;
}

.boton-redes {
    background: none;
    border: none;
    padding: 0;
}

.opciones-redes {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 170px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 100;
}

.redes-desplegable:hover .opciones-redes,
.redes-desplegable:focus-within .opciones-redes,
.redes-desplegable.abierto .opciones-redes {
    display: block;
}

.opciones-redes a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}

.opciones-redes a:visited {
    color: #333333;
}

.opciones-redes a:hover,
.opciones-redes a:focus {
    background-color: #fff1e6;
    color: #e86c16;
}

/* MENÚ PRINCIPAL */

.menu-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px;
    padding: 17px 20px;
    background-color: #e86c16;
}

.menu-principal a,
.menu-principal a:visited {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

.menu-principal a:hover,
.menu-principal a:visited:hover {
    color: #ffe0c2;
}

/* =========================================
   ELECTRIC CENTER - CARRUSEL DE INICIO
========================================= */

/* CONTENEDOR PRINCIPAL */

.banner-inicio {
    position: relative;
    width: 100%;
    aspect-ratio: 2.5 / 1;
    min-height: 300px;
    overflow: hidden;
    background-color: #151515;
}

/* IMÁGENES DEL CARRUSEL */

.banner-imagen {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-imagen.activa {
    opacity: 1;
}

/* BOTÓN VER PRODUCTOS */

.boton-productos {
    position: absolute;
    bottom: 8%;
    left: 6%;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 23px;
    background-color: #ffffff;
    color: #222222;

    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.boton-productos:visited {
    color: #222222;
}

.boton-productos:hover,
.boton-productos:visited:hover {
    background-color: #e86c16;
    color: #ffffff;
}

/* FLECHAS DEL CARRUSEL */

.banner-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 17px;
}

.banner-flecha.anterior {
    left: 15px;
}

.banner-flecha.siguiente {
    right: 15px;
}

.banner-flecha:hover {
    background-color: #e86c16;
}

/* INDICADORES DEL CARRUSEL */

.banner-indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.indicador {
    width: 11px;
    height: 11px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;
}

.indicador.activo {
    width: 27px;
    border-radius: 10px;
    background-color: #e86c16;
}

.indicador:hover {
    background-color: #e86c16;
}

/* =========================================
   ELECTRIC CENTER - SECCIONES EDITORIALES
========================================= */

/* CONTENEDOR PRINCIPAL */

.inicio-editorial {
    background-color: #f5f5f3;
    padding: 75px 5%;
}

/* FILAS DE TEXTO E IMAGEN */

.inicio-editorial .editorial-fila {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;

    max-width: 1250px;
    height: 400px;
    min-height: 400px;

    margin: 0 auto 32px;
    background-color: #ffffff;
    overflow: hidden;
}

.inicio-editorial .editorial-fila:last-child {
    margin-bottom: 0;
}

/* =========================================
   CONTENIDO DE TEXTO
========================================= */

.inicio-editorial .editorial-texto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
    padding: clamp(32px, 5vw, 75px);
    text-align: left;
}

/* ETIQUETA SUPERIOR */

.inicio-editorial .editorial-etiqueta {
    display: block;
    color: #e86c16;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

/* TÍTULOS */

.inicio-editorial .editorial-texto h2 {
    color: #252525;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 700;
    line-height: 1.15;

    margin: 0 0 22px;
    text-align: left;
}

/* DESCRIPCIONES */

.inicio-editorial .editorial-texto p {
    color: #555555;
    font-size: 16px;
    line-height: 1.85;

    max-width: 450px;
    margin: 0 0 30px;
    text-align: left;
}

/* =========================================
   BOTONES EDITORIALES
========================================= */

.inicio-editorial .editorial-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background-color: #e86c16;
    color: #ffffff;

    padding: 14px 25px;
    border: none;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.inicio-editorial .editorial-boton:visited {
    color: #ffffff;
}

.inicio-editorial .editorial-boton:hover {
    background-color: #c9570d;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ANIMACIÓN DEL ÍCONO */

.inicio-editorial .editorial-boton i {
    transition: transform 0.3s ease;
}

.inicio-editorial .editorial-boton:hover i {
    transform: translateX(4px);
}

/* =========================================
   IMÁGENES EDITORIALES
========================================= */

/* CONTENEDORES DE IMÁGENES */

.inicio-editorial .editorial-imagen,
.inicio-editorial .editorial-imagen-productos,
.inicio-editorial .editorial-imagen-contacto {
    position: relative;

    width: 100%;
    min-width: 0;
    height: 400px;
    min-height: 400px;

    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}

/* IMÁGENES INTERNAS */

.inicio-editorial .editorial-imagen img,
.inicio-editorial .editorial-imagen-productos img,
.inicio-editorial .editorial-imagen-contacto img {
    display: block;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;
    margin: 0;

    object-fit: contain;
    object-position: center;
}

/* =========================================
   FILAS INVERTIDAS
========================================= */

/* IMAGEN A LA IZQUIERDA */

.inicio-editorial .editorial-invertida .editorial-imagen {
    grid-column: 1;
    grid-row: 1;
}

/* TEXTO A LA DERECHA */

.inicio-editorial .editorial-invertida .editorial-texto {
    grid-column: 2;
    grid-row: 1;
}

/* =========================================
   ELECTRIC CENTER - PIE DE PÁGINA
========================================= */

/* CONTENEDOR PRINCIPAL */

.pie-pagina {
    background-color: #24272b;
    color: #ffffff;
    padding: 65px 8% 20px;
}

/* DISTRIBUCIÓN DE COLUMNAS */

.footer-contenido {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 0.85fr)
        minmax(0, 1fr)
        minmax(0, 1.3fr);

    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 45px;
}

/* =========================================
   LOGO Y MARCA
========================================= */

.footer-marca {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.footer-logo {
    width: 230px;
    max-width: 100%;
    height: auto;
}

/* =========================================
   COLUMNAS DE INFORMACIÓN
========================================= */

.footer-columna {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

/* TÍTULOS DE COLUMNAS */

.footer-columna h3 {
    position: relative;
    font-size: 20px;
    margin: 0 0 10px;
    padding-bottom: 12px;
}

/* LÍNEA NARANJA DE LOS TÍTULOS */

.footer-columna h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 35px;
    height: 2px;
    background-color: #e86c16;
}

/* =========================================
   ENLACES DEL PIE DE PÁGINA
========================================= */

.footer-columna > a,
.footer-dato a {
    color: #dddddd;
    text-decoration: none;
    font-size: 14px;
    overflow-wrap: anywhere;
}

/* ENLACES VISITADOS */

.footer-columna > a:visited,
.footer-dato a:visited {
    color: #dddddd;
}

/* EFECTO HOVER */

.footer-columna a:hover,
.footer-columna a:visited:hover {
    color: #e86c16;
}

/* =========================================
   DATOS DE CONTACTO
========================================= */

.footer-dato {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: #dddddd;
    font-size: 14px;
}

.pie-pagina .footer-columna .footer-dato {
    margin-bottom: 4px;
}

/* ÍCONOS DE CONTACTO */

.footer-dato > i {
    color: #e86c16;
    margin-top: 3px;
}

/* INFORMACIÓN DENTRO DE CADA DATO */

.footer-dato > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* TEXTOS DESTACADOS */

.footer-dato strong {
    color: #ffffff;
    font-size: 14px;
}

/* DIRECCIÓN */

.footer-direccion {
    margin-top: 0;
}

/* =========================================
   REDES SOCIALES
========================================= */

/* CONTENEDOR DE REDES */

.footer-redes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 230px;
    max-width: 100%;
    margin-top: 0;
}

/* BOTONES DE REDES SOCIALES */

.footer-redes a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    background-color: #e86c16;
    color: #ffffff;

    text-decoration: none;
    font-size: 18px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

/* ENLACES VISITADOS */

.footer-redes a:visited {
    color: #ffffff;
}

/* ANIMACIÓN DE REDES SOCIALES */

.footer-redes a:hover {
    background-color: #c9570d;
    color: #ffffff;
    transform: translateY(-8px);
}

/* =========================================
   PARTE INFERIOR DEL FOOTER
========================================= */

.footer-inferior {
    max-width: 1200px;
    margin: 0 auto;

    border-top: 1px solid #484b50;
    padding-top: 20px;
    text-align: center;
}

/* DERECHOS RESERVADOS */

.footer-inferior p {
    color: #aaaaaa;
    font-size: 13px;
    margin: 0;
}

/* =========================================
   ELECTRIC CENTER - PÁGINA DE CONTACTO
========================================= */

.pagina-contacto {
    background-color: #ffffff;
}

/* =========================================
   BANNER DE CONTACTO
========================================= */

.contacto-portada {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #eeeeee;
}

.contacto-portada-imagen {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* DESACTIVAR CAPA SUPERPUESTA */

.contacto-portada::after {
    display: none;
}

/* TEXTO DEL BANNER */

.contacto-portada-texto {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);

    max-width: 550px;
    color: #ffffff;
}

.contacto-portada-texto h1 {
    color: #ffffff;
    font-size: clamp(36px, 4vw, 56px);
    margin: 0 0 15px;
}

.contacto-portada-texto p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================
   BANNER CON IMAGEN COMPLETA
========================================= */

.contacto-portada.contacto-portada-con-banner {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
    background-color: #ffffff;
}

.contacto-portada.contacto-portada-con-banner
.contacto-portada-imagen {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* OCULTAR TEXTO CUANDO SE USA BANNER COMPLETO */

.contacto-portada.contacto-portada-con-banner
.contacto-portada-texto {
    display: none;
}

/* =========================================
   CONTENIDO PRINCIPAL
========================================= */

.pagina-contacto .contacto-contenido {
    max-width: 1250px;
    margin: 0 auto;
    padding: 80px 30px 100px;
    background-color: #ffffff;
    background-image: none;
}

/* =========================================
   ENCABEZADO DE CONTACTO
========================================= */

.contacto-encabezado {
    text-align: center;
    margin-bottom: 50px;
}

.contacto-encabezado > span,
.contacto-etiqueta {
    color: #e86c16;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contacto-encabezado h1,
.contacto-encabezado h2 {
    color: #222222;
    font-size: clamp(27px, 3vw, 38px);
    margin: 12px 0;
}

.contacto-encabezado p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   COLUMNAS DE CONTACTO
========================================= */

.contacto-columnas {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: start;
}

.contacto-columna-izquierda,
.contacto-columna-derecha {
    min-width: 0;
}

/* =========================================
   TARJETAS DE INFORMACIÓN
========================================= */

.contacto-tarjetas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contacto-tarjeta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 0;
    min-height: 195px;
    padding: 25px 18px;

    background-color: #fff7f1;
    border: 1px solid #ffe8d6;
    border-radius: 15px;
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contacto-tarjeta:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.09);
}

/* ÍCONOS */

.contacto-tarjeta > i {
    font-size: 30px;
    color: #e86c16;
    margin-bottom: 8px;
}

/* TÍTULOS */

.contacto-tarjeta h3 {
    color: #252525;
    font-size: 18px;
    margin: 0 0 5px;
}

/* DESCRIPCIONES Y ENLACES */

.contacto-tarjeta p,
.contacto-tarjeta a,
.contacto-tarjeta a:visited {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contacto-tarjeta p {
    margin: 0;
}

.contacto-tarjeta a {
    text-decoration: none;
}

.contacto-tarjeta a:hover,
.contacto-tarjeta a:visited:hover,
.contacto-tarjeta .contacto-enlace,
.contacto-tarjeta .contacto-enlace:visited {
    color: #e86c16;
}

/* =========================================
   MAPA Y UBICACIÓN
========================================= */

.contacto-mapa {
    margin-top: 30px;
}

.contacto-mapa h2,
.contacto-mapa > h3 {
    color: #222222;
    font-size: 23px;
    margin-bottom: 18px;
}

/* MAPA INTEGRADO */

.contacto-mapa iframe {
    display: block;
    width: 100%;
    height: 290px;
    border: none;
    border-radius: 15px;
}

/* RECUADRO DE UBICACIÓN */

.contacto-mapa-recuadro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 240px;
    padding: 35px 25px;

    border: 1px solid #eeeeee;
    border-radius: 15px;
    background-color: #ffffff;
    text-align: center;
}

.contacto-mapa-recuadro > i {
    font-size: 35px;
    color: #e86c16;
}

.contacto-mapa-recuadro h3 {
    margin: 0;
    font-size: 20px;
    color: #222222;
}

.contacto-mapa-recuadro p {
    margin: 0;
    color: #666666;
    line-height: 1.7;
}

/* ENLACES DE UBICACIÓN */

.contacto-mapa > a,
.contacto-mapa-recuadro a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 15px;
    color: #e86c16;
    font-weight: 700;
    text-decoration: none;
}

.contacto-mapa > a:visited,
.contacto-mapa-recuadro a:visited {
    color: #e86c16;
}

.contacto-mapa-recuadro a:hover {
    color: #c9570d;
}

/* =========================================
   HORARIOS DE ATENCIÓN
========================================= */

.contacto-horarios {
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contacto-horarios h2 {
    color: #222222;
    font-size: 26px;
    line-height: 1.3;
    margin: 16px 0;
}

.contacto-horarios h2 i {
    color: #e86c16;
    margin-right: 7px;
}

.contacto-horarios-descripcion {
    color: #666666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* FILAS DE HORARIOS */

.contacto-horario-fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 19px 0;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
}

.contacto-horario-fila span {
    color: #444444;
}

.contacto-horario-fila strong {
    color: #222222;
    text-align: right;
}

.contacto-horario-fila .contacto-cerrado {
    color: #e86c16;
}

/* NOTA INFORMATIVA */

.contacto-horarios-nota {
    display: flex;
    gap: 12px;

    margin-top: 28px;
    padding: 15px;

    border-radius: 10px;
    background-color: #fff7f1;

    color: #666666;
    font-size: 13px;
    line-height: 1.6;
}

.contacto-horarios-nota i {
    color: #e86c16;
    margin-top: 3px;
}

/* =========================================
   RECUADRO DE AYUDA
========================================= */

.contacto-ayuda {
    margin-top: 25px;
    padding: 35px;

    background-color: #e86c16;
    color: #ffffff;
    border-radius: 18px;
}

/* ÍCONO PRINCIPAL */

.contacto-ayuda > i {
    font-size: 34px;
    margin-bottom: 18px;
}

/* TÍTULO */

.contacto-ayuda h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 15px;
}

/* DESCRIPCIÓN */

.contacto-ayuda p {
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* BOTÓN DE AYUDA */

.contacto-ayuda a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;
    border-radius: 30px;

    background-color: #ffffff;
    color: #e86c16;

    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contacto-ayuda a:visited {
    color: #e86c16;
}

.contacto-ayuda a:hover {
    transform: translateY(-4px);
}

/* =========================================
   ELECTRIC CENTER - PÁGINA SOBRE NOSOTROS
========================================= */

.pagina-nosotros {
    background-color: #ffffff;
}

/* =========================================
   PORTADA DE NOSOTROS
========================================= */

.nosotros-portada {
    position: relative;
    min-height: 300px;
    padding: 70px 8%;

    display: flex;
    align-items: center;

    background: linear-gradient(
        115deg,
        #24272b 0%,
        #363a40 65%,
        #555b63 100%
    );

    color: #ffffff;
}

/* CONTENEDOR DE TEXTO */

.nosotros-portada-contenido {
    max-width: 700px;
}

/* ETIQUETA SUPERIOR */

.nosotros-portada-contenido > span {
    display: block;
    margin-bottom: 15px;

    color: #ff9a51;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* TÍTULO PRINCIPAL */

.nosotros-portada h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 58px);
}

/* DESCRIPCIÓN */

.nosotros-portada p {
    max-width: 570px;
    margin: 0;

    color: #f0f0f0;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================
   PRESENTACIÓN DE LA EMPRESA
========================================= */

.nosotros-presentacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 65px;

    max-width: 1250px;
    margin: 0 auto;
    padding: 95px 30px;
}

/* ETIQUETA DE SECCIÓN */

.nosotros-etiqueta {
    display: inline-block;
    color: #e86c16;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* TÍTULO */

.nosotros-presentacion h2 {
    margin: 15px 0 25px;
    color: #252525;
    font-size: clamp(30px, 3.5vw, 43px);
}

/* PÁRRAFOS */

.nosotros-presentacion p {
    margin: 0 0 18px;

    color: #555555;
    font-size: 16px;
    line-height: 1.85;
}

/* =========================================
   IMAGEN DE PRESENTACIÓN
========================================= */

.nosotros-presentacion-imagen {
    align-self: start;
    overflow: hidden;
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.nosotros-presentacion-imagen img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =========================================
   CUADROS DE PROPÓSITO Y ENFOQUE
========================================= */

.nosotros-cuadros {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
}

/* TARJETAS */

.nosotros-cuadro {
    background-color: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #e86c16;
    border-radius: 12px;

    padding: 32px 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* ENCABEZADO DE TARJETA */

.nosotros-cuadro-titulo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* ÍCONOS */

.nosotros-cuadro-titulo i {
    color: #e86c16;
    font-size: 21px;
}

/* TÍTULOS */

.nosotros-cuadro-titulo h3 {
    margin: 0;
    font-size: 19px;
    color: #242424;
}

/* DESCRIPCIONES */

.nosotros-cuadro p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
}

/* =========================================
   COMPROMISOS DE ELECTRIC CENTER
========================================= */

.nosotros-compromisos {
    padding: 85px 6%;
    background-color: #f7f7f7;
}

/* ENCABEZADO */

.nosotros-titulo {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.nosotros-titulo h2 {
    margin: 15px 0;
    color: #252525;
    font-size: clamp(28px, 3.5vw, 40px);
}

.nosotros-titulo p {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================
   TARJETAS DE COMPROMISOS
========================================= */

.nosotros-compromisos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;

    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-compromiso {
    padding: 38px 30px;

    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* EFECTO AL PASAR EL MOUSE */

.nosotros-compromiso:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ÍCONOS DE COMPROMISOS */

.nosotros-icono {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;
    margin: 0 auto 25px;

    border-radius: 50%;
    background-color: #fff1e6;
    color: #e86c16;
    font-size: 29px;
}

/* TÍTULOS */

.nosotros-compromiso h3 {
    margin: 0 0 15px;
    color: #252525;
    font-size: 21px;
}

/* DESCRIPCIONES */

.nosotros-compromiso p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   SECCIÓN FINAL - LLAMADO A LA ACCIÓN
========================================= */

.nosotros-cta {
    padding: 75px 20px;
    background-color: #e86c16;
    color: #ffffff;
    text-align: center;
}

/* TÍTULO */

.nosotros-cta h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 39px);
}

/* DESCRIPCIÓN */

.nosotros-cta p {
    max-width: 650px;
    margin: 0 auto 28px;

    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;
}

/* =========================================
   BOTÓN DE NOSOTROS
========================================= */

.nosotros-boton {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 28px;
    background-color: #ffffff;
    color: #e86c16;

    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;

    transition: transform 0.3s ease;
}

.nosotros-boton:visited {
    color: #e86c16;
}

.nosotros-boton:hover {
    transform: translateY(-4px);
}

/* =========================================
   ELECTRIC CENTER - TARJETAS DE INICIO
========================================= */

/* CONTENEDOR PRINCIPAL */

.inicio-tarjetas {
    padding: 85px 25px;
}

/* =========================================
   ENCABEZADO DE LA SECCIÓN
========================================= */

.inicio-tarjetas-encabezado {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

/* ETIQUETA SUPERIOR */

.inicio-tarjetas-encabezado span {
    color: #e86c16;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* TÍTULO PRINCIPAL */

.inicio-tarjetas-encabezado h1,
.inicio-tarjetas-encabezado h2 {
    color: #222222;
    font-size: 34px;
    margin: 15px 0;
}

/* DESCRIPCIÓN DEL ENCABEZADO */

.inicio-tarjetas-encabezado p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   DISTRIBUCIÓN DE LAS TARJETAS
========================================= */

.inicio-tarjetas-contenedor {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;

    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   DISEÑO INDIVIDUAL DE TARJETAS
========================================= */

.inicio-tarjeta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-width: 0;
    padding: 80px 30px 35px;

    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    transform: none;
    transition: none;
}

/* =========================================
   TÍTULOS DE LAS TARJETAS
========================================= */

.inicio-tarjeta h3 {
    position: relative;
    z-index: 1;

    color: #222222;
    font-size: 25px;
    margin: 0 0 15px;

    width: 100%;
    text-align: center;
}

/* =========================================
   DESCRIPCIONES DE LAS TARJETAS
========================================= */

.inicio-tarjeta p {
    position: relative;
    z-index: 1;

    color: #666666;
    font-size: 15px;
    line-height: 1.8;

    margin: 0 0 30px;
    flex-grow: 1;

    width: 100%;
    text-align: center;
}

/* =========================================
   BOTONES DE LAS TARJETAS
========================================= */

.inicio-tarjeta a {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 22px;

    background-color: #e86c16;
    color: #ffffff;

    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;

    transition: background-color 0.3s ease;
    align-self: center;
}

/* ENLACES VISITADOS */

.inicio-tarjeta a:visited {
    color: #ffffff;
}

/* EFECTO AL PASAR EL MOUSE */

.inicio-tarjeta a:hover,
.inicio-tarjeta a:visited:hover {
    background-color: #c9570d;
    color: #ffffff;
}

/* =========================================
   ELECTRIC CENTER - ADAPTACIÓN A TABLETAS
========================================= */

/* =========================================
   PANTALLAS DE HASTA 1050 PX
========================================= */

@media (max-width: 1050px) {

    /* ENCABEZADO */

    .encabezado-superior {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    /* BUSCADOR */

    .buscador {
        flex-basis: 100%;
        max-width: 600px;
        order: 3;
    }

    /* ACCESOS Y REDES SOCIALES */

    .accesos {
        justify-content: center;
    }

    /* MENÚ PRINCIPAL */

    .menu-principal {
        gap: 25px;
    }

    /* PIE DE PÁGINA */

    .pie-pagina .footer-contenido {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   PANTALLAS DE HASTA 950 PX
========================================= */

@media (max-width: 950px) {

    /* CONTACTO EN UNA SOLA COLUMNA */

    .contacto-columnas {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* =========================================
   PANTALLAS DE HASTA 900 PX
========================================= */

@media (max-width: 900px) {

    /* SECCIONES EDITORIALES */

    .inicio-editorial {
        padding: 55px 4%;
    }

    .inicio-editorial .editorial-texto {
        padding: 35px;
    }

    .inicio-editorial .editorial-texto h2 {
        font-size: 32px;
    }

    .inicio-editorial .editorial-texto p {
        font-size: 15px;
    }

    /* TARJETAS DE INICIO */

    .inicio-tarjetas-contenedor {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* PÁGINA SOBRE NOSOTROS */

    .nosotros-presentacion {
        gap: 35px;
    }

    /* TARJETAS DE COMPROMISOS */

    .nosotros-compromisos-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }
}

/* =========================================
   TABLETAS ENTRE 701 PX Y 1050 PX
   DISEÑO DE ESCRITORIO COMPACTO
========================================= */

@media (min-width: 701px) and (max-width: 1050px) {

    /* =====================================
       ENCABEZADO
    ===================================== */

    .encabezado-superior {
        gap: 18px;
        padding: 18px 4%;
    }

    .encabezado-superior .logo {
        width: 270px;
    }

    .buscador {
        max-width: 720px;
    }

    .buscador input {
        font-size: 21px;
        padding: 18px 20px;
    }

    .buscador button {
        font-size: 20px;
        padding: 18px 25px;
    }

    .acceso {
        font-size: 20px;
    }

    .acceso i {
        font-size: 30px;
    }

    .opciones-redes a {
        font-size: 19px;
    }

    /* =====================================
       MENÚ PRINCIPAL
    ===================================== */

    .menu-principal {
        gap: 38px;
        padding: 22px 16px;
    }

    .menu-principal a,
    .menu-principal a:visited {
        font-size: 21px;
    }

    /* =====================================
       CARRUSEL DE INICIO
    ===================================== */

    .banner-inicio .boton-productos {
        font-size: 20px;
        padding: 15px 22px;
    }

    .banner-flecha {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .banner-indicadores {
        bottom: 15px;
    }

    .indicador {
        width: 14px;
        height: 14px;
    }

    .indicador.activo {
        width: 32px;
    }

    /* =====================================
       TARJETAS DE INICIO
    ===================================== */

    .inicio-tarjetas {
        padding: 65px 22px;
    }

    .inicio-tarjetas-encabezado {
        max-width: 850px;
    }

    .inicio-tarjetas-encabezado span {
        font-size: 19px;
    }

    .inicio-tarjetas-encabezado h1,
    .inicio-tarjetas-encabezado h2 {
        font-size: 39px;
    }

    .inicio-tarjetas-encabezado p {
        font-size: 23px;
    }

    .inicio-tarjetas-contenedor {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
        gap: 15px;
    }

    .inicio-tarjeta {
        padding: 30px 16px;
    }

    .inicio-tarjeta h3 {
        font-size: 29px;
    }

    .inicio-tarjeta p {
        font-size: 21px;
        line-height: 1.5;
    }

    .inicio-tarjeta a {
        font-size: 19px;
        padding: 15px 13px;
        gap: 8px;
    }

    /* =====================================
       PIE DE PÁGINA
    ===================================== */

    .pie-pagina {
        padding: 55px 6% 22px;
    }

    .pie-pagina .footer-contenido {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px;
    }

    .footer-logo {
        width: 260px;
    }

    .footer-columna h3 {
        font-size: 27px;
    }

    .footer-columna > a,
    .footer-dato a,
    .footer-dato,
    .footer-dato strong {
        font-size: 20px;
    }

    .footer-redes a {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .footer-inferior p {
        font-size: 18px;
    }

    /* =====================================
       PÁGINA SOBRE NOSOTROS
    ===================================== */

    .nosotros-presentacion p,
    .nosotros-titulo p,
    .nosotros-compromiso p,
    .nosotros-cuadro p {
        font-size: 21px;
    }
}

/* =========================================
   ELECTRIC CENTER - DISEÑO RESPONSIVE
   PANTALLAS DE HASTA 700 PX
========================================= */

@media (max-width: 700px) {

    /* =====================================
       PIE DE PÁGINA
    ===================================== */

    .pie-pagina {
        padding: 40px 6% 20px;
    }

    .pie-pagina .footer-contenido {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* =====================================
       SECCIONES DE INICIO
    ===================================== */

    .inicio-editorial {
        padding: 40px 16px;
    }

    .inicio-editorial .editorial-fila {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        margin-bottom: 25px;
    }

    /* TEXTO ENCIMA DE LA IMAGEN */

    .inicio-editorial .editorial-texto,
    .inicio-editorial .editorial-invertida .editorial-texto {
        grid-column: 1;
        grid-row: 1;
        padding: 35px 26px;
    }

    /* IMÁGENES DE LAS SECCIONES */

    .inicio-editorial .editorial-imagen,
    .inicio-editorial .editorial-invertida .editorial-imagen,
    .inicio-editorial .editorial-imagen-productos,
    .inicio-editorial .editorial-imagen-contacto {
        grid-column: 1;
        grid-row: 2;
        height: 260px;
        min-height: 260px;
    }

    /* TÍTULOS */

    .inicio-editorial .editorial-texto h2 {
        font-size: 29px;
    }

    /* DESCRIPCIONES */

    .inicio-editorial .editorial-texto p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 25px;
    }

    /* ETIQUETAS */

    .inicio-editorial .editorial-etiqueta {
        font-size: 11px;
    }

    /* BOTONES */

    .inicio-editorial .editorial-boton {
        padding: 13px 22px;
    }

    /* =====================================
       PÁGINA SOBRE NOSOTROS
    ===================================== */

    /* PORTADA */

    .nosotros-portada {
        min-height: 260px;
        padding: 55px 25px;
    }

    .nosotros-portada p {
        font-size: 16px;
    }

    /* PRESENTACIÓN DE LA EMPRESA */

    .nosotros-presentacion {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 55px 22px;
    }

    /* IMAGEN DE PRESENTACIÓN */

    .nosotros-presentacion-imagen img {
        height: 280px;
    }

    /* COMPROMISOS */

    .nosotros-compromisos {
        padding: 60px 22px;
    }

    /* SECCIÓN FINAL */

    .nosotros-cta {
        padding: 60px 22px;
    }
}

/* =========================================
   ELECTRIC CENTER - CELULARES HASTA 600 PX
========================================= */

@media (max-width: 600px) {

    /* ENCABEZADO */

    .encabezado-superior {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
    }

    /* LOGO */

    .encabezado-superior .logo {
        width: 230px;
        max-width: 100%;
        height: auto;
    }

    /* BUSCADOR */

    .buscador {
        width: 100%;
        max-width: 100%;
        flex: none;
        order: 0;
    }

    .buscador input {
        padding: 12px;
        font-size: 14px;
    }

    .buscador button {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* ACCESOS Y REDES SOCIALES */

    .accesos {
        width: 100%;
        justify-content: center;
        gap: 28px;
    }

    /* MENÚ PRINCIPAL */

    .menu-principal {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        padding: 22px 4px;
        width: 100%;
    }

    .menu-principal a,
    .menu-principal a:visited {
        display: block;
        min-width: 0;
        font-size: clamp(12px, 3.5vw, 16px);
        white-space: nowrap;
        text-align: center;
    }

    /* CARRUSEL PARA CELULARES */

    .banner-inicio {
        width: 100%;
        aspect-ratio: 720 / 500;
        min-height: 0;
        overflow: hidden;
    }

    .banner-imagen {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* FLECHAS DEL CARRUSEL */

    .banner-flecha {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .banner-flecha.anterior {
        left: 8px;
    }

    .banner-flecha.siguiente {
        right: 8px;
    }

    /* BOTÓN VER PRODUCTOS */

    .banner-inicio a.boton-productos {
        left: 6%;
        bottom: 42px;
        transform: none;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        width: fit-content;
        min-width: 0;
        max-width: max-content;
        height: auto;
        min-height: 0;

        padding: 7px 10px;
        border-radius: 5px;
        font-size: 11px;
    }

    .banner-inicio a.boton-productos i {
        font-size: 10px;
    }

    /* INDICADORES DEL CARRUSEL */

    .banner-indicadores {
        bottom: 12px;
        gap: 8px;
    }

    .indicador {
        width: 9px;
        height: 9px;
    }

    .indicador.activo {
        width: 23px;
    }

    /* PÁGINA DE CONTACTO */

    .contacto-portada {
        height: 300px;
    }

    .contacto-portada-texto {
        left: 7%;
        right: 7%;
    }

    .contacto-portada-texto p {
        font-size: 15px;
    }

    .pagina-contacto .contacto-contenido {
        padding: 55px 18px 70px;
    }

    .contacto-encabezado {
        margin-bottom: 35px;
    }

    /* TARJETAS DE CONTACTO */

    .contacto-tarjetas {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contacto-tarjeta {
        min-height: auto;
        padding: 25px 18px;
    }

    /* HORARIOS Y AYUDA */

    .contacto-horarios,
    .contacto-ayuda {
        padding: 25px 20px;
    }

    .contacto-horario-fila {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .contacto-horario-fila strong {
        text-align: left;
    }

    /* MAPA */

    .contacto-mapa iframe {
        height: 250px;
    }

    /* BANNER DE CONTACTO MÓVIL */

    .contacto-portada.contacto-portada-con-banner {
        aspect-ratio: 720 / 500;
        height: auto;
        min-height: 0;
    }

    .contacto-portada.contacto-portada-con-banner
    .contacto-portada-imagen {
        content: url("imagenes/contacto-movil/banner-contacto-movil.png");
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* IMÁGENES DEL CARRUSEL MÓVIL */

    .banner-inicio .banner-imagen:nth-of-type(1) {
        background-image: url("imagenes/carrusel-movil/ducha-movil.png") !important;
    }

    .banner-inicio .banner-imagen:nth-of-type(2) {
        background-image: url("imagenes/carrusel-movil/medidor-movil.png") !important;
    }

    .banner-inicio .banner-imagen:nth-of-type(3) {
        background-image: url("imagenes/carrusel-movil/paneles-movil.png") !important;
    }

    .banner-inicio .banner-imagen:nth-of-type(4) {
        background-image: url("imagenes/carrusel-movil/ventilador-movil.png") !important;
    }

    .banner-inicio .banner-imagen:nth-of-type(5) {
        background-image: url("imagenes/carrusel-movil/calentador-movil.png") !important;
    }
}

/* =========================================
   ELECTRIC CENTER - CERTIFICACIONES
========================================= */

.certificaciones {
    width: 100%;
    margin: 40px 0 0;
    padding: 0;
    overflow: hidden;

    background-color: #ffffff;
    border-top: 3px solid #e86c16;
    border-bottom: 3px solid #e86c16;
}

.certificaciones-imagen {
    display: block;
    width: 100%;
    height: 400px;

    object-fit: cover;
    object-position: center;
}

/* TABLETAS */

@media (max-width: 900px) {
    .certificaciones-imagen {
        height: 300px;
    }
}

/* CELULARES */

@media (max-width: 600px) {
    .certificaciones {
        margin-top: 25px;
    }

    .certificaciones-imagen {
        height: auto;
        object-fit: contain;
    }
}

/* =========================================
   DESCUBRE ELECTRIC CENTER
   FONDO DE BOMBILLOS
========================================= */

.inicio-tarjetas {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 45px;

    min-height: 320px;
    padding: 80px 25px;

    border-top: 8px solid #ffffff;
    border-bottom: 8px solid #ffffff;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.48)
        ),
        url("imagenes/fondo-bombillos.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================
   ENCABEZADO DE LA SECCIÓN
========================================= */

.inicio-tarjetas-encabezado {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    text-align: center;
}

.inicio-tarjetas-encabezado span {
    display: block;

    color: #ffffff;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: 4px;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.inicio-tarjetas-encabezado h1,
.inicio-tarjetas-encabezado h2 {
    color: #ffffff;
}

.inicio-tarjetas-encabezado p {
    color: #f0f0f0;
}

/* =========================================
   DISTRIBUCIÓN EN TRES COLUMNAS
========================================= */

.inicio-tarjetas-contenedor {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   COLUMNAS SIN TARJETAS BLANCAS
========================================= */

.inicio-tarjetas .inicio-tarjeta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: 35px 35px 25px;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    text-align: left;
    transform: none;
    transition: none;
}

/* SEPARADORES ENTRE COLUMNAS */

.inicio-tarjetas .inicio-tarjeta:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.45);
}

/* OCULTAR ÍCONOS */

.inicio-tarjetas .inicio-tarjeta-icono {
    display: none;
}

/* =========================================
   TÍTULOS DE LAS COLUMNAS
========================================= */

.inicio-tarjetas .inicio-tarjeta h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    margin: 0 0 18px;
}

/* =========================================
   DESCRIPCIONES
========================================= */

.inicio-tarjetas .inicio-tarjeta p {
    color: #f0e9e3;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    margin: 0 0 25px;
    flex-grow: 1;
}

/* =========================================
   ENLACES SIN FONDO
========================================= */

.inicio-tarjetas .inicio-tarjeta a,
.inicio-tarjetas .inicio-tarjeta a:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 0;
    background: transparent;
    color: #ffb47a;

    border: none;
    border-radius: 0;
    box-shadow: none;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
}

/* EFECTO AL PASAR EL MOUSE */

.inicio-tarjetas .inicio-tarjeta:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.inicio-tarjetas .inicio-tarjeta a:hover,
.inicio-tarjetas .inicio-tarjeta a:visited:hover {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
}

/* =========================================
   ADAPTACIÓN A TABLETAS Y CELULARES
========================================= */

@media (max-width: 900px) {

    .inicio-tarjetas-contenedor {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .inicio-tarjetas .inicio-tarjeta {
        padding: 28px 15px;
    }

    .inicio-tarjetas .inicio-tarjeta:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }
}

/* CELULARES */

@media (max-width: 700px) {

    .inicio-tarjetas {
        padding: 55px 20px;
        background-position: 65% center;
    }
}

@media (max-width: 600px) {

    .inicio-tarjetas {
        min-height: 230px;
    }

    .inicio-tarjetas-encabezado span {
        letter-spacing: 2px;
    }
}

/* =========================================
   ELECTRIC CENTER - AJUSTES FINALES
========================================= */

/* DISTRIBUCIÓN FINAL DE LAS COLUMNAS */

.inicio-tarjetas-encabezado {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    text-align: center;
}

.inicio-tarjetas-contenedor {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ADAPTACIÓN PARA TABLETAS Y CELULARES */

@media (max-width: 900px) {

    .inicio-tarjetas-contenedor {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* =========================================
   BOTONES BLANCOS - DESCUBRE ELECTRIC CENTER
========================================= */

.inicio-tarjetas .inicio-tarjeta a,
.inicio-tarjetas .inicio-tarjeta a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #ffffff;
    color: #222222;

    padding: 14px 24px;
    border-radius: 6px;
    border: none;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    align-self: flex-start;

    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

/* EFECTO AL PASAR EL MOUSE */

.inicio-tarjetas .inicio-tarjeta a:hover,
.inicio-tarjetas .inicio-tarjeta a:visited:hover {
    background: #e86c16;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
}


/* =========================================
   ELECTRIC CENTER - CATÁLOGO DE PRODUCTOS
========================================= */

.pagina-productos {
    background: #fff;
    color: #252525;
}

.ec-productos {
    padding: 65px 25px 90px;
}

.ec-productos-contenedor {
    max-width: 1250px;
    margin: 0 auto;
}

/* ENCABEZADO */

.ec-productos-encabezado {
    text-align: center;
    margin-bottom: 45px;
}

.ec-productos-etiqueta {
    display: block;
    color: #e86c16;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ec-productos-encabezado h1 {
    font-size: clamp(29px, 3vw, 39px);
    margin: 0 0 15px;
}

.ec-productos-encabezado p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    max-width: 650px;
    margin: auto;
}

/* TÍTULO DE PLAQUERÍA */

.ec-catalogo-titulo {
    margin-bottom: 25px;
}

.ec-catalogo-titulo h2 {
    font-size: 27px;
    margin: 0 0 9px;
}

.ec-catalogo-titulo p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* DISTRIBUCIÓN DEL CATÁLOGO */

.ec-catalogo-layout {
    display: block;
    width: 100%;
}


/* PANEL LATERAL */

.ec-sidebar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 16px;
    width: 100%;
    margin-bottom: 28px;
    padding: 22px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.ec-sidebar h3 {
    width: 100%;
    margin: 0;
    font-size: 19px;
    color: #242424;
}

.ec-limpiar-filtros {
    margin-top: 0;
    padding: 12px 18px;
    background: transparent;
    color: #e86c16;
    border: 1px solid #e86c16;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

/* ÁREA PRINCIPAL */
.ec-filtros {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#ecCantidad {
    color: #777;
    font-size: 13px;
}

#ecOrden {
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    padding: 10px 13px;
    font-size: 13px;
    color: #444;
}

.ec-producto-sin-imagen {
    color: #999;
    text-align: center;
}

.ec-producto-sin-imagen svg {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
}

.ec-producto-sin-imagen span {
    display: block;
    font-size: 12px;
}

/* SIN RESULTADOS */

.ec-sin-resultados {
    grid-column: 1 / -1;
    text-align: center;
    padding: 65px 20px;
    color: #777;
}

/* CELULARES */

@media (max-width: 700px) {
    .ec-productos {
        padding: 45px 16px 65px;
    }

    .ec-productos-encabezado {
        margin-bottom: 35px;
    }

    .ec-categorias {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: thin;
    }

    .ec-categoria {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ec-sidebar {
        padding: 18px;
    }

    .ec-sidebar .ec-marcas-lista {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ec-productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ec-filtros {
        flex-wrap: wrap;
    }
}

/* =========================================
   ELECTRIC CENTER - FICHAS DE PLAQUERÍA
========================================= */

.ec-productos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    width: 100%;
}


/* Tarjeta individual */
.ec-ficha-producto {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: fit-content;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.ec-ficha-producto:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Fotografía */

.ec-ficha-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    padding: 22px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.ec-ficha-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Información */

.ec-ficha-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    text-align: center;
}

.ec-ficha-contenido h3 {
    color: #252525;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    overflow-wrap: anywhere;
}

.ec-sin-resultados {
    grid-column: 1 / -1;
    color: #666666;
    text-align: center;
    padding: 40px 15px;
}

/* Adaptación a tabletas */

@media (max-width: 950px) {
    .ec-productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .ec-ficha-imagen {
        height: 200px;
    }
}

/* Adaptación a celulares */

@media (max-width: 550px) {
    .ec-productos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ec-ficha-imagen {
        height: 240px;
    }

    .ec-ficha-contenido {
        padding: 20px;
    }
}

/* FILTROS DESPLEGABLES - ELECTRIC CENTER */
.ec-sidebar label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ec-sidebar select {
    min-width: 190px;
    flex: 1;
    padding: 12px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.ec-sidebar select:focus {
    outline: 2px solid #f58220;
    outline-offset: 2px;
}

.ec-catalogo-resultados {
    width: 100%;
    min-width: 0;
}

@media (max-width: 768px) {
    .ec-sidebar {
        flex-direction: column;
        align-items: start;
    }

    .ec-sidebar select {
        width: 100%;
        min-width: 0;
        flex: auto;
    }
}

/* PAGINACIÓN COMPACTA - ELECTRIC CENTER */

.ec-paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 35px auto;
    width: 100%;
}

.ec-paginacion button {
    min-width: 40px;
    min-height: 40px;
    padding: 10px 14px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.ec-paginacion button:hover:not(:disabled) {
    background: #fff3e8;
    border-color: #f58220;
}

.ec-paginacion button.activo {
    background: #f58220;
    color: #fff;
    border-color: #f58220;
    font-weight: 600;
}

.ec-paginacion button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ec-paginacion-puntos {
    padding: 0 4px;
    color: #777;
}

@media (max-width: 480px) {
    .ec-paginacion {
        gap: 5px;
    }

    .ec-paginacion button {
        min-width: 34px;
        min-height: 36px;
        padding: 8px;
        font-size: 12px;
    }
}

/* DISTRIBUCIÓN DE PRODUCTOS - ELECTRIC CENTER */
/* TABLETS */
@media (max-width: 1000px) {
    .ec-productos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .ec-productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* BANNER DEL CATÁLOGO - ELECTRIC CENTER */

.ec-catalogo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 230px;
    margin: 0 0 30px;
    padding: 35px 45px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(110deg, #302a27 0%, #6b3a20 65%, #f37012 100%);
    color: #fff;
}

.ec-banner-contenido {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ec-banner-etiqueta {
    display: block;
    margin-bottom: 14px;
    color: #ffbd8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ec-catalogo-banner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 45px);
    font-weight: 800;
    line-height: 1.15;
}

.ec-banner-imagen {
    width: 40%;
    height: 190px;
    flex-shrink: 0;
}

.ec-banner-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ADAPTACIÓN PARA CELULARES */

@media (max-width: 768px) {
    .ec-catalogo-banner {
    min-height: 340px;
    padding: 55px 60px;
}

    .ec-banner-etiqueta {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .ec-catalogo-banner h2 {
        font-size: clamp(23px, 5vw, 32px);
    }

    .ec-banner-imagen {
        width: 32%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .ec-catalogo-banner {
        padding: 25px 20px;
    }

    .ec-banner-imagen {
        display: none;
    }
}
/* BANNER DEL CATÁLOGO A TODO EL ANCHO */

.ec-catalogo-banner {
    width: 100vw;
    max-width: none;
    min-height: 400px;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 30px;

    border-radius: 0;
    padding: 60px max(6%, calc((100vw - 1300px) / 2));
}
/* ELIMINAR ESPACIO SUPERIOR DEL CATÁLOGO */

.pagina-productos {
    padding-top: 0;
}

.ec-productos {
    padding-top: 0;
}

.ec-productos-contenedor {
    padding-top: 0;
}

.ec-catalogo-banner {
    margin-top: 0;
}
/* AJUSTES FINALES DEL BANNER DEL CATÁLOGO */

@media (min-width: 769px) {

    .ec-catalogo-banner {
        min-height: 340px;
        padding-top: 35px;
        padding-bottom: 35px;
        gap: 10px;
    }

    .ec-banner-contenido {
        flex: 1;
        min-width: 0;
    }

    .ec-banner-imagen {
        width: 46%;
        height: 260px;
        flex-shrink: 0;
        transform: translateX(-25px);
    }

    .ec-banner-imagen img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
/* EXTENDER EL FONDO DEL BANNER HACIA LOS FILTROS */

.ec-catalogo-banner {
    margin-bottom: 0;
    padding-bottom: 130px;
}

/* SUBIR LOS FILTROS SOBRE EL FONDO DEL BANNER */

.ec-sidebar {
    position: relative;
    z-index: 2;
    margin-top: -90px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* AJUSTE PARA CELULARES */

@media (max-width: 768px) {
    .ec-catalogo-banner {
        padding-bottom: 100px;
    }

    .ec-sidebar {
        margin-top: -65px;
    }
}
/* ENLACE DE POLÍTICA DE PRIVACIDAD */

.enlace-privacidad {
    display: inline-block;
    margin-top: 10px;
    color: #f47b20;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.enlace-privacidad:hover {
    color: #ffffff;
    text-decoration: underline;
}

.enlace-privacidad:focus-visible {
    outline: 2px solid #f47b20;
    outline-offset: 4px;
}
/* =========================================
   FIN DEL CSS - ELECTRIC CENTER
========================================= */
