/* -------------------------------------- */
/* fastlygo.css (Optimized) */
/* -------------------------------------- */

/* -------------------------------------- */
/* Variables y Estilos Generales */
/* -------------------------------------- */
:root {
    --fastlygo-green: #3dcdb5;       /* Color principal de la marca */
    --fastlygo-dark-gray: #333333;   /* Gris oscuro para fondo y texto */
    --fastlygo-text-gray: #cccccc;   /* Gris claro para texto en fondos oscuros */
    --fastlygo-bg-black: #1a1a1a;    /* Negro para fondos */
    --fastlygo-white: #ffffff;
    --fastlygo-black: #000000;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--fastlygo-white); 
}

.textoPrimary{
   color: var(--fastlygo-green); 
}

.card-mision{
     background: url('/img/foto3.png');
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            max-width: 1000px;
            width: 100%;
            margin: 0 auto;
}

/* Estilo del título principal "VALORES" */
.valores-titulo {
    font-size: 2.5rem; /* Ajusta el tamaño del título */
    color: var(--color-titulo-principal);
    font-weight: bold; /* O el peso de fuente que desees */
    letter-spacing: 2px;
}

/* Contenedor principal para limitar el ancho de las tarjetas */
.valores-grid-container {
    max-width: 1300px; /* Ancho máximo similar al de la imagen */
    margin-left: auto;
    margin-right: auto;
}

/* Estilo de cada tarjeta de valor */
.card-valor {
    background: var(--fastlygo-green);
    border-radius: 16px; /* Esquinas redondeadas */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    min-height: 250px; /* Altura mínima para que se vean uniformes */
    
    flex-direction: column;
    align-items: flex-start; /* Alineación del contenido a la izquierda, como en la imagen */
    text-align: left;
    transition: transform 0.3s ease; /* Efecto de hover */
    color: #ffffff;
    /* Padding ya se maneja con la clase Bootstrap p-4 */
}

.card-valor:hover {
    transform: translateY(-5px); /* Pequeño levantamiento al pasar el ratón */
}

/* Estilo del contenedor del ícono */
.icon-container {
    color: var(--color-texto-valor);
    /* El tamaño del ícono se maneja con la clase Font Awesome (fa-2x) */
}

