:root {
    --primary: #1E352F;      /* Forest Green Scuro */
    --accent: #C5A880;       /* Gold Elegante */
    --bg-warm: #F9F6F0;      /* Crema Morbido */
    --body-text: #2C2C2C;    /* Antracite per alta leggibilità */
    --white: #FFFFFF;
    --gray-light: #EFECE6;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-warm);
    color: var(--body-text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: bold;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Griglia con pattern grafico personalizzato */
.custom-pattern {
    background-color: var(--bg-warm);
    background-image: radial-gradient(var(--accent) 0.5px, transparent 0.5px), radial-gradient(var(--accent) 0.5px, var(--bg-warm) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.95;
}

/* Navigazione */
header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--white);
    font-weight: 500;
}

nav a:hover, nav a:focus-visible {
    color: var(--accent);
    outline: 2px dashed var(--accent);
    outline-offset: 4px;
}

.nav-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--primary);
}

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(30,53,47,0.95) 0%, rgba(30,53,47,0.8) 100%), url('images/hero.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.btn-primary:hover, .btn-primary:focus-visible {
    background-color: var(--white);
    color: var(--primary);
    outline: 3px solid var(--accent);
}

/* Statistiche */
.stats {
    background: var(--gray-light);
    padding: 60px 20px;
    text-align: center;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: bold;
    display: block;
}

/* Servizi */
.services-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Sezione Feature Asimmetrica */
.feature-section {
    background: var(--white);
    padding: 80px 20px;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list i {
    color: var(--accent);
    margin-top: 5px;
}

/* Tariffe */
.pricing-section {
    padding: 80px 20px;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--gray-light);
}

.price-card.featured {
    border-top: 6px solid var(--accent);
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(30,53,47,0.1);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin: 20px 0;
    font-weight: bold;
}

/* Form Section */
.form-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 20px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 15px;
}

.form-container p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid var(--accent);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--accent);
    background: rgba(255,255,255,0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.form-checkbox input {
    margin-top: 5px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

/* Accordion FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.faq-header {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header i {
    transition: var(--transition);
}

.faq-header.active i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 20px;
    background: var(--bg-warm);
}

.faq-content p {
    padding: 20px 0;
}

/* Trust Layer */
.trust-layer {
    background: var(--gray-light);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 40px 20px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--body-text);
    max-width: 800px;
    margin: 0 auto 20px;
}

.trust-details {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 20px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--gray-light);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-legal {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -300px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 25px;
    transition: bottom 0.5s ease;
    border-top: 4px solid var(--accent);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text {
    font-size: 0.95rem;
}

.cookie-text a {
    text-decoration: underline;
    font-weight: bold;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-cookie-accept {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.btn-cookie-reject {
    background: var(--gray-light);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

/* Responsività */
@media (max-width: 768px) {
    .burger {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}