/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================== */
:root {
    --color-primary-blue: #00B0FF;
    /* Azul brillante del logo */
    --color-dark: #000000;
    /* Negro puro corporativo */
    --color-dark-light: #1A1A1A;
    /* Gris oscuro para contrastes */
    --color-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    /* Fondo grisáceo muy leve */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: transparent;
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ECEFF1;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

/* Logo Header */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 35px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary-blue);
}

.main-nav .btn-nav {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-nav .btn-nav:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 6rem 0;
    background-color: transparent;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-badge {
    display: inline-block;
    background-color: #E0F7FF;
    color: var(--color-primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge para secciones oscuras */
.hero-badge-dark {
    display: inline-block;
    background-color: rgba(0, 176, 255, 0.1);
    color: #00E5FF;
    /* Cyan eléctrico para un contraste óptimo en fondos oscuros */
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    color: #546E7A;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Animación Isotipo Flotante */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==========================================================================
   SECCIÓN ENFOQUE (CORPORATIVA)
   ========================================================================== */
.enfoque-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--color-white);
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-title p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #94A3B8;
}

/* ==========================================================================
   CAPACIDADES (CARDS)
   ========================================================================== */
.capacidades-section {
    padding: 6rem 0;
    background-color: rgba(248, 250, 252, 0.8);
}

/* ==========================================================================
   TECH CARDS (B2B Procurement Partner)
   ========================================================================== */
.tech-card {
    position: relative;
    height: 480px;
    border-radius: 4px;
    /* Un radio sutil para mantener look corporativo y serio */
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 176, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.tech-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Oscurecemos la imagen para legibilidad */
.tech-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.tech-card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: var(--color-white);
}

.tech-card-icon {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary-blue);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.tech-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tech-card p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px);
    max-height: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efectos Hover */
.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 176, 255, 0.15);
    border-color: rgba(0, 176, 255, 0.6);
}

.tech-card:hover .tech-card-bg {
    transform: scale(1.08);
}

.tech-card:hover .tech-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 176, 255, 0.3) 60%, rgba(0, 0, 0, 0.5) 100%);
}

.tech-card:hover .tech-card-icon,
.tech-card:hover h3 {
    transform: translateY(0);
}

.tech-card:hover p {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    max-height: 200px;
    margin-top: 0.5rem;
}

/* Responsivo para móviles: mostramos el texto siempre ya que no hay hover preciso */
@media (max-width: 768px) {
    .tech-card {
        height: 400px;
    }

    .tech-card-icon,
    .tech-card h3 {
        transform: translateY(0);
    }

    .tech-card p {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
        max-height: 200px;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0;
    border-top: 1px solid #E2E8F0;
    font-size: 0.9rem;
    color: #64748B;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary-blue);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 968px) {


    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem auto;
        font-size: 1.05rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .hero-image {
        max-width: 250px;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-links a {
        margin-left: 0;
    }


}

@media (max-width: 968px) {
    /* ... tus otros estilos responsivos ... */

    .hero-product-launch .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-product-launch .hero-content {
        padding: 4rem 5%;
        text-align: center;
    }

    .hero-product-launch .hero-product-visual {
        height: 50vh;
        /* Define un alto fijo cómodo para móviles */
    }
}


/* ==========================================================================
   ESTILOS SUBPÁGINA: ENTORNOS RETAIL (ESTILO INMERSIVO TAG)
   ========================================================================== */


.subpage-retail {
    background-color: transparent;
}

/* Hero Moderno */
.subpage-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    background-color: rgba(12, 12, 12, 0.92);
    /* Fondo oscuro profundo semi-transparente para contraste premium y ver animación */
    color: var(--color-white);
}

.hero-reveal-wrapper {
    max-width: 850px;
}

.hero-reveal-wrapper h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 1.5rem 0;
}

.hero-reveal-wrapper p {
    font-size: 1.4rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 650px;
}

/* Pantalla Dividida (Split Section) */
.split-section {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: center;
}

.split-image-side {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    overflow: hidden;
    position: relative;
}

.immersive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-image-side:hover .immersive-img {
    transform: scale(1.05);
}

.split-text-side {
    padding: 6rem 10% 6rem 12%;
}

.block-number {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-primary-blue);
    letter-spacing: 2px;
}

.split-text-side h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0;
    letter-spacing: -1px;
}

