:root {
    --portfolio-bg: #080706;
    --portfolio-bg-2: #0d0b09;
    --portfolio-panel: #11100e;

    --portfolio-gold: #d4a85d;
    --portfolio-gold-light: #edc987;
    --portfolio-gold-dark: #9e773d;

    --portfolio-white: #f4eee5;
    --portfolio-text: #e9e2d9;
    --portfolio-muted: #9d958c;

    --portfolio-line: rgba(255,255,255,.09);
    --portfolio-line-gold: rgba(212,168,93,.35);

    --portfolio-serif: "Playfair Display", Georgia, serif;
    --portfolio-sans: "DM Sans", Arial, sans-serif;

    --portfolio-container: 1420px;
}


/* =========================================================
   BASE
========================================================= */

.portfolio-page {
    margin: 0;

    background: var(--portfolio-bg);
    color: var(--portfolio-text);

    font-family: var(--portfolio-sans);
}

.portfolio-main {
    overflow: hidden;
}

.portfolio-page button {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HERO
========================================================= */

.portfolio-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border-bottom: 1px solid var(--portfolio-line);
}

.portfolio-hero-image {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,7,6,.96) 0%,
            rgba(8,7,6,.72) 40%,
            rgba(8,7,6,.25) 78%,
            rgba(8,7,6,.12) 100%
        ),
        url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    transform: scale(1.02);
}

.portfolio-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.72)
        );
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;

    width: min(
        var(--portfolio-container),
        calc(100% - 80px)
    );

    margin: 0 auto;

    padding-bottom: 85px;
}

.portfolio-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: var(--portfolio-gold-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .34em;
    text-transform: uppercase;
}

.portfolio-hero h1 {
    max-width: 800px;

    margin: 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: clamp(58px, 7vw, 100px);

    font-weight: 400;

    line-height: .95;
}

.portfolio-hero h1 em {
    display: block;

    color: var(--portfolio-gold);

    font-weight: 400;
}

.portfolio-hero p {
    max-width: 560px;

    margin: 28px 0 0;

    color: #cbc3ba;

    font-size: 15px;

    line-height: 1.8;
}

.portfolio-scroll {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 50px;

    color: var(--portfolio-muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .2em;
    text-transform: uppercase;
}

.portfolio-scroll span {
    width: 35px;
    height: 1px;

    background: var(--portfolio-gold);
}


/* =========================================================
   SECTION
========================================================= */

.portfolio-section {
    width: min(
        var(--portfolio-container),
        calc(100% - 80px)
    );

    margin: 0 auto;

    padding: 110px 0 130px;
}

.portfolio-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 55px;
}

.portfolio-heading h2 {
    max-width: 700px;

    margin: 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: clamp(45px, 5vw, 70px);

    font-weight: 400;

    line-height: 1;
}

.portfolio-heading h2 em {
    color: var(--portfolio-gold);

    font-weight: 400;
}

.portfolio-heading > p {
    max-width: 310px;

    margin: 0;

    color: var(--portfolio-muted);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   FILTERS
========================================================= */

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 35px;
}

.portfolio-filter {
    height: 42px;

    padding: 0 21px;

    border: 1px solid var(--portfolio-line);

    border-radius: 999px;

    background: transparent;

    color: var(--portfolio-muted);

    font-family: var(--portfolio-sans);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .05em;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.portfolio-filter:hover {
    color: var(--portfolio-white);

    border-color: var(--portfolio-line-gold);
}

.portfolio-filter.active {
    background: var(--portfolio-gold);

    border-color: var(--portfolio-gold);

    color: #17120b;
}


/* =========================================================
   GRID
========================================================= */

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   CARD
========================================================= */

.portfolio-card {
    min-width: 0;

    animation: portfolioCardIn .55s ease both;
}

.portfolio-card.is-hidden {
    display: none;
}

@keyframes portfolioCardIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   IMAGE
========================================================= */

.portfolio-image {
    position: relative;

    width: 100%;

    display: block;

    padding: 0;

    border: 0;

    background: var(--portfolio-panel);

    overflow: hidden;

    cursor: pointer;
}

.portfolio-image::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 1px solid rgba(255,255,255,.08);

    pointer-events: none;
}

.portfolio-image img {
    width: 100%;
    height: 440px;

    display: block;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}

.portfolio-image:hover img {
    transform: scale(1.045);

    filter: brightness(.72);
}

.portfolio-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(8,7,6,.35);

    opacity: 0;

    transition: opacity .35s ease;
}

.portfolio-image:hover .portfolio-image-overlay {
    opacity: 1;
}

.portfolio-view {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--portfolio-white);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.portfolio-view span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--portfolio-gold);

    border-radius: 50%;

    color: var(--portfolio-gold-light);

    font-size: 18px;
}

