/* ========== VARIABLES HERO PROFESIONALES ========== */
:root {
    --hero-primary: #B8860B;          /* Dorado oscuro elegante */
    --hero-accent: #1e3a5f;           /* Azul marino corporativo */
    --hero-white: #FFFFFF;
    --hero-gray: #E5E7EB;
    --hero-black: #0a0a0a;
    --transition-hero: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== HERO SECTION PROFESIONAL ========== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

/* ========== SLIDER DE FONDO ========== */
.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5) contrast(1.1);
}

/* ========== OVERLAY PROFESIONAL ========== */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 253, 253, 0.25) 100%
);
    z-index: 2;
}

/* ========== CONTENEDOR PRINCIPAL ========== */
.hero__container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

/* ========== CONTENIDO CENTRAL ========== */
.hero__content {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== TÍTULO PRINCIPAL ELEGANTE ========== */
.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--hero-white);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(180, 174, 174, 0.5);
    animation: fadeInScale 0.8s ease-out;
    position: relative;
}

.hero__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--hero-primary);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.4);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== SUBTÍTULO REFINADO ========== */
.hero__subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--hero-gray);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== BOTÓN CTA PROFESIONAL ========== */
.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hero-white);
    background: var(--hero-primary);
    border: 2px solid var(--hero-primary);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-hero);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero__btn:hover::before {
    left: 100%;
}

.hero__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
    border-color: var(--hero-primary);
    background: #9a6f0a;
}

.hero__btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition-hero);
}

.hero__btn:hover .hero__btn-icon {
    transform: translateX(4px);
}

/* ========== CARRUSEL DE PROYECTOS ELEGANTE ========== */
.hero__carousel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.hero__carousel::before,
.hero__carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero__carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, transparent 100%);
}

.hero__carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.08) 0%, transparent 100%);
}

.hero__carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollCarousel 35s linear infinite;
}

.hero__carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== TARJETAS DE PROYECTOS PROFESIONALES ========== */
.hero__project-card {
    position: relative;
    min-width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-hero);
    border: 2px solid rgba(184, 134, 11, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-hero);
    filter: grayscale(0.3) brightness(0.8);
}

.hero__project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(100%);
    transition: var(--transition-hero);
}
.hero__project-overlay span {
    color: var(--hero-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__project-card:hover {
    transform: translateY(-8px);
    border-color: var(--hero-primary);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.3);
}

.hero__project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(1);
}

.hero__project-card:hover .hero__project-overlay {
    transform: translateY(0);
}

/* ========== INDICADORES MINIMALISTAS ========== */
.hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-hero);
}

.hero__dot:hover {
    background: rgba(184, 134, 11, 0.5);
    border-color: var(--hero-primary);
}

.hero__dot.active {
    background: var(--hero-primary);
    border-color: var(--hero-primary);
    width: 30px;
    border-radius: 5px;
}

/* ========== RESPONSIVE - TABLET ========== */
@media screen and (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__project-card {
        min-width: 260px;
        height: 180px;
    }
}

/* ========== RESPONSIVE - MÓVIL ========== */
@media screen and (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .hero__container {
        padding: 0 20px;
    }

    .hero__content {
        margin-bottom: 2.5rem;
    }

    .hero__title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero__title::after {
        width: 80px;
        height: 2px;
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero__btn {
        padding: 14px 32px;
        font-size: 0.9rem;
    }

    .hero__btn-icon {
        width: 18px;
        height: 18px;
    }

    .hero__project-card {
        min-width: 220px;
        height: 150px;
    }

    .hero__carousel::before,
    .hero__carousel::after {
        width: 80px;
    }

    .hero__dots {
        bottom: 20px;
        gap: 10px;
    }

    .hero__dot {
        width: 8px;
        height: 8px;
    }

    .hero__dot.active {
        width: 24px;
    }
}