/* Hero Section */
.home-hero,
.home-hero .section-content,
.home-hero .row {
    height: auto;
    overflow: visible;
    z-index: 2;
}

.home-hero-slider {
    position: relative;
    z-index: 1;
    margin-top: 33px;
    padding: 0 28px;
    transform: translateY(31px);
}

.home-hero-slider .banner-bg {
    z-index: 0;
}

.home-hero-slider .banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.49);
    z-index: 1;
}

.home-hero-slider .banner-layers {
    position: relative;
    z-index: 2;
}

.home-hero-slider .home-text-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 3;
    margin: 0;
    text-align: center;
    justify-self: center;
    transform: translateY(-50%);
}

.home-hero-slider .home-text-box.lg-x50.lg-y50 {
    transform: translateY(-50%) !important;
}

.home-hero-slider .home-text-box .col {
    padding: 0;
}

.home-hero-slider .home-text-box h2 {
    font-size: clamp(27px, 5.21vw, 75px);
    font-weight: 400;
    line-height: 0.733;
    color: var(--text-accent);
    margin: 0;
}

.home-hero-slider .home-text-box h1,
.home-hero-slider .home-text-box h2.heading-h1 {
    font-size: clamp(50px, 8.54vw, 99px);
    font-weight: 700;
    line-height: 1.404;
    color: var(--text-white);
    margin: 48px 0;
    letter-spacing: 0.5px;
}

.home-hero-slider .flickity-viewport,
.home-hero-slider .banner,
.home-hero-slider .banner-inner {
    height: auto !important;
    aspect-ratio: 1384 / 608;
}

.home-hero-slider .banner-bg {
    height: 100%;
}

/* Welcome Section */
.home-welcome .col {
    padding: 0;
}

.home-welcome-row {
    gap: 48px;
    padding: 0 15px;
}

.home-welcome-row .col:first-child {
    flex: 1;
    max-width: 513px;
}

.home-welcome-row .col:last-child {
    flex: 1;
}

.home-welcome-row .title h2.title-80 {
    margin: 0 0 20px !important;
    color: var(--text-heading);
}

.home-welcome-row .number-row h2.title-80 {
    margin: 0 !important;
    color: var(--text-heading);
    font-size: 80px !important;
}

.home-welcome-row p {
    margin-bottom: 20px;
}

.home-welcome-row .number-row::after,
.col::after,
.col::before {
    display: none;
}

.home-welcome-row .number-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.home-welcome-row .number-row h3 {
    margin: 0;
}

.home-welcome-row .number-row .col-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    width: 100%;
}

.home-welcome-row .number-row>.col {
    width: 100%;
    max-width: none;
}

/* Offers section */
.home-offers .home-offers-row {
    gap: 24px;
    padding: 0 15px;
}

.home-offers .home-offers-row>.col:first-child {
    flex: 1;
    max-width: 592px;
    padding: 0;
}

.home-offers .home-offers-row>.col:first-child>.col-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-offers .home-offers-row>.col:first-child>.col-inner>.row {
    display: grid;
    grid-template-columns: 80px auto 1fr auto;
    gap: 24px;
    width: 100%;
}

.home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col {
    max-width: none !important;
    padding: 0;
}

.home-offers .home-offers-row>.col:first-child .offer-line {
    border-bottom: 1px dashed rgba(84, 89, 95, 1);
    align-self: start;
    margin-top: 15px;
}

.home-offers .home-offers-row>.col:first-child p {
    font-size: var(--fz-14);
    line-height: 1.43;
    margin: 0;
}

.home-offers .home-offers-row>.col:first-child img {
    width: 80px;
    height: 80px;
    border-radius: 450px;
}

.home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:nth-child(3) {
    text-align: right !important;
}

.home-offers .home-offers-row>.col:last-child {
    flex: 1;
    padding: 0;
}

.home-offers .home-offers-row h3.title-24 {
    margin-bottom: 10px;
}

/* Testimonials section */
.home-testimonials .home-testimonials-title h2 {
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-heading);
}

.home-testimonials .home-testimonials-title h3 {
    letter-spacing: 0.5px;
}

.home-testimonials .home-testimonials-title p {
    color: var(--text-muted);
    max-width: 700px;
    justify-self: center;
}

/* Testimonials Swiper */
.testimonials-swiper {
    padding: 10px 0 20px;
    margin: -10px 0 -20px;
}

.testimonial-card {
    height: auto;
    display: flex;
    cursor: pointer;
    transition: transform .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.testimonial-card .testimonial-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 36px 28px 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    justify-content: center;
}

