/* =========================
   HERO
========================= */
.hero {
    position: relative;
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    overflow: hidden;
    background: var(--background);
}

.hero::after {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    right: -300px;
    top: -200px;
    background: radial-gradient(circle, rgba(237, 127, 26, .14), transparent 70%);
    pointer-events: none;
}

/* =========================
   HERO — LEFT
========================= */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 40px 80px 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing:0;
    color: var(--orange);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp .6s ease forwards .1s;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--orange);
    flex-shrink: 0;
}

.hero h1 {
    font-size: 88px;
    line-height: .95;
    letter-spacing:0;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 28px;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp .7s ease forwards .25s;
}

.hero-content > p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 420px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp .7s ease forwards .4s;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp .7s ease forwards .55s;
}

.reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 18px;
    color: var(--orange);
    opacity: 0;
    animation: fadeUp .7s ease forwards .7s;
}
.reviews span {
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
    opacity: .7;
}

/* =========================
   HERO — RIGHT (imagine)
========================= */
.home-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    overflow: hidden;
    animation: heroFloat 8s ease-in-out infinite;
}

.home-hero-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to left, transparent 0%, rgba(246, 241, 235, .15) 30%, rgba(246, 241, 235, .45) 38%, rgba(246, 241, 235, .85) 58%, var(--background) 76%);
}


/* =========================
   BENEFITS
========================= */
.benefits-section {
    padding: 80px 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
    border-color: rgba(237, 127, 26, .2);
}

/* Shine */
.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .55s ease;
    pointer-events: none;
}
.benefit-card:hover::after { transform: translateX(100%); }

/* Iconița */
.benefit-card i {
    font-size: 28px;
    color: var(--orange);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(237, 127, 26, .1);
    border-radius: 14px;
    transition: background .25s, transform .25s;
}
.benefit-card:hover i {
    background: var(--orange);
    color: #fff;
    transform: scale(1.08);
}

/* Titlu — mai bold, mai mare */
.benefit-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing:0;
}

.benefit-card p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

/* =========================
   CATEGORIES
========================= */
.categories-section {
    padding: 100px 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    margin-bottom: 40px;
}

.categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Arrows */
.categories-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, border-color .2s, color .2s;
    z-index: 2;
}
.categories-arrow:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* Carousel */
.categories-carousel {
    flex: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding: 10px 4px 20px;
}
.categories-carousel::-webkit-scrollbar { display: none; }
.categories-carousel.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Category card — fără translateY */
.category-card {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    display: block;
    text-decoration: none;
    transition: transform .4s ease, box-shadow .4s ease;
}
.category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .18);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .4s ease;
    filter: saturate(.9) brightness(.95);
}
.category-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1.02);
}

.category-card__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    background:
        linear-gradient(135deg, rgba(237, 127, 26, .36), rgba(2, 0, 17, .86)),
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .28), transparent 36%);
}

/* Overlay */
.category-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .82) 0%,
        rgba(0, 0, 0, .35) 45%,
        transparent 100%
    );
}

.category-content { width: 100%; }

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing:0;
    margin-bottom: 10px;
    width: fit-content;
}

.category-card h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing:0;
    line-height: 1.1;
}

/* =========================
   CTA
========================= */
.cta-section {
    padding: 0 80px 120px;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-box {
    position: relative;
    background: linear-gradient(135deg, #020011, #0f0b2d);
    color: #fff;
    border-radius: 40px;
    padding: 90px 80px;
    text-align: center;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 127, 26, .22), transparent 70%);
    top: -280px;
    right: -180px;
    pointer-events: none;
}
.cta-box::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%);
    bottom: -180px;
    left: -120px;
    pointer-events: none;
}

.cta-box > * { position: relative; z-index: 2; }

.cta-box h2 {
    font-size: 60px;
    line-height: 1.05;
    letter-spacing:0;
    font-weight: 900;
    max-width: 820px;
    margin: 0 auto 20px;
}

.cta-box p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .65);
    max-width: 580px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* =========================
   ANIMAȚII
========================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes heroFloat {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.02); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .hero-content       { padding: 64px 32px 64px 48px; }
    .benefits-section   { padding: 64px 48px 0; }
    .categories-section { padding: 80px 48px; }
    .cta-section        { padding: 0 48px 80px; }
    .categories-carousel { grid-auto-columns: calc((100% - 48px) / 3); }
}

@media (max-width: 960px) {

    .hero {

        grid-template-columns:1fr;

        min-height:auto;

        position:relative;

        overflow:hidden;

    }

    .hero-content {

        padding:64px 28px 48px;

        order:2;

        z-index:3;

    }

    .hero h1 {

        font-size:52px;

        line-height:1;

    }

    .hero-content > p {

        max-width:100%;

    }

    .hero-buttons {

        flex-wrap:wrap;

    }

    .home-hero-image {

        position:relative;

        width:100%;

        height:420px;

        min-height:420px;

        top:auto;

        right:auto;

        order:1;

        animation:none;

    }

    .home-hero-image img {

        width:100%;

        height:100%;

        object-fit:cover;

    }

    .home-hero-image::before {

        background:linear-gradient(
            to top,
            rgba(246,241,235,.95) 0%,
            rgba(246,241,235,.4) 35%,
            transparent 100%
        );

    }

    .benefits-grid {

        grid-template-columns:1fr 1fr;

    }

    .categories-carousel {

        grid-auto-columns:calc((100% - 24px) / 2);

    }

    .cta-box {

        padding:64px 48px;

        border-radius:28px;

    }

}

@media (max-width: 640px) {
    .benefits-section   { padding: 48px 24px 0; }
    .categories-section { padding: 64px 24px; }
    .cta-section        { padding: 0 24px 64px; }
    .categories-arrow   { display: none; }
    .categories-carousel { grid-auto-columns: 80vw; }
    .category-card      { height: 340px; }
    .cta-box            { padding: 48px 28px; border-radius: 24px; }
}

@media (max-width: 480px) {

    .hero-content {

        padding:48px 20px 36px;

    }

    .hero h1 {

        font-size:42px;

    }

    .hero-buttons {

        flex-direction:column;

        align-items:stretch;

    }

    .hero-buttons a,
    .hero-buttons button {

        width:100%;

    }

    .home-hero-image {

        height:320px;

        min-height:320px;

    }

    .benefits-grid {

        grid-template-columns:1fr;

    }

}
