:root {
    --tc-navy: #141c47;
    --tc-blue: #2547d6;
    --tc-blue-soft: #eaf1ff;
    --tc-white: #ffffff;
}



/* ============ CONTENEDOR PRINCIPAL ============ */
.tc-hero-carousel {
    position: relative;
    background: var(--tc-white);
    overflow: hidden;
    margin-top: 150px;
}

.tc-hero-row {
    min-height: 640px;
}

/* ============ COLUMNA DE TEXTO ============ */
.tc-hero-text {
    padding: 64px 5vw 96px;
    min-height: 600px;
    /* evita saltos de altura entre slides con textos de distinta longitud */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tc-hero-eyebrow {
    color: var(--tc-blue);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.tc-hero-title {
    color: var(--tc-navy);
    margin: 0 0 28px;
    line-height: 1.02;
}

.tc-hero-title .tc-title-bold {
    display: block;
    font-weight: 800;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
}

.tc-hero-title .tc-title-light {
    display: block;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.tc-hero-btn {
    display: inline-block;
    background: var(--tc-blue);
    color: var(--tc-white);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 30px;
    width: fit-content;
    transition: background-color .2s ease, transform .2s ease;
}

.tc-hero-btn:hover,
.tc-hero-btn:focus-visible {
    background: #1a34a8;
    color: var(--tc-white);
    transform: translateY(-2px);
}

.tc-hero-btn:focus-visible {
    outline: 3px solid var(--tc-blue-soft);
    outline-offset: 3px;
}

/* ============ COLUMNA DE IMAGEN + PARALLAX/ZOOM ============ */
.tc-hero-image-wrap {
    position: relative;
    height: 640px;
    overflow: hidden;
    /* recorta el efecto de zoom */
}

.tc-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    will-change: transform;
}

/* El "zoom" lento solo corre en el slide activo -> efecto parallax/cine sin JS extra */
.carousel-item.active .tc-hero-image {
    animation: tcKenBurns 8s ease-in-out forwards;
}

@keyframes tcKenBurns {
    from {
        transform: scale(1) translateY(0);
    }

    to {
        transform: scale(1.12) translateY(-1.1%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .tc-hero-image {
        animation: none;
    }
}

/* Placeholder visual — SUSTITUIR por: background-image:url('images/slide-1.jpg') */
.tc-ph-1 {
    
    background-position-y: top;
}

.tc-ph-2 {
    
    background-position-y: top;
}

.tc-ph-3 {
    
    background-position-y: top;
}

/* ============ CONTROLES: FLECHAS + INDICADORES ============ */
.tc-hero-controls {
    position: absolute;
    left: 5vw;
    bottom: 56px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 5;
}

.tc-hero-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--tc-navy);
    background: var(--tc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background-color .25s ease, transform .25s ease;
    position: static;
    /* anula el posicionamiento absoluto por defecto de Bootstrap */
}

.tc-hero-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--tc-navy);
    transition: stroke .25s ease;
}

.tc-hero-arrow:hover,
.tc-hero-arrow:focus-visible {
    background: var(--tc-blue);
    border-color: var(--tc-blue);
    transform: scale(1.08);
}

.tc-hero-arrow:hover svg,
.tc-hero-arrow:focus-visible svg {
    stroke: var(--tc-white);
}

.tc-hero-arrow:focus-visible {
    outline: 3px solid var(--tc-blue-soft);
    outline-offset: 3px;
}

.tc-hero-indicators {
    position: static;
    margin: 0;
    display: flex;
    gap: 8px;
}

.tc-hero-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    background: rgba(20, 28, 71, .25);
    border: 0;
    padding: 0;
    text-indent: -9999px;
    opacity: 1;
    transition: width .3s ease, background-color .3s ease;
}

.tc-hero-indicators [data-bs-target].active {
    width: 38px;
    background: var(--tc-blue);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .tc-hero-row {
        min-height: 0;
    }

    .tc-hero-image-wrap {
        height: 44vh;
        min-height: 280px;
    }

    .tc-hero-text {
        padding: 40px 6vw 32px;
        min-height: 0;
    }

    .tc-hero-controls {
        position: static;
        justify-content: center;
        padding: 0 6vw 36px;
    }
}