.portfolio-category {
    position: absolute;

    left: 18px;
    bottom: 17px;

    color: var(--portfolio-gold-light);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .25em;

    text-transform: uppercase;
}


/* =========================================================
   CARD INFO
========================================================= */

.portfolio-card-info {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    padding: 17px 2px 0;
}

.portfolio-card-info h3 {
    margin: 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: 22px;

    font-weight: 400;
}

.portfolio-card-info span {
    display: block;

    margin-top: 5px;

    color: var(--portfolio-muted);

    font-size: 9px;

    letter-spacing: .08em;
}

.portfolio-card-info .portfolio-number {
    margin-top: 2px;

    color: var(--portfolio-gold);

    font-family: var(--portfolio-serif);

    font-size: 18px;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.portfolio-philosophy {
    padding: 150px 30px;

    text-align: center;

    border-top: 1px solid var(--portfolio-line);
    border-bottom: 1px solid var(--portfolio-line);

    background:
        radial-gradient(
            circle at center,
            rgba(212,168,93,.09),
            transparent 45%
        ),
        var(--portfolio-bg-2);
}

.portfolio-philosophy-content {
    max-width: 760px;

    margin: 0 auto;
}

.portfolio-philosophy h2 {
    margin: 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: clamp(48px, 5vw, 72px);

    font-weight: 400;

    line-height: 1;
}

.portfolio-philosophy h2 em {
    display: block;

    color: var(--portfolio-gold);

    font-weight: 400;
}

.portfolio-philosophy p {
    max-width: 600px;

    margin: 28px auto 0;

    color: var(--portfolio-muted);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   CTA
========================================================= */

.portfolio-cta {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(8,7,6,.68),
            rgba(8,7,6,.92)
        ),
        url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=2200&q=90")
        center / cover;
}

.portfolio-cta-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
}

.portfolio-cta h2 {
    margin: 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: clamp(50px, 6vw, 82px);

    font-weight: 400;

    line-height: .95;
}

.portfolio-cta h2 em {
    display: block;

    color: var(--portfolio-gold);

    font-weight: 400;
}

