/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #faf9f7;
    color: #1f1e1d;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============================================
   TIPOGRAFIA DI LUSSO
============================================ */
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.gold {
    color: #b8860b;
    /* Oro satinato */
    background: linear-gradient(135deg, #c99a2c 0%, #d4af37 40%, #f5e56b 70%, #c99a2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HEADER MINIMALE
============================================ */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brand {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.brand-sub {
    font-weight: 400;
    color: #6b6a68;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.brand-divider {
    margin: 0 10px;
    color: #b8860b;
    font-weight: 300;
}

.brand-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f1e1d;
    letter-spacing: 0.06em;
}

.header-phone {
    font-size: 0.95rem;
    font-weight: 500;
    color: #b8860b;
    border: 1px solid rgba(184, 134, 11, 0.3);
    padding: 8px 20px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background: #b8860b;
    color: #fff;
    border-color: #b8860b;
}

/* ============================================
   HERO
============================================ */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #faf9f7 0%, #f3f1ed 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b8860b;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.hero-text h1 {
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 1.15rem;
    color: #3d3c3a;
    max-width: 520px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-note {
    font-size: 0.85rem;
    color: #7a7a78;
    margin-bottom: 32px;
    border-left: 3px solid #b8860b;
    padding-left: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 60px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.btn-primary {
    background: #1f1e1d;
    color: #faf9f7;
}

.btn-primary:hover {
    background: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(184, 134, 11, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #1f1e1d;
    border: 1px solid #1f1e1d;
}

.btn-secondary:hover {
    border-color: #b8860b;
    color: #b8860b;
    transform: translateY(-2px);
}

.hero-visual {
    background: transparent;
    border-radius: 0;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: url('img/villa-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    
    /* --- EFFETTO LUSSO POTENZIATO --- */
    border: 2px solid rgba(212, 175, 55, 0.6); /* Cornice oro più spessa e luminosa */
    border-radius: 10px; /* Angoli più morbidi e moderni */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 10px 25px rgba(184, 134, 11, 0.15); /* Ombra 3D molto più profonda con un alone dorato sfumato */
}

.placeholder-label {
    background: rgba(31, 30, 29, 0.75);
    backdrop-filter: blur(4px);
    color: #faf9f7;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ============================================
   FRASE RUSKIN
============================================ */
.ruskin-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #b8860b;
    border-left: 3px solid #b8860b;
    padding-left: 20px;
    margin-top: 16px;
    line-height: 1.5;
    max-width: 480px;
}

.ruskin-author {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    color: #7a7a78;
    margin-top: 4px;
    letter-spacing: 0.06em;
}

/* ============================================
   HERO (AGGIORNAMENTO FULL-WIDTH FINALE)
============================================ */

/* Contenitore per la parte finale a piena larghezza sotto la griglia a 2 colonne */
.hero-bottom {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(184, 134, 11, 0.2); /* Un elegante separatore dorato sfumato */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 992px) {
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
   PERIMETRO (cosa facciamo / cosa non facciamo)
============================================ */
.perimetro {
    padding: 36px 0;
    background: #1f1e1d;
    color: #faf9f7;
}

.perimetro-box {
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.perimetro-icon {
    color: #b8860b;
    margin: 0 12px;
    font-weight: 300;
}

.perimetro-escluso {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #a09e9a;
    font-weight: 300;
}

/* ============================================
   PRODOTTI
============================================ */
.prodotti {
    padding: 80px 0 100px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b8860b;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.section-desc {
    color: #5a5956;
    font-weight: 300;
    margin-top: 8px;
}

.prodotti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.prodotto-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.prodotto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
}

.prodotto-image {
    position: relative;
    overflow: hidden;
    background: #f3f1ed;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prodotto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prodotto-card:hover .prodotto-image img {
    transform: scale(1.03);
}

.prodotto-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #b8860b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 16px;
    border-radius: 40px;
}

.prodotto-body {
    padding: 24px 24px 28px;
}

.prodotto-body h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.prodotto-desc {
    font-size: 0.9rem;
    color: #4a4946;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 12px;
}

.prodotto-dettaglio {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b8860b;
    font-weight: 500;
}

/* ============================================
   PDF BANNER
============================================ */
.pdf-banner {
    padding: 80px 0;
    background: #1f1e1d;
    color: #faf9f7;
}

.pdf-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .pdf-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.pdf-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b8860b;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.pdf-text h2 {
    margin-bottom: 16px;
}

.pdf-text p {
    color: #c5c3be;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pdf-features {
    list-style: none;
    margin-bottom: 28px;
}

.pdf-features li {
    padding: 4px 0;
    color: #e0ded9;
    font-weight: 300;
    font-size: 0.95rem;
}

.pdf-features li::before {
    content: '';
    display: none;
}

.btn-pdf {
    background: #b8860b;
    color: #1f1e1d;
    font-weight: 600;
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-pdf:hover {
    background: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(184, 134, 11, 0.3);
}

.pdf-visual {
    background: #2a2927;
    border-radius: 16px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 134, 11, 0.15);
}

.pdf-mockup {
    padding: 40px;
    color: #7a7873;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================
   FORM
============================================ */
.form-section {
    padding: 80px 0 100px;
    background: #faf9f7;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.form-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b8860b;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.form-intro h2 {
    margin-bottom: 16px;
}

.form-intro p {
    color: #4a4946;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 24px;
}

.form-contatti-rapidi {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.form-contatti-rapidi p {
    margin-bottom: 4px;
}

.contact-phone {
    font-size: 1.25rem;
    font-weight: 400;
    color: #b8860b;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    letter-spacing: 0;
    display: block;
    margin: 4px 0 8px;
}

.form-orario {
    font-size: 0.8rem;
    color: #7a7a78;
}

/* ---- Stili del form ---- */
.form-main {
    background: #ffffff;
    padding: 40px 44px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
    .form-main {
        padding: 28px 20px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a4946;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e2dfda;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: #faf9f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
}

.privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b8860b;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.privacy label {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #4a4946;
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: #1f1e1d;
    color: #faf9f7;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    background: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(184, 134, 11, 0.25);
}

.form-note {
    font-size: 0.78rem;
    color: #7a7a78;
    text-align: center;
    margin-top: 14px;
    font-weight: 300;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    padding: 48px 0 32px;
    background: #1f1e1d;
    color: #a09e9a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

.footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #faf9f7;
}

.footer-division {
    font-size: 0.8rem;
    color: #b8860b;
    letter-spacing: 0.06em;
}

.footer-contacts a {
    color: #faf9f7;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #b8860b;
}

.footer-contacts p {
    margin-bottom: 4px;
}

.footer-address {
    font-size: 0.85rem;
    color: #7a7873;
}

.footer-legal {
    font-size: 0.75rem;
}

.footer-legal a {
    color: #7a7873;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #b8860b;
}

/* ============================================
   UTILITY
============================================ */
.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 16px;
}



/* ============================================
   LOGO NEL FOOTER (ridimensionato via CSS)
============================================ */
.footer-logo {
    height: 50px;          /* <-- QUI decidi l'altezza finale */
    width: auto;           /* mantiene le proporzioni */
    display: block;
    margin-bottom: 12px;
}

/* Se vuoi trasformarlo in bianco (perfetto su sfondo scuro) */
.footer-logo-white {
    filter: brightness(0) invert(1) opacity(0.9);
}





/* ============================================
   MARCHI E PULSANTI NEI PRODOTTI
============================================ */
.marchio {
    font-size: 0.7rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b8860b;
    background: rgba(184, 134, 11, 0.08);
    padding: 2px 12px;
    border-radius: 40px;
    display: inline-block;
    margin-left: 4px;
    font-weight: 500;
}

.btn-pdf-small {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b8860b;
    border: 1px solid rgba(184, 134, 11, 0.2);
    padding: 6px 18px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.btn-pdf-small:hover {
    background: #b8860b;
    color: #ffffff;
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.15);
}



/* ============================================
   PULSANTI PDF FORNITORI (nel banner)
============================================ */
.pdf-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 16px;
}

@media (max-width: 600px) {
    .pdf-buttons-grid {
        grid-template-columns: 1fr;
    }
}

.btn-pdf-marchio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 12px;
    color: #faf9f7;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-pdf-marchio:hover {
    background: rgba(184, 134, 11, 0.15);
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.15);
}

.pdf-marchio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.04em;
}

.pdf-tipo {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a7873;
    margin-top: 2px;
}

.pdf-note {
    font-size: 0.75rem;
    color: #7a7873;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.pdf-note-icon {
    color: #b8860b;
    margin: 0 8px;
}

/* ============================================
   HEADER CONTATTO
============================================ */
.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.contact-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a09e9a;
    font-weight: 400;
    margin-bottom: 1px;
}

.header-phone {
    font-size: 1.05rem;
    font-weight: 500;
    color: #b8860b;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.header-phone:hover {
    color: #d4af37;
}

@media (max-width: 600px) {
    .header-contact {
        align-items: flex-end;
    }
    .contact-label {
        font-size: 0.5rem;
    }
    .header-phone {
        font-size: 0.9rem;
    }
}


/* ============================================
   LINK AL SITO PRINCIPALE NEL FOOTER
============================================ */
.footer-link-sito {
    margin-top: 8px;
}

.footer-link-sito a {
    font-size: 0.7rem;
    color: #7a7873;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.03em;
}

.footer-link-sito a:hover {
    color: #b8860b;
}