:root {
    --primary-color: #005792;
    --accent-color: #00A8CC;
    --bg-light: #effdff;
    --text-color: #222;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Full Width Layout for Specific Page */
.page-id-515,
.page-id-515 body,
.page-id-515 .site,
.page-id-515 .site-content,
.page-id-515 .content-area,
.page-id-515 .container,
.page-id-515 .entry-content,
.page-id-515 .wpb-content-wrapper,
.page-id-515 .vc_row,
.page-id-515 .row {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.page-id-515 .site-main>*,
.page-id-515 .wpb_row,
.page-id-515 .vc_row-fluid,
.page-id-515 .content-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

.vc_column_container>.vc_column-inner {
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

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

/* Contact */
.contact {
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
}

.contact-container {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 60%;
    width: 100%;
}

/* Contact Form (WPCF7) */
.wpcf7-form {
    padding: 30px 20px;
    background: #fff;
}

.wpcf7-form label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 0.2rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin: 1px 0;
    box-sizing: border-box;
}

.wpcf7-form .citta-cap-wrap {
    display: flex;
    gap: 4%;
}

.wpcf7-form .citta-cap-wrap .citta,
.wpcf7-form .citta-cap-wrap .cap {
    flex: 1;
}

.wpcf7-form .citta-cap-wrap>* {
    flex: 1 1 0;
    /* Città e CAP stessa larghezza */
}

.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
    line-height: 1.4;
}

.wpcf7-form .wpcf7-acceptance label,
.wpcf7-form .wpcf7-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    text-align: left;
}

.wpcf7-form input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.wpcf7-form .divprivacy {
    margin-top: 30px;
    text-align: left;
}

.wpcf7-form .divprivacy label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: inline-block;
    margin-top: 12px;
}

.wpcf7-form a {
    color: #e91e63;
    font-weight: 500;
    text-decoration: none;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0.5em -0.5em 1em;
}

.wpcf7-form input[type="submit"] {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 45px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
    transition: background 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #357ab7;
}

:root {
    --maxw-header: 1440px;
    --text: #111111;
    --primary: #0d9488;
    --blue: #0a365e;
    --muted: #6b7683;
    --white: #fff;
    --shadow: 0 10px 25px rgba(12, 40, 62, .12);
}

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

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #f8f9fb;
}

a {
    text-decoration: none;
    color: white;
}

/* HEADER */
.gds-header {
    width: 100%;
    background: linear-gradient(90deg, #f3eee2, #dfeae9, #d1e2eb);
    position: relative;
    z-index: 1000;
}

.gds-header-inner {
    max-width: var(--maxw-header);
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 500px;
}

.gds-logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--blue);
}

.gds-logo a {
    text-decoration: none;
    color: inherit;
}

.gds-nav {
    z-index: 1001;
}

.gds-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 700;
}

.gds-nav a {
    text-decoration: none;
    color: var(--blue);
    position: relative;
    padding-bottom: 2px;
}

.gds-nav a:hover {
    text-decoration: underline;
}

/* Burger */
.gds-burger {
    display: none;
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
}

.gds-burger-line {
    width: 22px;
    height: 2px;
    background: var(--blue);
    border-radius: 999px;
    position: relative;
    transition: transform .2s ease, opacity .2s ease;
}

.gds-burger-line::before,
.gds-burger-line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--blue);
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
}

.gds-burger-line::before {
    top: -6px;
}

.gds-burger-line::after {
    bottom: -6px;
}

.gds-burger.is-open .gds-burger-line {
    transform: rotate(45deg);
}

.gds-burger.is-open .gds-burger-line::before {
    top: 0;
    transform: rotate(-90deg);
}

.gds-burger.is-open .gds-burger-line::after {
    bottom: 0;
    opacity: 0;
}

/* HERO */
.hero {
    height: 50vh;
    min-height: 380px;
    display: grid;
    place-items: center;
    text-align: center;
    margin-bottom: 100px;
    color: #fff;
    background: url('https://images.unsplash.com/photo-1645046370274-44d26299757a?q=80&w=2924&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    position: relative;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.hero p {
    opacity: .9;
    margin-top: 10px;
}

/* CONTACT */
.contact {
    padding: 0 20px 80px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px 20px 28px;
    text-align: left;
}

.contact-container h2 {
    font-family: "helvetica", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #0a365e;
}

.contact-container p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.98rem;
}

/* Footer */
.section {
    padding: 72px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    margin-top: 72px;
    background: #0a1c2e;
    color: #cfd8e3;
    padding: 36px 0;
    text-align: center;
}

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

.footer-grid h4 {
    color: #fff;
    margin: 0 0 12px;
}

.footer-grid a {
    color: #cfd8e3;
    text-decoration: none;
}

.footer-grid a:hover {
    text-decoration: underline;
}

.footnote {
    margin-top: 24px;
    font-size: .9rem;
    color: #99a6b6;
}

/* ====== RESPONSIVE ====== */

@media (max-width:1024px) {
    .gds-header-inner {
        padding: 18px 24px;
        gap: 40px;
    }
}

@media (max-width:768px) {
    .gds-header-inner {
        padding: 14px 16px;
        gap: 16px;
    }

    .gds-logo {
        font-size: 16px;
    }

    .gds-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #f3eee2, #dfeae9, #d1e2eb);
        box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
        display: none;
    }

    .gds-nav ul {
        flex-direction: column;
        gap: 16px;
        padding: 12px 20px 18px;
    }

    .gds-nav.is-open {
        display: block;
    }

    .gds-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        height: auto;
        min-height: 280px;
        margin-bottom: 60px;
    }

    .section {
        padding: 48px 20px;
    }

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

    .footnote {
        font-size: .85rem;
    }
}

@media (max-width:480px) {
    .hero {
        min-height: 260px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 16px;
    }

    .contact {
        padding: 0 16px 60px;
    }

    .contact-container {
        padding: 20px 16px 24px;
    }
}
