/**Vista de inicio**/
body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    color: #333;
    background-color: #F5F5F5;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo {
    height: 40px;
}

.menu-desktop {
    display: flex;
    gap: 1.5rem;
}

.menu-desktop a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-desktop a:hover {
    color: #FF781F;
}

.hamburger {
    display: none;
    color: white;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1500;
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 10px;
    border-bottom: 1px solid #222;
    transition: background 0.2s ease;
}

.sidebar a:hover {
    background-color: #1c1c1c;
    color: #FF781F;
}

.sidebar.active {
    right: 0;
}

.sidebar .nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    gap: 20px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
}

.sidebar-overlay.active {
    display: block;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    pointer-events: none;
}

.highlight {
    color: #FF781F;
}

.hero-buttons {
    margin-top: 1.5rem;
}

.btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    margin: 0 10px;
}

.btn-orange {
    background: #FF781F;
    color: white;
}

.btn-orange:hover {
    background: #e35e00;
}

.btn-outline {
    border: 2px solid #FF781F;
    background: transparent;
    color: #FF781F;
}

.btn-outline:hover {
    background: #FF781F;
    color: white;
}

@media (max-width: 768px) {
    .menu-desktop {
        display: none;
    }

    .hamburger {
        display: block !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 2001;
        font-size: 24px;
        background: transparent;
    }

    .hero-logo-overlay {
        width: auto;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-content.moved-down {
        margin-top: 100px;
    }

}

.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    transform: translate(-50%, -50%);
    mix-blend-mode: destination-out;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content.moved-down {
    margin-top: 120px;
}

/*Leyenda del inicio y nuevo botón*/

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Leyenda del inicio y nuevo botón*/


/*Sección 2*/
.certificaciones-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    filter: grayscale(30%) brightness(1.2);
    transition: transform 0.3s ease;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    perspective: 1000px;
}

.logos-row {
    height: 80px;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.8) saturate(1.2);
}

.tarjetas-grid.compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 60px auto 40px;
    padding: 0 20px
}

.tarjeta.mini {
    background: #1b1b1b;
    border-left: 4px solid #ff781f;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 8px rgba(255, 120, 31, 0.2);
    color: #eee;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
}

.tarjeta.mini:hover {
    transform: translateY(-6px);
}

.tarjeta.mini h3 {
    color: #ff781f;
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.tarjeta.mini h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ff781f;
    transition: width 0.4s ease;
}

.tarjeta.mini:hover h3::after {
    width: 100%;
}

.tarjeta.mini ul {
    padding-left: 1.2rem;
    color: #ccc;
    font-size: 0.88rem;
}

.tarjeta.mini ul li::marker {
    color: #ff781f;
}

.tarjeta.mini.historia-mini {
    display: flex;
    flex-direction: column;
    background-color: #1b1b1b;
    border-left: 4px solid #ff781f;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    position: relative;
    min-height: 420px;
}

.tarjeta.mini.historia-mini:hover {
    transform: translateY(-6px);
}

.tarjeta.mini.historia-mini:hover .historia-texto-small {
    opacity: 1;
}

.tajerta.mini.historia-mini ul {
    padding-left: 1.2rem;
    color: #ccc;
    font-size: 0.88rem;
}

.tarjeta.mini.historia-mini ul li::marker {
    color: #ff781f;
}


.certificaciones-logos img {
    height: 60px;
    transition: transform 0.3s ease;
}

.certificaciones-logos img:hover {
    transform: scale(1.15);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    color: white;
    border-left: 4px solid #ff781f;
    text-align: justify;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card.animate {
    animation: fadeUp 0.8s ease forwards;
}

.lista-politica {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #ddd;

}

.lista-politica li {
    margin-bottom: 10px;
    text-align: justify;
}

.card h3 {
    margin-top: 0;
    color: #ffffff;
}

.historia-img-small {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.historia-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.3s ease;
}

.tarjeta:hover {
    animation: pulseShadow 1.2s ease-in-out infinite;
}

@keyframes pulseShadow {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
            0 0 8px rgba(255, 120, 31, 0.2);
    }

    50% {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35),
            0 0 14px rgba(255, 120, 31, 0.4);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
            0 0 8px rgba(255, 120, 31, 0.2);
    }
}


.tarjeta:hover .historia-img-small img {
    transform: scale(1.05);
}

.historia-texto-small {
    padding: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #f0f0f0;
    text-align: justify;
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.historia-texto-small h3 {
    color: #ff781f;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.historia-texto-small .ver-mas {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff781f;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 6px;
}

/*MODAL*/
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 20px;
}

.modal-content {
    background-color: #1b1b1b;
    padding: 30px;
    border-left: 4px solid #ff781f;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    color: #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.3s ease;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal h3 {
    color: #ff781f;
    margin-top: 0;
}

.modal .close-btn {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 1024px) {
    .tarjetas-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .tarjetas-grid.compact {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .historia-img-small {
        height: 180px;
    }

    .historia-texto-small {
        max-height: none;
    }
}

.modal-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
}

