:root {
    --bg: #0b0b0b;
    --bg-soft: #111111;
    --bg-elevated: #171717;
    --gold: #c99a37;
    --gold-light: #e3b95f;
    --gold-dark: #8f6822;
    --text: #f4f1e9;
    --text-soft: #bdb9af;
    --line: rgba(255,255,255,.10);
    --line-gold: rgba(201,154,55,.35);
    --max-width: 1240px;
    --header-height: 86px;
    --radius: 2px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 9999;
    background: var(--gold);
    color: #111;
    padding: 12px 16px;
    font-weight: 800;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(
        calc(100% - 64px),
        var(--max-width)
    );
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(11,11,11,.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(
        calc(100% - 64px),
        1400px
    );
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 36px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    text-decoration: none;
    line-height: 1;
}

.brand img {
    display: block;
    max-width: 220px;
    max-height: 56px;
    object-fit: contain;
}

.brand-main {
    color: var(--gold);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .12em;
}

.brand-sub {
    margin-top: 5px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .46em;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
}

.nav-link {
    position: relative;
    padding: 34px 0 31px;
    color: #e7e4dd;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 24px;
    height: 2px;
    background: var(--gold);
    transition: right .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}

.nav-link.active {
    color: var(--gold-light);
}

.header-cta {
    flex: 0 0 auto;
    padding: 13px 18px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    transition:
        background .2s ease,
        color .2s ease;
}

.header-cta:hover {
    background: transparent;
    color: var(--gold-light);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    margin: 5px auto;
    background: white;
    transition: .25s ease;
}

.section {
    position: relative;
    overflow: hidden;
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
}

.section-title {
    max-width: 900px;
    margin: 0;
    font-size: clamp(42px, 5.7vw, 78px);
    line-height: .96;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section-subtitle {
    margin-top: 24px;
    color: var(--gold-light);
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.1;
}

.section-text {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    transition:
        background .2s ease,
        border .2s ease,
        color .2s ease,
        transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
}

.button-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.button-secondary {
    color: white;
    border-color: rgba(255,255,255,.45);
}

.button-secondary:hover {
    border-color: white;
}

.button-dark {
    background: #0d0d0d;
    color: white;
    border-color: #0d0d0d;
}

.text-link {
    display: inline-flex;
    gap: 14px;
    margin-top: 24px;
    color: var(--gold-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

/* HERO */

.hero-section {
    min-height:
        calc(100vh - var(--header-height));
    background:
        radial-gradient(
            circle at 72% 32%,
            rgba(201,154,55,.13),
            transparent 29%
        ),
        linear-gradient(
            120deg,
            #0b0b0b 0%,
            #101010 100%
        );
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8%;
    width: 1px;
    background:
        linear-gradient(
            transparent,
            var(--line-gold),
            transparent
        );
}

.hero-grid {
    width: min(
        calc(100% - 64px),
        1400px
    );
    min-height:
        calc(100vh - var(--header-height));
    margin-inline: auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);
    gap: clamp(40px, 5vw, 90px);
    align-items: center;
    padding-block: 72px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-title {
    max-width: 860px;
    margin: 0;
    font-size:
        clamp(52px, 7.2vw, 112px);
    line-height: .86;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.hero-subtitle {
    margin-top: 28px;
    color: var(--gold-light);
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 800;
    line-height: 1;
}

.hero-body {
    max-width: 690px;
    margin-top: 28px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-media {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #151515;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.46),
            transparent 50%
        );
    pointer-events: none;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    display: block;
    filter:
        saturate(.82)
        contrast(1.06);
}

.hero-media-empty {
    border: 1px solid var(--line-gold);
}

.hero-graphic {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 44px,
            rgba(255,255,255,.025) 44px,
            rgba(255,255,255,.025) 45px
        );
}

.hero-line {
    position: absolute;
    top: 14%;
    right: 18%;
    width: 1px;
    height: 70%;
    background: var(--gold);
    opacity: .7;
}

.hero-square {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 44%;
    aspect-ratio: 1;
    border: 1px solid var(--line-gold);
    transform: rotate(12deg);
}

.hero-mark {
    position: absolute;
    right: 4%;
    bottom: -8%;
    color: rgba(201,154,55,.12);
    font-size: min(42vw, 500px);
    line-height: 1;
    font-weight: 900;
}

/* TRUST */

.trust-section {
    padding: 38px 0;
    background: var(--gold);
    color: #111;
}

.trust-section .eyebrow {
    color: rgba(0,0,0,.55);
}

.trust-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );
}

.trust-item {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 28px;
    border-right:
        1px solid rgba(0,0,0,.22);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-number {
    font-size: 11px;
    font-weight: 900;
    opacity: .45;
}

.trust-item strong {
    text-transform: uppercase;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1;
}

.trust-copy {
    margin-top: 24px;
    color: rgba(0,0,0,.72);
}

/* SERVICES */

.services-section {
    padding: 130px 0;
    background: var(--bg-soft);
}

.section-heading.two-columns {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, .85fr);
    gap: 80px;
    align-items: end;
}

.wide-media {
    margin-top: 70px;
    height: clamp(320px, 48vw, 650px);
    overflow: hidden;
}

.wide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROCESS */

.process-section {
    padding: 130px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(210px, 1fr)
        );
    border-top: 1px solid var(--line-gold);
}

.process-step {
    min-height: 235px;
    padding: 30px 28px;
    border-right: 1px solid var(--line);
}

.process-step:last-child {
    border-right: 0;
}

.process-number {
    display: block;
    margin-bottom: 75px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
}

.process-step h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1.05;
}

