:root {
    --primary-color: #006eff;
    --hover-color: #f14501;
    --text-color: #fff;
    --header-bg: rgb(0 110 255 / 40%);
    --header-bg-scrolled: rgb(0 110 255 / 80%);
    --inicio-color: #f14501;
    --nav-height: 85px;
    --logo-height: 75px;
    --logo-height-scrolled: 65px;
    --logo-height-mobile: 55px;
    --logo-height-mobile-scrolled: 45px;
    --font-family: Arial, sans-serif;
    --text-size-base: 1.1rem;
    --text-size-mobile: 0.9rem;
    --transition: all 0.3s ease-in-out;
    --blur-intensity: 5px;
    --blur-intensity-mobile: 10px;
}


/* Reset y estilos base */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
}


/* Header principal */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(var(--blur-intensity));
    transition: var(--transition);
}

.header.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: 0 2px 10px transparent;
}


/* Logo */

.header__logo img {
    height: var(--logo-height);
    width: auto;
    transition: var(--transition);
}

.header.scrolled .header__logo img {
    height: var(--logo-height-scrolled);
}


/* Navegación */

.header__nav {
    transition: var(--transition);
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-family: var(--font-family);
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: var(--text-size-base);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}


/* Estados de navegación */

.nav__link:hover,
.nav__link:focus,
.nav__link.active {
    color: var(--hover-color);
}

.nav__link.inicio.active,
.nav__link.inicio:hover {
    color: var(--inicio-color);
}


/* Efecto subrayado */

.nav__link::after {
    content: "";
    display: block;
    height: 3px;
    width: 0;
    background-color: var(--hover-color);
    transition: var(--transition);
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav__link.inicio::after {
    background-color: var(--inicio-color);
}

.nav__link:hover::after,
.nav__link:focus::after,
.nav__link.active::after {
    width: 100%;
}


/* Menú hamburguesa */

.header__menu-btn {
    position: relative;
    left: 0%;
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}


/* Responsive */

@media (max-width: 992px) {
    .header__menu-btn {
        display: block;
    }
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        max-width: 300px;
        height: 100vh;
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(var(--blur-intensity-mobile));
        padding: 80px 20px 20px;
        transition: right 0.4s ease-in-out;
    }
    .header__nav.active {
        right: 0;
    }
    .nav__list {
        flex-direction: column;
        gap: 20px;
    }
    .nav__link {
        font-size: var(--text-size-mobile);
        padding: 10px;
    }
    .header__logo img {
        height: var(--logo-height-mobile);
    }
    .header.scrolled .header__logo img {
        height: var(--logo-height-mobile-scrolled);
    }
}


/* Sección Nosotros */

.nosotros {
    position: relative;
    top: 85px;
    color: white;
    text-align: -webkit-center;
    padding: 50px;
    clip-path: polygon( 0% 0%, 100% 0%, 100% 90%, 50% 75%, 0% 90%);
    overflow: hidden;
    background: #333;
}

.nosotros::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 27, 27, 0.197);
    z-index: -1;
}

.nosotros-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 230%;
    object-fit: cover;
    z-index: -2;
}

.nosotros-contenido {
    position: relative;
    top: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    font-size: 2.0rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .nosotros-video {
        height: 100%;
        position: absolute;
    }
    .nosotros {
        height: auto;
        min-height: 6vh;
    }
}


/* Imagen alineada a la izquierda */

:root {
    --accent-orange: #ff4000;
    --text-dark: rgba(0, 0, 0, 0.856);
    --text-light: #ffffff;
    --transition: all 0.4s ease;
}


/* Estructura principal */

.about-company {
    padding: 4rem 0;
    background-color: var(--text-light);
}

.about-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}


/* Imagen */

.about-image {
    position: relative;
    top: 30px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: scaleImage 5s infinite ease-in-out;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@keyframes scaleImage {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


/* Contenido */

.about-content {
    position: relative;
    top: 34px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-subtitle {
    display: block;
    color: var(--accent-orange);
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.about-title {
    color: var(--text-dark);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-description {
    text-align: justify;
    color: black;
    line-height: 1.6;
    margin-bottom: 2rem;
}


/* Responsive */

@media (min-width: 992px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        padding: 0 2rem;
    }
    .about-image {
        position: relative;
        top: 20px;
        width: 80%;
        margin-right: 2rem;
    }
    .about-content {
        width: 50%;
        padding: 0;
    }
    .about-title {
        margin-top: 0;
    }
}

:root {
    --carousel-bg: #292c32;
    --accent-color: #ed2a03;
    --text-color: #ffffff;
    --transition-speed: 0.9s;
}


/* Contenedor principal */

.contenedor-carusel {
    background-color: var(--footer-bg);
    padding: 3rem 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    background: #292c32;
}

.mission-values-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--carousel-bg);
    color: var(--text-color);
    border-radius: 0;
    overflow: hidden;
}


/* Contenedor del carrusel */

.carousel-container {
    display: flex;
    width: 200%;
    transition: transform var(--transition-speed) ease-in-out;
}


/* Slides */

.carousel-slide {
    flex: 0 0 50%;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
}

.carousel-slide h2 {
    color: var(--accent-color);
    font-size: clamp(2.8rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.carousel-slide p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}


/* Lista de valores */

.values-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 1rem;
    list-style-position: inside;
}

.values-list li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}


/* Botones de navegación */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    color: #ff6a39;
    transform: translateY(-50%) scale(1.2);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}


/* Indicadores (opcional) */

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}


/* Responsive */

@media (max-width: 768px) {
    .mission-values-carousel {
        padding: 1.5rem 0.5rem;
    }
    .carousel-slide {
        padding: 0.5rem;
    }
    .carousel-slide p,
    .values-list {
        max-width: 77%;
    }
    .carousel-btn {
        font-size: 1.5rem;
    }
    .values-list {
        padding-left: 0.5rem;
    }
}


/* ====== PIE DE PÁGINA ====== */

:root {
    --footer-bg: #1a1a1a;
    --footer-text: #e0e0e0;
    --footer-accent: #ff6200;
    --footer-border: #333;
    --footer-hover: #00ccff;
}


/* Estructura principal */

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* Secciones del footer */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand img {
    width: 180px;
    height: auto;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--footer-accent);
}


/* Enlaces */

.footer-links ul,
.footer-contact address {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-style: normal;
}

.footer-links a,
.footer-contact a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after,
.footer-contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--footer-hover);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--footer-hover);
}

.footer-links a:hover::after,
.footer-contact a:hover::after {
    width: 100%;
}


/* Iconos de contacto */

.footer-contact i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    color: var(--footer-accent);
}


/* Footer inferior */

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    margin-top: 3rem;
    padding: 1.5rem;
}

.footer-legal {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* Responsive */

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    .footer-title {
        text-align: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-legal {
        flex-direction: column;
    }
}