@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Special+Gothic+Condensed+One&display=swap');

/* ========================= ABOUT ========================= */
.about {
    position: relative;
    padding: 80px 0;
    background: #000 !important;
    font-family: "Special Gothic Condensed One", sans-serif;
    /* fuerza el negro por si otro estilo lo pisa */
    overflow: hidden;
}

@media (min-width: 640px) {
    .about {
        padding: 112px 0;
    }
}

/* Video de fondo (capa 0) */
.about-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: #000;
    pointer-events: none;
}

/* Capa oscura (capa 1) */
.about-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.78);
    /* móvil */
}

@media (min-width: 1024px) {
    .about-bg-overlay {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 0.88) 0%,
                rgba(0, 0, 0, 0.6) 55%,
                rgba(0, 0, 0, 0.75) 100%);
        /* escritorio */
    }
}

/* Contenido (capa 2) */
.about>.container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-image-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.about-text h2 {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

@media (min-width: 640px) {
    .about-text h2 {
        font-size: 36px;
    }
}

.about-text p {
    margin-top: 20px;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.sectors {
    margin-top: 32px;
}

.sectors-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sectors-tags span {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    /* antes slate-600 */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    transition: all 0.2s;
}

.sectors-tags span:hover {
    border-color: #ba251d;
    background: rgba(186, 37, 29, 0.25);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .about-bg-video {
        display: none;
    }
}

/* ========================= REVEAL ANIMATIONS & UTILS ========================= */


/* Regla universal para todos los elementos con .reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Estado cuando el JavaScript (IntersectionObserver) añade la clase .visible */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos de la tarjeta flotante en la imagen de About */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.floating-card-bottom-right {
    bottom: -20px;
    right: 20px;
}

.floating-card-icon-primary {
    color: #ba251d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.floating-card-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 2px 0 0 0;
}