/* WORKS */

.works-section {
    padding: 130px 0;
    background: #0e0e0e;
}

.portfolio-preview {
    margin-top: 70px;
    height: clamp(350px, 56vw, 740px);
    overflow: hidden;
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-placeholder {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1.25fr .75fr 1fr;
    gap: 12px;
    height: clamp(320px, 48vw, 610px);
}

.portfolio-placeholder span {
    display: block;
    background:
        linear-gradient(
            145deg,
            #191919,
            #101010
        );
    border: 1px solid var(--line);
}

.portfolio-placeholder span:nth-child(2) {
    margin-top: 70px;
}

/* CTA */

.cta-section {
    padding: 0;
    background: var(--gold);
}

.cta-box {
    min-height: 430px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
    color: #111;
}

.cta-section .eyebrow {
    color: rgba(0,0,0,.55);
}

.cta-title {
    max-width: 850px;
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .88;
    letter-spacing: -.05em;
}

.cta-copy {
    max-width: 660px;
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0,0,0,.72);
}

/* GENERIC CONTENT */

.content-section {
    padding: 120px 0;
    min-height: 520px;
}

.content-section:first-child {
    padding-top: 145px;
}

.content-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .75fr);
    gap: 80px;
    align-items: start;
}

.content-grid .section-text {
    margin-top: 32px;
}

.content-grid .button {
    margin-top: 30px;
}

.content-media {
    min-height: 420px;
}

.content-media img {
    width: 100%;
    min-height: 420px;
    max-height: 680px;
    object-fit: cover;
    display: block;
}

/* FOOTER */

.site-footer {
    padding: 85px 0 34px;
    background: #070707;
    border-top: 1px solid var(--line);
}

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.4fr)
        minmax(220px, .8fr)
        minmax(180px, .6fr);
    gap: 80px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-tagline {
    max-width: 360px;
    color: var(--text-soft);
    line-height: 1.6;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-navigation a {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.footer-bottom {
    margin-top: 75px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}

/* WHATSAPP */

.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #111;
    text-decoration: none;
    font-weight: 900;
    box-shadow:
        0 14px 38px rgba(0,0,0,.38);
    transition:
        transform .2s ease,
        background .2s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-3px);
    background: var(--gold-light);
}

/* REVEAL */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* TABLET */

@media (max-width: 1100px) {

    .header-cta {
        display: none;
    }

    .main-navigation {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(300px, .85fr);
    }

    .hero-media,
    .hero-media img {
        min-height: 520px;
    }

    .section-heading.two-columns,
    .content-grid {
        gap: 48px;
    }

}

/* MOBILE MENU */

