/*
Theme Name: Secobol Child
Theme URI: https://secobol.com
Description: Tema hijo de Secobol para personalizaciones del sitio.
Author: Secobol
Template: secobol-theme
Version: 1.0.0
Text Domain: secobol-child
*/

/* Cargar aquí nuestras personalizaciones; el CSS del padre se carga desde functions.php. */

.hero .hero-image iframe{
  width:100%;
  aspect-ratio:16 / 9;
  height:auto;
  border:0;
  display:block;
}

/* =========================
   CABECERA SECOBOL
   ========================= */

.site-header{
  width:100%;
  max-width:1200px;
  height:90px;
  margin:0 auto;
  padding:0 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-sizing:border-box;
  background:#fff;
}

.site-header .site-logo{
  margin:0;
  padding:0;
}

.site-header .main-nav{
  margin:0;
  padding:0;
}

.hero{
  padding-top:40px;
}

.site-logo{
  display:flex;
  align-items:center;
}

.site-logo a{
  display:block;
}

.site-logo img{
  display:block;
  width:360px !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
}


/* Video superior original de Wix */
.hero-video-top {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
}

.hero-video-top-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5.2;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-video-top-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    transform: translate(-50%, -50%) scale(1.75);
    transform-origin: center center;
}



/* =====================================
   CARRUSEL CENTRAL SECOBOL
   ===================================== */

.secobol-carousel {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.secobol-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}

.secobol-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.secobol-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.secobol-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .secobol-carousel-track {
        aspect-ratio: 4 / 3;
    }
}

/* Ajustes de espacios para celulares */
@media (max-width: 768px) {

    .hero-video-top {
        margin: 0;
        padding: 0;
    }

    .hero-video-top-container {
        margin: 0;
    }

    .secobol-carousel {
        margin: 0;
        padding: 0;
    }

    .secobol-carousel-track {
        aspect-ratio: 3 / 1;
    }

    .hero {
        padding-top: 0;
        margin-top: 0;
    }

    .hero .hero-text,
    .hero .hero-image {
        margin-top: 0;
    }

    .section {
        margin-top: 0;
        padding-top: 16px;
        padding-bottom: 24px;
    }
}
/* Fondo original de Wix para las estadísticas SECOBOL */
.stats-bar {
    background: #fff;
    padding: 40px 20px;
}