.split-text-side p {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Grid de Soluciones Estilo Corporativo */
.solutions-grid-section {
    padding: 10rem 0;
    background-color: rgba(248, 250, 252, 0.85);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 6rem auto;
}

.section-header-center h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.section-header-center p {
    font-size: 1.2rem;
    color: #64748B;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.tag-grid-card {
    background-color: var(--color-white);
    padding: 4rem 3rem;
    border-radius: 0px;
    /* Esquinas rectas para un aire más arquitectónico/premium */
    border-top: 3px solid #E2E8F0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tag-grid-card:hover {
    border-top-color: var(--color-primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-meta {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00B0FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.tag-grid-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.tag-grid-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Inmersivo */
.cta-immersive {
    padding: 10rem 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}

.cta-immersive h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.cta-immersive p {
    font-size: 1.3rem;
    color: #94A3B8;
    margin-bottom: 3rem;
}

.cta-immersive {
    padding: 10rem 0;
    text-align: center;
    color: var(--color-white);

    /* LA MAGIA DEL FONDO:
       1. Ponemos un degradado negro con 75% de opacidad (rgba 0,0,0,0.75) encima de la imagen.
       2. Cargamos la ruta de la imagen.
       3. Ajustamos con 'center center/cover' para que sea totalmente responsiva y no se deforme.
    */
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),

        url('../img/Invitacion a la accion.webp') no-repeat center center/cover;

    /* EFECTO PARALAJE (Opcional pero recomendado estilo Tag Worldwide):
       Hace que la imagen de fondo se quede fija mientras el contenido se desplaza encima,
       creando un efecto de profundidad muy premium.
    */
    background-attachment: fixed;

    position: relative;
    z-index: 1;
}


/* ==========================================================================
   LÓGICA DE ANIMACIÓN POR SCROLL (ESTADOS INICIALES)
   ========================================================================== */
.reveal-tag,
.reveal-title,
.reveal-desc,
.tag-reveal-text,
.tag-reveal-image,
.tag-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
    will-change: transform, opacity;
}

/* Variaciones de dirección al estilo Tag */
.tag-reveal-image {
    transform: scale(1.05) translateY(0);
    /* Efecto zoom out inicial */
}

/* Estados Activos inyectados por JS */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Delays escalonados para el Hero principal */
.reveal-title {
    transition-delay: 0.2s;
}

.reveal-desc {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-reveal-wrapper h1 {
        font-size: 2.8rem;
    }

    .split-container {
        grid-template-columns: 1fr;
    }

    .split-image-side {
        min-height: 400px;
    }

    .split-text-side {
        padding: 4rem 8%;
    }

    .split-text-side h2,
    .section-header-center h2,
    .cta-immersive h2 {
        font-size: 2.2rem;
    }

    .solutions-grid-section,
    .cta-immersive {
        padding: 6rem 0;
    }

    .cta-immersive {
        background-attachment: scroll;
        /* Evita distorsiones de fondo en iOS y navegadores móviles */
    }
}

/* Tablets y Smartphones Grandes (Vista Móvil Horizontal) */
@media (max-width: 768px) {

    /* Header compacto */
    .header-container {
        padding: 0.8rem 0;
        gap: 0.8rem;
    }

    .main-nav ul {
        gap: 0.8rem;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .main-nav .btn-nav {
        padding: 0.4rem 0.8rem;
    }

    /* Hero de Subpágina */
    .subpage-hero {
        min-height: 55vh;
        padding: 6rem 0;
    }

    .hero-reveal-wrapper h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero-reveal-wrapper p {
        font-size: 1.15rem;
    }

    /* Pantalla Dividida (Split Section) */
    .split-image-side {
        min-height: 320px;
    }

    .split-text-side {
        padding: 3rem 1.5rem;
    }

    .split-text-side h2 {
        font-size: 1.8rem;
        margin: 1rem 0;
    }

    .split-text-side p {
        font-size: 1.05rem;
    }

    /* Grid de Soluciones */
    .solutions-grid-section {
        padding: 4rem 0;
    }

    .section-header-center {
        margin-bottom: 3rem;
    }

    .section-header-center h2 {
        font-size: 1.8rem;
    }

    .section-header-center p {
        font-size: 1.05rem;
    }

    .tag-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tag-grid-card {
        padding: 2.5rem 1.5rem;
    }

    .tag-grid-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .tag-grid-card p {
        font-size: 0.95rem;
    }

    /* CTA Inmersivo */
    .cta-immersive {
        padding: 5rem 0;
    }

    .cta-immersive h2 {
        font-size: 1.8rem;
    }

    .cta-immersive p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Smartphones (Vista Móvil Vertical Estándar) */
@media (max-width: 480px) {

    /* Hero de Subpágina */
    .subpage-hero {
        min-height: 50vh;
        padding: 5rem 0;
    }

    .hero-reveal-wrapper h1 {
        font-size: 1.8rem;
    }

    .hero-reveal-wrapper p {
        font-size: 1rem;
    }

    /* Pantalla Dividida (Split Section) */
    .split-image-side {
        min-height: 260px;
    }

    .split-text-side {
        padding: 2.5rem 1rem;
    }

    .split-text-side h2 {
        font-size: 1.5rem;
    }

    /* Grid de Soluciones */
    .section-header-center h2 {
        font-size: 1.5rem;
    }

    .tag-grid-card {
        padding: 2rem 1rem;
    }

    .tag-grid-card h3 {
        font-size: 1.25rem;
    }

    /* CTA Inmersivo */
    .cta-immersive h2 {
        font-size: 1.5rem;
    }

    .cta-immersive p {
        font-size: 1rem;
    }

    .cta-immersive .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   ESTILOS SUBPÁGINA: QUIÉNES SOMOS
   ========================================================================== */
.about-mv-block {
    margin-bottom: 2rem;
}

.about-mv-block h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.8rem 0;
    color: var(--color-dark);
}

.about-mv-block p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Pilares Grid */
.pillars-section {
    padding: 8rem 0;
    background-color: #F8FAFC;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pillar-card {
    background-color: var(--color-white);
    padding: 3.5rem 2.5rem;
    border-radius: 0px;
    /* Esquinas totalmente rectas, estilo corporativo/arquitectónico */
    border-top: 3px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-card:hover {
    border-top-color: var(--color-primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.pillar-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: var(--color-dark);
}

.pillar-card p {
    color: #546E7A;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pillars-section {
        padding: 5rem 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .pillar-card {
        padding: 2.5rem 1.5rem;
    }

    .about-mv-block h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   HERO — VISIBILIDAD DE MARCA: Product Launch 3D
   ========================================================================== */
.hero-product-launch {
    padding: 0;
    /* Eliminamos el padding y flex antiguos para heredar el comportamiento split */
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   TRANSPARENCIA GLOBAL (SIN ALTERAR EL ORDEN ORIGINAL)
   ========================================================================== */
.split-section {
    background: transparent !important;
    background-color: transparent !important;
}

/* ==========================================================================
   ESTILOS SUBPÁGINA: VISIBILIDAD DE MARCA (Métricas / Barras de Progreso)
   ========================================================================== */


.metrics-section {
    padding: 8rem 0;
    background-color: rgba(12, 12, 12, 0.92);
}

.grid-about-metrics {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.metrics-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.metrics-intro p {
    color: #E2E8F0;
    font-size: 1.15rem;
    line-height: 1.7;
}

.metrics-bars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-progress-wrapper {
    width: 100%;
}

.metric-progress-info {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: var(--color-white);
}

.metric-val {
    color: var(--color-primary-blue);
}

.metric-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}

.metric-progress-fill {
    height: 100%;
    background-color: var(--color-primary-blue);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   ESTILOS SUBPÁGINA: SOLUCIONES CORPORATIVAS (Acordeón HTML5)
   ========================================================================== */
.accordion-section {
    padding: 8rem 0;
    background-color: #F8FAFC;
}

.accordion-container {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background-color: var(--color-white);
    border-radius: 4px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item[open] {
    border-color: var(--color-primary-blue);
    box-shadow: 0 10px 30px rgba(0, 176, 255, 0.05);
}

.accordion-summary {
    padding: 1.8rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    /* Remueve flecha nativa */
    outline: none;
}

/* Remueve flecha nativa en Safari */
.accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-num {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary-blue);
    margin-right: 1.5rem;
}

.accordion-summary h3 {
    flex-grow: 1;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748B;
    transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-icon {
    transform: rotate(45deg);
    color: var(--color-primary-blue);
}

.accordion-content {
    padding: 0 2.5rem 2rem 5rem;
    /* Alineado con el inicio del texto del H3 */
    border-top: none;
}

.accordion-content p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .grid-about-metrics {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .metrics-section,
    .accordion-section {
        padding: 5rem 0;
    }

    .accordion-summary {
        padding: 1.5rem 1.5rem;
    }

    .accordion-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .metrics-intro h2 {
        font-size: 1.8rem;
    }

}