:root {
    --primary: #617048;
    --primary-rgb: 97, 112, 72;
    --bs-primary: #617048;
    --bs-primary-rgb: 97, 112, 72;
    --dark: #0e1611;
    --secondary: #121c16;
    --light: #f4f0e8;
    --body: #d5ddd4;
}

body {
    color: var(--body);
    background: #0b120e;
}

.hero-wrapper .navbar {
    background: rgba(8, 12, 10, 0.72);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: auto;
    height: 54px;
    max-width: 220px;
}

.hero-image {
    min-height: 88vh;
    object-fit: cover;
    filter: brightness(0.5);
}

.carousel-caption {
    background: linear-gradient(180deg, rgba(8, 12, 10, 0.35) 0%, rgba(8, 12, 10, 0.72) 100%);
}

.carousel-caption .display-1 {
    text-transform: none;
    line-height: 1.02;
}

.carousel-caption p {
    max-width: 860px;
}

.section-soft,
.bg-secondary {
    background: linear-gradient(180deg, #111a14 0%, #0c130f 100%) !important;
}

.shadow-soft {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.feature-chip i,
.contact-pill i {
    color: var(--primary);
}

.service-text p,
.portfolio-intro,
.method-card p,
.contact-form-box,
.contact-list a,
.copyright p,
p,
li {
    color: var(--body);
}

.service-text-mentorias {
    max-width: none;
    padding-right: 0;
}

.service-text-mentorias h3,
.service-text-mentorias p {
    max-width: 700px;
}

.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
}

.gallery-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card::after {
    display: none;
}

.gallery-card span {
    display: none;
}

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

.mentorias-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}

.service-img-clean::before {
    display: none !important;
}

.method-card {
    padding: 32px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.method-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.method-card h4,
.contact-pill,
.title h1,
.title h5 {
    color: #fff;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.contact-form-box {
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.form-status {
    min-height: 24px;
    font-size: 0.95rem;
    color: var(--body);
}

.form-status.success {
    color: #d7f0cd;
}

.form-status.error {
    color: #f6c0c0;
}

.form-control {
    color: #fff;
}

.form-control::placeholder {
    color: rgba(213, 221, 212, 0.72);
}

.btn-primary,
.back-to-top {
    box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.22);
}

.text-primary,
.btn-outline-primary,
.nav-item.nav-link:hover,
.nav-item.nav-link.active,
.service-text h3,
.title h5,
.feature-chip i,
.contact-pill i,
.back-to-top i {
    color: var(--primary) !important;
}

.btn-primary,
.btn-outline-primary:hover,
.back-to-top {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary,
.form-control.border-primary {
    border-color: rgba(var(--primary-rgb), 0.95) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.back-to-top:hover {
    background-color: #4a5335 !important;
    border-color: #4a5335 !important;
    color: #fff !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: hue-rotate(28deg) saturate(0.55) brightness(1.1);
}

@media (max-width: 991.98px) {
    #header-carousel .carousel-item {
        min-height: 640px;
    }

    .hero-image {
        min-height: 64vh;
    }

    .carousel-caption {
        padding-top: 82px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-logo {
        height: 46px;
        max-width: 180px;
    }

    .service-text-mentorias {
        max-width: none;
        padding-right: 0;
    }

    .carousel-caption .display-1 {
        font-size: 2.45rem;
        line-height: 1.06;
    }

    .carousel-caption p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .carousel-caption .btn {
        padding: 0.9rem 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    #header-carousel .carousel-item {
        min-height: 580px;
    }

    .hero-image {
        min-height: 58vh;
    }

    .carousel-caption {
        padding-top: 74px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .carousel-caption .display-1 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .carousel-caption h5 {
        font-size: 0.82rem;
        letter-spacing: 0.08em;
    }

    .carousel-caption p {
        font-size: 0.95rem !important;
        max-width: 100%;
        margin-bottom: 1.25rem !important;
    }

    .carousel-caption .d-flex.gap-3 {
        gap: 0.75rem !important;
    }

    .carousel-caption .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.2rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }

    .gallery-card img {
        height: 260px;
    }

    .contact-form-box {
        padding: 22px;
    }

    .mentorias-photo {
        max-width: 300px;
    }
}
