/* ==========================================================================
   Index Page Styles
   ========================================================================== */

.page-index {
    /* Hero Slider Section */
    /* Высота и ритм как у .service-page-header (страница услуги): компактнее, контент сверху */
    .hero-slider {
        position: relative;
        height: min(52vh, 520px);
        min-height: 400px;
        max-height: 560px;
        overflow: hidden;
    }

    .slider-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    .slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide-overlay {
        display: none;
    }

    .slide-content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        justify-content: stretch;
        height: 100%;
        color: #fff;
        padding: 4rem 0 3rem;
        box-sizing: border-box;
    }

    .slide-content .container {
        max-width: 1400px;
        width: 100%;
    }

    .slide-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .slide-text {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0;
        max-width: 720px;
    }

    /* Правая колонка: высота от уровня начала текста (как padding у .slide-content) до низа слайда, пропорции картинки сохраняются */
    .slide-image {
        position: absolute;
        top: 4rem;
        bottom: 0;
        left: 50%;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        box-sizing: border-box;
        pointer-events: none;
    }

    .slide-image img {
        display: block;
        width: auto;
        height: auto;
        max-height: 100%;
        max-width: min(48%, 520px);
        object-fit: contain;
        object-position: bottom center;
        /* сдвиг влево на половину собственной ширины */
        transform: translateX(-50%);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }

    .slide-title {
        font-size: 2.75rem;
        font-weight: 700;
        line-height: 1.2;
        margin: 0 0 1.25rem;
        color: #fff;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    }

    .slide-subtitle {
        font-size: 1.125rem;
        line-height: 1.65;
        margin: 0 0 2rem;
        color: rgba(255, 255, 255, 0.95);
        max-width: 720px;
    }

    .slide-buttons {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .btn-cta-hero {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: #25D366;
        color: #fff;
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    .btn-cta-hero:hover {
        background: #20bd5a;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    .btn-outline-hero {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: transparent;
        color: #fff;
        padding: 1rem 2.5rem;
        font-size: 1rem;
        font-weight: 600;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .btn-outline-hero:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
        color: #fff;
        transform: translateY(-2px);
    }

    /* Slider Navigation */
    .slider-nav {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 1rem;
        z-index: 10;
    }

    .slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .slider-arrow:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .slider-dots {
        display: flex;
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active {
        background: rgba(255, 255, 255, 0.9);
        width: 24px;
        border-radius: 4px;
    }

    .dot:hover:not(.active) {
        background: rgba(255, 255, 255, 0.5);
    }

    /* Teasers Section */
    .teasers {
        padding: 3rem 0;
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
    }

    .teasers-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .teaser-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .teaser-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #3b82f6;
        border-radius: 12px;
        color: #3b82f6;
    }

    .teaser-content {
        flex: 1;
    }

    .teaser-title {
        font-size: 1rem;
        font-weight: 600;
        color: #1e293b;
        margin: 0 0 0.5rem 0;
    }

    .teaser-desc {
        font-size: 0.875rem;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
    }

    /* Services Section */
    .services {
        padding: 3rem 0 5rem;
        background: #f8fafc;
    }

    .services-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 2.5rem;
        align-items: start;
    }

    .services-header-left {
        /* left column */
    }

    .services-label {
        display: inline-block;
        font-size: 0.875rem;
        font-weight: 600;
        color: #3b82f6;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
        position: relative;
        padding-right: 4rem;
    }

    .services-label::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 3rem;
        height: 2px;
        background: #3b82f6;
    }

    .services-title {
        font-size: 2.25rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
        line-height: 1.2;
    }

    .services-header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        margin-top: calc(0.875rem * 1.2 + 0.75rem + 8px);
    }

    .services-desc {
        font-size: 1rem;
        color: #64748b;
        margin: 0 0 1.25rem 0;
        line-height: 1.7;
    }

    .services-link {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #64748b;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease;
        flex-shrink: 0;
    }

    .services-link:hover {
        color: #3b82f6;
    }

    .services-link svg {
        transition: transform 0.2s ease;
    }

    .services-link:hover svg {
        transform: translateX(3px);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 280px);
        gap: 1rem;
    }

    .service-card {
        position: relative;
        display: block;
        border-radius: 12px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .service-card:nth-child(1) {
        grid-column: span 2;
    }

    .service-card:nth-child(6) {
        grid-column: span 2;
    }

    .service-card:hover {
        transform: none;
    }

    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
    }

    .service-overlay::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 70%);
        opacity: 0;
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-card:hover .service-overlay::after {
        opacity: 1;
    }

    .service-content {
        position: absolute;
        bottom: -0.5rem;
        left: 1.25rem;
        right: 1.25rem;
        z-index: 2;
        transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-card:hover .service-content {
        bottom: 1rem;
    }

    .service-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
    }

    .service-card:nth-child(1) .service-title,
    .service-card:nth-child(6) .service-title {
        font-size: 1.375rem;
    }

    .service-desc {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.9);
        margin: 0.375rem 0 0 0;
        line-height: 1.5;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-card:hover .service-desc {
        opacity: 1;
        visibility: visible;
    }

    /* Reviews Section */
    .reviews {
        padding: 4rem 0;
        background: url('../../images/background-image/bg-calla.webp') center/cover fixed;
        position: relative;
    }

    .reviews::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        pointer-events: none;
    }

    .reviews > .container {
        position: relative;
        z-index: 1;
    }

    .reviews-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2.5rem;
        gap: 2rem;
    }

    .reviews-header-left {
        flex: 1;
    }

    .reviews-title {
        font-size: 2rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0 0 0.5rem 0;
        line-height: 1.3;
    }

    .reviews-count {
        color: #60a5fa;
    }

    .reviews-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
    }

    .reviews-header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
    }

    .reviews-ratings {
        display: flex;
        gap: 0.75rem;
    }

    .rating-badge {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
        border-radius: 8px;
    }

    a.rating-badge {
        text-decoration: none;
        color: inherit;
        transition: opacity 0.2s;
    }

    a.rating-badge:hover {
        opacity: 0.8;
    }

    .rating-logo {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .rating-info {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .rating-2gis {
        background: #14532d;
    }

    .rating-yandex {
        background: #fff;
        border: 1px solid #e5e7eb;
    }

    .rating-stars {
        display: flex;
        gap: 2px;
    }

    .rating-text {
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: nowrap;
    }

    .rating-2gis .rating-text {
        color: rgba(255, 255, 255, 0.85);
    }

    .rating-yandex .rating-text {
        color: #4b5563;
    }

    .btn-leave-review {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 58px;
        padding: 0 1.25rem;
        background: #3b82f6;
        color: #fff;
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .btn-leave-review:hover {
        background: #2563eb;
        color: #fff;
        transform: translateY(-1px);
    }

    /* Reviews Slider */
    .reviews-slider {
        overflow: hidden;
        margin: 0 -0.5rem;
    }

    .reviews-track {
        display: flex;
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .review-card {
        flex: 0 0 calc(50% - 0.75rem);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .review-author {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .review-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
    }

    .review-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .review-author-info {
        display: flex;
        flex-direction: column;
    }

    .review-name {
        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;
    }

    .review-company {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.4;
    }

    .review-rating {
        display: flex;
        gap: 2px;
        margin-bottom: 0.75rem;
    }

    .review-text {
        font-size: 0.9375rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.6;
        margin: 0 0 1rem 0;
        flex: 1;
    }

    .review-text strong {
        color: #ffffff;
        font-weight: 600;
    }

    .review-link {
        font-size: 0.875rem;
        color: #3b82f6;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .review-link:hover {
        color: #2563eb;
    }

    /* Reviews Dots */
    .reviews-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        position: relative;
        z-index: 1;
    }

    .review-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .review-dot.active {
        background: #60a5fa;
        width: 24px;
        border-radius: 4px;
    }

    .review-dot:hover:not(.active) {
        background: rgba(255, 255, 255, 0.5);
    }

    /* Testimonials Alt Section */
    .testimonials-alt {
        background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 50%, #1a1a2e 100%);
        padding: 3rem 0 0;
        overflow: hidden;
        position: relative;
    }

    .testimonials-alt::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.02) 20px,
            rgba(255, 255, 255, 0.02) 21px
        );
        pointer-events: none;
    }

    .testimonials-alt > * {
        position: relative;
        z-index: 1;
    }

    .testimonials-alt-title {
        font-size: 2rem;
        font-weight: 300;
        color: #fff;
        margin: 0 0 0.5rem 0;
        letter-spacing: 0.05em;
    }

    .testimonials-alt-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.5);
        margin: 0 0 2rem 0;
    }

    .testimonials-alt-slider {
        position: relative;
        overflow: hidden;
    }

    .testimonials-alt-track {
        display: flex;
        transition: transform 0.6s ease;
    }

    .testimonial-alt-slide {
        flex: 0 0 100%;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        width: 100%;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    .testimonial-alt-slide.active {
        opacity: 1;
        visibility: visible;
        position: relative;
    }

    .testimonial-alt-grid {
        display: grid;
        grid-template-columns: 400px 1fr;
        gap: 3rem;
        align-items: stretch;
        padding-bottom: 3rem;
    }

    .testimonial-alt-photo {
        position: relative;
        height: 480px;
        overflow: hidden;
    }

    .testimonial-alt-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonial-alt-photo::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 120px;
        background: linear-gradient(to right, transparent 0%, #0f2744 100%);
        pointer-events: none;
    }

    .testimonial-alt-content {
        display: flex;
        flex-direction: column;
        padding: 1rem 0 2rem;
    }

    .testimonial-alt-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }

    .testimonial-alt-name {
        font-size: 1.5rem;
        font-weight: 400;
        color: #fff;
        margin: 0;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .testimonial-alt-position {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .testimonial-alt-text {
        margin: 0;
        flex: 1;
    }

    .testimonial-alt-text p {
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.85);
        margin: 0 0 1.25rem 0;
    }

    .testimonial-alt-text p:last-child {
        margin-bottom: 0;
    }

    .testimonial-alt-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .testimonial-alt-rating {
        display: flex;
        gap: 4px;
    }

    .testimonial-alt-nav {
        display: flex;
        gap: 0.75rem;
    }

    .testimonial-alt-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        background: transparent;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .testimonial-alt-arrow:hover {
        border-color: rgba(255, 255, 255, 0.6);
        color: #fff;
    }

    /* CTA Section */
    .cta-section {
        position: relative;
        padding: 5rem 0;
        background: url('../../images/background-image/bg-calla.webp') center/cover fixed;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        pointer-events: none;
    }

    .cta-bg {
        display: none;
    }

    .cta-overlay {
        display: none;
    }

    .cta-section .container {
        position: relative;
        z-index: 1;
    }

    .cta-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .cta-content {
        text-align: left;
    }

    .cta-image {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-bottom: -5rem;
    }

    .cta-image img {
        max-height: 575px;
        width: auto;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }

    .cta-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 1rem 0;
        line-height: 1.2;
    }

    .cta-subtitle {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.8);
        margin: 0 0 2rem 0;
        line-height: 1.6;
    }

    .cta-buttons {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .cta-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: linear-gradient(45deg, #23B65A 0%, #23F371 100%);
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    .cta-btn-primary:hover {
        background: linear-gradient(45deg, #1ea34d 0%, #1ed964 100%);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    .cta-btn-secondary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: transparent;
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .cta-btn-max {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: linear-gradient(64.98deg, #48C0FD 9.45%, #385BFC 56.23%, #9B43DB 87.29%);
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 15px rgba(56, 91, 252, 0.35);
    }

    .cta-btn-max:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 91, 252, 0.45);
    }

    /* Why Us Section */
    .why-us {
        padding: 5rem 0;
        background: #fff;
    }

    .why-us-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3.5rem;
        align-items: start;
    }

    .why-us-label {
        display: inline-block;
        font-size: 0.875rem;
        font-weight: 600;
        color: #3b82f6;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
        position: relative;
        padding-right: 4rem;
    }

    .why-us-label::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 3rem;
        height: 2px;
        background: #3b82f6;
    }

    .why-us-title {
        font-size: 2.25rem;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.2;
        margin: 0;
    }

    .why-us-desc {
        font-size: 1rem;
        line-height: 1.7;
        color: #64748b;
        margin: 0;
    }

    .why-us-grid {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .why-us-card {
        flex: 1;
        padding: 0;
    }

    .why-us-icon {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #3b82f6;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .why-us-icon svg {
        width: 28px;
        height: 28px;
        fill: #3b82f6;
    }

    .why-us-card-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #1e293b;
        letter-spacing: 0.02em;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .why-us-card-desc {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: #64748b;
        margin: 0;
    }

    .why-us-arrow {
        font-size: 2.5rem;
        color: #d1d5db;
        font-weight: 300;
        align-self: center;
        margin-top: 1.5rem;
        flex-shrink: 0;
        padding: 0 0.5rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .page-index .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-index .reviews-header-right {
        align-items: flex-start;
        width: 100%;
    }

    .page-index .reviews-ratings {
        flex-wrap: wrap;
    }

    .page-index .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 1024px) {
    .page-index .slide-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-index .slide-image {
        display: none;
    }

    .page-index .slide-text {
        text-align: center;
        align-items: center;
    }

    .page-index .slide-title {
        font-size: 2.5rem;
    }

    .page-index .slide-subtitle {
        font-size: 1.125rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .page-index .teasers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-index .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }

    .page-index .service-card:nth-child(1),
    .page-index .service-card:nth-child(6) {
        grid-column: span 2;
    }

    .page-index .why-us-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-index .why-us-grid {
        flex-wrap: wrap;
    }

    .page-index .why-us-card {
        flex: 0 0 calc(50% - 2rem);
    }

    .page-index .why-us-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-index .hero-slider {
        height: min(58vh, 480px);
        min-height: 360px;
        max-height: none;
    }

    .page-index .slide-content {
        padding: 2.5rem 0 2rem;
    }

    .page-index .slide-title {
        font-size: 2rem;
    }

    .page-index .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .page-index .btn-cta-hero {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .page-index .btn-outline-hero {
        display: none;
    }

    .page-index .slider-nav {
        bottom: 1.5rem;
    }

    .page-index .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .page-index .teasers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-index .teasers {
        padding: 2rem 0;
    }

    .page-index .services {
        padding: 3rem 0;
    }

    .page-index .services-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-index .services-title {
        font-size: 1.75rem;
    }

    .page-index .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .page-index .service-card {
        height: 200px;
    }

    .page-index .service-card:nth-child(1),
    .page-index .service-card:nth-child(6) {
        grid-column: span 1;
    }

    .page-index .reviews {
        padding: 3rem 0;
    }

    .page-index .reviews-title {
        font-size: 1.5rem;
    }

    .page-index .reviews-ratings {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .page-index .rating-badge {
        min-width: auto;
    }

    .page-index .btn-leave-review {
        display: none;
    }

    .page-index .review-card {
        flex: 0 0 calc(100% - 1rem);
    }

    .page-index .testimonial-alt-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-index .testimonial-alt-photo {
        height: 300px;
    }

    .page-index .testimonial-alt-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .page-index .testimonial-alt-name {
        font-size: 1.25rem;
    }

    .page-index .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-index .cta-content {
        text-align: center;
    }

    .page-index .cta-title {
        font-size: 1.75rem;
    }

    .page-index .cta-subtitle {
        font-size: 1rem;
    }

    .page-index .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }

    .page-index .cta-btn-primary,
    .page-index .cta-btn-max {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .page-index .cta-image {
        display: none;
    }

    .page-index .why-us {
        padding: 3rem 0;
    }

    .page-index .why-us-title {
        font-size: 1.5rem;
    }

    .page-index .why-us-card {
        flex: 0 0 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .page-index .why-us-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .page-index .why-us-card-title {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
        align-self: center;
    }

    .page-index .why-us-card-desc {
        flex: 0 0 100%;
        margin-top: 1rem;
    }

    .page-index .why-us-grid {
        gap: 2rem;
    }
}