.portfolio-cta-button {
    min-height: 52px;

    margin-top: 35px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    border: 1px solid var(--portfolio-gold);

    border-radius: 999px;

    background: var(--portfolio-gold);

    color: #17120b;

    font-family: var(--portfolio-sans);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .1em;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.portfolio-cta-button:hover {
    transform: translateY(-2px);

    background: var(--portfolio-gold-light);

    box-shadow: 0 12px 35px rgba(212,168,93,.18);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.portfolio-lightbox {
    position: fixed;
    inset: 0;

    z-index: 50000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(3,3,2,.92);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.portfolio-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.portfolio-lightbox-inner {
    width: min(1000px, 100%);

    max-height: 90vh;

    display: grid;

    grid-template-columns: 1fr 280px;

    background: var(--portfolio-panel);

    border: 1px solid var(--portfolio-line);

    box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

.portfolio-lightbox-image-wrap {
    min-height: 500px;
}

.portfolio-lightbox-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.portfolio-lightbox-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;
}

.portfolio-lightbox-label {
    color: var(--portfolio-gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .2em;

    text-transform: uppercase;
}

.portfolio-lightbox-title {
    margin: 12px 0 0;

    color: var(--portfolio-white);

    font-family: var(--portfolio-serif);

    font-size: 34px;

    font-weight: 400;
}

.portfolio-lightbox-specialist {
    margin-top: 10px;

    color: var(--portfolio-muted);

    font-size: 11px;
}

.portfolio-lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212,168,93,.4);

    border-radius: 50%;

    background: rgba(8,7,6,.7);

    color: var(--portfolio-white);

    font-size: 25px;

    cursor: pointer;

    z-index: 2;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-image img {
        height: 390px;
    }

    .portfolio-lightbox-inner {
        grid-template-columns: 1fr;
    }

    .portfolio-lightbox-image-wrap {
        height: 55vh;
        min-height: 0;
    }

}


@media (max-width: 700px) {

    .portfolio-hero {
        min-height: 600px;
    }

    .portfolio-hero-content {
        width: calc(100% - 40px);

        padding-bottom: 60px;
    }

    .portfolio-hero h1 {
        font-size: 52px;
    }

    .portfolio-hero p {
        font-size: 13px;
    }


    .portfolio-section {
        width: calc(100% - 40px);

        padding: 80px 0 90px;
    }

    .portfolio-heading {
        display: block;
    }

    .portfolio-heading h2 {
        font-size: 45px;
    }

    .portfolio-heading > p {
        margin-top: 25px;
    }


    .portfolio-filters {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 8px;

        scrollbar-width: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filter {
        flex: 0 0 auto;
    }


    .portfolio-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .portfolio-image img {
        height: 460px;
    }


    .portfolio-philosophy {
        padding: 100px 25px;
    }


    .portfolio-cta {
        min-height: 500px;
    }

    .portfolio-cta h2 {
        font-size: 52px;
    }


    .portfolio-lightbox {
        padding: 15px;
    }

    .portfolio-lightbox-info {
        padding: 25px;
    }

}


@media (max-width: 430px) {

    .portfolio-hero h1 {
        font-size: 46px;
    }

    .portfolio-image img {
        height: 420px;
    }

}
/* =========================================================
   PORTOFOLIU — HEADER MOBILE PREMIUM
========================================================= */

@media (max-width: 650px) {

    .portfolio-page .site-header {
        width: 100% !important;
        height: 74px !important;
        box-sizing: border-box !important;

        padding-left: 15px !important;
        padding-right: 15px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        z-index: 10000 !important;
    }


    /* LOGO */

    .portfolio-page .site-header .logo {
        width: 100px !important;
        min-width: 100px !important;
        flex: 0 0 100px !important;

        position: relative !important;
        left: -15px !important;

        transform: translateY(-4px) !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: flex-start !important;
        justify-content: center !important;
    }

    .portfolio-page .site-header .logo-main {
        display: block !important;

        font-size: 24px !important;
        line-height: 1 !important;

        letter-spacing: .16em !important;
        margin-left: .16em !important;

        white-space: nowrap !important;
    }

    .portfolio-page .site-header .logo-sub {
        display: block !important;

        font-size: 5px !important;
        line-height: 1 !important;

        letter-spacing: .25em !important;
        margin-top: 5px !important;

        white-space: nowrap !important;
    }


    /* PARTEA DREAPTĂ */

    .portfolio-page .site-header .header-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 10px !important;

        flex: 0 0 auto !important;
        min-width: 0 !important;
    }


    /* PROGRAMEAZĂ-TE */

    .portfolio-page .site-header .booking-btn {
        min-width: 118px !important;
        height: 40px !important;

        padding: 0 15px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 7px !important;

        border: 1px solid rgba(212,168,93,.75) !important;
        border-radius: 999px !important;

        background: linear-gradient(
            135deg,
            #d4a85d 0%,
            #edc987 50%,
            #d4a85d 100%
        ) !important;

        color: #17120b !important;

        font-size: 8px !important;
        font-weight: 700 !important;
        letter-spacing: .07em !important;

        box-shadow:
            0 5px 18px rgba(212,168,93,.18),
            inset 0 1px 0 rgba(255,255,255,.35) !important;

        flex: 0 0 auto !important;
    }


    /* MENIU CIRCULAR */

    .portfolio-page .site-header .menu-toggle {
        width: 43px !important;
        min-width: 43px !important;
        height: 43px !important;

        margin-left: 2px !important;
        padding: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        flex-direction: column !important;
        gap: 6px !important;

        border: 1px solid rgba(212,168,93,.30) !important;
        border-radius: 50% !important;

        background: rgba(212,168,93,.06) !important;

        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.025),
            0 5px 18px rgba(0,0,0,.25) !important;

        opacity: 1 !important;
        visibility: visible !important;

        position: relative !important;
        z-index: 99999 !important;
    }

    .portfolio-page .site-header .menu-toggle span {
        display: block !important;

        width: 20px !important;
        height: 1px !important;
        min-height: 1px !important;

        background: #f4eee5 !important;

        opacity: 1 !important;
        visibility: visible !important;
    }

    .portfolio-page .site-header .menu-toggle span:nth-child(2) {
        width: 14px !important;
    }
}


/* =========================================================
   HEADER — FOARTE MIC
========================================================= */

@media (max-width: 390px) {

    .portfolio-page .site-header {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .portfolio-page .site-header .logo {
        width: 90px !important;
        min-width: 90px !important;
        flex-basis: 90px !important;
        margin-left: -28px !important;

        left: -15px !important;
        transform: translateY(-4px) !important;
    }

    .portfolio-page .site-header .logo-main {
        font-size: 21px !important;
    }

    .portfolio-page .site-header .logo-sub {
        font-size: 4px !important;
    }

    .portfolio-page .site-header .booking-btn {
        min-width: 108px !important;
        height: 39px !important;

        padding: 0 10px !important;
        font-size: 8px !important;
    }

    .portfolio-page .site-header .menu-toggle {
        width: 40px !important;
        min-width: 40px !important;
        flex-basis: 40px !important;
    }
}


/* =========================================================
   COMPENSEAZĂ HEADER-UL FIX
========================================================= */

.portfolio-main {
    padding-top: 74px !important;
}
.portfolio-page .site-header .booking-btn {
    display: none !important;
}
@media (max-width: 700px) {

    .portfolio-grid {
        display: flex !important;
        flex-direction: row !important;

        width: 100% !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        gap: 14px !important;

        padding: 5px 0 25px !important;

        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none !important;
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none !important;
    }


    .portfolio-card {
        flex: 0 0 calc(100vw - 70px) !important;

        width: calc(100vw - 70px) !important;
        min-width: calc(100vw - 70px) !important;

        scroll-snap-align: start !important;

        margin: 0 !important;
    }


    .portfolio-image img {
        height: 460px !important;
    }

}
/* =========================================================
   PORTOFOLIU — HEADER PC
   IDENTIC CU HEADERUL ÉLAN AJUSTAT
   NU AFECTEAZĂ MOBILUL
   ========================================================= */

@media (min-width: 901px) {

    /* =====================================================
       LOGO
       ===================================================== */

    body.portfolio-page .site-header .logo {
        width: 250px !important;
        min-width: 250px !important;
    }

    body.portfolio-page .site-header .logo img {
        width: 270px !important;
        max-height: 100px !important;
    }


    /* =====================================================
       STATUS
       ===================================================== */

    body.portfolio-page .site-header .header-status {
        width: 480px !important;
        min-width: 280px !important;

        display: flex !important;
        align-items: center !important;

        gap: 10px !important;

        white-space: nowrap !important;

        position: relative !important;
        left: -360px !important;
    }

    body.portfolio-page .site-header .header-status-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 7px !important;

        white-space: nowrap !important;
    }

    body.portfolio-page .site-header .header-status-title {
        font-size: 11px !important;
        letter-spacing: .13em !important;

        white-space: nowrap !important;
    }

    body.portfolio-page .site-header .header-status-detail {
        font-size: 10px !important;
        letter-spacing: .05em !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       NAVIGAȚIE
       ===================================================== */

    body.portfolio-page .site-header .main-nav {
        grid-column: 3 !important;

        transform: translate(255px, -6px) !important;

        gap: 32px !important;
    }


    /* =====================================================
       HEADER ACTIONS
       ===================================================== */

    body.portfolio-page .site-header .header-actions {
        position: relative !important;

        left: -90px !important;
        top: 20px !important;

        gap: 18px !important;
    }


    /* =====================================================
       BUTON PROGRAMEAZĂ-TE
       ===================================================== */

    body.portfolio-page .site-header .booking-btn {
        position: relative !important;

        left: -30px !important;
        top: -1px !important;

        height: 43px !important;
        min-width: 125px !important;

        padding: 0 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 10px !important;

        border: 1px solid var(--portfolio-gold) !important;
        border-radius: 999px !important;

        background: transparent !important;

        color: var(--portfolio-gold-light) !important;

        font-family: var(--portfolio-sans) !important;
        font-size: 10px !important;
        font-weight: 700 !important;

        letter-spacing: .06em !important;

        white-space: nowrap !important;

        cursor: pointer !important;

        box-sizing: border-box !important;

        transition:
            background .3s ease,
            color .3s ease,
            border-color .3s ease,
            transform .3s ease,
            box-shadow .3s ease !important;
    }

    body.portfolio-page .site-header .booking-btn span {
        display: inline-block !important;

        color: inherit !important;

        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;

        white-space: nowrap !important;
    }

    body.portfolio-page .site-header .booking-btn i {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        font-style: normal !important;
        font-size: 15px !important;

        color: inherit !important;

        line-height: 1 !important;
    }

    body.portfolio-page .site-header .booking-btn:hover {
        background: var(--portfolio-gold) !important;

        border-color: var(--portfolio-gold) !important;

        color: #17120b !important;

        transform: translateY(-2px) !important;

        box-shadow:
            0 10px 30px rgba(212,168,93,.20) !important;
    }


    /* =====================================================
       NAVIGAȚIE — CLEAN
       ===================================================== */

    body.portfolio-page .site-header .main-nav a {
        position: relative !important;

        display: inline-flex !important;
        align-items: center !important;

        padding: 6px 0 !important;

        color: rgba(244,238,229,.72) !important;

        font-family: var(--portfolio-sans) !important;
        font-size: 10px !important;
        font-weight: 500 !important;

        letter-spacing: .04em !important;

        text-decoration: none !important;

        white-space: nowrap !important;

        transition:
            color .3s ease !important;
    }

    body.portfolio-page .site-header .main-nav a:hover {
        color: var(--portfolio-gold-light) !important;
    }

}