.stats-paper {
    background-image: url("https://secobol.vamoshosting.com/wp-content/uploads/2026/10/Secobol-4.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    box-shadow: none;
    transform: none;
    max-width: 1025px;
    min-height: 532px;
    margin: 0 auto;
    padding: 110px 45px 50px;
    box-sizing: border-box;
}

.stats-paper::before {
    display: none;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .stats-bar {
        padding: 20px 8px;
    }

    .stats-paper {
        min-height: 0;
        padding: 80px 18px 35px;
        background-size: 100% 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
}

/* Corrección de distribución del bloque de estadísticas */
.stats-bar {
    display: block !important;
    width: 100% !important;
    padding: 40px 20px !important;
    margin: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.stats-bar .stats-paper {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 1025px !important;
    min-height: 532px !important;
    margin: 0 auto !important;
    padding: 110px 45px 50px !important;
    box-sizing: border-box !important;
    background-image: url("https://secobol.vamoshosting.com/wp-content/uploads/2026/10/Secobol-4.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    box-shadow: none !important;
    transform: none !important;
}

.stats-bar .stats-title {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 0 24px !important;
    color: #ff4147 !important;
    font-size: 48px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.stats-bar .stats-grid {
    display: grid !important;
    position: relative !important;
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: start !important;
    text-align: center !important;
}

.stats-bar .stats-grid .stat-item {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.stats-bar .stats-grid .stat-item h3 {
    margin: 0 0 12px !important;
    color: #111 !important;
    font-size: 21px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.stats-bar .stats-grid .stat-item p {
    margin: 0 !important;
    color: #222 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

@media (max-width: 768px) {
    .stats-bar {
        padding: 20px 8px !important;
    }

    .stats-bar .stats-paper {
        min-height: 0 !important;
        padding: 80px 18px 35px !important;
        background-size: 100% 100% !important;
    }

    .stats-bar .stats-title {
        font-size: 34px !important;
        margin-bottom: 25px !important;
    }

    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 12px !important;
    }

    .stats-bar .stats-grid .stat-item h3 {
        font-size: 20px !important;
    }

    .stats-bar .stats-grid .stat-item p {
        font-size: 14px !important;
    }
}

/* Ajuste fino de estadísticas SECOBOL */
.stats-bar {
    padding-top: 15px !important;
    padding-bottom: 25px !important;
}

.stats-bar .stats-paper {
    min-height: 532px !important;
    padding-top: 145px !important;
    padding-left: 65px !important;
    padding-right: 65px !important;
    background-size: 100% 100% !important;
}

.stats-bar .stats-title {
    margin-bottom: 22px !important;
    font-size: 48px !important;
}

.stats-bar .stats-grid {
    gap: 12px !important;
}

@media (max-width: 768px) {
    .stats-bar {
        padding-top: 15px !important;
        padding-bottom: 20px !important;
    }

    .stats-bar .stats-paper {
        min-height: 0 !important;
        padding: 75px 18px 35px !important;
    }

    .stats-bar .stats-title {
        font-size: 34px !important;
    }
}

/* Igualar tipografía de estadísticas con el original Wix */
.stats-bar .stats-title {
    font-size: 58px !important;
    line-height: 1.15 !important;
    margin-bottom: 28px !important;
}

.stats-bar .stats-grid .stat-item h3 {
    font-size: 25px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.stats-bar .stats-grid .stat-item p {
    font-size: 17px !important;
    line-height: 1.35 !important;
}

@media (max-width: 768px) {
    .stats-bar .stats-title {
        font-size: 36px !important;
    }

    .stats-bar .stats-grid .stat-item h3 {
        font-size: 21px !important;
    }

    .stats-bar .stats-grid .stat-item p {
        font-size: 14px !important;
    }
}

/* Ajuste final de tipografía de estadísticas */
.stats-bar .stats-grid .stat-item h3 {
    font-size: 29px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
}

.stats-bar .stats-grid .stat-item p {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

@media (max-width: 768px) {
    .stats-bar .stats-grid .stat-item h3 {
        font-size: 22px !important;
    }

    .stats-bar .stats-grid .stat-item p {
        font-size: 14px !important;
    }
}

/* Comparación tipográfica con Wix: estadísticas */
.stats-bar .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 150px)) !important;
    justify-content: center !important;
    column-gap: 30px !important;
}

.stats-bar .stats-grid .stat-item h3 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
}

.stats-bar .stats-grid .stat-item p {
    max-width: 150px !important;
    margin: 0 auto !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
}

@media (max-width: 768px) {
    .stats-bar .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
        row-gap: 28px !important;
    }

    .stats-bar .stats-grid .stat-item h3 {
        font-size: 23px !important;
    }

    .stats-bar .stats-grid .stat-item p {
        max-width: 145px !important;
        font-size: 15px !important;
    }
}


/* =========================================
   SECOBOL - SECCIÓN NUESTRAS MARCAS
   ========================================= */

.trademarks-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 45px;
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 45px 30px 55px;
    box-sizing: border-box;
}

.trademarks-section .trademarks-copy {
    min-width: 0;
    text-align: left;
}

.trademarks-section .trademarks-copy h2 {
    margin: 0 0 22px;
    text-align: left;
}

.trademarks-section .trademarks-copy .lead {
    margin: 0 0 25px;
    text-align: left;
    line-height: 1.7;
}

.trademarks-section .trademarks-copy .btn {
    display: inline-block;
    margin-top: 5px;
}

.trademarks-section .brand-grid {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.trademarks-section .brand-grid img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .trademarks-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding: 30px 20px;
    }

    .trademarks-section .brand-grid img {
        width: 100%;
        max-width: 520px;
    }
}

/* Ajuste fino de Nuestras Marcas */
.trademarks-section {
    padding-top: 20px;
    padding-bottom: 25px;
    gap: 35px;
}

.trademarks-section .brand-grid img {
    max-width: 540px;
}

@media (max-width: 768px) {
    .trademarks-section {
        padding-top: 25px;
        padding-bottom: 30px;
        gap: 20px;
    }
}


/* Galería dinámica de Nuestras Marcas */
.trademarks-section .brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.trademarks-section .brand-grid img {
    display: block;
    width: 100%;
    max-width: none;
    height: 145px;
    max-height: none;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .trademarks-section .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .trademarks-section .brand-grid img {
        height: 125px;
    }
}

/* =========================================
   AJUSTE VISUAL: NUESTRAS MARCAS
   ========================================= */

.trademarks-section {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 55px;
    max-width: 1320px;
    padding: 25px 30px 35px;
    align-items: center;
}

.trademarks-section .trademarks-copy h2 {
    color: #ff4147;
    font-size: 40px;
    line-height: 1.05;
    font-weight: 700;
    max-width: 300px;
    margin: 0 0 16px;
}

.trademarks-section .trademarks-copy .lead {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.trademarks-section .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 18px;
}

.trademarks-section .brand-grid img {
    height: 125px;
    width: 100%;
    object-fit: contain;
}

.trademarks-section .trademarks-copy .btn {
    background-color: #ff4147;
    border-color: #ff4147;
    border-radius: 0;
    padding: 12px 28px;
    min-width: 115px;
    text-align: center;
}

@media (max-width: 768px) {
    .trademarks-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding: 25px 20px 30px;
    }

    .trademarks-section .trademarks-copy h2 {
        font-size: 36px;
        max-width: 240px;
    }

    .trademarks-section .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .trademarks-section .brand-grid img {
        height: 120px;
    }
}

/* Línea decorativa encima de Nuestras Marcas */
.trademarks-section .trademarks-copy h2::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #ff4147;
    margin-bottom: 18px;
}