@media (max-width: 850px) {

    :root {
        --header-height: 74px;
    }

    .container,
    .header-inner,
    .hero-grid {
        width:
            min(
                calc(100% - 40px),
                var(--max-width)
            );
    }

    .site-header {
        height: var(--header-height);
    }

    .header-inner {
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform:
            translateY(6px)
            rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform:
            translateY(-6px)
            rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset:
            var(--header-height)
            0
            0
            0;
        padding: 35px 20px 70px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        background: #0b0b0b;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }

    body.nav-open .main-navigation {
        transform: translateX(0);
    }

    .nav-link {
        padding: 19px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 18px;
    }

    .nav-link::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block:
            72px
            30px;
    }

    .hero-title {
        font-size:
            clamp(50px, 15vw, 82px);
    }

    .hero-media,
    .hero-media img {
        min-height: 480px;
    }

    .trust-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .trust-item:nth-child(2n) {
        border-right: 0;
    }

    .trust-item {
        border-bottom:
            1px solid rgba(0,0,0,.2);
    }

    .services-section,
    .process-section,
    .works-section,
    .content-section {
        padding: 90px 0;
    }

    .section-heading.two-columns,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .process-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .cta-box {
        min-height: 460px;
        padding-block: 70px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .portfolio-placeholder {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-placeholder span:nth-child(3) {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}

/* SMALL MOBILE */

@media (max-width: 560px) {

    .container,
    .header-inner,
    .hero-grid {
        width: calc(100% - 32px);
    }

    .brand-main {
        font-size: 21px;
    }

    .hero-grid {
        padding-top: 58px;
    }

    .hero-media,
    .hero-media img {
        min-height: 370px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .section-title {
        font-size:
            clamp(38px, 12vw, 60px);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item,
    .trust-item:first-child {
        padding: 22px 0;
        border-right: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-number {
        margin-bottom: 35px;
    }

    .portfolio-placeholder {
        height: 420px;
        grid-template-columns: 1fr;
    }

    .portfolio-placeholder span:nth-child(2) {
        display: none;
    }

    .cta-title {
        font-size:
            clamp(46px, 14vw, 72px);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .whatsapp-floating {
        width: 52px;
        height: 52px;
        right: 17px;
        bottom: 17px;
    }

}

/* =========================================================
   FRASCI FASE 4
   SERVIZI / LAVORI / PORTFOLIO
   ========================================================= */

.catalog-intro {
    padding: 120px 0 50px;
    background: var(--bg);
}

.catalog-intro-text {
    margin-top: 30px;
}

.catalog-grid-section {
    padding: 60px 0 130px;
    background: var(--bg);
}

.service-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 16px;
}

.service-card {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows:
        minmax(260px, 1fr)
        auto;
    background: #111;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition:
        transform .25s ease,
        border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.service-card-media {
    min-height: 300px;
    overflow: hidden;
    background: #151515;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform .45s ease;
}

.service-card:hover
.service-card-media img {
    transform: scale(1.025);
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            #161616,
            #0d0d0d
        );
}

.service-card-placeholder span {
    color: rgba(
        201,
        154,
        55,
        .26
    );
    font-size: 90px;
    font-weight: 900;
}

.service-card-content {
    position: relative;
    padding: 30px;
}

.service-card-number {
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
}

.service-card h2 {
    max-width: 520px;
    margin:
        18px
        60px
        0
        0;
    text-transform: uppercase;
    font-size:
        clamp(
            26px,
            3vw,
            42px
        );
    line-height: .98;
}

.service-card p {
    max-width: 540px;
    margin-top: 20px;
    color: var(--text-soft);
    line-height: 1.6;
}

.catalog-arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: var(--gold);
    font-size: 25px;
    transition: transform .2s ease;
}

.service-card:hover
.catalog-arrow,
.work-card:hover
.catalog-arrow {
    transform: translateX(6px);
}

.works-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 18px;
}

.work-card {
    position: relative;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition:
        transform .25s ease,
        border-color .25s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.work-card-media {
    height:
        clamp(
            300px,
            38vw,
            520px
        );
    overflow: hidden;
    background: #141414;
}

.work-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .45s ease;
}

.work-card:hover
.work-card-media img {
    transform: scale(1.025);
}

.work-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(
        201,
        154,
        55,
        .22
    );
    font-size:
        clamp(
            50px,
            8vw,
            110px
        );
    font-weight: 900;
    letter-spacing: .08em;
}

.work-card-content {
    position: relative;
    min-height: 190px;
    padding: 28px;
}

.work-card h2 {
    margin:
        18px
        55px
        0
        0;
    text-transform: uppercase;
    font-size:
        clamp(
            26px,
            3vw,
            40px
        );
    line-height: .98;
}

.work-card p {
    max-width: 540px;
    color: var(--text-soft);
    line-height: 1.6;
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

/* DETAIL */

.detail-hero {
    padding: 90px 0 80px;
}

.detail-back {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
}

.detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, .82fr);
    gap: 70px;
    align-items: center;
}

.detail-title {
    max-width: 850px;
    margin: 0;
    text-transform: uppercase;
    font-size:
        clamp(
            52px,
            7vw,
            104px
        );
    line-height: .87;
    letter-spacing: -.05em;
}

.detail-lead {
    max-width: 720px;
    margin-top: 30px;
    color: var(--text-soft);
    font-size: 19px;
    line-height: 1.7;
}

.detail-cover {
    min-height: 520px;
    overflow: hidden;
    background: #141414;
}

.detail-cover img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.detail-meta {
    margin-bottom: 22px;
}

.detail-body-section {
    padding: 90px 0;
    border-top: 1px solid var(--line);
}

.detail-body {
    max-width: 850px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.9;
}

.detail-cta {
    padding: 0 0 110px;
}

.before-after-section {
    padding: 110px 0;
    background: var(--bg-soft);
}

.before-after-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns:
        1fr
        1fr;
    gap: 18px;
}

.before-after-grid h3 {
    margin:
        0
        0
        18px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .09em;
}

.before-after-grid figure,
.work-gallery figure {
    margin:
        0
        0
        18px;
}

.before-after-grid img {
    width: 100%;
    min-height: 340px;
    max-height: 650px;
    object-fit: cover;
    display: block;
}

.before-after-grid figcaption,
.work-gallery figcaption {
    padding-top: 10px;
    color: #8d8a83;
    font-size: 12px;
}

.work-gallery-section {
    padding: 110px 0;
}

.work-gallery {
    margin-top: 45px;
    columns: 2;
    column-gap: 18px;
}

.work-gallery figure {
    break-inside: avoid;
}

.work-gallery img {
    width: 100%;
    display: block;
}

/* ADMIN GALLERY */

.check-stack {
    padding-top: 6px;
}

.gallery-admin-row {
    display: grid;
    grid-template-columns:
        150px
        minmax(0, 1fr)
        auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

.gallery-admin-thumb {
    height: 100px;
    overflow: hidden;
    background: #eee;
}

.gallery-admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-admin-edit {
    min-width: 0;
}

@media (max-width: 850px) {

    .service-grid,
    .works-grid,
    .detail-grid,
    .before-after-grid {
        grid-template-columns:
            1fr;
    }

    .detail-cover,
    .detail-cover img {
        min-height: 420px;
    }

    .work-gallery {
        columns: 1;
    }

    .gallery-admin-row {
        grid-template-columns: 1fr;
    }

    .gallery-admin-thumb {
        height: 220px;
    }
}

@media (max-width: 560px) {

    .catalog-intro {
        padding-top: 80px;
    }

    .service-card {
        min-height: auto;
    }

    .service-card-media,
    .service-card-media img {
        min-height: 230px;
    }

    .work-card-media {
        height: 280px;
    }

    .detail-hero {
        padding-top: 65px;
    }

    .detail-title {
        font-size:
            clamp(
                48px,
                14vw,
                72px
            );
    }

    .detail-cover,
    .detail-cover img {
        min-height: 320px;
    }
}

/* =========================================================
   FRASCI FASE 5
   CONTATTI / PREVENTIVI
   ========================================================= */

.contact-intro {
    padding: 120px 0 80px;
}

.contact-intro-text {
    margin-top: 30px;
}

.quote-section {
    padding: 120px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.quote-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, .78fr)
        minmax(0, 1.22fr);
    gap: clamp(50px, 7vw, 100px);
    align-items: start;
}

.quote-heading {
    position: sticky;
    top: 130px;
}

.quote-form-text {
    margin-top: 30px;
}

.direct-contact {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-soft);
    font-size: 14px;
}