/* Estilo del título de la tarjeta (Ej. Customer Commitment) */
.card-valor-titulo {
    font-size: 1.25rem;
    color: var(--color-texto-valor);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Estilo del texto descriptivo */
.card-valor-texto {
    font-size: 1rem;
    color: var(--color-texto-valor);
    line-height: 1.4;
    font-weight: 300; /* Texto más delgado */
}

/* Clases de utilidad para un código HTML más limpio */
.fastlygo-green-text {
    color: var(--fastlygo-green) !important;
}
.fastlygo-text-black {
    color: var(--fastlygo-black) !important;
}
.fastlygo-bg-green {
    background-color: var(--fastlygo-green) !important;
    color: var(--fastlygo-black);
}
.fastlygo-text-gray-dark {
    color: var(--fastlygo-dark-gray);
}

/* -------------------------------------- */
/* Navegación (Header) */
/* -------------------------------------- */
/* Unificamos los estilos ya que eran idénticos */
.fastlygo-nav,
.fastlygo-nav.scrolled { 
    margin-top: 30px; 
    background-color: var(--fastlygo-black); 
    border-radius: 10px;
    width: 80%; 
    margin-left: auto; 
    margin-right: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
    padding-top: 5px; 
    padding-bottom: 5px;
    z-index: 1030; 
    transition: margin-top 0.3s ease; 
}

.fastlygo-logo img {
    height: 30px; /* Tamaño consistente del logo en la nav */
}

.navbar-nav .nav-link {
    color: var(--fastlygo-white) !important;
    opacity: 0.8;
    margin: 5px;
    font-weight: bold;
    padding: 0.5rem 2rem; 
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    opacity: 1;
    color: var(--fastlygo-green) !important;
}

/* -------------------------------------- */
/* Sección Héroe */
/* -------------------------------------- */
.fastlygo-hero {
    margin-top: -90px;
    position: relative; /* CLAVE para posicionar la mano */
    z-index: 1;
    
    /* Fondo con imagen y overlay */
    background-image: 
        linear-gradient(to right,
                        rgba(0, 0, 0, 0.5) 0%,           
                        rgba(61, 205, 181, 0.3) 30%,     
                        rgba(61, 205, 181, 0.3) 70%,     
                        rgba(0, 0, 0, 0.5) 100%),        
        url('img/fondo2.png'); 
    
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    min-height: 90vh; 
    display: flex;
    align-items: center;
}

/* Contenedor del Botón de Descarga */
.fastlygo-download-btn {
    color: var(--fastlygo-white); 
    background-image: linear-gradient(to left, #062b24, var(--fastlygo-green)); 
    padding: 15px 50px; 
    display: inline-block;
    border-radius: 50px; 
    font-size: 1.5rem; 
    font-weight: 700; 
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap; 
    cursor: pointer; 
    text-decoration: none;
}

/* Estilo para los botones de App Store/Google Play (movido de inline) */
.fastlygo-app-btn {
    height: 70px;
    max-width: 100%;
    height: auto;
}

/* Contenedor de la Mano (CLAVE: Pegado a la parte inferior derecha) */
.fastlygo-hero-hand-wrapper {
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: 45%; 
    max-width: 500px;
    z-index: 5; 
    display: none; /* Se oculta por defecto y se muestra en media query */
}
.fastlygo-hero-hand-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


/* -------------------------------------- */
/* Sección de Características */
/* -------------------------------------- */
.fastlygo-features {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: -8rem; 
    position: relative; 
    z-index: 10;
}

.fastlygo-feature-box {
    background-color: var(--fastlygo-bg-black);
    border-radius: 20px;
    font-weight: bold;
    font-size: 15pt;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fastlygo-feature-box-dark {
    background-color: var(--fastlygo-dark-gray);
    border-radius: 5px;
    font-weight: bold;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fastlygo-check, .fastlygo-check-dark {
    position: absolute;
    bottom: -15px; 
    width: 40px;
    height: 40px;
    background-color: var(--fastlygo-white);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}
.fastlygo-check::after, .fastlygo-check-dark::after {
    content: '✓';
    color: var(--fastlygo-green);
    font-size: 1.2rem;
    line-height: 1;
}

/* -------------------------------------- */
/* Sección 'Qué es FastlyGO?' (Welcome Blade) */
/* -------------------------------------- */
.fastlygo-about {
    background-color: var(--fastlygo-white) !important;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.fastlygo-about-title {
    color: var(--fastlygo-black); /* Color movido de inline */
}

.fastlygo-about-motto {
    color: var(--fastlygo-black); /* Color movido de inline */
    text-align: center;
}


/* -------------------------------------- */
/* Sección Banner Historia (About Blade) */
/* -------------------------------------- */
.fastlygo-history-banner {
    height: 220px;
    position: relative;
    
    background-image: 
        /* Overlay verde FastlyGO con 70% de opacidad */
        url('img/fondo2.png'); 
    
    background-size: cover;
    /* Ajuste de la posición vertical: Centrado horizontal, 60% hacia abajo */
    background-position: center 15%; 
    background-repeat: no-repeat;

    
    text-align: center; 
}

.fastlygo-banner-footer{
    height: 300px;
    position: relative;
    
    background-image: 
        /* Overlay verde FastlyGO con 70% de opacidad */
        linear-gradient(to top, 
            rgba(61, 205, 181, 0.7), /* Color verde con 70% de opacidad */
            rgba(61, 205, 181, 0.7)  /* Se usa dos veces para que sea un color sólido */
        ),
        url('img/foto3.png'); 
    
    background-size: cover;
    /* Ajuste de la posición vertical: Centrado horizontal, 60% hacia abajo */
    background-position: center 45%; 
    background-repeat: no-repeat;

    
    text-align: center; 
}
.fastlygo-history-banner h1 {
    color: var(--fastlygo-white);
    font-size: 3.5rem;
    z-index: 2;
}

.fastlygo-about-logo {
    max-width: 40%; /* Estilo movido de inline */
    height: auto;
}

.fastlygo-mission-box,
.fastlygo-value-box {
    border-radius: 10px;
}


 .card-valor {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card-valor:hover {
            transform: translateY(-5px);
        }
        
        @media (max-width: 768px) {
            .card-valor-titulo {
                font-size: 18pt !important;
            }
        }

/* -------------------------------------- */
/* Footer / CTA */
/* -------------------------------------- */
.fastlygo-footer {
    background-color: var(--fastlygo-black) !important;
}

.fastlygo-cta-btn {
     background-color: var(--fastlygo-green); 
    color: var(--fastlygo-black); 
    border-color: var(--fastlygo-green);
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1.5rem; 
    padding: 15px 40px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none; 
    white-space: nowrap; 
}

.fastlygo-cta-btn:hover {
    background-color: var(--fastlygo-green); 
    color: var(--fastlygo-black); 
    border-color: var(--fastlygo-green); 
}

.social-icon {
    color: var(--fastlygo-green); 
    font-size: 2.2rem; 
    transition: color 0.3s ease; 
    text-decoration: none; 
}

.fastlygo-social:hover {
    color: var(--fastlygo-white); 
}


 .mission-banner {
            max-width: none;
            width: 100%;
            padding: 0;
            height: 400px;
            display: flex;
            align-items: center;
            background-color: var(--fastlygo-bg-black);
            background-image: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.4) 0%, 
                rgba(0, 0, 0, 0.4) 60%, 
                rgba(0, 0, 0, 0.4) 100%
            ), url('img/foto5.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        .mission-logo {
            font-size: 8rem;
            line-height: 0.8;
            z-index: 2;
            margin: 0;
            padding-left: 80px;
        }

        .mission-subtitle {
            font-size: 1.1rem;
            font-weight: 300;
            color: #ffffff;
        }

        .mission-title {
            line-height: 1.3;
            color: #ffffff;
        }

        .how-it-works-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .how-it-works-card:hover {
            transform: translateY(-5px);
        }

        @media (max-width: 768px) {
            .mission-logo {
                font-size: 4rem;
                padding-left: 20px;
            }
            
            .mission-banner {
                height: 300px;
            }
        }


        .mission-card {
            background-color: var(--fastlygo-bg-black) !important;
            border-radius: 50px;
            max-width: none;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            text-align: center;
        }

        .mission-text {
            line-height: 1.5;
            margin: 0;
            font-size: 1.5rem;
        }

        .delivery-animation {
            color: var(--fastlygo-green);
        }

        .delivery-icon {
            font-size: 3.5rem;
        }

        .arrow-icon {
            font-size: 2rem;
        }

        .customer-image {
            width: 100%;
            height: auto;
        }

        .section-title {
            letter-spacing: 2px;
            color: var(--fastlygo-green);
        }

        .feature-card {
            height: 280px;
            background-color: #3dcdb5;
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-check {
            margin-bottom: 30px;
        }

        .bottom-title {
            color: #ffffff;
        }

        .download-cta {
            transition: transform 0.3s ease;
        }

        .download-cta:hover {
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .mission-card {
                border-radius: 25px;
            }
            
            .mission-text {
                font-size: 1.2rem;
            }
            
            .feature-card {
                height: 250px;
                margin-bottom: 15px;
            }
            
            .delivery-icon {
                font-size: 2.5rem;
            }
            
            .arrow-icon {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .feature-card {
                height: 220px;
            }
            
            .mission-card {
                border-radius: 20px;
                padding: 20px !important;
            }
        }



        

/* fastlygo */
/* -------------------------------------- */
/* Sección "How it works" (Paso a Paso) */
/* -------------------------------------- */

.how-it-works-card {
    border-radius: 20px; /* Esquinas muy redondeadas */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-height: 290px; /* Asegura una altura uniforme */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Espacia el contenido */
    position: relative;
    overflow: hidden; /* Importante para la imagen de fondo */
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.how-it-works-card:hover {
    /* Levantar la tarjeta 5px */
    transform: translateY(-5px); 
    /* Aumentar la sombra para mayor sensación de profundidad */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); 
    cursor: pointer; /* Indicar que es interactivo */
}

.card-header-text {
    /* Estilo para el título superior dentro de la caja (Ej: Download the app) */
    background-color: var(--fastlygo-white);
    color: var(--fastlygo-black);
    font-size: 1.25rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 28px;
    display: inline-block; /* Ajusta el ancho al contenido */
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.card-body-text {
    /* Estilo para la descripción */
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
    flex-grow: 1; /* Permite que el texto ocupe el espacio */
    color: #ffffff;
}

/* Flecha de la esquina (Icono) */
.card-icon-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}
.how-it-works-card:hover .card-icon-arrow {
    /* Mover la flecha 5px hacia la derecha */
    transform: translateX(5px); 
}

/* Envolvemos el contenido de la tarjeta de imagen para que esté sobre el overlay */
.how-it-works-card-image .card-content-wrapper,
.how-it-works-card-image .card-icon-arrow {
    position: relative;
    z-index: 2; /* Asegura que el texto y la flecha estén sobre el overlay */
}

/* Estilos adicionales para la Tarjeta 3 (Tap and order) */
.payment-icons {
    color: var(--fastlygo-text-black); /* Ya que el fondo es verde */
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: bold;
}

/* Nuevo CSS a añadir (Si no quieres más CSS, puedes usar el estilo en línea de abajo) */
.step-number-circle {
    /* Estilo del círculo de FastlyGO */
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--fastlygo-white);
    background-color: var(--fastlygo-green);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Evita que se encoja en pantallas pequeñas */
}



   /* Contenedor Flotante */
#cookie-banner {
    position: fixed;
    bottom: 20px; /* Separación de la parte inferior */
    right: 20px; /* Separación del lado derecho */
    z-index: 1050; 
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    max-width: 350px; /* Tamaño máximo para que no sea muy invasivo */
    opacity: 1;
}

/* Estado Oculto */
.cookie-card-hidden {
    transform: translateY(150%); /* Lo desliza hacia abajo */
    opacity: 0;
}

/* Estilo de la Tarjeta */
.cookie-card {
    background-color: #333333;
    border-radius: 12px; /* Bordes más suaves */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Sombra ligera */
}

.cookie-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3dcdb5; /* Gris oscuro para el encabezado */
    border-bottom: 1px solid #f0f0f0; /* Separador sutil */
    padding-bottom: 8px;
}

.cookie-card .card-text {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.4;
}

.cookie-link-details {
    color: #007bff; /* Color de enlace */
    font-weight: 500;
    text-decoration: none;
}

/* Botones */
.cookie-btn-accept {
    background-color: #3dcdb5;
    border-color: #3dcdb5;
    font-weight: 600;
}

.cookie-btn-decline {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
}

/* Si usas la clase de arriba, el HTML del círculo debe ser: */
/* <div class="step-number-circle me-3">1</div> */

/* -------------------------------------- */
/* Responsive - Media Queries */
/* -------------------------------------- */

@media (max-width: 991.98px) { /* Tablet y móvil */
    .navbar-collapse {
        position: absolute; 
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--fastlygo-black); 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
        z-index: 10; 
    }
    .fastlygo-hero {
        min-height: auto; 
        padding-top: 2rem; 
        padding-bottom: 2rem;
    }

    .fastlygo-download-btn {
        padding: 15px 20px; 
    }

    /* Ocultamos la mano en móvil */
    .fastlygo-hero-hand-wrapper {
        display: none !important;
    }

    .fastlygo-hero-content {
        text-align: center; 
    }
    
    .fastlygo-hero-content .d-flex {
        justify-content: center !important;
    }

    .fastlygo-features {
        margin-top: 0; 
        padding-top: 1rem;
    }

    /* Ajustes para el banner de historia en móvil */
    .fastlygo-history-banner {
        height: 200px; 
    }
    .fastlygo-history-banner h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) { /* Escritorio y tablet */
    /* Mostramos la mano en tablet y escritorio */
    .fastlygo-hero-hand-wrapper {
        display: block;
    }
}