/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #ffffff; /* sfondo globale bianco pulito */
}

/* Per la sezione camere aumenta o diminuisce lo spazio dell'ancora ! */
html {
    scroll-behavior: smooth;      /* scroll morbido */
    scroll-padding-top: 280px;    /* spazio sopra le sezioni ancorate (es. Le camere) */
}

/* LINK */
a {
    text-decoration: none;
    color: inherit;
}

/* TITOLI */
h1, h2, h3, h4 {
    font-family: "Playfair Display", serif;
    color: #2c2a24;
}

/* LAYOUT GENERALE */
.container {
    width: min(1120px, 100% - 2rem);
    margin-inline: auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 240, 0.97);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 50;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem; /* un filo più alto, respira meglio */
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #7ba839;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.logo-text {
    font-size: 0.9rem;
}

/* HEADER – font uguale a "L'agriturismo" */
.site-header .logo,
.site-header .logo-text {
    font-family: "Dancing Script", cursive !important;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #5c3a1c;              /* stesso colore del footer */
    text-transform: none !important;
}

/* NAV */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    padding-block: 0.25rem;
    color: #333;
    font-family: "Montserrat", sans-serif;  /* forziamo il font giusto */
    letter-spacing: 0.08em;
}

/* hover + active (classe is-active da JS) */
.main-nav a:hover,
.main-nav a.is-active {
    color: #6b543e; /* tono caldo come il logo */
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.12rem;
    width: 0;
    height: 2px;
    background: #7ba839;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}

/* NAV MOBILE */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #7ba839;          /* VERDE come i bottoni */
}

/* leggero feedback al tocco */
.nav-toggle:active {
    transform: scale(0.9);
}

/* HERO FULLSCREEN IN STILE FARMHOUSE THEME */
.hero-full {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* BACKGROUND IMAGE */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* OVERLAY SCURO */
.hero-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
    z-index: 2;
}

/* CONTENUTO CENTRALE */
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.hero-sub {
    font-family: "Dancing Script", cursive;
    font-size: 1.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.18em;  /* micro boost rispetto a prima */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.85;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 18px;
    margin: 0 auto 8px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: "";
    width: 4px;
    height: 10px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* BOTTONI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.15s ease;
}

