.home-section { padding: 5.5rem 0; }
.home-section__intro { max-width: 960px; margin: 0 auto 2.5rem; text-align: center; }
.home-section__intro p { margin: 2.75rem 0 0; color: var(--lec-muted); font-size: 1.08rem; }

.home-section__title {
    position: relative;
    margin: 0;
    padding-bottom: 1.65rem;
    color: #151719;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}
.home-section__title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 84px;
    height: 3px;
    background: var(--lec-green);
    content: "";
    transform: translateX(-50%);
}

.home-hero .carousel-item { height: min(700px, calc(100vh - 166px)); min-height: 540px; }
.home-hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.home-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 72%); }
.home-hero__content-wrap { position: absolute; inset: 0; display: flex; align-items: center; }
.home-hero__content {
    width: min(570px, 90%);
    padding: 2rem 2.25rem 2.25rem;
    color: #fff;
    background: rgba(32, 35, 37, 0.82);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.home-hero__content h2 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 3vw, 2.55rem); font-weight: 500; line-height: 1.08; text-transform: uppercase; }
.home-hero__content p { margin-bottom: 1.75rem; font-size: 1.08rem; line-height: 1.65; }
.home-hero .carousel-control-prev,
.home-hero .carousel-control-next { width: 6%; }
.home-hero .carousel-indicators { margin-bottom: 1.25rem; }

.home-button { min-width: 170px; padding: 0.75rem 1.5rem; border-width: 2px; border-radius: 2rem; font-weight: 700; letter-spacing: .02em; }
.home-button--green { color: #fff; background: var(--lec-green); border-color: var(--lec-green); text-transform: uppercase; }
.home-button--green:hover,
.home-button--green:focus { color: #fff; background: var(--lec-green-dark); border-color: var(--lec-green-dark); }

.home-about__image { width: min(480px, 90vw); border-radius: 50%; }
.home-feature { display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; align-items: center; margin-bottom: 2.2rem; }
.home-feature:last-child { margin-bottom: 0; }
.home-feature__icon,
.service-card__icon {
    display: grid;
    place-items: center;
    color: var(--lec-green);
    border: 1px solid var(--lec-border);
    border-radius: 50%;
}
.home-feature__icon { width: 96px; height: 96px; font-size: 2.65rem; }
.home-feature h3,
.service-card h3 { color: #181a1c; font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
.home-feature p { margin: .8rem 0 0; color: var(--lec-muted); }

.home-services { padding: 5.5rem 0; background: var(--lec-light); }
.service-card { height: 100%; padding: 1rem 1.3rem; text-align: center; }
.service-card__icon { width: 140px; height: 140px; margin: 0 auto 2.4rem; font-size: 3.6rem; }
.service-card h3 { position: relative; min-height: 3.2rem; padding-bottom: 1.3rem; }
.service-card h3::after { position: absolute; bottom: 0; left: 50%; width: 42px; height: 2px; background: var(--lec-green); content: ""; transform: translateX(-50%); }
.service-card p { margin: 1.5rem auto 0; color: var(--lec-muted); }

.home-clients { padding-bottom: 6.5rem; }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem; align-items: center; min-height: 145px; padding: 0 1rem; }
.client-grid img { width: 100%; max-width: 175px; max-height: 105px; margin: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
.client-carousel__controls { display: flex; justify-content: center; gap: .75rem; margin-top: 2rem; }
.client-carousel__controls button { display: grid; place-items: center; width: 40px; height: 40px; color: var(--lec-green); background: #fff; border: 1px solid var(--lec-border); border-radius: 50%; }
.client-carousel__controls button:hover,
.client-carousel__controls button:focus { color: #fff; background: var(--lec-green); }

.home-contact-cta { padding: 2.8rem 0; color: #fff; background: #272a2d; }
.home-contact-cta h2 { margin: 0 0 .35rem; font-size: 1.65rem; text-transform: uppercase; }
.home-contact-cta p { margin: 0; color: rgba(255,255,255,.75); font-size: 1.05rem; }

@media (max-width: 991.98px) {
    .home-hero .carousel-item { height: 610px; min-height: 0; }
    .home-feature { max-width: 680px; margin-inline: auto; }
    .client-grid { grid-template-columns: repeat(3, 1fr); min-height: 260px; }
}

@media (max-width: 767.98px) {
    .home-section, .home-services { padding: 4rem 0; }
    .home-hero .carousel-item { height: 580px; }
    .home-hero__content-wrap { align-items: end; padding-bottom: 3.5rem; }
    .home-hero__content { width: 100%; padding: 1.5rem; }
    .home-hero__content p { font-size: .98rem; }
    .home-hero .carousel-control-prev, .home-hero .carousel-control-next { display: none; }
    .home-feature { grid-template-columns: 76px 1fr; gap: 1rem; }
    .home-feature__icon { width: 76px; height: 76px; font-size: 2.1rem; }
    .client-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; min-height: 360px; }
    .home-contact-cta { text-align: center; }
}

@media (max-width: 420px) {
    .home-hero__content h2 { font-size: 1.6rem; }
    .home-feature { grid-template-columns: 1fr; text-align: center; }
    .home-feature__icon { margin: auto; }
}
