* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

.site-header {
    min-height: 90px;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10;
}

.logo img {
    width: 145px;
    display: block;
}

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {
    color: #111;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
}

.site-header nav a:hover {
    color: #e5007d;
}

.header-btn,
.catalog-cta a {
    background: #e5007d;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    font-weight: 800;
    font-size: .8rem;
    border-radius: 4px;
}

.catalog-hero {
    min-height: 500px;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #111;
}

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

.catalog-hero-image {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-hero-image img {
    width: 100%;
    max-width: 570px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,.28));
    transition: transform .35s ease;
}

.catalog-hero-image img:hover {
    transform: scale(1.025);
}

.eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #e5007d;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.catalog-hero h1 {
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.catalog-hero h1 span {
    color: #e5007d;
}

.catalog-hero p {
    max-width: 620px;
    margin-top: 30px;
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.7;
}

.catalog {
    padding: 110px 8%;
}

.catalog-top {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.eyebrow.dark {
    color: #e5007d;
}

.catalog h2 {
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.045em;
}

#search {
    width: 290px;
    padding: 17px 18px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
}

#search:focus {
    border-color: #e5007d;
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

 .product-card {
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    color: #111;
    border: 1px solid #e8e8e8;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

.product-card::before {
    display: none;
}

.product-card img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 330px;
    object-fit: contain;
    padding: 25px 30px 10px;
    display: block;
    background: #fff;
    transition: transform .35s ease;
}

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

.product-info {
    position: relative;
    z-index: 2;
    padding: 10px 30px 30px;
    background: #fff;
}

.product-code {
    color: #e5007d;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.product-info h3 {
    color: #111;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 12px;
}

.product-info p {
    color: #555;
    font-size: .95rem;
    line-height: 1.55;
}

.empty {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    color: #777;
}

.catalog-cta {
    padding: 100px 8%;
    background: #e5007d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.catalog-cta .eyebrow {
    color: #111;
}

.catalog-cta h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: .9;
    letter-spacing: -.05em;
}

.catalog-cta p {
    max-width: 600px;
    margin-top: 20px;
    line-height: 1.6;
}

.catalog-cta a {
    background: #111;
    flex-shrink: 0;
}

.footer {
    background: #111;
    color: #fff;
    padding: 75px 8% 25px;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
    gap: 60px;
}

.footer-brand img {
    width: 155px;
    margin-bottom: 20px;
}

.footer-brand p,
.footer-column p {
    color: #999;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    color: #e5007d;
    font-size: .75rem;
    letter-spacing: .15em;
    margin-bottom: 12px;
}

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

.footer-column a:hover {
    color: #e5007d;
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #777;
    font-size: .85rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-header nav {
        display: none;
    }

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

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 15px 5%;
    }

    .header-btn {
        display: none;
    }

    .catalog-hero {
        min-height: 440px;
        padding: 75px 7%;
    }

    .catalog {
        padding: 75px 6%;
    }

    .catalog-top {
        display: block;
    }

    #search {
        width: 100%;
        margin-top: 30px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
    }
}


/* =====================================================
   GAMMA DIESEL
===================================================== */

.diesel-family-card { cursor: default; }

