/*
	Theme Name: Hello Elementor Child
	Description:  Tema hijo de Hello Elementor
	Author: Elementor Team
	Template: hello-elementor
	Version: 1.0.1
	Text Domain: hello-elementor-child
*/

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

.yellow {
    color: #FFC500;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: white;
    font-size: 13px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
}

.top-left a,
.top-right a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.top-right a {
    margin-left: 18px;
    font-size: 13px;
}

.top-right a img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.top-left a {
    margin-right: 18px;
}

.top-left img {
	padding-right: 10px;
}

.top-left a:hover,
.top-right a:hover {
    color: #FFC500;
}

.divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
    margin-right: 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn img {
	display: block;
	width: 35px;
}

.contact-btn {
    background: #ffc500;
    color: #023056;    
    font-size: 13px;
    font-weight: 700;
    padding: 15px 25px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-family: "Montserrat", Sans-serif;
}

/* Footer */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.contact-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.contact-item span,
.contact-item a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: #FFC500;
}

form[name="footer_contact_form"] {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 20px 0px;
    color: #D5D3D1;
}

.footer-social {
    display: flex;
    align-items: center;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0px 15px;
}


.footer-social a:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.banner {
    position: relative;
    overflow: hidden;
    padding: 65px 80px;
}

.banner-home {
    position: relative;
    overflow: hidden;
    padding: 200px 80px;
}

.pac {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: clamp(8rem, 30vw, 14rem);
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.08);
    opacity: .5;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    line-height: .8;
    font-family: 'Lemon-Milk-Bold' !important;
}

.pac-home {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: clamp(8rem, 30vw, 23rem);
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.08);
    opacity: .5;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    line-height: .8;
    font-family: 'Lemon-Milk-Bold' !important;
}

.contenido {
    position: relative;
    z-index: 2;
}

.subtitulo {
    display: block;
    color: #FFC500;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: "Montserrat", Sans-serif;
}

.contenido h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 3rem);
    color: white;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Lemon-Milk-Bold' !important;
}

.contenido h1.home {
    margin: 20px auto;
    font-size: clamp(3rem, 7vw, 3rem);
    color: white;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Lemon-Milk-Bold' !important;
}

.contenido p {
    margin-top: 10px;
    color: #E4E4E4;
    font-size: 15px;
    font-family: "Montserrat", Sans-serif;
}

.contenido p.home {
    margin: 30px 0px;
    color: #E4E4E4;
    font-size: 15px;
    text-wrap: balance;
    width: 60%;
    font-family: "Montserrat", Sans-serif;
}

.contenido .button-banner {
    background: #FFC500;
    color: #023056;
    font-weight: 900;
    font-family: "Montserrat", Sans-serif;
    padding: 10px 20px;
}

/* Home */
.icon-home-servicios-primary {
    background: white;
    width: 45%;
    border-right: 8px solid #F8F8F8;
    border-bottom: 8px solid #F8F8F8;
}

.icon-home-servicios-secundary   {
    background: #1E63A5;
    width: 45%;
    border-right: 8px solid #F8F8F8;
    border-bottom: 8px solid #F8F8F8;
}

.divider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 40px 0;
}

.divider-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px dotted #D1D5DB;
  z-index: 1;
}

.divider-badge {
  position: relative;
  z-index: 2;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 8px 24px;
  font-family: inherit;
  font-size: 20px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.divider-link {
  color: #0056B3;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.divider-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.divider-link:hover {
  color: #003D82;
}

.divider-link:hover svg {
  transform: translateX(3px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 45px;
  width: 100%;
  max-width: 650px;
  font-family: 'Montserrat', sans-serif;
  padding-left: 15px;
}

.feature-card {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 8px 16px 8px 8px;
  gap: 12px;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(5px);
}

.icon-wrapper {
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;  
  margin-left: -25px; 
  z-index: 2;
}

.feature-icon {
  width: 65%;
  object-fit: contain;
  border-radius: 50%;
}

.feature-text {
  color: #0E121D;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.section-logos {
    background: #F8F8F8;
}

.banner-gris {
    background: #4D5765;
    height:100px;
    padding: 45px 00px;
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
    position: relative;
    z-index:1;
}

.banner-iconos{
    width: 90%;
    margin: 0 auto;
    margin-top: -100px;
    background: #FFC500;
    padding: 35px 60px;
    clip-path: polygon(0% 0%, 100% 0, 93% 100%, 7% 100%);
    position: relative;
    z-index:2;
}

.contenedor-iconos{
    max-width: 1000px;
    margin: auto 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.icono img{
    width: 50px;
    height: auto;
    display: block;
    transition: transform .3s ease;
}

.icono img:hover{
    transform: scale(1.2);
}

.pac-count .elementor-counter-number {
    font-family: 'Lemon-Milk-Bold' !important;
}

.pac-count .elementor-counter-number-suffix {
    font-family: 'Lemon-Milk-Bold' !important;
}

.hidden-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0 !important;
}

.hidden-text.activo {
    max-height: 200px;
    opacity: 1;
}

#btn-toggle svg {
    transition: transform 0.3s ease;
}

#btn-toggle.activo svg {
    transform: rotate(45deg);
}