.trademarks-section .trademarks-copy h2 {
    max-width: 300px;
    margin-bottom: 16px;
}

.trademarks-section .trademarks-copy h2::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #ff4147;
    margin-bottom: 18px;
}

.trademarks-section .trademarks-copy .trademarks-second-paragraph {
    margin-top: 32px;
    margin-bottom: 16px;
}

/* =========================================
   SECOBOL - LOS QUE CONFÍAN EN NOSOTROS
   ========================================= */

/* La sección debe ocupar el ancho completo,
   no repartir el título y la imagen en columnas */
.section.alt:has(.clients-gallery) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 45px 30px !important;
    margin: 0 !important;
}

/* Título centrado */
.section.alt:has(.clients-gallery) > h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 30px !important;
    text-align: center !important;
}

/* Imagen panorámica completa */
.section.alt .clients-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


.section.alt .clients-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .section.alt:has(.clients-gallery) {
        padding: 30px 18px !important;
    }
}

/* SECOBOL: sección de clientes como en Wix */
.section.alt:has(.clients-gallery) {
    background: #fff !important;
    background-color: #fff !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 45px 30px 55px !important;
    box-sizing: border-box !important;
}

/* Título en dos líneas */
.section.alt:has(.clients-gallery) > h2 {
    max-width: 360px !important;
    margin: 0 auto 35px !important;
    text-align: center !important;
    line-height: 1.05 !important;
}

/* Imagen panorámica centrada */
.section.alt .clients-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.section.alt .clients-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 1000px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .section.alt:has(.clients-gallery) {
        padding: 35px 18px !important;
    }

    .section.alt:has(.clients-gallery) > h2 {
        max-width: 300px !important;
        margin-bottom: 25px !important;
    }
}


/* Título: Los que confían en nosotros */
.section.alt:has(.clients-gallery) > h2 {
    max-width: 450px !important;
    margin: 0 auto 35px !important;
    text-align: center !important;
    font-size: 44px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .section.alt:has(.clients-gallery) > h2 {
        max-width: 340px !important;
        font-size: 32px !important;
        line-height: 1.1 !important;
    }
}

