﻿:root {
    --accent: #ed8b40;
    --accent-hover: #f59f5c;
    --panel: rgba(10, 10, 12, 0.88);
    --panel-border: rgba(255, 255, 255, 0.10);
    --text: #ffffff;
    --muted: #d0d0d5;
    --muted-soft: #a7a7ae;
    --danger: #ff8c8c;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: var(--text);
    font-family: "Roboto Condensed", "Segoe UI", Arial, sans-serif;
}

body {
    overflow-x: hidden;
}

.esselunga-page {
    min-height: 100vh;
}

.esselunga-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #000;
}

.esselunga-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #000;
}

.esselunga-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 15%, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0.40) 62%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
}

.esselunga-hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 32px));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 502px;
    padding-bottom: 36px;
}

/* BOX TESTO SOPRA */
.esselunga-copy-top,
.esselunga-copy-bottom {
    width: 100%;
    max-width: 760px;
    text-align: center;
    background: rgba(8, 8, 10, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
    padding: 18px 22px;
}

.esselunga-copy-top {
    margin-bottom: 14px;
}

.esselunga-copy-bottom {
    margin-top: 14px;
}

.esselunga-copy-top h2 {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.esselunga-copy-top p {
    margin: 0 0 8px;
    color: #f1f1f3;
    font-size: 1.08rem;
    line-height: 1.7;
}

    .esselunga-copy-top p:last-child {
        margin-bottom: 0;
    }

.esselunga-copy-bottom h3 {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.esselunga-copy-bottom p {
    margin: 0 0 8px;
    color: #e7e7ea;
    font-size: 0.98rem;
    line-height: 1.7;
}

    .esselunga-copy-bottom p:last-child {
        margin-bottom: 0;
    }

/* BOX FORM */
.esselunga-card {
    width: 100%;
    background: var(--panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

    .esselunga-card::before {
        content: "";
        display: block;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--accent), #ffb06f);
    }

.esselunga-card-header {
    padding: 26px 28px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.esselunga-card-body {
    padding: 24px 28px 28px;
}

.esselunga-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(237, 139, 64, 0.12);
    border: 1px solid rgba(237, 139, 64, 0.28);
    color: #ffd9bf;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.esselunga-title {
    margin: 0;
    font-size: clamp(2.1rem, 2.8vw, 3rem);
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

    .esselunga-title::after {
        content: "";
        display: block;
        width: 76px;
        height: 4px;
        margin-top: 14px;
        border-radius: 999px;
        background: var(--accent);
    }

.esselunga-subtitle {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

/* FORM */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

    .form-group-modern.full {
        grid-column: 1 / -1;
    }

.form-label-modern {
    margin-bottom: 9px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #f3f3f3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control-modern {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(6, 6, 8, 0.86);
    color: #fff;
    font-size: 16px;
    padding: 0 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .form-control-modern::placeholder {
        color: #8d8d95;
    }

    .form-control-modern:hover {
        border-color: rgba(255, 255, 255, 0.18);
    }

    .form-control-modern:focus {
        border-color: rgba(237, 139, 64, 0.92);
        background: rgba(10, 10, 12, 0.98);
        box-shadow: 0 0 0 4px rgba(237, 139, 64, 0.16);
    }

.form-hint-modern {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted-soft);
}

.text-danger {
    margin-top: 6px;
    color: var(--danger) !important;
    font-size: 12px;
}

.validation-summary-errors,
.validation-summary-valid {
    margin-bottom: 16px;
}

.validation-summary-errors {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(120, 25, 25, 0.22);
    border: 1px solid rgba(255, 120, 120, 0.18);
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
        color: #ffb0b0;
    }

.actions-row {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

.btn-primary-modern {
    appearance: none;
    border: 0;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #ffab64);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 16px 28px rgba(237, 139, 64, 0.25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn-primary-modern:hover {
        transform: translateY(-1px);
        box-shadow: 0 20px 34px rgba(237, 139, 64, 0.34);
        filter: brightness(1.03);
    }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .esselunga-hero-content {
        padding-top: 390px;
    }
}

@media (max-width: 768px) {
    .esselunga-hero-bg {
        object-fit: contain;
        object-position: center top;
    }

    .esselunga-hero-content {
        width: calc(100% - 20px);
        padding-top: 290px;
        padding-bottom: 24px;
    }

    .esselunga-copy-top,
    .esselunga-copy-bottom {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .esselunga-copy-top {
        margin-bottom: 14px;
    }

    .esselunga-copy-bottom {
        margin-top: 14px;
    }

    .esselunga-copy-top h2 {
        font-size: 1.28rem;
        line-height: 1.18;
    }

    .esselunga-copy-top p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .esselunga-card-header,
    .esselunga-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .esselunga-badge {
        font-size: 13px;
        padding: 8px 14px;
    }

    .esselunga-title {
        font-size: 2rem;
        line-height: 1.05;
    }

    .esselunga-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group-modern.full {
        grid-column: auto;
    }

    .form-label-modern {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .form-control-modern {
        height: 56px;
        font-size: 1rem;
        padding: 0 16px;
    }

        .form-control-modern::placeholder {
            font-size: 1rem;
        }

    .form-hint-modern {
        line-height: 1.5;
    }

    .text-danger {
        font-size: 0.9rem;
    }

    .actions-row {
        display: block;
        margin-top: 26px;
    }

    .btn-primary-modern {
        width: 100%;
        height: 58px;
        font-size: 1.05rem;
    }

    .esselunga-copy-bottom h3 {
        font-size: 0.92rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .esselunga-copy-bottom p {
        font-size: 0.94rem;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .esselunga-hero-content {
        padding-top: 200px;
    }

    .esselunga-copy-top,
    .esselunga-copy-bottom {
        padding: 14px 12px;
    }

        .esselunga-copy-top h2 {
            font-size: 1.15rem;
        }

        .esselunga-copy-top p {
            font-size: 0.95rem;
        }

    .esselunga-title {
        font-size: 1.8rem;
    }

    .esselunga-subtitle {
        font-size: 0.96rem;
    }

    .form-label-modern {
        font-size: 1.10rem;
    }

    .form-control-modern {
        height: 54px;
        font-size: 0.98rem;
    }

    .btn-primary-modern {
        height: 56px;
        font-size: 1rem;
    }

    .esselunga-copy-bottom h3 {
        font-size: 0.86rem;
    }

    .esselunga-copy-bottom p {
        font-size: 1.10rem;
    }
}