.direct-contact a {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.quote-form {
    padding: clamp(24px, 4vw, 44px);
    background: #0c0c0c;
    border: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    color: #e7e4dc;
    font-size: 13px;
    font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #151515;
    color: white;
    padding: 14px 15px;
    outline: none;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--gold);
    background: #181818;
}

.form-field textarea {
    resize: vertical;
    min-height: 180px;
}

.form-field small {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 11px;
    line-height: 1.4;
}

.public-checkbox {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
}

.public-checkbox input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.public-checkbox a {
    color: var(--gold-light);
}

.quote-submit {
    margin-top: 30px;
}

.public-errors {
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid #814242;
    background: rgba(130,35,35,.15);
    color: #f4dada;
}

.public-errors ul {
    margin-bottom: 0;
}

.quote-success {
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid var(--line-gold);
    background: #111;
}

.quote-success-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 25px;
}

.quote-success h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(32px, 4vw, 52px);
    line-height: .95;
}

.quote-success p {
    max-width: 600px;
    margin-top: 22px;
    color: var(--text-soft);
    line-height: 1.7;
}

.quote-code {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
}

.quote-code strong {
    color: var(--gold-light);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 850px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .quote-heading {
        position: static;
    }
}

@media (max-width: 560px) {
    .contact-intro,
    .quote-section {
        padding: 80px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .quote-form {
        padding: 22px 18px;
    }
}

/* =========================================================
   FRASCI FASE 6
   LAVORA CON NOI
   ========================================================= */

.careers-intro {
    padding: 120px 0 90px;
}

.careers-intro-text {
    margin-top: 30px;
}

.positions-section {
    padding: 110px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.positions-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 16px;
}

.position-card {
    position: relative;
    min-height: 330px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    background: #0c0c0c;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    transition:
        transform .25s ease,
        border-color .25s ease;
}

.position-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.position-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.position-number {
    opacity: .72;
}

.position-card h3 {
    max-width: 560px;
    margin: 60px 60px 0 0;
    text-transform: uppercase;
    font-size:
        clamp(
            28px,
            3.4vw,
            46px
        );
    line-height: .96;
}

.position-meta {
    margin-top: 16px;
    color: var(--gold-light);
    font-size: 13px;
}

.position-card p {
    max-width: 570px;
    margin-top: 18px;
    color: var(--text-soft);
    line-height: 1.65;
}

.no-positions {
    max-width: 760px;
    margin-top: 55px;
    padding: 30px 0;
    border-top: 1px solid var(--line-gold);
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.7;
}

.career-application-section {
    padding: 120px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.selected-position {
    margin-bottom: 30px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(201,154,55,.08);
    border: 1px solid var(--line-gold);
}

.selected-position span {
    color: var(--text-soft);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.selected-position strong {
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 21px;
}

.selected-position small {
    color: var(--text-soft);
}

.career-license {
    margin-top: 0;
}

.job-detail-meta {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.job-content-section {
    padding: 110px 0;
    border-top: 1px solid var(--line);
}

.job-content-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 80px;
}

@media (max-width: 850px) {

    .positions-grid,
    .job-content-grid {
        grid-template-columns: 1fr;
    }

    .job-content-grid {
        gap: 60px;
    }

}

@media (max-width: 560px) {

    .careers-intro,
    .positions-section,
    .career-application-section,
    .job-content-section {
        padding: 80px 0;
    }

    .position-card {
        min-height: 290px;
        padding: 25px;
    }

    .position-card h3 {
        margin-top: 45px;
    }

}

/* =========================================================
   FRASCI FASE 9
   RECENSIONI
   ========================================================= */

.reviews-section {
    padding: 130px 0;
    background: #101010;
    border-top: 1px solid var(--line);
}

.reviews-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 16px;
}

.review-card {
    min-height: 340px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0b0b0b;
    border: 1px solid var(--line);
}

.review-stars {
    color: var(--gold);
    letter-spacing: .12em;
    font-size: 16px;
}

.review-stars span {
    color: #4c493f;
}

.review-card blockquote {
    margin: 40px 0;
    color: #e8e4da;
    font-size: 18px;
    line-height: 1.7;
}

.review-footer {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.review-footer strong {
    display: block;
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .07em;
}

.review-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #777;
    font-size: 11px;
}

.review-meta a {
    color: var(--gold);
    text-decoration: none;
}

@media (max-width: 950px) {
    .reviews-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 600px) {
    .reviews-section {
        padding: 85px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-height: 290px;
    }
}

/* FRASCI MEDIA V1 */

.brand-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

footer .brand-logo {
    height: 72px;
    max-width: 250px;
}

@media (max-width: 680px) {

    .brand-logo {
        height: 44px;
        max-width: 175px;
    }
}