.diesel-card-capacities {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.diesel-card-capacities span {
    padding: 10px 16px;
    border: 1px solid #222;
    color: #111;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.diesel-open-button {
    margin-top: 24px;
    padding: 14px 18px;
    border: 0;
    background: #e5007d;
    color: #fff;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}

.diesel-open-button:hover {
    background: #111;
    color: #fff;
}

.capacity-modal,
.details-modal { position:fixed; inset:0; z-index:9998; display:flex; align-items:center; justify-content:center; padding:25px; opacity:0; visibility:hidden; transition:opacity .25s ease,visibility .25s ease; }
.capacity-modal.open,
.details-modal.open { opacity:1; visibility:visible; }
.capacity-overlay,
.details-overlay { position:absolute; inset:0; background:rgba(0,0,0,.84); backdrop-filter:blur(7px); }
.capacity-box { position:relative; z-index:2; width:min(1250px,100%); max-height:92vh; overflow-y:auto; padding:50px; background:#111; color:#fff; border:1px solid #333; box-shadow:0 30px 100px rgba(0,0,0,.5); transform:translateY(20px); transition:transform .25s ease; }
.capacity-modal.open .capacity-box { transform:translateY(0); }
.capacity-close,.details-close { position:absolute; top:18px; right:22px; border:0; background:transparent; color:#fff; font-size:2rem; line-height:1; cursor:pointer; }
.capacity-close:hover,.details-close:hover { color:#e5007d; }
.capacity-eyebrow,.details-eyebrow { color:#e5007d; font-size:.7rem; font-weight:800; letter-spacing:.15em; }
.capacity-box h2 { margin-top:15px; font-size:clamp(2.8rem,6vw,5rem); line-height:.9; letter-spacing:-.05em; }
.capacity-box h2 strong,.details-box h2 strong { color:#e5007d; }
.capacity-intro { margin-top:20px; color:#999; line-height:1.6; }
.capacity-options { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
.capacity-card { background:#191919; border:1px solid #333; overflow:hidden; transition:transform .25s ease,border-color .25s ease; }
.capacity-card:hover { transform:translateY(-5px); border-color:#e5007d; }
.capacity-card img { width:100%; height:210px; object-fit:contain; padding:15px; display:block; }
.capacity-content { padding:22px; }
.capacity-content > span { color:#e5007d; font-size:.7rem; font-weight:800; letter-spacing:.12em; }
.capacity-content > strong { display:block; margin-top:7px; font-size:3rem; line-height:1; }
.capacity-content h3 { margin-top:4px; color:#aaa; font-size:1rem; font-weight:500; }
.capacity-actions { display:flex; flex-direction:column; gap:10px; margin-top:22px; }
.details-button,.capacity-request-button { width:100%; padding:13px 15px; font-family:inherit; font-size:.72rem; font-weight:800; cursor:pointer; }
.details-button { border:1px solid #444; background:transparent; color:#fff; }
.details-button:hover { border-color:#e5007d; color:#e5007d; }
.capacity-request-button { border:0; background:#e5007d; color:#fff; }
.capacity-request-button:hover { background:#fff; color:#111; }
.details-box { position:relative; z-index:2; width:min(700px,100%); max-height:92vh; overflow-y:auto; padding:50px; background:#111; color:#fff; border:1px solid #333; box-shadow:0 30px 100px rgba(0,0,0,.5); transform:translateY(20px); transition:transform .25s ease; }
.details-modal.open .details-box { transform:translateY(0); }
.details-box h2 { margin-top:18px; font-size:clamp(2.8rem,6vw,4.8rem); line-height:.9; letter-spacing:-.05em; }
.details-capacity { margin-top:35px; padding:20px; border-left:3px solid #e5007d; background:#191919; }
.details-capacity span { display:block; color:#888; font-size:.7rem; font-weight:800; letter-spacing:.1em; }
.details-capacity strong { display:block; margin-top:5px; font-size:2rem; }
.details-box > p { margin-top:25px; color:#aaa; line-height:1.7; }
.details-list { display:grid; grid-template-columns:repeat(2,1fr); margin-top:30px; border-top:1px solid #333; border-left:1px solid #333; }
.details-list div { padding:18px; border-right:1px solid #333; border-bottom:1px solid #333; }
.details-list span { display:block; color:#777; font-size:.65rem; font-weight:800; letter-spacing:.1em; }
.details-list strong { display:block; margin-top:7px; color:#fff; }
.details-request-button { width:100%; margin-top:30px; padding:16px; border:0; background:#e5007d; color:#fff; font-family:inherit; font-size:.75rem; font-weight:800; cursor:pointer; }
.details-request-button:hover { background:#fff; color:#111; }

@media (max-width:1000px) {
    .catalog-hero { grid-template-columns:1fr; min-height:auto; padding:80px 7% 45px; }
    .catalog-hero-image { min-height:300px; margin-top:20px; }
    .catalog-hero-image img { max-width:500px; }
}

@media (max-width:900px) {
    .capacity-options { grid-template-columns:1fr; }
    .capacity-card img { height:230px; }
}

@media (max-width:600px) {
    .catalog-hero { padding:65px 7% 35px; }
    .catalog-hero h1 { font-size:3.5rem; }
    .catalog-hero p { font-size:1rem; }
    .catalog-hero-image { min-height:220px; }
    .catalog-hero-image img { max-width:390px; }
    .product-card { min-height:0; }
    .product-card img { height:260px; padding:20px 20px 5px; }
    .product-info { padding:10px 22px 22px; }
    .capacity-box { padding:35px 25px; }
    .capacity-box h2,.details-box h2 { font-size:3rem; }
    .details-box { padding:40px 25px; }
    .details-list { grid-template-columns:1fr; }
}
/* =====================================================
   MODALE RICHIESTA INFORMAZIONI
===================================================== */

.request-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.request-modal.open {
    opacity: 1;
    visibility: visible;
}

.request-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(7px);
}

.request-box {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 50px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    box-shadow: 0 30px 100px rgba(0,0,0,.6);
    transform: translateY(20px);
    transition: transform .25s ease;
}

.request-modal.open .request-box {
    transform: translateY(0);
}

.request-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.request-close:hover {
    color: #e5007d;
}

.request-header > span {
    color: #e5007d;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.request-header h2 {
    margin-top: 15px;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: .9;
    letter-spacing: -.05em;
}

.request-header h2 strong {
    color: #e5007d;
}

.request-header p {
    margin-top: 20px;
    color: #999;
    line-height: 1.6;
}

.request-selected {
    margin-top: 30px;
    padding: 18px 20px;
    border-left: 3px solid #e5007d;
    background: #191919;
}

.request-selected small {
    display: block;
    color: #777;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.request-selected strong {
    display: block;
    margin-top: 7px;
    font-size: 1.1rem;
}

.request-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.request-fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #aaa;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.request-fields input,
.request-fields textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #333;
    background: #191919;
    color: #fff;
    font-family: inherit;
    font-size: .9rem;
    outline: none;
}

.request-fields input:focus,
.request-fields textarea:focus {
    border-color: #e5007d;
}

.request-fields textarea {
    min-height: 130px;
    resize: vertical;
}

.request-full {
    grid-column: 1 / -1;
}

.request-submit {
    width: 100%;
    margin-top: 25px;
    padding: 16px;
    border: 0;
    background: #e5007d;
    color: #fff;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
}

.request-submit:hover {
    background: #fff;
    color: #111;
}

.request-note {
    margin-top: 15px;
    color: #666;
    font-size: .7rem;
    line-height: 1.5;
}

.request-status {
    margin-top: 15px;
    font-size: .85rem;
}

@media (max-width: 700px) {

    .request-box {
        padding: 35px 25px;
    }

    .request-fields {
        grid-template-columns: 1fr;
    }

    .request-full {
        grid-column: auto;
    }

}