.btn-primary {
    background: #7ba839;
    color: #fff;
    box-shadow: 0 10px 25px rgba(123, 168, 57, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(123, 168, 57, 0.45);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
    margin-left: 0.75rem;
}

.btn-outline:hover {
    background: #fff;
    color: #2c2a24;
}

/* SEZIONI GENERICHE */
.section {
    padding-block: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* TITOLI SEZIONI – più grandi */
.section-header h2,
.home-intro-text h2,
.food-text h2,
.location-text h2 {
    font-size: 2.2rem; /* base, poi sotto li uniformiamo */
    font-weight: 700;
}

/* FEATURES (sezione leggermente beige) */
.features {
    background: #f2ecdd;
    padding-block: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* ABOUT (beige chiaro) */
.about {
    background: #faf7f0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.2rem;
    background: #ccc;
}

/* PRODUCTS (beige chiaro) */
.products {
    background: #faf7f0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem;
    background: #ddd;
    margin-bottom: 0.75rem;
}

.product-price {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 700;
    color: #7ba839;
}

/* AGRITURISMO (beige medio) */
.agri {
    background: #f2ecdd;
}

.agri-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.agri-list {
    list-style: disc;
    margin-left: 1.25rem;
    margin-block: 1rem 1.5rem;
}

.agri-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.2rem;
    background: #ccc;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: rgba(255, 248, 240, 0.97);
    color: #333;
    padding-block: 3rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    width: min(1120px, 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    font-size: 0.95rem;
}

/* LOGO footer – DEVE restare Dancing Script */
.footer-grid .footer-brand {
    font-family: "Dancing Script", cursive !important;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5c3a1c;
}

/* Titoli colonne footer (Contatti, Orari) */
.site-footer h4:not(.footer-brand) {
    font-family: "Playfair Display SC", serif !important;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #222;
    letter-spacing: 0.03em;
}

/* Testo + link */
.site-footer p,
.site-footer a {
    color: #555;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.15s ease, color 0.15s ease;
}

/* Hover link */
.site-footer a:hover {
    color: #8aa65b; /* verde elegante */
}

/* Parte finale */
.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* INTRO HOME RUSTICA (SEZIONE AGRITURISMO) */
.home-intro {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("../img/leaves.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-block: 4.5rem;
}

/* BOX INTERNA */
.home-intro-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
    padding: 2.8rem 2.6rem;
    border-radius: 1.6rem;
    background: #fdf7ec;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* TESTI INTRO */
.home-intro-tagline {
    font-family: "Dancing Script", cursive;
    font-size: 1.7rem;      /* PIÙ GRANDE, ma non esagerato */
    line-height: 1.2;
    color: #5c3a1c;
    margin-top: 0;          /* stessa posizione verticale di prima */
    margin-bottom: 0.9rem;  /* stessa distanza dal testo sotto di prima */
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8a6b38;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.home-intro-text h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.home-intro-text p {
    font-size: 1rem;
    color: #555;
}

/* FOTO INTRO – SLIDER */
.home-intro-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transform: translateY(2px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-intro-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* slide visibile */
.home-intro-photo img.is-active {
    opacity: 1;
}

.home-intro-inner:hover .home-intro-photo {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* CAMERE */
.home-rooms {
    background: #f1f1f1;
    padding-block: 4rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* CARD FIGURINA */
.room-card {
    background: #ffffff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.10);
}

/* IMMAGINE IN ALTO */
.room-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

/* qui metti le foto vere quando le hai */
.room-singola {
    background-image: url("../img/camera-singola.jpg");
}

.room-doppia {
    background-image: url("../img/camera-doppia.jpg");
}

.room-tripla {
    background-image: url("../img/camera-tripla.jpg");
}

.room-quadrupla {
    background-image: url("../img/camera-quadrupla.jpg");
}

/* CONTENUTO SOTTO */
.room-card-body {
    padding: 1.1rem 1.25rem 1.3rem;
}

.room-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.room-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.9rem;
}

.room-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    margin-bottom: 1rem;
}

.service-pill {
    position: relative;
    padding: 0.25rem 0.8rem 0.25rem 1.4rem;
    border-radius: 999px;
    background: #f5f5f5;
    border: 1px solid rgba(0,0,0,0.04);
    font-size: 0.82rem;
    color: #555;
    white-space: nowrap;
}

/* “icona” tonda minimale a sinistra */
.service-pill::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ba839; /* verde agriturismo */
}

/* Riga con ospiti + prezzo */
.room-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.room-guests {
    color: #777;
}

.room-price {
    font-weight: 700;
    color: #7ba839;
}

.home-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    width: 100%;
}

/* LA NOSTRA TAVOLA – SEZIONE CON LEAVES UNICO AI LATI */
.home-food {
    position: relative;
    overflow: hidden;
    padding-block: 4.5rem;
    background-color: #ffffff;
    background-image: url("../img/leaves-food.png"); /* leaves dx/sx */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* GRID CONTENUTO */
.food-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.food-text p {
    margin-bottom: 1rem;
}

.food-text h2 {
    margin-bottom: 1.4rem;  /* prova 1.4 / 1.6 finché ti piace */
}

/* FOTO */
.food-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.2rem;
    background-image: url("../img/cucina.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* DOVE CI TROVIAMO – sezione grigia */
.home-location {
    background: #f1f1f1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.location-box {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    align-items: center;
}

.location-text h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.location-text p {
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.6;
}

.location-cta {
    margin-top: 1.5rem;   /* spazio tra testo e bottone */
}

.location-map iframe {
    border-radius: 1.2rem;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

/* RESPONSIVE NAV + LAYOUT GENERALE */
@media (max-width: 900px) {
    .main-nav {
        position: absolute;
        top: 100%;               /* subito sotto l'header */
        left: 0;
        right: 0;
        background: #faf7f0;     /* beige del sito */
        padding: 0.9rem 1.5rem 1.2rem;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
        display: none;
        flex-direction: column;
        gap: 0.6rem;
        z-index: 40;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.4rem;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        width: 100%;
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        padding: 0.35rem 0;
        text-align: left;
    }

    .main-nav a::after {
        bottom: -0.05rem;
        height: 2px;
    }

    .nav-toggle {
        display: block;
        color: #7ba839 !important; /* VERDE come i bottoni */
    }

    .features-grid,
    .products-grid,
    .footer-grid,
    .about-grid,
    .agri-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        max-width: 100%;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    /* camere: su tablet 2 colonne */
    .rooms-grid {
        grid-template-columns: 1fr 1fr;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    .home-intro-inner {
        grid-template-columns: 1fr;
        padding: 2.2rem 1.4rem;
    }

    .home-intro-photo {
        order: -1;
    }
}

/* sotto i 600px → una colonna sola per le camere */
@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* --- DOVE CI TROVIAMO: layout mobile --- */
@media (max-width: 900px) {

    .home-location {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-location .container {
        width: 100%;
        margin-inline: 0;
        padding-inline: 0;      /* mappa quasi full-screen */
    }

    .location-box {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .location-text {
        padding-inline: 1.5rem;
        text-align: center;
    }

    .location-text h2 {
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .location-text p {
        max-width: 26rem;
        margin-inline: auto;
        font-size: 0.98rem;
    }

    .location-map {
        width: 100%;
    }

    .location-map iframe {
        width: 100%;
        height: 260px;          /* altezza comoda su mobile */
        border-radius: 0;       /* striscia piena */
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    }

    .location-cta {
        padding-inline: 1.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        display: flex;
        justify-content: center;
    }

    .location-cta .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}

/* Spazio sotto "Dove ci troviamo" senza buco bianco */
.section.home-location {
    padding-bottom: 3rem;   /* spazio grigio dentro la sezione */
}

.home-location {
    margin-bottom: 0;       /* niente gap bianco tra sezione e footer */
}

footer {
    margin-top: 0 !important;
}

/* TITOLI COERENTI IN TUTTO IL SITO */
.home-intro-text h2,
.section-header h2,
.food-text h2,
.location-text h2 {
    font-size: 2.4rem;   /* uguale ovunque */
    font-weight: 700;
    line-height: 1.15;
}

/* Font titoli principale */
h2 {
    font-family: "Playfair Display SC", serif !important;
    font-variant: small-caps;
    letter-spacing: 0.03em;
}

.home-intro-tagline {
    font-family: "Dancing Script", cursive;
    font-size: 1.3rem !important;   /* più grande di prima */
    color: #5c3a1c !important;      /* stesso colore di prima */
    margin-bottom: 0.9rem;          /* stessa distanza di prima */
}

/* ===================== CONTATTI + RICHIESTA PRENOTAZIONE ===================== */

.contact-strip {
    background: #fdf7ec; /* beige chiaro tipo fattoria */
    padding-block: 3rem 3.5rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* --- COLONNA SINISTRA --- */

.logo-footer {
    display: block;
    font-family: "Dancing Script", cursive !important;
    font-size: 3.2rem !important;
    font-weight: 700;
    line-height: 1.1 !important;
    color: #5c3a1c !important;
    margin-bottom: 2rem;
}

.contact-howto {
    max-width: 28rem;
    font-size: 0.95rem;
    color: #555;
}

.contact-quick {
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-icon {
    width: 28px;
    height: 28px;
    border: 2px solid #8abf57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #8abf57;
}

.contact-text {
    font-size: 1rem;
    color: #3e3e3e;
}

/* Titoli */

.contact-title {
    font-family: "Playfair Display SC", serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: #3b2a1e;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

/* Versione più piccola SOLO per "Come raggiungerci" */
.small-title {
    font-size: 1.3rem !important;
    margin-top: 1rem !important;
}

/* --- COLONNA DESTRA: BOX FORM --- */

.contact-form-box {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    padding: 1.75rem 1.9rem 1.9rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form-box h3 {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
}

/* Messaggio di successo sotto il titolo */

.form-success {
    display: none;                 /* nascosto di default */
    margin-bottom: 1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: #2e7d32;           /* verde successo */
    color: #fff;
    font-size: 0.9rem;
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    text-align: center;
}

.form-success.visible {
    display: block;
}

.form-success.error {
    background: #c62828;           /* rosso errore */
}

/* --- GRID DEL FORM --- */

.contact-form {
    display: grid;
    gap: 1rem 1.25rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem 1.25rem;
}

.contact-form-row-full {
    grid-template-columns: 1fr;
}

/* --- INPUT + TEXTAREA (STILE FIGO, COME PRIMA) --- */

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.14);
    padding: 0.6rem 0.9rem;
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    outline: none;
    background: #f5f3eb;          /* grigino/beige come sezione sopra */
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.contact-form textarea {
    border-radius: 1rem;
    min-height: 90px;
    resize: vertical;
}

/* Hover – micro luxury */

.contact-form input:hover,
.contact-form textarea:hover {
    background-color: #f9f6f1;
    border-color: #a4c97a;
}

/* Focus – click premium */

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #ffffff;
    border-color: #7ba839;
    box-shadow: 0 0 8px rgba(123,168,57,0.25);
    transform: scale(1.01);
}

/* Bottone */

.contact-submit {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* Responsive contatti */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-quick {
        gap: 0.5rem;
    }
}

/* FOOTER MINIMAL (copyright sotto la sezione contatti) */
.footer-minimal {
    background: #fdf7ec; /* stesso sfondo della sezione sopra */
    padding: 1rem 0;
    border-top: none !important; /* niente linea */
}

.footer-copy {
    width: min(1120px, 100% - 2rem);  /* allineato al container */
    margin: 0 auto;
    text-align: center;
    font-size: 0.85rem;
    color: #666;                      /* stesso tono testo del resto */
}

footer,
.footer-minimal {
    box-shadow: none !important;
}