.testimonial-card .icon-box-img img {
    width: 72px;
    height: 72px;
    border-radius: 36px;
    padding: 0;
    object-fit: cover;
    margin: 0 auto;
}

.testimonial-card .icon-box-img {
    text-align: center;
}

.testimonial-card .icon-box-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 20px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-stars .star-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.testimonial-desc {
    font-size: var(--fz-16, 16px);
    line-height: 1.5;
    color: var(--text-heading, #222);
    margin: 0;
}

.testimonial-desc p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.testimonial-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 42, 42, 0.2);
}

.testimonial-name {
    font-size: var(--fz-18);
    line-height: 1.33;
    margin: 0 0 4px 0;
    color: var(--text-heading, #222);
    letter-spacing: 0.5px;
}

.testimonial-company {
    font-size: var(--fz-14);
    line-height: 1.43;
    color: var(--primary-color);
}

.testimonials-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

.testimonials-nav-buttons .btn-prev,
.testimonials-nav-buttons .btn-next {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222222;
    color: #ffffff;
}

.testimonials-nav-buttons .btn-prev:hover,
.testimonials-nav-buttons .btn-next:hover {
    transform: translateY(-2px) scale(1.05);
    background-color: var(--primary-color, #c4161c);
}

/* Responsive */
@media (max-width: 1024px) {
    .home-hero-slider .home-text-box h2 {
        line-height: 1.3;
    }

    .home-hero-slider .home-text-box h1 {
        line-height: 1.4;
    }
}

@media (max-width: 834px) {
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr) auto;
        column-gap: 16px;
        row-gap: 8px;
        align-items: center;
    }

    /* Image */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:first-child {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 0;
    }

    /* Title column */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:nth-child(2),
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:nth-child(2)>.col-inner {
        display: contents;
    }

    /* Title */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
    }

    /* Price */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:last-child,
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:last-child>.col-inner {
        padding: 0;
    }

    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:last-child {
        grid-column: 3;
        grid-row: 1;
    }

    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:last-child h3 {
        margin: 0;
    }

    /* Line */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.offer-line {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        align-self: center;
    }

    /* Minutes */
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row p {
        grid-column: 3;
        grid-row: 2;
        margin: 0;
        white-space: nowrap;
    }

    .home-offers .home-offers-row>.col:first-child>.col-inner>.row>.col:last-child h3,
    .home-offers .home-offers-row>.col:first-child>.col-inner>.row p {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .home-hero-slider {
        margin-top: 0;
        padding: 0;
        transform: none;
    }

    .home-hero-slider .flickity-viewport,
    .home-hero-slider .banner,
    .home-hero-slider .banner-inner {
        aspect-ratio: 390 / 420;
    }

    .home-hero-slider .home-text-box {
        top: 45%;
    }

    .home-hero-slider .home-text-box h2 {
        line-height: 1.26;
        margin: 0;
        font-weight: 400;
        letter-spacing: 0;
    }

    .home-hero-slider .home-text-box h1 {
        line-height: 1.1;
        margin: 16px 0;
        font-weight: 400;
        letter-spacing: 0;
    }

    .btn-white span {
        padding: 12px 32px !important;
    }


    /* Welcome */
    .home-welcome-row {
        gap: 24px;
        padding: 0 15px;
        text-align: center;
    }

    .home-welcome-row .col:first-child,
    .home-welcome-row .col:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-welcome-row .title h2.title-80 {
        letter-spacing: 0.4px;
        font-weight: 500 !important;
    }

    .home-welcome-row h3 {
        margin-bottom: 16px;
    }

    .home-welcome-row p:last-of-type {
        margin-bottom: 32px;
    }

    .home-welcome-row .number-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-welcome-row .number-row h2 {
        font-weight: 400;
        font-size: 80px;
        line-height: 1;
        letter-spacing: 0;
    }

    .home-welcome-row .number-row h3 {
        font-weight: 600;
        font-size: 24px;
        line-height: 1.25;
        letter-spacing: 0.5px;
        text-align: left;
    }

    .home-appointment-banner {
        min-height: 568px !important;
    }

    /* Offers */
    .home-offers .home-offers-row {
        flex-direction: column;
        gap: 32px;
    }

    .home-offers .home-offers-row>.col:first-child>.col-inner {
        gap: 16px;
    }

    .home-offers .home-offers-row>.col:first-child>.col-inner>.row {
        gap: 12px;
    }

    .home-offers .home-offers-row>.col:first-child img {
        width: 54px;
        height: 54px;
        border-radius: 27px;
    }

    /* Testimonials  */
    .testimonials-nav-buttons {
        margin-top: 32px;
    }
}