/* Servicios */
.banner-label-primary {
    display: inline-block;
    margin: 0px;
    padding: 5px 20px;
    background: #BFDBF6;
    color: #1E63A5;
}

.banner-label-secundary {
    display: inline-block;
    margin: 0px;
    padding: 5px 20px;
    background: #FFC500;
    color: #023056;
}

.banner-label-alternative {
    display: inline-block;
    margin: 0;
    padding: 5px 20px;
    background: #FFFFFF;
    color: #1E63A5;
}

.banner-label-alternative span, .banner-label-primary span, .banner-label-secundary span {
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: clamp(11px, 2.1vw, 13px);
    font-family: "Montserrat", Sans-serif;
}

/* Nuestro Proyectos */
.project-info {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: grid;
    grid-template-columns: 40px 120px 1fr;
    align-items: center;
    column-gap: 16px;
}

.icon-box{
    width: 42px;
    height: 42px;
    background: #EEEEEE;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon{
    width: 18px;
    object-fit: contain;
}

.label {
    font-size: 15px;
    color: #0E121D;
    text-transform: uppercase;
    font-family: 'Lemon-Milk-Medium' !important;
}

.value {
    font-size: 15px;
    color: #4D5765;
    font-family: "Montserrat", Sans-serif;
}

/* Maquinarias */
.card {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.card .background {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px !important;
    box-shadow: -10px 0px 25px 5px rgba(0, 0, 0, 0.4);
}

.info {
    position: absolute;
    top: 4.7%;
    left: 4.7%;
    width: 21.2%;
    color: #2B2B2B;
}

.info .divider {
    width: 80%;
    background: #E4E4E4;
    height: 2px;
    margin: 8% 0px;
}

.info h4 {
    font-size: clamp(10px, 2.1vw, 18px);
    font-family: 'Lemon-Milk-Medium' !important;
}

.info p {
    font-size: clamp(8px, 1.65vw, 14px);
    line-height: 1.5;
    margin-bottom: 15%;
    font-family: "Montserrat", Sans-serif;
}

.info .logo {
    width: 90%;
    height: auto;
}


@media only screen and (max-width: 48em) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* HEADER */
    .top-bar {
        justify-content: space-between;
    }

    .top-left a {
        font-size: 0;
        margin-right: 12px;
    }

    .top-left a img {
        padding-right: 0;
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .top-left .divider {
        display: none;
    }

    .top-right a {
        margin-left: 10px;
    }

    .top-right a img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .contact-btn {
        order: 1;
    }

    .search-btn {
        order: 2;
    }


    /* FOOTER */
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
        padding: 25px 15px;
    }

    .footer-text {
        width: 100%;
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        width: 100%;
    }

    .footer-social a {
        padding: 0 12px;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-item {
        gap: 8px;
    }

    .contact-item img {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .contact-item span,
    .contact-item a {
        font-size: 14px;
        line-height: 1.4;
    }

    .menu-footer a {
        justify-content: center;
    }

    /* HOME */
    .section-logos {
        background: #4D5765;
    }

    .banner-gris {
        clip-path: polygon(5% 0, 95% 0, 100% 60%, 0 60%);
    }

    .banner-iconos {
        width: 100%;
        padding: 25px 60px;
        clip-path: polygon(0% 0%, 100% 0, 90% 100%, 10% 100%);
    }

    .contenedor-iconos {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        box-sizing: border-box;
    }

    .icono {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icono img {
        width: 45px;
        max-width: 100%;
        height: auto;
    }

    /* NOSOTROS */
    .banner-label-primary, .banner-label-secundary, .banner-label-alternative {
        text-align: center;
    }
}