:root {
    --ar-orange: #f37021;
    --ar-dark: #1a1a1a;
    --ar-dark-2: #2d2d2d;
    --ar-gray: #f4f4f4;
    --ar-text: #333;
}

body.home {
    background-color: #fff;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: 700px;
    background-color: var(--ar-dark);
    overflow: hidden;
}

.home-hero__slider {
    position: relative;
    min-height: 640px;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    min-height: 640px;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 42%, rgba(0,0,0,0) 52%, transparent 100%);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 100px 0 140px;
    color: #fff;
}

.home-hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.home-hero__title span {
    color: var(--ar-orange);
}

.home-hero__text {
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.home-hero__text p {
    margin: 0;
}

.home-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s ease;
    border: 2px solid #f37021;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #f37021;
    color: #fff !important;
}

.btn:hover {
    background-color: #d85f15;
    border-color: #d85f15;
}

.btn-primary {
    background-color: var(--ar-orange);
    color: #fff !important;
    border-color: var(--ar-orange);
}

.btn-primary:hover {
    background-color: #d85f15;
    border-color: #d85f15;
}

.btn-outline {
    background-color: transparent;
    color: #fff !important;
    border-color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--ar-dark) !important;
}

.btn-dark {
    background-color: var(--ar-dark);
    color: #fff !important;
    border-color: var(--ar-dark);
}

.btn-dark:hover {
    background-color: var(--ar-orange);
    border-color: var(--ar-orange);
}

.home-hero__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.home-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease;
}

.home-hero__dot.is-active {
    background: var(--ar-orange);
}

.home-hero__features {
    position: relative;
    z-index: 3;
    background: rgba(26,26,26,0.92);
    border-top: 3px solid var(--ar-orange);
}

.home-hero__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.home-hero__feature {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 36px 40px;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.home-hero__feature:last-child {
    border-right: none;
}

.home-hero__feature-icon {
    font-size: 42px;
    color: var(--ar-orange);
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.home-hero__feature-text strong {
    display: block;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.home-hero__feature-text span {
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.85;
}

.home-hero__edit {
    margin-bottom: 10px;
}

.home-hero__edit a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.home-hero__edit a:hover {
    color: #fff;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--ar-dark);
}

.section-header h2 span {
    color: var(--ar-orange);
}

.section-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.section-header--light h2,
.section-header--light p {
    color: #fff;
}

.section-header--light p {
    opacity: 0.8;
}

/* Categories */
.home-categories {
    padding: 80px 0;
    background: #fff;
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.home-categories__grid--1 { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.home-categories__grid--2 { grid-template-columns: repeat(2, 1fr); }
.home-categories__grid--3 { grid-template-columns: repeat(3, 1fr); }
.home-categories__grid--4 { grid-template-columns: repeat(4, 1fr); }
.home-categories__grid--5 { grid-template-columns: repeat(5, 1fr); }

.home-categories__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.category-card__image {
    display: block;
    height: auto;
    background-size: contain;
    background-position: center;
    background-color: #fff;
    background-repeat: no-repeat;
    aspect-ratio: 1.33 / 1;
}

.category-card__body {
    padding: 20px 18px 24px;
    text-align: center;
}

.category-card__icon {
    font-size: 24px;
    color: var(--ar-orange);
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.3;
}

.category-card p {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
    line-height: 1.5;
}

.category-card__link {
    font-size: 12px;
    font-weight: 700;
    color: var(--ar-orange);
    text-decoration: none;
    text-transform: uppercase;
}

.category-card__link:hover {
    color: var(--ar-dark);
}

.home-categories__cta {
    text-align: center;
    margin-top: 40px;
}

/* Why us */
.home-why {
    position: relative;
    padding: 80px 0;
    background: var(--ar-dark);
    overflow: hidden;
}

.home-why__bg {
    position: absolute;
    inset: 0;
    background: url('../images/why-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.home-why__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    color: #fff;
    padding: 10px;
}

.why-card__icon {
    font-size: 36px;
    color: var(--ar-orange);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 12px;
    line-height: 1.35;
}

.why-card p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
    line-height: 1.55;
}

/* CTA */
.home-cta {
    padding: 0;
    background: var(--ar-gray);
}

.home-cta__inner {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 50px 0;
}

.home-cta__image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
    border-radius: 4px;
}

.home-cta__content h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: var(--ar-dark);
}

.home-cta__content h2 span {
    color: var(--ar-orange);
}

.home-cta__content p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.home-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.home-cta__phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--ar-dark);
    text-decoration: none;
}

.home-cta__phone i {
    color: var(--ar-orange);
    margin-right: 8px;
}

/* Responsive */
@media screen and (min-width: 1400px) {
    .home-hero {
        min-height: 760px;
    }

    .home-hero__slider,
    .home-hero__slide.is-active {
        min-height: 700px;
    }

    .home-hero__content {
        max-width: 820px;
        padding: 120px 0 160px;
    }

    .home-hero__title {
        font-size: 56px;
        margin-bottom: 24px;
    }

    .home-hero__text {
        font-size: 20px;
        max-width: 640px;
        margin-bottom: 36px;
    }

    .home-hero__buttons .btn {
        padding: 16px 28px;
        font-size: 14px;
    }
}

@media screen and (min-width: 1920px) {
    .home-hero {
        min-height: 820px;
    }

    .home-hero__slider,
    .home-hero__slide.is-active {
        min-height: 760px;
    }

    .home-hero__content {
        max-width: 900px;
    }

    .home-hero__title {
        font-size: 62px;
    }

    .home-hero__text {
        font-size: 22px;
        max-width: 700px;
    }
}

@media screen and (max-width: 1200px) {
    .home-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-why__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .home-hero {
        min-height: 500px;
    }

    .home-hero__slider,
    .home-hero__slide.is-active {
        min-height: 440px;
    }

    .home-hero__content {
        padding: 70px 0 90px;
    }

    .home-hero__features-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__feature {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .home-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-cta__image {
        display: none;
    }

    .home-cta__actions {
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .home-hero {
        min-height: 420px;
    }

    .home-hero__slider,
    .home-hero__slide.is-active {
        min-height: 380px;
    }

    .home-categories__grid,
    .home-why__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__content {
        padding: 50px 0 70px;
    }

    .home-hero__feature {
        padding: 24px 20px;
    }

    .home-hero__buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }
}
