/* ----------------------
   RESET & BASE STYLE
----------------------- */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* ----------------------
   HEADER
----------------------- */
    .header {
        width: 100%;
        padding: 25px 60px;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
    }

    .logo img {
        height: 45px;
    }

    /* ----------------------
    LIQUID GLASS BUTTON
    ----------------------- */
    .btn-glass {
        padding: 12px 26px;
        border-radius: 14px;
        font-weight: 500;
        text-decoration: none;
        color: #fff;
        backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
        transition: 0.25s ease;
    }

    .btn-glass.small {
        padding: 10px 20px;
    }

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-3px);
    }

/* ----------------------
   HERO SECTION
----------------------- */
    .hero {
        height: 100vh;
        width: 100%;
        background: url("assets/background.jpg") no-repeat center center/cover;
        position: relative;
        display: flex;
        justify-content: center; 
        align-items: center;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.70);
    }

    /* ----------------------
    TITOLO CENTRALE
    ----------------------- */
    .hero-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
        max-width: 1200px;
        padding: 0 20px;
    }

    /* Titolo line 1 */
    .title-line1 {
        font-size: 60px;
        font-weight: 300;
        margin: 0;
        line-height: 1.1;
    }

    /* Titolo line 2 */
    .title-line2 {
        font-size: 80px;
        font-weight: 700;
        margin: 0;
        line-height: 1.05;
        white-space: nowrap;
    }

    /* Sottotitolo */
    .subtitle {
        margin-top: 25px;
        font-size: 20px;
        line-height: 1.4;
    }

    /* ----------------------
    BOX INFORMATIVA A SINISTRA
    ----------------------- */
    .hero-left {
        position: absolute;
        bottom: 60px;
        left: 60px;   /* allineato al logo */
        z-index: 2;
    }

    .box-info {
        width: 360px;
        padding: 25px;
        border-radius: 16px;

        text-align: left;

        backdrop-filter: blur(14px);
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .box-info h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .box-info p {
        font-size: 15px;
        line-height: 1.4;
    }

    /* ----------------------
    RESPONSIVE
    ----------------------- */
    @media (max-width: 768px) {

        .title-line1 { font-size: 38px; }
        .title-line2 { font-size: 50px; }

        .hero-left {
            position: relative;
            bottom: auto;
            left: auto;
            width: 100%;
            padding: 20px;
            margin-top: 40px;
        }

        .box-info {
            width: 100%;
            padding: 20px;
        }
    }

/* ----------------------
   SEZIONE METODO
----------------------- */
    .method-section {
        background: #ffffff;
        color: #000;
        padding: 120px 60px;
        text-align: center;
    }

    /* Titolo */
    .method-title h2 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .method-title p {
        font-size: 18px;
        font-weight: 300;
        color: #555;
        margin-bottom: 60px;
    }

    /* Container cards */
    .method-cards {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    /* Singola card */
    .method-card {
        background: #fff;
        width: 320px;
        padding: 40px 32px;
        border-radius: 24px;
        text-align: left;

        /* Ombra premium stile automotive */
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    /* Numero step */
    .step-number {
        display: block;
        font-size: 26px;
        font-weight: 400;
        color: #444;
        margin-bottom: 10px;
    }

    /* Titolo box */
    .method-card h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 14px;
    }

    /* Testo */
    .method-card p {
        font-size: 16px;
        line-height: 1.45;
        color: #333;
    }

    /* ----------------------
    RESPONSIVE
    ----------------------- */
    @media (max-width: 900px) {
        .method-cards {
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }
    }

/* ----------------------
   SEZIONE DETTAGLI
----------------------- */
    .value-section {
        background: #ffffff;
        color: #000;
        padding: 140px 60px 120px;
    }

    /* LAYOUT DUE COLONNE */
    .value-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
        margin-bottom: 80px;
    }

    .value-left h2 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .subtitle-value {
        font-size: 18px;
        color: #555;
        font-weight: 300;
    }

    .value-right p {
        font-size: 18px;
        line-height: 1.6;
        color: #333;
        max-width: 600px;
    }

    /* ----------------------
    IMMAGINE + BOX GLASS
    ----------------------- */

    .value-image-container {
        position: relative;
        width: 100%;
        height: 350px; /* oppure 50% dell'altezza attuale */
        overflow: hidden; /* necessario per “tagliare” l’immagine */
    }

    .value-image {
        width: 100%;
        height: 100%;        /* ora occupa tutta l’altezza del container */
        object-fit: cover;   /* mantiene proporzioni e fa un crop elegante */
        border-radius: 32px; 
        display: block;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

    .value-image-box {
        position: absolute;
        bottom: 40px;     /* POSIZIONE BASSO-SINISTRA → fondamentale */
        left: 40px;

        max-width: 380px;
        padding: 24px 26px;
        border-radius: 18px;

        backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #fff;
    }

    .value-image-box h3 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .value-image-box p {
        font-size: 15px;
        line-height: 1.4;
        font-weight: 300;
    }

    /* ----------------------
    RESPONSIVE
    ----------------------- */

    @media (max-width: 960px) {
        .value-content {
            flex-direction: column;
            gap: 30px;
        }

        .value-right p {
            max-width: 100%;
        }
    }

    @media (max-width: 600px) {
        .value-image-box {
            bottom: 20px;
            left: 20px;
            max-width: 300px;
            padding: 18px 20px;
        }

        .value-image {
            border-radius: 26px;
        }
    }

/* ----------------------
   SEZIONE WHY'
----------------------- */

    .why-section {
        padding: 50px 0;
        display: flex;
        align-items: center;      /* centra verticalmente testo e grafica */
        justify-content: flex-start; /* 🔥 NON centrare tutto, altrimenti la grafica si muove */
        gap: 140px;               /* distanza equilibrata tra testo e grafica */
    }

    .why-title {
        font-size: 42px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 25px;
        color:#000
    }

    .why-left {
        max-width: 600px;
        margin-left: 60px;   /* identico a “Oltre l’aspetto” */
    }

    .why-left h2 {
        font-size: 46px;
        font-weight: 700;
        margin-bottom: 30px;
    }

    .why-subtext {
        font-size: 18px;
        line-height: 1.6;
        color: #333;
    }

    /* ----------------------
    CERCHIO + TESTI
    ----------------------- */

    .why-right {
        flex: 0 0 auto;     /* NON deve allargarsi */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .circle-wrapper {
        width: 480px;
        height: 480px;
        position: relative;
    }

    .circle {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        border: 2px solid rgba(0,0,0,0.15);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .circle-center-image {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
    }

    /* ----------------------
    POSIZIONAMENTO TESTI ATTORNO AL CERCHIO
    ----------------------- */

    .circle-label {
        position: absolute;
        font-size: 15px;
        text-align: center;
        width: 150px;
        color: #222;
        line-height: 1.3;
    }

    /* posizioni precise */
    .label-top {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .label-top-right {
        top: 18%;
        right: 0;
        transform: translateX(15px);
    }

    .label-right {
        top: 50%;
        right: 0;
        transform: translate(80px, -50%);
    }

    .label-bottom-right {
        bottom: 18%;
        right: 0;
        transform: translateX(20px);
    }

    .label-bottom {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .label-bottom-left {
        bottom: 18%;
        left: 0;
        transform: translateX(-20px);
    }

    .label-left {
        top: 50%;
        left: 0;
        transform: translate(-85px, -50%);
    }

    .label-top-left {
        top: 18%;
        left: 0;
        transform: translateX(-20px);
    }

    /* ----------------------
    RESPONSIVE
    ----------------------- */

    @media (max-width: 1100px) {
        .why-section {
            flex-direction: column;
            align-items: center;
            text-align: left;
        }

        .why-left {
            max-width: 700px;
            text-align: left;
        }

        .circle-wrapper {
            margin-top: 40px;
            transform: scale(0.9);
        }
    }

    @media (max-width: 700px) {
        .circle-wrapper {
            transform: scale(0.75);
            margin-top: 20px;
        }

        .circle-label {
            font-size: 13px;
            width: 100px;
        }
    }

/* ----------------------
   SEZIONE FORM'
----------------------- */
    /* SEZIONE INTERA */
    .contact-master {
        padding: 120px 0 40px;
        text-align: center;
        background: #0B1F3A;
    }

    /* TITOLI */
    .contact-headline {
        color: #fff;
        font-size: 48px;
        font-weight: 300;
        line-height: 1.2;
    }

    .contact-headline span {
        font-weight: 700;
    }

    .contact-subheadline {
        color: #d2d8e4;
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 50px;
    }

    /* BOX GLASS */
    .contact-glassbox {
        width: 80%;
        max-width: 1100px;
        margin: auto;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(18px);
        border-radius: 26px;
        padding: 50px;
        box-shadow: 0px 25px 60px rgba(0,0,0,0.45);
    }

    /* RIGHE A DUE COLONNE */
    .double-row {
        display: flex;
        gap: 40px;
        margin-bottom: 30px;
    }

    .field {
        flex: 1;
        text-align: left;
        color: #fff;
    }

    /* LABELS */
    .field label {
        display: block;
        font-size: 15px;
        margin-bottom: 6px;
        opacity: 0.9;
    }

    /* INPUT E SELECT */
    .field input,
    .field select {
        width: 100%;
        padding: 14px 16px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255,255,255,0.25);
        color: #fff;
        font-size: 15px;
        outline: none;
        transition: 0.25s;
    }

    .field input:focus,
    .field select:focus {
        background: rgba(255,255,255,0.25);
    }

    /* TIPO DI SUPERFICIE */
    .surface-group {
        margin-top: 20px;
        text-align: left;
    }

    .surface-label {
        color: #fff;
        font-size: 15px;
        margin-bottom: 14px;
        display: block;
    }

    .surface-options {
        display: flex;
        justify-content: center;
        gap: 50px;
    }

    /* CHECKBOX */
    .check-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-size: 15px;
    }

    .check-item input {
        appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 6px;
        border: 2px solid #fff;
        position: relative;
        cursor: pointer;
        transition: 0.25s;
    }

    .check-item input:checked::after {
        content: "✔";
        position: absolute;
        font-size: 14px;
        left: 3px;
        top: -1px;
        color: #fff;
    }

    /* BOTTONE GLASS (IDENTICO ALL'HEADER) */
    .glass-btn {
        margin-top: 35px;
        padding: 14px 40px;
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,0.35);
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        backdrop-filter: blur(10px);
        transition: 0.3s;
    }

    .glass-btn:hover {
        background: rgba(255,255,255,0.25);
    }

    /* FOOTER MUST DETAILING */
    .must-footer {
        width: 100%;
        background: #0B1F3A; /* colore della tua sezione */
        padding: 60px 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid rgba(255,255,255,0.15);
        margin-top: 80px;
    }

    /* LOGO */
    .footer-logo {
        height: 45px; /* regola se necessario */
        opacity: 0.85;
        transition: 0.2s;
    }

    .footer-logo:hover {
        opacity: 1;
    }

    /* CONTATTI A DESTRA */
    .footer-right {
        text-align: right;
        color: #fff;
        line-height: 1.6;
    }

    .footer-right h4 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .footer-right a {
        display: block;
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        margin-bottom: 4px;
        opacity: 0.85;
        transition: 0.2s;
    }

    .footer-right a:hover {
        opacity: 1;
    }

    /* ICONA LINKEDIN */
    .linkedin-icon img {
        width: 22px;
        margin-top: 12px;
        opacity: 0.85;
        transition: 0.2s;
    }

    .linkedin-icon img:hover {
        opacity: 1;
    }

    /* RESPONSIVE */
    @media (max-width: 800px) {
        .must-footer {
            flex-direction: column;
            text-align: center;
            gap: 30px;
        }

        .footer-right {
            text-align: center;
        }
    }