.modal-imagen-lateral {
    width: 45%;
    max-width: 240px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-imagen-lateral:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.modal-texto {
    flex: 1;
    text-align: justify;
    color: #f0f0f0;
    line-height: 1.6;
}

@media(max-width: 768px) {
    .modal-flex {
        flex-direction: column;
        align-items: center;
    }

    .modal-imagen-lateral {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

/*MODAL*/

.historia-texto-small p,
.historia-texto-small ul {
    color: #f0f0f0;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px black;
}

.historia-texto-small ul {
    padding-left: 1.2rem;
}

.historia-texto-small ul li::marker {
    color: #ff781f;
}

@media(max-width: 768px) {
    .tarjetas-grid.compact {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .historia-img-small img {
        max-height: 200px;
    }
}

@media(max-width: 768px) {
    .historia {
        flex-direction: column;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeOutIntro 3s 1 forwards;
    animation-delay: 2.5s;
}

#intro-logo {
    width: 500px;
    opacity: 0;
    animation: fadeInLogo 2s ease-in-out forwards;
}

.hero-hidden {
    display: none;
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutIntro {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.video-container video.show {
    opacity: 1;
    z-index: 1;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/*Sección 2*/

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 30px 20px 10px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.footer-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    height: 50px;
}

.footer-text p {
    margin: 3px 0;
    color: #ccc;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}


.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #FF781F;
    border-radius: 50%;
    color: #FF781F;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background-color: #FF781F;
    color: #111;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0 5px;
    color: #aaa;
    font-size: 13px;
}

/*Footer*/

/* Efecto pulsante del icono del navbar.*/
.hamburger {
    animation: pulse 1.8s infinite;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
    color: #FF781F;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.menu-bubble {
    position: fixed;
    top: 18px;
    right: 70px;
    background-color: #FF781F;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    animation: bubbleFade 3.5s ease forwards;
    z-index: 2002;
}

@keyframes bubbleFade {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0% {
        transform: translate(1px, 0);
    }

    20% {
        transform: translate(-1px, 0);
    }

    40% {
        transform: translate(1px, 0);
    }

    60% {
        transform: translate(1px, 0);
    }

    80% {
        transform: translate(1px, 0);
    }

    100% {
        transform: translate(0);
    }
}

.hamburger.shake {
    animation: shake 0.4s ease;
}

@media(min-width: 769px) {
    .menu-bubble {
        display: none;
    }
}

/*Efecto pulsante del icono del navbar.*/


/*Animacion al titulo del inicio y boton de "Empleos"*/
.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    word-wrap: break-word;
    letter-spacing: 0.5px;
}

.hero-content .highlight {
    color: #ff781f;
    font-weight: 900;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-join {
    position: relative;
    overflow: hidden;
    border: 2px solid;
    color: #FF781F;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-join .hover-text {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: #FF781F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 8px;
}

.btn-join:hover .hover-text {
    opacity: 1;
}

.btn-join .default-text {
    z-index: 2;
    transition: opacity 0.4s ease;
}

.btn-join:hover .default-text {
    opacity: 0;
}

.btn-join:hover {
    color: white;
}

.btn-join i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-join:hover i {
    transform: translateX(5px);
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    background-color: #FF781F;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 10;
    top: auto;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.pulse-btn {
    animation: pulse-join 2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes pulse-join {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.tooltip-btn:hover .arrow-icon {
    transform: translateX(6px);
}

/*Animacion al titulo del inicio y boton de "Empleos"*/

/*Decorativa final*/
.decorativa-final {
    height: 6px;
    width: 80%;
    max-width: 800px;
    margin: 50px auto 0;
    background: linear-gradient(90deg, #ff781f, #ffae5f, #ff781f);
    background-size: 400% auto;
    animation: moveGradient 4s linear infinite;
    border-radius: 6px;
}


@keyframes moveGradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/*Decorativa final*/

/*Vista de Inicio*/


/*Vista de servicios*/

/* Sección general */
.servicios-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #2e2e2e, #555555);
    color: #fff;
    text-align: center;
    position: relative;
}

/* Título de la sección */
.titulo-servicios {
    font-size: 2.5rem;
    color: #ff781f;
    margin-bottom: 60px;
    opacity: 1;
    transform: translateY(0);
    animation: slideFade 1.2s ease-out forwards;
}

.titulo-slide {
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.8rem;
    text-decoration: none;
    text-shadow: none;
    border: none;
}

.titulo-slide .icono-slide {
    color: white;
}

.titulo-slide span,
.titulo-slide i {
    text-decoration: none;
    border: none;
    text-shadow: none;
}

.slide p {
    text-align: justify;
    color: white;
}

.slide ul {
    text-align: left;
    padding-left: 1.5rem;
    color: white;
}

@keyframes slideFade {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contenedor principal del carrusel */
.carrusel-servicios {
    max-width: 1200px;
    min-height: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slide activo */
.slide.activo {
    opacity: 1;
    z-index: 1;
}

/* Slides */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    z-index: 0;
    display: flex;
}

/* Capa oscura sobre la imagen */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Contenido dentro de cada slide */
.slide .contenido {
    z-index: 2;
    max-width: 600px;
    padding: 25px 30px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: zoomFade 0.8s ease-out forwards;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Título dentro de cada slide */
.slide .contenido h3 {
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 4px white;
    animation: glow 4s ease-in-out infinite;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.2;
    text-align: center;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px white;
    }

    50% {
        text-shadow: 0 0 8px white;
    }

    100% {
        text-shadow: 0 0 5px white;
    }
}

/* Texto dentro del slide */
.slide .contenido p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ddd;
    margin: 0.5rem 0;
    text-shadow: 1px 1px 2px #000;
}

/* Lista de puntos */
.slide .contenido ul {
    list-style: none;
    padding-left: 0;
}

.slide .contenido ul li {
    position: relative;
    padding-left: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.slide .contenido ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: orange;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.slide .contenido ul li:hover {
    transform: translateX(5px);
    color: #ffae42;
}

.slide .contenido ul li:hover::before {
    transform: scale(1.2);
    color: #ffc107;
}

/* Botones de control */
.carrusel-servicios .control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 5;
    color: black;
}

.carrusel-servicios .control:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    color: white;
}

.carrusel-servicios .control.anterior {
    left: 15px;
}

.carrusel-servicios .control.siguiente {
    right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .slide .contenido {
        padding: 20px;
        width: 95%;
    }

    .slide .contenido h3 {
        font-size: 1.5rem;
    }

    .slide .contenido p {
        font-size: 0.95rem;
    }
}

.icono-slide {
    font-size: 1em;
    margin-right: 10px;
    color: #ff781f;
    animation: pulseIcon 2s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.8;
    }
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.5s ease;
}

.slide .contenido {
    position: relative;
    z-index: 1;
}

.slide-0::before {
    background: linear-gradient(to bottom, rgba(255, 102, 0, 0.4), rgba(0, 0, 0, 0.6));
}


.slide-1::before {
    background: linear-gradient(to right, rgba(90, 50, 10, 0.3), rgba(0, 0, 0, 0.6));
}

.slide-2::before {
    background: linear-gradient(to top, rgba(0, 40, 90, 0.3), rgba(0, 0, 0, 0.6));
}

.slide-3::before {
    background: linear-gradient(to left, rgba(100, 100, 100, 0.3), rgba(0, 0, 0, 0.6));
}

.slide-4::before {
    background: linear-gradient(to bottom, rgba(0, 70, 20, 0.3), rgba(0, 0, 0, 0.6));
}


.slide-5::before {
    background: linear-gradient(to right, rgba(70, 20, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.slide-6::before {
    background: linear-gradient(to top, rgba(0, 60, 80, 0.3), rgba(0, 0, 0, 0.5));
}

.slide-7::before {
    background: linear-gradient(to left, rgba(100, 50, 100, 0.3), rgba(0, 0, 0, 0.5));
}

.barra-progreso {
    width: 80%;
    height: 6px;
    margin: 40px auto 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progreso-activo {
    height: 100%;
    width: 0%;
    background-color: #ffa500;
    transition: width 0.5s ease-in-out;
}

/*Vista de servicios*/


/*Servicios de Obra Civil*/
/* Sección principal */
.obra-civil-mejorada {
    background: #fff;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
    padding-bottom: 2rem;
}

/* Contenedor principal de servicio */
.contenedor-servicio {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
    gap: 30px;
    align-items: stretch;
}

/* Imagen grande izquierda */
.columna-imagen {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.columna-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Galería y texto a la derecha */
.columna-info {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Galería de 4 imágenes */
.galeria-secundaria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.galeria-secundaria img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    height: 110px;
    object-fit: cover;
}

.galeria-secundaria img:hover {
    transform: scale(1.03);
}

/* Texto informativo */
.texto-descriptivo {
    background: #222;
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
}

.texto-descriptivo h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: #f18f00;
}

.texto-descriptivo h2::after {
    content: "";
    display: block;
    width: 300px;
    height: 4px;
    background-color: orange;
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Nueva tarjeta combinada de lista + imagen */
.detalle-servicios {
    display: flex;
    max-width: 1300px;
    margin: 50px auto 0 auto;
    gap: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: #f4f4f4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Lista estilizada */
.lista-servicios {
    flex: 1 1 50%;
    list-style: none;
    padding: 40px 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.lista-servicios li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    color: #222;
}

.lista-servicios li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.3rem;
    color: #f18f00;
}

/* Imagen complementaria */
.imagen-final-servicio {
    flex: 1 1 50%;
    height: auto;
    overflow: hidden;
}

.imagen-final-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lista-integrada {
    margin-top: 25px;
    padding-left: 0;
    list-style: none;
    font-size: 1rem;
}

.lista-integrada li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.6;
}

.lista-integrada li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: #f18f00;
    font-size: 1.2rem;
}

.imagen-extra-subterranea {
    margin-top: 10px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-height: 220px;
}

.imagen-extra-subterranea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.imagen-superior img {
    border-radius: 1rem;
    box-shadow: 0 4px 16pex rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .contenedor-servicio {
        flex-direction: column-reverse;
    }

    .detalle-servicios {
        flex-direction: column;
    }

    .galeria-secundaria img {
        height: 100px;
    }

    .imagen-extra-subterranea {
        max-height: 180px;
    }
}


.imagen-ajustada {
    height: 473px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.imagen-ajustada-2 {
    height: 290px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}


.separador-dinamico {
    width: 800px;
    height: 4px;
    margin: 2rem auto;
    background: linear-gradient(to right, orange, #ff914d);
    border-radius: 4px;
}

/**Botones de carrusel, modo responsive movil.**/
@media(max-width: 768px) {

    .control.anterior,
    .control.siguiente {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .control.anterior {
        left: 25%;
    }

    .control.siguiente {
        right: 25%;
    }
}

.obra-civil-mejorada .contenedor-servicio {
    display: flex;
    align-items: stretch;
}

.obra-civil-mejorada .columna-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.obra-civil-mejorada .textp-descriptivo {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.obra-civil-mejorada .columna-imagen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: -5px;
}

/**Botones de carrusel, modo responsive movil.**/

/*Servicios de Obra Civil*/

/*Contacto*/
.body-contact {
    position: relative;
    background: url('/img/background-contact.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
}

.body-contact::before {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    filter: blur(10px) brightness(0.65);
    transform: scale(1.05);
    z-index: 0;
}

.formulario-box,
.contacto-paises,
.footer,
.whatsapp-float,
.whatsapp-container {
    position: relative;
    z-index: 1;
}

:root {
    --c-bg: #0e0e0e;
    --c-card: #2b2b2b;
    --c-card-2: #3a3a3a;
    --c-text: #f1f1f1;
    --c-muted: #b9b9b9;
    --c-accent: #ff781f;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.contact-hero {
    position: relative;
    height: 420px;
    background: #111;
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    object-position: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
}

.contact-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #000000;
}

.contact-wrap {
    max-width: 980px;
    margin: 40px auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.contact-card {
    background: #2b2b2b;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    color: var(--c-text);
    margin-top: -80px;
    border: none;
}

.contact-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.contact-title span {
    color: var(--c-accent);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #5a5a5a;
    background: #f0f0f0;
    color: #000;
    font-size: .95rem;
    outline: none;
    transition: all .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 2px rgba(255, 120, 31, 0.4);
    background: #fff;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-send {
    margin-top: 12px;
    width: 150px;
    justify-self: center;
}

.btn-send:hover {
    filter: brightness(1.05);
}

.btn-send:active {
    transform: translateY(1px);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border: 1pz solid #444;
}

.loc-card {
    background: #3a3a3a;
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid #444;
}

.loc-card__header {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loc-card__header img {
    height: 18px;
    width: auto;
    display: block;
}

.loc-card__map {
    margin-top: 10px;
    border-radius: 10px;
    height: 200px;
    overflow: hidden;
}

.loc-card__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/**Formulario de en medio, vista de contacto**/
.formulario-box {
    background: #2b2b2b;
    padding: 30px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
    max-width: 900px;
    margin: auto;
}

.formulario-box h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f1f1f1;
}

.formulario-box h2 span {
    color: #ff781f;
}

.formulario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas */
    gap: 20px;
    /* espacio entre columnas y filas */
    margin-bottom: 18px;
}

.formulario-box input,
.formulario-box select,
.formulario-box textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #3a3a3a;
    color: #f1f1f1;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* evita que se desborde */
}

.formulario-box input::placeholder,
.formulario-box textarea::placeholder {
    color: #bbb;
    font-style: italic;
}

.formulario-box input:focus,
.formulario-box select:focus,
.formulario-box textarea:focus {
    border-color: #ff781f;
    box-shadow: 0 0 0 3px rgba(255, 120, 31, 0.6);
    background: #444;
    outline: none;
}

.formulario-box textarea {
    grid-column: span 2;
    /* ocupa todo el ancho de la grid */
    min-height: 120px;
    resize: vertical;
}

.formulario-box button {
    background: linear-gradient(135deg, #ff781f, #ff9b4d);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 120, 31, .3);
    grid-column: span 2;
    /* botón centrado */
    justify-self: center;
}

.formulario-box button:hover {
    background: linear-gradient(135deg, #ff8f3d, #ffb16d);
    transform: translateY(-2px);
}

.formulario-box button:active {
    transform: scale(0.97);
}

/* Responsive */
@media (max-width: 700px) {
    .formulario-grid {
        grid-template-columns: 1fr;
        /* en pantallas pequeñas, 1 columna */
    }

    .formulario-box textarea,
    .formulario-box button {
        grid-column: span 1;
    }
}

/**Formulario de en medio, vista de contacto**/

/**Banderas**/
.contacto-paises {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.pais-card {
    background: linear-gradient(145deg, #d9d9d9, #c4c4c4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px;
}

.pais-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bandera {
    width: 80px;
    height: 55px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bandera:hover {
    transform: scale(1.1);
}

.mapa {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contacto-mapa {
    width: 100%;
    height: 100%;
    border: 0;
    transition: transform 0.3s ease;
}

.contacto-mapa:hover {
    transform: scale(1.02);
}

.contacto-info {
    list-style: none;
    margin: 0;
    padding: 20px;
    border-left: 3px solid #ff781f;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.contacto-info li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: #333;
}

.contacto-info li strong {
    font-weight: 600;
    color: #222;
}

.contacto-info li a {
    color: #ff781f;
    font-weight: 500;
    text-decoration: none;
}

.contacto-info li a:hover {
    text-decoration: underline;
}

.contacto-info i {
    background: #ff781f;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-info.mex {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
}

.contacto-info.mex li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacto-info.eua {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
}

.contacto-info.eua li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pais-card .info p {
    margin: 6px 0;
    color: #333;
    font-size: 0.95rem;
}

@media(max-width: 700px) {
    .contacto-paises {
        grid-template-columns: 1fr;
    }
}

/**Banderas**/


@media(max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/*Contacto*/


/**ChatBox de WhatsApp**/
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe5b;
}

.whatsapp-container {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 280px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: 'Poppins', Arial, sans-serif;
    animation: fadeInUp 0.3s ease-in-out;
    z-index: 1000;
}

.whatsapp-header {
    background: linear-gradient(90deg, #25D366, #1ebe5b);
    color: white;
    padding: 12px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    position: relative;
}

.close-chatbox {
    position: absolute;
    top: 6px;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}


.whatsapp-body {
    padding: 10px;
    text-align: center;
    background: #fafafa;
}

.whatsapp-body p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.whatsapp-body button {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    margin: 6px 0;
    padding: 10px;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-body button:hover {
    background-color: #1ebe5b;
    transform: scale(1.03);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**ChatBox de WhatsApp**/


/**Sección de vehículos utilitarios**/
.vehiculos-page {
    margin: 0;
    padding: 0;
    background: #1c1c1c;
    color: #fff;
}

.vehiculos-page .vehiculos-layout {
    background: #1c1c1c;
    padding: 30px 20px 40px;
    color: #fff;
    margin-top: 80px;
}

.vehiculos-page .vehiculos-contenedor {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 20px;
    max-width: 1400px;
    margin: auto;
    align-items: start;
}

.vehiculos-page .vehiculos-lista {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.vehiculos-page .vehiculos-lista li {
    background: #2b2b2b;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.vehiculos-page .vehiculos-lista li img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 6px;
}

.vehiculos-page .vehiculos-lista li span {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.vehiculos-page .vehiculos-lista ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehiculos-page .vehiculos-lista li:hover,
.vehiculos-page .vehiculos-lista li.activo {
    background: #ff781f;
    transform: scale(1.02);
}

.vehiculos-page .vehiculos-lista::-webkit-scrollbar {
    width: 8px;
}

.vehiculos-page .vehiculos-lista::-webkit-scrollbar-thumb {
    background: #ff781f;
    border-radius: 4px;
}

.vehiculos-page .vehiculos-lista::-webkit-scrollbar-track {
    background: #1c1c1c;
}

.vehiculos-page .vehiculo-detalle {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: linear-gradient(145deg, #2e2e2e, #252525);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    min-height: 600px;
    margin: 20px;
    gap: 25px;
}

.vehiculos-page .vehiculo-detalle:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.vehiculos-page .detalle-imagen {
    text-align: center;
}

.vehiculos-page .detalle-imagen img {
    width: 80%;
    max-height: 360px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 0 auto 15px auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.vehiculos-page .detalle-imagen h2 {
    margin-top: 10px 0 0px;
    color: #ff781f;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.vehiculos-page .detalle-info {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 14px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vehiculos-page .detalle-info p {
    font-style: italic;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.vehiculos-page #vehiculo-resumen {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin: 0;
    padding: 0;
}

.vehiculos-page #vehiculo-resumen li {
    background: #2e2e2e;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehiculos-page #vehiculo-resumen li:hover {
    background: #3a3a3a;
}

.vehiculos-page #vehiculo-resumen li:before {
    content: "✔";
    color: #ff781f;
    font-weight: bold;
}


.vehiculos-page .boton-ficha-tecnica {
    display: inline-block;
    background: linear-gradient(135deg, #ff781f, #ff9a3d);
    color: #fff;
    text-align: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.vehiculos-page .boton-ficha-tecnica:hover {
    background: linear-gradient(135deg, #e66c16, #ff8c29);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.vehiculos-page .boton-ficha-tecnica::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: left 0.4s ease;
}

.vehiculos-apge .boton-ficha-tecnica:hover::after {
    left: 100%;
}

@media(max-width: 992px) {
    .vehiculos-page .vehiculos-contenedor {
        grid-template-columns: 1fr;
    }

    .vehiculos-page .vehiculo-detalle {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/**Sección de vehículos utilitarios**/

/**Banner de menu de inicio**/
.representaciones-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.card-representacion {
    background: linear-gradient(to bottom right, #ffffff, #f7f7f7);
    border: 1px solid #eee;
    border-radius: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 35px 25px;
    width: 330px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-representacion:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border-color: #ff781f;
}

.logo-representacion {
    max-width: 90%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.card-representacion:hover .logo-representacion {
    transform: scale(1.05);
}

.texto-representacion {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/**Banner de menu de inicio**/

/**Rediseño vista welcome*/

/**Bienvenida y representaciones**/
.pagina-inicio {
    padding: 50px 20px;
    background: #f8f8f8;
}

.bienvenida-container-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 20px;
}

.bienvenido-texto h2 {
    font-size: 2.4rem;
    color: #ff781f;
    margin-bottom: 15px;
}

.bienvenida-texto p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.bienvenida-imagen img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 380px;
}


@media(max-width: 768px) {
    .bienvenida-container-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bienvenida-imagen img {
        max-height: 300px;
    }
}

.representaciones-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
    align-items: center;
}

.representaciones-texto h2 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
}

.representaciones-texto p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.detalle-representaciones {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.detalle-representaciones div {
    flex: 1;
    min-width: 200px;
}

.detalle-representaciones strong {
    display: block;
    font-weight: 600;
    color: #111;
    margin-bottom: 5px;
}

.detalle-representaciones p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
    text-align: justify;
}

.representaciones-imagen img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 380px;
}

@media (max-width: 768px) {
    .representaciones-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .detalle-representaciones {
        flex-direction: column;
        align-items: center;
    }

    .representaciones-imagen img {
        max-height: 300px;
    }
}

/**Bienvenida y representaciones**

/**Servicios especializados**/
.servicios-especializados {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

.titulo-servicios {
    font-size: 2.2rem;
    color: black;
    margin-bottom: 10px;
}

.descripcion-servicios {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-servicio {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease;
    text-align: center;
}

.card-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card-servicio img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-servicio h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.card-servicio p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/**Servicios especializados**/

/**Estadisticas**/
.estadisticas-impacto {
    background: #fff;
    padding: 80px 80px;
}

.contenedor-impacto {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 40px;
}

.columna-impacto {
    flex: 1 1 50%;
}

.columna-impacto.izquierda {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 20px;
}

.columna-impacto.izquierda .titulo-impacto {
    font-size: 2rem;
    color: #ff781f;
    line-height: 1.3;
    margin: 0;
}

.columna-impacto.derecha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.descripcion-impacto {
    font-size: 1.1rem;
    color: #444;
    max-width: 600px;
    margin: 0;
}

.estadisticas-simples {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.item-estadistica-simple {
    text-align: left;
}

.numero-simple {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.etiqueta-simple {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    max-width: 220px;
}


@media(max-width: 1024px) {
    .contenedor-impacto {
        flex-direction: column;
        text-align: center;
    }

    .columna-impacto.izquierda {
        justify-content: center;
    }

    .columna-impacto.derecha {
        align-items: center;
    }

    .titulo-impacto,
    .descripcion-impacto {
        text-align: center;
    }

    .estadisticas-simples {
        justify-content: center;
    }

    .item-estadistica-simple {
        text-align: center;
    }
}

.imagen-impacto-final {
    margin-top: 40px;
    text-align: center;
}

.imagen-impacto-final img {
    width: 70%;
    max-width: 1100px;
    height: 70%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/**Estadisticas**/

/**Testimonios de clientes**/
.testimonios-clientes {
    background: linear-gradient(to bottom, #fefefe, #f5f5f5);
    padding: 50px 20px 50px;
    text-align: center;
}

.carrusel-testimonios {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contenedor-testimonio-activo {
    flex: 1 1 auto;
    max-width: 600px;
    overflow: hidden;
}

.tarjeta-testimonio {
    display: none;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: opacity 0.5s ease;
    margin: 0 auto;
}

.tarjeta-testimonio.activo {
    display: block;
}

.flecha {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
    padding: 10px 15px;
}

.flecha:hover {
    color: #ff781f;
}

.comentario {
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.info-cliente {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 10px;
}

.estrellas {
    font-size: 1.2rem;
    color: #ffb400;
}

@media(max-width: 768px) {
    .carrusel-testimonios {
        flex-direction: column;
        gap: 20px;
    }

    .flecha {
        font-size: 1.8rem;
    }

    .tarjeta-testimonio {
        max-width: 90%;
        text-align: center;
    }

    .comentario {
        text-align: center;
    }

    .info-cliente {
        text-align: center;
    }
}

/**Testimonios de clientes**/

/**Sección de introducción**/
.seccion-bienvenida {
    background: #fff;
    padding: 60px 20px;
}

.bienvenida-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.bienvenida-texto h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.bienvenida-texto h2 span {
    color: #ff781f;
}

.bienvenida-texto p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.bienvenida-imagen img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/**Sección de introducción**/

/**Tarjetas de representación**/
.tarjetas-representaciones {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}


.tarjeta-hover {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 180px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.tarjeta-hover:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 0 0 10px rgba(255, 193, 7, 0.3);
}

.tarjeta-hover img {
    max-height: 70px;
    max-width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: 1;
    object-fit: contain;
}

.tarjeta-hover:hover img {
    transform: scale(1.05) translateY(-2px);
    filter: brightness(0.9);
}

.contenido-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    border-radius: 15px;
}

.tarjeta-hover:hover .contenido-hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.tarheta-hover.robbins .contenido-hover h3 {
    font-size: 12px;
    line-height: 1.3;
}

.contenido-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    border-radius: 15px;
}

.tarjeta-hover:hover .contenido-hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.contenido-hover h3,
.contenido-hover p {
    margin: 5px 0;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease;
}

.contenido-hover h3:hover,
.contenido-hover p:hover {
    background-color: #ffc107;
    color: #fff;
}


/**Tarjetas de representación**/

/**Nuevo carrusel**/
.carousel-container {
    position: relative;
    width: 85%;
    max-width: 980px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 420px;
}

.carousel-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 10;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.carousel-btn:hover svg {
    fill: #fff;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/**Nuevo carrusel**/

/* === Representaciones (arregla desbordes de texto) === */

/* Grid general de la sección (izq: texto/tarjetas, der: imagen) */
.representaciones-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* texto izq / imagen der */
    gap: 32px;
    align-items: center;
}

/* Grid de las tres tarjetas (Robbins, Micon, Timberland) */
.tarjetas-representaciones {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 18px;
    align-items: start;
}

/* Tarjeta cuadrada con espacio reservado abajo para el “chip” de texto */
.tarjeta-hover {
    position: relative;
    /* ← IMPORTANTE */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    padding: 16px 16px 64px;
    /* ← deja sitio para el chip */
    aspect-ratio: 1 / 1;
    /* ← hace la tarjeta cuadrada */
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Logo dentro de la tarjeta */
.tarjeta-hover img {
    max-width: 75%;
    max-height: 70px;
    object-fit: contain;
}

/* “Chip” inferior con texto – evita que se salga */
.contenido-hover {
    position: absolute;
    /* ← fijo al fondo de la tarjeta */
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: transparent;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);

    /* Claves para que el texto NO se desborde */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contenido-hover h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    color: #222;
    line-height: 1.2;
}

.contenido-hover p {
    margin: 0;
    font-size: .85rem;
    line-height: 1.25;
    color: #222;
}


.tarjeta-hover.bottom-center {
    align-self: center;
}

/* Responsive */
@media (max-width: 992px) {
    .representaciones-grid {
        grid-template-columns: 1fr;
    }

    .tarjetas-representaciones {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

@media (max-width: 640px) {
    .tarjetas-representaciones {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 420px) {
    .tarjetas-representaciones {
        grid-template-columns: 1fr;
    }
}

/* === Representaciones (fin) === */

/***/
@media(max-width: 1024px) {

    .bienvenida-texto h2,
    .titulo-servicios,
    .columna-impacto.izquierda .titulo-impacto {
        font-size: 1.9rem;
    }

    .descripcion-servicios,
    .bienvenida-texto p,
    .descripcion-impacto {
        font-size: 1rem;
    }

    .pagina-inicio,
    .servicios-especializados,
    .estadisticas-impacto,
    .testimonios-clientes {
        padding: 40px 15px;
    }
}

@media(max-width: 768px) {

    .bienvenida-grid,
    .representaciones-grid {
        gap: 30px;
        padding: 0;
    }

    .bienvenida-texto h2 {
        font-size: 1.6rem;
    }

    .bienvenida-imagen img,
    .representaciones-imagen img {
        max-height: 250px;
    }

    .carousel-container {
        height: 300px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .bienvenida-texto h2 {
        font-size: 1.4rem;
    }

    .bienvenida-texto p,
    .descripcion-servicios,
    .descripcion-impacto {
        font-size: 0.9rem;
    }

    .carousel-container {
        height: 220px;
        border-radius: 12px;
    }

    .tarjeta-hover {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .contenido-hover h3 {
        font-size: 0.9rem;
    }

    .contenido-hover p {
        font-size: 0.8rem;
    }
}

/***/

/* Pantalla de introducción */
#intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    /* o el color de fondo que uses */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Logo principal */
#intro-logo {
    max-width: 280px;
    /* tamaño máximo en escritorio */
    width: 60%;
    /* relativo al ancho de pantalla */
    height: auto;
    object-fit: contain;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    #intro-logo {
        max-width: 200px;
        width: 70%;
    }
}

@media (max-width: 480px) {
    #intro-logo {
        max-width: 160px;
        width: 80%;
    }
}



/**Rediseño vista welcome*/


/**Representaciones*/

:root {
    --topo-black: #0b0b0c;
    --topo-gray: #1b1c1f;
    --topo-gray2: #2a2c31;
    --topo-white: #ffffff;
    --topo-accent: #ff7a1a;
}

.rep-page {
    background: #f2f3f6;
}


.rep-hero {
    position: relative;
    height: 360px;
    background: url("../img/topo-22.png") center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    border-bottom: 4px solid var(--topo-accent);
}

.rep-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .25));
}


.rep-tabs {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.rep-tab {
    font-family: Arial, Helvetica, sans-serif;
    flex: 1;
    border: 0;
    padding: 12px 10px;
    background: transparent;
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    transition: .18s ease;
}

.rep-tab:hover {
    color: var(--topo-white);
    background: rgba(255, 255, 255, .10);
}

.rep-tab.active {
    color: var(--topo-white);
    border-bottom-color: var(--topo-accent);
}


.rep-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 14px 50px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.rep-item {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    scroll-margin-top: 120px;
}

.rep-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, .12);
}

.rep-item:nth-child(even) {
    flex-direction: row-reverse;
}


.rep-item-media {
    flex: 0 0 40%;
    background: #f4f4f4;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    min-height: 260px;
    position: relative;
}

.rep-item-content {
    padding: 22px;
}

.rep-item-content h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #101216;
}

.rep-item-content p {
    margin: 0 0 14px;
    color: #444;
    line-height: 1.75;
    text-align: justify;
    hyphens: auto;
}

.rep-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rep-chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .85);
    color: #fff;
    border: 1px solid rgba(255, 122, 26, .35);
}

.rep-chip:hover {
    background: #f28c28;
}


.rep-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f4f4;
}


.rep-carousel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    padding: 0px;
    box-sizing: border-box;
    transform: none !important;
    transition: transform .35s ease, padding .2s ease;
    opacity: 1;
    transition: opacity .65s ease;
}

.rep-carousel.is-fading .rep-carousel-bg {
    opacity: 0;
    filter: blur(2px);
}

.rep-carousel.is-photo .rep-carousel-bg {
    object-fit: cover;
    padding: 0;
    transform: scale(1.02);
}

.rep-carousel:not(.is-photo) .rep-carousel-bg {
    max-height: 100%;
}

.rep-carousel.is-logo .rep-carousel-bg {
    object-fit: contain;
    padding: 20px;
    background: #f4f4f4;
}

.rep-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, .10) 0%,
            rgba(0, 0, 0, .28) 70%,
            rgba(0, 0, 0, .40) 100%);
    pointer-events: none;
}


.rep-carousel-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(75%, 320px);
    max-height: 160px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
}


.rep-item:hover .rep-carousel:not(.is-logo) .rep-carousel-bg {
    transform: scale(1.05);
}


.rep-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(6px);
    z-index: 3;
}

.rep-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}

.rep-dot.active {
    background: var(--topo-accent);
}


@media (max-width:900px) {

    .rep-item,
    .rep-item:nth-child(even) {
        flex-direction: column;
    }

    .rep-item-media {
        flex: 0 0 auto;
        width: 100%;
        min-height: 260px;
    }

    .rep-item {
        scroll-margin-top: 140px;
    }
}

/**Representaciones*/

/**Representación de Silex en vista welcome.blade.php*/
.tarjeta-hover{
  position: relative !important;
  width: 100% !important;
  min-height: 110px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px;
}
.tarjeta-hover .contenido-hover{
  position: absolute;
  inset: 0;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.10));
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
  color: #fff;
}

.tarjeta-hover:hover .contenido-hover{
  opacity: 1;
  transform: translateY(0);
}

.tarjeta-hover .contenido-hover h3{
  margin: 0;
  font-size: 14px;
  letter-spacing: .2px;
}

.tarjeta-hover .contenido-hover p{
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.25;
  opacity: .95;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .tarjetas-representaciones{
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
  }
}
@media (max-width: 520px){
  .tarjetas-representaciones{
    grid-template-columns: 1fr !important;
  }
}
.tarjetas-representaciones{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) !important;
  gap: 26px !important;         
  margin-top: 18px !important;
  align-items: stretch !important;
  isolation: isolate;          
}

.tarjeta-hover{
  position: relative !important;
  width: 100% !important;
  min-height: 86px !important;
  padding: 10px !important;
  border-radius: 14px !important;
  background: #fff !important;

  border: 1px solid rgba(0,0,0,.10) !important; 
  box-shadow: none !important;                   
  transform: none !important;                    
}

.tarjeta-hover:hover{
  box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
  z-index: 2; 
}

.tarjeta-hover img{
  max-width: 125px !important;
  height: 42px !important;
  object-fit: contain !important;
}

@media (max-width: 1100px){
  .tarjetas-representaciones{
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 520px){
  .tarjetas-representaciones{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
/**Representación de Silex en vista welcome.blade.php*/