.home-hero {
    padding: 8px 0 24px;
}

.home-hero__slogan {
    margin-bottom: 28px;
    text-align: center;
}

.home-hero__slogan p {
    margin-bottom: 0;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
}

.hero-card {
    min-height: 500px;
    overflow: visible;
    border-radius: 26px;
    background: var(--blue-bg);
    box-shadow: var(--shadow);
}

.hero-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 18px 48px 52px;
}

.hero-card__content h1 {
    margin-bottom: 25px;
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
}

.hero-card__content h1 span {
    color: var(--teal);
}

.hero-card__content p {
    max-width: 365px;
    margin-bottom: 28px;
    font-size: 0.98rem;
}

.slider-shell {
    position: relative;
    min-width: 0;
}

.slider-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.55s ease;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.hero-slide {
    display: grid;
    grid-template-columns: 34% 66%;
    min-height: 500px;
}

.hero-slide__visual {
    min-width: 0;
    overflow: hidden;
}

.hero-slide__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--teal);
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 37, 51, 0.13);
    cursor: pointer;
    font-size: 0;
    transform: translateY(-50%);
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.slider-btn::before {
    width: 11px;
    height: 11px;
    margin-top: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    transition: transform 0.25s ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
    color: #fff;
    background: var(--teal);
    box-shadow: 0 9px 24px rgba(17, 153, 158, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: -24px;
}

.prev-btn::before {
    transform: translateX(2px) rotate(-135deg);
}

.next-btn {
    right: -24px;
}

.next-btn::before {
    transform: translateX(-2px) rotate(45deg);
}

.slider-dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    display: flex;
    gap: 9px;
    justify-content: center;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #c7dcea;
    cursor: pointer;
}

.slider-dot.is-active {
    width: 22px;
    background: var(--teal);
}

.home-about {
    padding: 0 0 24px;
}

.home-about__card {
    position: relative;
    display: grid;
    grid-template-columns: 40% 27% 27%;
    gap: 3%;
    align-items: center;
    min-height: 390px;
    overflow: hidden;
    padding: 25px 35px 34px 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f5f9fc, #f3f1fb);
}

.home-about__visual img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.home-about__text {
    position: relative;
    z-index: 2;
    align-self: start;
    padding-top: 58px;
}

.home-about__text h2 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    font-size: 1.65rem;
}

.home-about__text h2 img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.home-about__text p {
    margin-bottom: 0;
}

.home-about__branch {
    position: absolute;
    right: -35px;
    bottom: -15px;
    width: 220px;
    opacity: 0.9;
}

.home-about__button {
    grid-column: 2 / 4;
    width: max-content;
    margin: -80px auto 0;
}

.request-section {
    padding: 6px 0 24px;
}

.request-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.request-card {
    min-height: 205px;
    padding: 20px 13px;
    border: 1px solid #e7edf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 37, 51, 0.05);
    text-align: center;
}

.request-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.request-card h3 {
    margin-bottom: 9px;
    font-size: 0.92rem;
}

.request-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.5;
}

.reviews-section {
    padding: 14px 0 28px;
    text-align: center;
}

.review-grid {
    display: flex;
    gap: 22px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.reviews-slider {
    position: relative;
    margin-bottom: 24px;
    padding: 0 24px 30px;
}

.reviews-slider__viewport {
    overflow: hidden;
    padding: 10px;
    margin: -10px;
    border-radius: 26px;
}

.reviews-slider .review-card {
    flex: 0 0 calc((100% - 44px) / 3);
}

.reviews-slider__button {
    position: absolute;
    z-index: 2;
    top: calc(50% - 30px);
    width: 42px;
    height: 42px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    color: var(--teal);
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.reviews-slider__button:hover,
.reviews-slider__button:focus-visible {
    color: #fff;
    background: var(--teal);
}

.reviews-slider__button:disabled {
    opacity: 0.35;
    cursor: default;
}

.reviews-slider__button--prev {
    left: -8px;
}

.reviews-slider__button--next {
    right: -8px;
}

.reviews-slider__dots {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.reviews-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbdde5;
    cursor: pointer;
}

.reviews-slider__dot.is-active {
    width: 24px;
    border-radius: 10px;
    background: var(--teal);
}

.review-card {
    position: relative;
    padding: 28px 28px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: left;
}

.review-card__quote {
    display: block;
    height: 35px;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
}

.review-card--teal .review-card__quote {
    color: var(--teal);
}

.review-card--purple .review-card__quote {
    color: #7354b7;
}

.review-card--olive .review-card__quote {
    color: #86a615;
}

.review-card p {
    min-height: 145px;
    margin-bottom: 18px;
}

.review-card footer {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}
