/*
	Theme Name: Hello Elementor Child
	Description:  Tema hijo de Hello Elementor
	Author: Elementor Team
	Template: hello-elementor
	Version: 1.0.2
	Text Domain: hello-elementor-child
*/

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

.principal {
	color: #1D5BD6;
}

.header, .header-movil {
	background: #000000;
	background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8em;
}

.top-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.top-left {
	display: flex;
	align-items: center;
	gap: 20px;
}

.top-item {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.top-item span {
	color: #fff;
}

.socials {
	display: flex;
	gap: 12px;
}

.socials img {
    object-fit: contain;
}

.socials a {
	color: #fff;
	text-decoration: none;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 20px;
}

.left-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.separator {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 1);
}

.search-form-custom {
    display: flex;
    align-items: center;
    position: relative;
}

.search-form-custom .search-field {
    width: 0;
    padding: 6px 0;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    outline: none;
    transition: width 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: white;
    border-radius: 0px;
}

.search-field::placeholder {
    color: white;
}

.search-form-custom:hover .search-field,
.search-form-custom .search-field:focus {
    width: 160px;
    padding: 6px 10px;
    border-bottom-color: #233869;
}

.search-form-custom .search-submit {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-submit:hover {
    background-color: transparent !important;
}

.search-form-custom .search-icon {
    width: 20px;
    height: auto;
    display: block;
}

.phone-group {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9em;
}

.contact-btn {
	background: #0d5bff;
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
}

/* Home */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 40px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.service-icon img {
    width: 60px;
    object-fit: contain;
}

.service-item h3 {
    margin: 0;
    color: white;
    font-size: 15px;
    line-height: 1.3;
    text-wrap: balance;
}

.title-clientes {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.title-clientes::before, .title-clientes::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.features-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(69, 112, 210, 0.5);
  padding: 20px 50px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  padding: 0 15px;
  position: relative;
}


.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.feature-icon img {
  width: 40px;
  height: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-text {
  display: flex;
  flex-direction: column;
  color: white;
  line-height: 1.2;
}

.feature-text .highlight {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-text .sub {
  font-size: 13px;
  font-weight: 400;
}

.swiper-wrapper {
  transition-timing-function: linear !important; 
}

/* Flota */
.seccion-services {
    clip-path: polygon(
        0 0,
        100% 5%,
        100% 100%,
        0 100%
    );
}

/* Services */
.box-services {
    border: 2px solid transparent;
    border-image: linear-gradient(
        to bottom,
        #1D5BD6,
        #0F3487
    ) 1;

    background-color: rgba(35, 37, 88, 0.2);
}

/* Trabaja - Nosotros */
#button-unete-equipo {
    background: linear-gradient(
        180deg,
        #1D5BD6 0%,
        #0F3487 100%
    );
}

/* Contact */
.section-contact .item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0px;
}

/* Footer */
.links-footer {
	display: flex;
	gap: 10px;
}

.links-footer-bottom {
	display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

.text-copyright {
	color: white;
	text-align: center;
	font-size: 0.8em;
}

.footer-certificaciones {
	background: rgba(255, 255, 255, 0.1);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 15px 20px;
}

.footer-certificaciones img {
	height: 50px !important;
    width: auto;
    object-fit: contain;
}

@media only screen and (max-width: 48em) {
    /* Footer */
    .footer-certificaciones {
        flex-direction: column;
        text-align: center;
    }

    .footer-certificaciones > * {
        width: 100%;
    }

    .links-footer-bottom {
        text-align: center;
    }

    /* Header */
    .top-bar {
        gap: 15px;
        flex-wrap: wrap;
    }

    .top-left,
    .top-right {
        gap: 10px;
    }

    .top-item span,
    .separator {
        display: none;
    }

    .top-item img {
        filter: brightness(0) invert(1);
    }

    /* Inicio */
    .features-banner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 12px;
        padding: 25px 15px;
        justify-items: center;
        align-items: start;
        background-color: #1D5BD6;
    }

    .feature-item {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column; /* ícono arriba, texto abajo */
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 10px;
    }

    .feature-item::after {
        display: none;
    }

    /* segunda fila centrada */
    .feature-item:nth-child(4) {
        grid-column: 1 / 2;
    }

    .feature-item:nth-child(5) {
        grid-column: 3 / 4;
    }

    .feature-icon img {
        width: 32px;
        height: auto !important;
    }

    .feature-text {
        align-items: center;
        text-align: center;
        line-height: 1.25;
    }

    .feature-text .highlight {
        font-size: 13px;
    }

    .feature-text .sub {
        font-size: 10px;
    }

    .feature-text br {
        display: none;
    }

    /* Flota */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item {
        gap: 0px;
        padding: 12px 0;
    }

    .service-icon {
        height: 40px;
    }

    .service-icon img {
        width: 45px;
    }

    .service-item h3 {
        font-size: 14px;
        line-height: 1.4;
    }
}