@font-face {
    font-family: 'Lato-Black';
    src: url('./Tipografia/Lato-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('./Tipografia/Lato-Regular.ttf') format('truetype');
}

:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body,
html {
    overflow-x: hidden;
    color: black;
    font-family: 'Lato-Regular';
}

.navbar {
    background-color: white;
}

.nav-item {
    color: #000;
}

.nav-item .nav-link {
    position: relative;
    padding-bottom: 8px;
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #116e9a;
    transition: width 0.35s var(--ease-out-expo);
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

.btn-primary {
    border-radius: 50px;
    padding: 5px 50px;
    background-color: #116e9a;
    color: #fff;
    border: none;
    transition: background-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.btn-primary:hover {
    background-color: #0b4b69; /* Cambia el color de fondo al pasar el cursor */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-link i.fa-long-arrow-right,
.btn-link i.fa-long-arrow-left {
    display: inline-block;
    transition: transform 0.35s var(--ease-out-expo);
}

.btn-link:hover i.fa-long-arrow-right {
    transform: translateX(6px);
}

.btn-link:hover i.fa-long-arrow-left {
    transform: translateX(-6px);
}

.card {
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.card img.card-img-top {
    transition: transform 0.6s var(--ease-out-expo);
}

.card:hover img.card-img-top {
    transform: scale(1.06);
}

.hero-bg {
    position: relative;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: heroZoom 24s var(--ease-out-expo) infinite alternate;
    z-index: 0;
}

.hero-bg > .row {
    position: relative;
    z-index: 1;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.12);
    }
}

/* ---- Scroll reveal motion system ---- */
.fade-in,
.fade-up,
.fade-izq,
.fade-der {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
}

.fade-up {
    transform: translateY(28px);
}

.fade-izq {
    transform: translateX(-32px);
}

.fade-der {
    transform: translateX(32px);
}

.fade-in.revealed,
.fade-up.revealed,
.fade-izq.revealed,
.fade-der.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .fade-up,
    .fade-izq,
    .fade-der {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-bg-layer {
        animation: none;
    }

    .card,
    .card img.card-img-top,
    .btn-primary,
    .btn-link i.fa-long-arrow-right,
    .btn-link i.fa-long-arrow-left,
    .nav-item .nav-link::after {
        transition: none !important;
        animation: none !important;
    }
}

footer{
    background-color: #116e9a;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    margin: 5px;
    text-decoration: none !important;
}

.icon-circle:hover {
    color: #0b4b69; /* Color del icono al pasar el ratón (opcional) */
    background-color: #e9ecef; /* Fondo al pasar el ratón (opcional) */
    text-decoration: none !important;
}

.full-width-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.image-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

/* ---- Hero typography ---- */
.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ---- ISO badges ---- */
.iso-badges {
    gap: 16px;
}

.iso-badge {
    height: 60px;
    width: auto;
}

/* ---- Animated stat counters ---- */
.stat-item {
    padding: 0 8px;
}

.stat-number {
    display: block;
    font-family: 'Lato-Black';
    font-size: 2.4rem;
    color: #684e91;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

/* ---- Carousel: indicators, smoother transition, image overlay ---- */
#carouselExampleIndicators2 .carousel-item {
    transition: transform 0.8s var(--ease-out-expo);
}

.carousel-indicators {
    position: static;
    margin: 1.5rem 0 0;
}

.carousel-indicators li {
    background-color: #116e9a;
    opacity: 0.3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.carousel-indicators li.active {
    opacity: 1;
    transform: scale(1.2);
}

.card {
    position: relative;
}

.carousel .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: linear-gradient(180deg, rgba(17, 110, 154, 0.4) 0%, rgba(17, 110, 154, 0) 65%);
    pointer-events: none;
}

/* ---- Beneficios: featured card ---- */
.card.featured {
    background-color: #eaf4f8;
    box-shadow: 0 12px 28px rgba(17, 110, 154, 0.18);
}

.card.featured .card-title {
    color: #116e9a;
}

.featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #116e9a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 1;
}

@media (min-width: 992px) {
    .card.featured {
        transform: scale(1.04);
    }

    .card.featured:hover {
        transform: scale(1.04) translateY(-6px);
    }
}

/* ---- Floating CTA ---- */
.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1030;
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ---- Footer women's badge ---- */
.footer-badge {
    height: 44px;
    width: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
}

.footer-badge img {
    height: 28px;
    width: auto;
}

@media (prefers-reduced-motion: reduce) {

    .floating-cta {
        transition: none !important;
    }
}