/* Consolidated Theme Styles */
:root {
    --primary-color: #6AB43E;
    --primary-light: #8bc34a;
    --accent-color: #b4cf02;
    --bg-alt: #f8fafc;
    --text-dark: #2d3748;
    --font-family: 'Inter', sans-serif;
    --heading-font: 'Outfit', sans-serif;
}

/* Bootstrap Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--heading-font);
}

h2 {
    font-size: 2.5rem !important;
}

section {
    padding: 100px 0;
    scroll-margin-top: 70px;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* Navbar Styles */
.nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

/* Hero Section & Carousel Tweak */
.hero-section {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 70px;
    background-color: #000;
}

.hero-section .carousel-item {
    height: 85vh;
}

.hero-section .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    /* Oscurece la imagen un poco más */
}

/* Gradiente overlay OSCURO para look premium */
.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-section .carousel-caption {
    z-index: 2;
    padding-bottom: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-title {
    font-size: 3em;
    line-height: 1.2;
}

.ls-1 {
    letter-spacing: 2px;
}

.opacity-90 {
    opacity: 0.9;
}

/* Botones personalizados para el Hero */
.hero-section .btn-primary {
    background-color: #b4cf02 !important;
    /* Verde Lima tipo imagen */
    border-color: #b4cf02 !important;
    color: #000 !important;
}

.hero-section .btn-primary:hover {
    background-color: #c5df13 !important;
    border-color: #c5df13 !important;
}

.hero-section .btn-outline-light:hover {
    background-color: white;
    color: black !important;
}

/* Navegación Circular Verde */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 3;
    width: 8%;
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: #6AB43E;
    /* Verde de la marca */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 50%;
    transition: all 0.3s ease;
}

.hero-section .carousel-control-prev-icon:hover,
.hero-section .carousel-control-next-icon:hover {
    transform: scale(1.1);
    background-color: #b4cf02;
}

@media (max-width: 768px) {

    .hero-section,
    .hero-section .carousel-item {
        min-height: 80vh;
        height: auto;
    }

    .hero-section .carousel-item img {
        height: 80vh;
    }

    .hero-section .carousel-item::after {
        background: rgba(0, 0, 0, 0.6);
        /* Overlay más uniforme en móviles */
    }

    .hero-section .carousel-caption {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        display: none !important;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }

    .hero-section .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

/* Transition Effects */
.transition-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Group Cards Styling */
.group-card {
    transition: all 0.3s ease;
    border-radius: 20px;
}

.group-image-container {
    height: 220px;
    background-color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.group-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.group-card:hover .group-img {
    transform: scale(1.1);
}

.card-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 12px;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Process Steps */
.step-num {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Utility */
.cursor-pointer {
    cursor: pointer;
}

/* Scroll Animations (handled by main.js, but initial states here) */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#honorarios .price-value {
    font-size: 2rem !important;
}