/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #fff;
    color: #2c2c2c;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* ============================================
   FONTS LOCALI - GDPR COMPLIANT
   ============================================ */
@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/Great_Vibes/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/Cormorant_Garamond/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/Cormorant_Garamond/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ANIMAZIONI GLOBALI
   ============================================ */
.fade-in, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in {
    transform: translateY(30px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.fade-in.visible, .slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.scale-in {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .6s ease, transform .6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: transform .3s ease, box-shadow .3s ease;
    margin-top: 3px;
}

header.no-progress {
    margin-top: 0;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 30px;
    font-weight: 400;
    color: #8B4513;
    letter-spacing: 1px;
    font-family: 'Great Vibes', cursive;
    transition: color .3s ease, text-shadow .3s ease;
    cursor: pointer;
    text-decoration: none;
}

.logo:hover {
    color: #A0522D;
    text-shadow: 0 0 20px rgba(139, 69, 19, .3);
}

nav a {
    color: #2c2c2c;
    text-decoration: none;
    margin-left: 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all .3s ease;
    position: relative;
}

nav a:hover {
    color: #8B4513;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width .3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    margin-top: 80px;
    height: 85vh;
    height: calc(var(--vh, 1vh) * 85);
    background: linear-gradient(rgba(26, 31, 58, .65), rgba(26, 31, 58, .65)),
                url('../img/piazza-duomo-lodi.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, .15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, .12) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,.3);
}

.hero h1 {
    font-size: 82px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    font-family: 'Great Vibes', cursive;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: #f5f5f5;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, .3), 0 4px 15px rgba(0,0,0,.2);
}

.cta-button:hover {
    background: #fff;
    color: #2c2c2c;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, .5), 0 8px 25px rgba(0,0,0,.4);
}

/* ============================================
   CONTENT & SECTIONS
   ============================================ */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    background: white;
}

.section-title {
    font-size: 56px;
    margin-bottom: 50px;
    color: #2c2c2c;
    text-align: center;
    position: relative;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Great Vibes', cursive;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #8B4513;
    margin: 20px auto 0;
    transition: width .6s ease;
}

.section-title.visible::after {
    width: 120px;
}

.full-width-section {
    width: 100%;
    padding: 80px 0;
    background: #f8f9fa;
}

.full-width-section .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   PRESENTAZIONE
   ============================================ */
.presentazione-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
}

.presentazione-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    z-index: 2;
}

.presentazione-section .section-title {
    font-size: 48px;
    color: #3A2318;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    display: block;
}

.presentazione-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #3A2318;
}

.presentazione-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.presentazione-image-wrapper {
    position: relative;
    height: 600px;
}

.presentazione-image {
    position: absolute;
    width: 85%;
    height: 500px;
    background-image: url('../img/avv.Gigliotti-in-piedi.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 80px rgba(58, 35, 24, .25);
    border: 8px solid rgba(58, 35, 24, 0.15);
    z-index: 2;
    top: 50px;
    left: 0;
}

.presentazione-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: 30px;
    bottom: 30px;
    border: 2px solid #8B7355;
    z-index: -1;
}

.presentazione-decorative-box {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(139, 115, 85, 0.08);
    border: 2px solid rgba(139, 115, 85, 0.25);
    bottom: 0;
    right: 0;
    z-index: 1;
}

.presentazione-text-wrapper {
    color: #2c2c2c;
}

.presentazione-text {
    font-size: 19px;
    color: #3d3d3d;
    line-height: 1.9;
    margin: 0;
    text-align: left;
}

.presentazione-cta {
    margin-top: 45px;
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid #3A2318;
    color: #3A2318;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.presentazione-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3A2318;
    transition: left 0.4s ease;
    z-index: -1;
}

.presentazione-cta:hover {
    color: #ffffff;
}

.presentazione-cta:hover::before {
    left: 0;
}

/* ============================================
   SPECIALIZZAZIONE
   ============================================ */
.specializzazione-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 0 auto 50px;
    max-width: 800px;
}

.specializzazione-cta-container {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 30px;
}

.specializzazione-cta {
    display: inline-block;
    border-color: #2c2c2c;
    color: #2c2c2c;
}

/* ============================================
   PERCHÉ SCEGLIERMI
   ============================================ */
.perche-section {
    padding: 80px 0;
}

.perche-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* ============================================
   SERVIZI
   ============================================ */
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.servizio-card {
    background: #fff;
    padding: 35px 30px;
    border: 1px solid #e8e8e8;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.servizio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.servizio-card:hover::before {
    transform: scaleX(1);
}

.servizio-card:hover {
    border-color: #8B4513;
    box-shadow: 0 8px 30px rgba(139, 69, 19, .12);
    transform: translateY(-5px);
}

.servizio-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #8B4513;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color .3s ease;
}

.servizio-card:hover h3 {
    color: #A0522D;
}

.servizio-card p {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* Servizi - Sezioni specifiche */
.servizi-intro-section {
    padding: 80px 0 60px;
}

.servizi-intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.servizi-intro-text {
    font-size: 19px;
    color: #3d3d3d;
    line-height: 1.9;
    margin-top: 40px;
}

.servizi-focus-section {
    margin-top: 100px;
    padding: 60px 40px;
    background: #f8f9fa;
    margin-left: -40px;
    margin-right: -40px;
}

.servizi-focus-container {
    max-width: 900px;
    margin: 50px auto;
}

.servizi-focus-intro {
    margin-bottom: 30px;
}

.servizi-focus-paragraph {
    margin-bottom: 20px;
}

.servizi-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.servizio-card-subtitle {
    font-size: 20px;
}

.servizi-altri-section {
    margin-top: 100px;
}

.servizi-altri-container {
    max-width: 900px;
    margin: 60px auto;
}

.servizi-altri-card {
    margin-bottom: 25px;
}

.servizi-metodo-section {
    margin-top: 100px;
    padding: 60px 40px;
    background: #f8f9fa;
    margin-left: -40px;
    margin-right: -40px;
}

.servizi-metodo-container {
    max-width: 1000px;
    margin: 60px auto;
}

.servizi-metodo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.servizi-cta-section {
    margin-top: 100px;
    text-align: center;
    padding: 80px 40px;
}

.servizi-cta-text {
    font-size: 19px;
    color: #3d3d3d;
    margin: 0 auto 40px;
    max-width: 700px;
}

.servizi-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.servizi-cta-primary {
    display: inline-block;
    border-color: #2c2c2c;
    color: #2c2c2c;
}

.servizi-cta-secondary {
    display: inline-block;
    background: #3A2318;
    color: white;
    border-color: #3A2318;
}

.servizi-grid-spacing {
    margin-top: 60px;
}

/* ============================================
   TESTIMONIANZE
   ============================================ */
.testimonials-section {
    width: 100%;
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 0 auto 60px;
    max-width: 800px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: all .4s ease;
    position: relative;
    border-top: 4px solid #8B4513;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, .15);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: #D4AF37;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #3d3d3d;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.author-name {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 16px;
}

.author-location {
    font-size: 14px;
    color: #999;
}

.testimonial-service {
    font-size: 13px;
    color: #8B4513;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.testimonials-disclaimer {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
}

.testimonials-disclaimer p {
    font-size: 16px;
    color: #999;
    font-style: italic;
}

/* ============================================
   NOTIZIE
   ============================================ */
.notizie-section {
    background: #f8f9fa;
    padding: 90px 0;
}

.notizie-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 0 auto 60px;
    max-width: 800px;
    line-height: 1.8;
}

.notizie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.notizia-card {
    background: #fff;
    padding: 35px 30px;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.notizia-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.notizia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.notizia-card:hover::before {
    transform: scaleX(1);
}

.notizia-card:hover {
    border-color: #8B4513;
    box-shadow: 0 8px 30px rgba(139, 69, 19, .12);
    transform: translateY(-5px);
}

.notizia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.notizia-data {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.notizia-categoria {
    font-size: 12px;
    color: #8B4513;
    background: rgba(139, 69, 19, .1);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notizia-titolo {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c2c2c;
    font-weight: 600;
    line-height: 1.4;
    transition: color .3s ease;
}

.notizia-card:hover .notizia-titolo {
    color: #8B4513;
}

.notizia-excerpt {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.notizia-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
}

.notizia-link:hover {
    color: #A0522D;
    gap: 10px;
}

.notizie-cta-container {
    text-align: center;
    margin-top: 60px;
}

.notizie-cta-container .cta-button {
    border-color: #2c2c2c;
    color: #2c2c2c;
}

.notizie-cta-container .cta-button:hover {
    background: #2c2c2c;
    color: white;
}

.cta-button.notizie-cta {
    margin-bottom: 60px;
}

/* ============================================
   CHI SONO
   ============================================ */
/* Sezione hero con foto e testo affiancati */
.chi-sono-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto;
    align-items: start;
}

.chi-sono-hero-image {
    width: 100%;
    height: 570px;
    background-image: url('../img/avv.Gigliotti-seduta.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,.1);
    top: 120px;
    margin-top: 20px;
    overflow: hidden;
    order: 2;
}

/* Effetto riflesso luminoso al hover */
.chi-sono-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .5s ease;
}

.chi-sono-hero-image:hover::before {
    left: 100%;
}

.chi-sono-hero-text {
    padding-top: 20px;
    order: 1;
}

.intro-paragraph-large {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.intro-paragraph-medium {
    font-size: 19px;
    margin-bottom: 0;
    text-align: left;
}

.column-paragraph {
    font-size: 18px;
    margin-bottom: 20px;
}

.chi-sono-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.chi-sono-two-columns .chi-sono-text {
    margin-bottom: 0;
}

.section-spacing-100 {
    margin-top: 100px;
}

.chi-sono-cta-section {
    margin-top: 100px;
    text-align: center;
    padding: 80px 40px;
    background: #f8f9fa;
    margin-left: -40px;
    margin-right: -40px;
}

.chi-sono-cta-text {
    font-size: 19px;
    color: #3d3d3d;
    margin: 0 auto 40px;
    max-width: 700px;
}

.cta-button-outline {
    display: inline-block;
    border-color: #2c2c2c;
    color: #2c2c2c;
}

.valori-container {
    max-width: 900px;
    margin: 60px auto;
}

.valori-card {
    margin-bottom: 30px;
}

.valori-card:last-child {
    margin-bottom: 0;
}

.qualifiche-container {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
}

.qualifiche-card {
    margin-bottom: 25px;
}

.qualifiche-card:last-child {
    margin-bottom: 0;
}
/* ============================================
   CONTATTI
   ============================================ */
.contatti-intro {
    text-align: center;
    font-size: 19px;
    color: #3d3d3d;
    margin-bottom: 60px;
    line-height: 1.8;
}

.contatti-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: stretch;
}

.info-rapida {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 2px;
    border-left: 4px solid #8B4513;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.info-rapida:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.info-rapida h3 {
    font-size: 28px;
    color: #2c2c2c;
    margin-bottom: 25px;
    font-weight: 600;
}

.info-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .5s ease, transform .5s ease;
}

.info-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-size: 15px;
    color: #8B4513;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-value {
    font-size: 18px;
    color: #2c2c2c;
}

.info-value a {
    color: #8B4513;
    text-decoration: none;
    transition: color .3s;
}

.info-value a:hover {
    color: #A0522D;
    text-decoration: underline;
}

.contatti-rapida-section {
    width: 100%;
    padding: 80px 0;
    background: #3A2318;
}

.contatti-rapida-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.contatti-rapida-title {
    color: #fff !important;
}

.contatti-rapida-title::after {
    background: #D4AF37 !important;
}

.contatti-rapida-text {
    font-size: 19px;
    color: #fff !important;
    margin: 0 auto 15px;
    max-width: 700px;
}

.contatti-rapida-subtitle {
    font-size: 17px;
    color: #fff !important;
    margin-bottom: 40px;
}

.contatti-rapida-numeri {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contatti-rapida-numero {
    color: #D4AF37 !important;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.contatti-rapida-cta {
    display: inline-block;
}

.contatti-mappa-section {
    padding: 60px 0 80px;
}

.contatti-mappa-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px; 
    margin: 0; 
    overflow: hidden;
    border-radius: 4px;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.maps-iframe {
    border: 0;
    border-radius: 4px;
}

/* Wrapper Mappa + QR */
.mappa-qr-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin: 40px 0 2rem;
    align-items: stretch; 
}

.qr-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 2px;
    padding: 2rem;
    border-left: 4px solid #3A2318;
    transition: transform .3s ease, box-shadow .3s ease;
    height: auto; 
}

.qr-code-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.qr-code-content {
    text-align: center;
}

.qr-code-content h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.qr-code-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.contatti-mappa-descrizione {
    text-align: center;
    max-width: 700px;
    margin: 30px auto 0;
}

.contatti-mappa-descrizione p {
    font-size: 17px;
    color: #3d3d3d;
    line-height: 1.7;
}

/* ============================================
   GOOGLE MAPS - CARICAMENTO CONDIZIONALE
   ============================================ */
.map-placeholder {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3A2318 0%, #2C1810 100%);
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 30px;
    z-index: 10;
}

.contatti-mappa-container.map-loaded .map-placeholder {
    display: none;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, .08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, .06) 0%, transparent 50%);
    pointer-events: none;
}

.map-placeholder-content {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.map-placeholder svg {
    margin-bottom: 25px;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    stroke: #D4AF37;
}

.map-placeholder h3 {
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 600;
    color: #D4AF37;
    font-family: 'Great Vibes', cursive;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.map-placeholder p {
    margin: 0 0 12px 0;
    line-height: 1.8;
    opacity: 0.95;
    font-size: 17px;
    color: #f5f5f5;
    font-family: 'Cormorant Garamond', serif;
}

.map-placeholder p strong {
    color: #D4AF37;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.map-placeholder-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.btn-view-map,
.btn-enable-map {
    padding: 15px 35px;
    border-radius: 2px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid;
}

.btn-view-map {
    background: #D4AF37;
    color: #2c2c2c;
    border-color: #D4AF37;
    display: inline-block;
}

.btn-view-map:hover {
    background: #C19B2E;
    border-color: #C19B2E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-enable-map {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-enable-map:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.contatti-mappa-container iframe {
    display: none;
    width: 100%;
    height: 100%;
    border: 0;
}

.contatti-mappa-container.map-loaded iframe {
    display: block;
}

@keyframes placeholderFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-placeholder {
    animation: placeholderFadeIn 0.4s ease-out;
}

/* ============================================
   DOVE SIAMO
   ============================================ */
.dove-siamo-section {
    padding: 80px 0;
}

.dove-siamo-container {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}

.dove-siamo-box {
    background: #f8f9fa;
    padding: 40px;
    border-left: 4px solid #3A2318;
    margin-bottom: 30px;
}

.dove-siamo-box h3 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.dove-siamo-indirizzo {
    font-size: 18px;
    color: #3d3d3d;
    margin-bottom: 10px;
}

.dove-siamo-tribunali {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.dove-siamo-mappa-btn {
    display: inline-block;
    border-color: #2c2c2c;
    color: #2c2c2c;
    padding: 12px 35px;
    font-size: 14px;
}

.dove-siamo-info {
    font-size: 16px;
    color: #666;
}

.dove-siamo-info a {
    color: #8B4513;
}

/* ============================================
   FORM
   ============================================ */
.form-container {
    background: white;
    padding: 70px;
    border: 2px solid #e0e0e0;
    border-radius: 2px;
    transition: border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.form-container:hover {
    border-color: #8B4513;
    box-shadow: 0 10px 40px rgba(139, 69, 19, .1);
}

.form-container h3 {
    font-size: 28px;
    color: #2c2c2c;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 500;
}

.optional-label {
    color: #999;
    font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    transition: all .3s ease;
    background: #fafafa;
    border-radius: 2px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #8B4513;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, .15);
}

input.touched:invalid:not(:placeholder-shown):not(#nome),
textarea.touched:invalid:not(:placeholder-shown) {
    border-color: #e8b4b8;
    background: #fef8f8;
}

input.touched:invalid:not(:placeholder-shown):focus:not(#nome),
textarea.touched:invalid:not(:placeholder-shown):focus {
    border-color: #d89ca1;
    box-shadow: 0 4px 12px rgba(220, 53, 69, .1);
}

input.touched:valid:not(:placeholder-shown):not([type="checkbox"]):not(#nome),
textarea.touched:valid:not(:placeholder-shown) {
    border-color: #c3dfc8;
    background: #f8fdf9;
}

#nome.js-invalid {
    border-color: #e8b4b8;
    background: #fef8f8;
}

#nome.js-valid {
    border-color: #c3dfc8;
    background: #f8fdf9;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.required {
    color: #8B4513;
    margin-left: 3px;
}

input:invalid, textarea:invalid, select:invalid {
    box-shadow: none;
    outline: none;
}

::-webkit-validation-bubble-message,
input::-webkit-validation-bubble,
textarea::-webkit-validation-bubble,
select::-webkit-validation-bubble {
    display: none;
}

.field-error-message {
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    color: #721c24;
    font-size: 13px;
    padding: 8px 12px;
    background: #f8d7da;
    border: 1px solid #dc3545;
    border-radius: 4px;
    opacity: 0;
    transition: all .3s ease;
    z-index: 100;
    white-space: normal;
    max-width: 280px;
    min-width: 200px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, .2);
    line-height: 1.4;
}

.field-error-message::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #dc3545;
}

.field-error-message::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #f8d7da;
    margin-right: -1px;
}

.field-error-message.show {
    opacity: 1;
    left: calc(100% + 20px);
}

textarea ~ .field-error-message {
    top: 12px;
    transform: translateY(0);
}

textarea ~ .field-error-message::before,
textarea ~ .field-error-message::after {
    top: 12px;
    transform: translateY(0);
}

.checkbox-group {
    display: flex;
    align-items: start;
    margin-top: 12px;
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group .field-error-message {
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.checkbox-group .field-error-message::before {
    right: 100%;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #dc3545;
}

.checkbox-group .field-error-message::after {
    right: 100%;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #f8d7da;
    margin-right: -1px;
}

.checkbox-group .field-error-message.show {
    left: calc(100% + 20px);
    transform: translateY(-50%);
}

.submit-btn {
    background: #3A2318;
    color: white;
    padding: 14px 40px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all .3s ease;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 8px;
    border-radius: 2px;
}

.submit-btn:hover {
    background: #2C1810;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, .3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 16px;
    border-left: 4px solid #28a745;
    border-radius: 2px;
    font-size: 15px;
    animation: slideInDown .5s ease;
}

.error-message {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 16px;
    border-left: 4px solid #dc3545;
    border-radius: 2px;
    font-size: 15px;
    animation: shake .5s ease;
}

.privacy-notice {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    line-height: 1.5;
}

/* ============================================
   MODAL POPUP
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn .3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp .4s cubic-bezier(.34, 1.56, .64, 1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    animation: scaleIn .5s cubic-bezier(.34, 1.56, .64, 1);
    animation-delay: .2s;
    animation-fill-mode: both;
}

.modal-icon.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #28a745;
}

.modal-icon.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #dc3545;
}

.modal-title {
    font-size: 32px;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.modal-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

.modal-close-btn {
    background: #3A2318;
    color: white;
    padding: 15px 45px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.modal-close-btn:hover {
    background: #A0522D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, .3);
}

.modal-close-btn:active {
    transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #3A2318;
    color: #fff;
    padding: 70px 40px 35px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-section {
    text-align: left;
}

.footer-section.center {
    text-align: center;
    margin-top: 90px;
}

.footer-section.center .footer-link {
    margin: 0 3px;
}

.footer-section.right {
    text-align: right;
    margin-top: 20px;
}

.footer-logo {
    font-size: 30px;
    color: #D4AF37;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

.footer-section h4 {
    font-size: 16px;
    color: #D4AF37;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-info-item {
    margin-bottom: 12px;
    font-size: 15px;
    color: #f5f5f5;
    line-height: 1.6;
}

.footer-info-item a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-info-item a:hover {
    color: #D4AF37;
}

.footer-info-item svg {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: middle;
    fill: #D4AF37;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 15px;
    transition: all .3s ease;
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.tribunali-list {
    font-size: 15px;
    color: #f5f5f5;
    line-height: 1.8;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 30px;
    text-align: center;
}

.footer-legal {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.footer-legal a {
    color: #fff;
    text-decoration: none;
    transition: color .3s;
}

.footer-legal a:hover {
    color: #D4AF37;
}

.footer-credits {
    color: #d4d4d4;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: 12px;
}

.footer-credits a {
    color: #e0e0e0;
    text-decoration: none;
}

.footer-credits a:hover {
    color: #D4AF37;
}

.footer-iscrizione-ordine {
    margin-top: 25px;
    font-size: 13px;
    color: #f5f5f5;
}

.footer-text {
    color: #f5f5f5;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
}

.footer-text a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-text a:hover {
    color: #D4AF37;
}

.tribunali-list span {
    font-size: 0.9em;
    opacity: 0.8;
}
/* ============================================
   PRIVACY POLICY
   ============================================ */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px;
}

.container-privacy {
    margin-top: 100px !important;
}

.container h1 {
    font-size: 48px;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

.container h2 {
    font-size: 32px;
    color: #8B4513;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

.container h3 {
    font-size: 24px;
    color: #2c2c2c;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.container h4 {
    font-size: 20px;
    color: #2c2c2c;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.container p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #3d3d3d;
}

.container ul, .container ol {
    margin-bottom: 20px;
    margin-left: 30px;
}

.container li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #3d3d3d;
}

.container li ul, .container li ol {
    margin-top: 10px;
}

.container a {
    color: #8B4513;
    text-decoration: none;
    transition: color .3s;
}

.container a:hover {
    color: #A0522D;
    text-decoration: underline;
}

.last-updated {
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
    font-style: italic;
}

.back-link {
    color: #8B4513;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color .3s;
}

.back-link:hover {
    color: #A0522D;
    text-decoration: underline;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #8B4513;
    padding: 25px;
    margin: 30px 0;
}

.info-box strong {
    color: #8B4513;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 16px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box a {
    color: #8B4513;
    text-decoration: none;
}

.info-box a:hover {
    color: #A0522D;
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: left;
    font-size: 17px;
}

th {
    background: #f8f9fa;
    color: #8B4513;
    font-weight: 600;
}

td {
    color: #3d3d3d;
}

/* ============================================
   COOKIE BANNER - GDPR COMPLIANT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3A2318 0%, #2C1810 100%);
    color: #fff;
    padding: 30px 25px;
    z-index: 10000;
    transform: translateY(110%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s ease, visibility 0s .4s;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, .4);
    border-top: 3px solid #D4AF37;
    will-change: transform;
    -webkit-transform: translateY(110%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    pointer-events: auto;
}

.cookie-banner.show {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s ease;
}

.cookie-banner.hide {
    transform: translateY(110%);
    -webkit-transform: translateY(110%);
    visibility: hidden;
    opacity: 0;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s ease, visibility 0s .4s;
    pointer-events: none;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #D4AF37;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.cookie-banner-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #f5f5f5;
    font-family: 'Cormorant Garamond', serif;
}

.cookie-banner-text a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}

.cookie-banner-text a:hover {
    border-bottom-color: #D4AF37;
}

.cookie-banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* GDPR: Pulsanti in EGUAL RISALTO - Stile identico */
.cookie-btn {
    padding: 14px 35px;
    border: 2px solid #D4AF37;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all .3s ease;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    background: transparent;
    color: #D4AF37;
}

.cookie-btn:hover {
    background: #D4AF37;
    color: #2c2c2c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, .5);
}
/* Manteniamo le classi per compatibilità ma stile identico */
.cookie-btn-accept {background: transparent;color: #D4AF37;border-color: #D4AF37;}
.cookie-btn-accept:hover {background: #D4AF37;color: #2c2c2c;transform: translateY(-3px);box-shadow: 0 8px 25px rgba(212, 175, 55, .5);}
.cookie-btn-reject {background: transparent;color: #D4AF37;border-color: #D4AF37;}
.cookie-btn-reject:hover {background: #D4AF37;color: #2c2c2c;transform: translateY(-3px);box-shadow: 0 8px 25px rgba(212, 175, 55, .5);}
/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3A2318;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 998;
    box-shadow: 0 4px 15px rgba(139, 69, 19, .3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #C19B2E;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, .4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.cookie-banner.show ~ .back-to-top {
    bottom: 120px;
}

/* ============================================
   MENU HAMBURGER
   ============================================ */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #8B4513;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }

.nav-toggle.active .hamburger span:nth-child(1) {
    top: 6px;
    transform: rotate(135deg);
}

.nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.nav-toggle.active .hamburger span:nth-child(3) {
    top: 6px;
    transform: rotate(-135deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
    opacity: 0;
    transition: opacity .3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .1s ease;
    pointer-events: none;
}

/* ============================================
   DELAYS
   ============================================ */
.delay-01 { animation-delay: .1s; transition-delay: .1s; }
.delay-02 { animation-delay: .2s; transition-delay: .2s; }
.delay-03 { animation-delay: .3s; transition-delay: .3s; }
.delay-04 { animation-delay: .4s; transition-delay: .4s; }
.delay-05 { animation-delay: .5s; transition-delay: .5s; }
.delay-06 { animation-delay: .6s; transition-delay: .6s; }

.hero-subtitle-delay { animation-delay: .2s; }
.hero-cta-delay { animation-delay: .4s; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.cookie-btn:focus-visible,
.back-to-top:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid #D4AF37;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner, .back-to-top, nav, .hamburger span {
        transition-duration: .01ms !important;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 992px) {
    .header-content { padding: 0 25px; }
    nav a { margin-left: 20px; font-size: 15px; }
    .servizi-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .content { padding: 70px 25px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .notizie-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    
    /* Presentazione Tablet */
    .presentazione-section { min-height: 70vh; }
    .presentazione-container { padding: 60px 30px; }
    .presentazione-section .section-title { font-size: 42px; margin-bottom: 50px; }
    .presentazione-content { gap: 60px; }
    .presentazione-image-wrapper { height: 500px; }
    .presentazione-image { height: 450px; }
    .presentazione-text { font-size: 18px; }
    
    /* Chi Sono Hero Tablet */
    .chi-sono-hero { gap: 50px; margin: 50px auto; }
    .chi-sono-hero-image { height: 550px; }
    .intro-paragraph-large { font-size: 19px; }
    .intro-paragraph-medium { font-size: 18px; }
    .chi-sono-two-columns { gap: 40px; margin: 50px auto 0; }
    
    /* Mappa + QR Code Tablet */
    .mappa-qr-wrapper {grid-template-columns: 1fr 250px;gap: 1.5rem;}
    .qr-code-image {width: 180px;height: 180px;}
    .qr-code-content h3 {font-size: 1.2rem;}
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Header */
    header { padding: 30px 0; }
    .header-content { padding: 0 20px; flex-direction: column; gap: 20px; position: relative; justify-content: center; }
    .logo { font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); }
    nav a { margin: 0 15px; }
    
    /* Nav Toggle */
    .nav-toggle { display: block; position: absolute; right: 20px; }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #fff;
        transition: right .3s cubic-bezier(.4, 0, .2, 1);
        flex-direction: column;
        padding: 80px 0 20px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, .15);
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
        display: flex;
        justify-content: center;
    }
    nav.active { right: 0; }
    nav a {
        width: 100%;
        text-align: center;
        padding: 18px 30px;
        margin: 0;
        font-size: 16px;
        color: #3A2318;
        border-bottom: 1px solid #e8e8e8;
        transition: all .3s ease;
    }
    nav a:hover { background: #f8f9fa; color: #3A2318; padding-left: 30px; }
    nav a::after { display: none; }
    
    /* Hero */
    .hero { margin-top: 60px; height: 60vh; min-height: 400px; }
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 25px; }
    .cta-button { padding: 14px 30px; font-size: 14px; letter-spacing: 1px; }
    
    /* Content */
    .content { padding: 50px 20px; }
    .section-title { font-size: 34px; margin-bottom: 30px; }
    
    /* Presentazione Mobile */
    .presentazione-section {min-height: auto;padding: 50px 0;}
    .presentazione-container {padding: 0 20px;}
    .presentazione-section .section-title {font-size: 34px;margin-bottom: 40px;}
    .presentazione-content {grid-template-columns: 1fr;gap: 40px;}
    .presentazione-image-wrapper {height: 450px;order: 1;}
    .presentazione-image {width: 100%;height: 400px;position: relative;top: 0;}
    .presentazione-image::before {top: -15px;left: -15px;right: 15px;bottom: 15px;}
    .presentazione-decorative-box {width: 200px;height: 200px;bottom: -20px;right: -10px;}
    .presentazione-text-wrapper {order: 2;text-align: center;}
    .presentazione-text {font-size: 17px;line-height: 1.8;}
    .presentazione-cta {margin-top: 35px;padding: 15px 40px;font-size: 13px;display: block;text-align: center;}
    /* Chi Sono Hero Mobile */
    .chi-sono-hero {grid-template-columns: 1fr;gap: 40px;margin: 40px auto;}
    .chi-sono-hero-image {height: 500px;order: 1;}
    .chi-sono-hero-text {order: 2;padding-top: 0;}
    .intro-paragraph-large {font-size: 17px;margin-bottom: 18px;}
    .intro-paragraph-medium {font-size: 16px;}
    .column-paragraph {font-size: 16px;margin-bottom: 18px;}
    .chi-sono-two-columns {grid-template-columns: 1fr;gap: 30px;margin: 40px auto 0;}
    .section-spacing-100 {margin-top: 60px;}
    .chi-sono-cta-section { margin-top: 60px;padding: 60px 20px;margin-left: 0;margin-right: 0;}
    .chi-sono-cta-text {font-size: 17px; margin-bottom: 30px;}
    /* Valori e Qualifiche Mobile */
    .valori-container,
    .qualifiche-container {margin: 40px auto;}
    .valori-card,
    .qualifiche-card {margin-bottom: 20px;padding: 20px 18px;}
    
    /* Chi Sono - Vecchia struttura */
    .chi-sono-intro { margin: 35px auto 30px; }
    .chi-sono-photos { grid-template-columns: 1fr; gap: 20px; margin: 35px auto; }
    .chi-sono-image, .chi-sono-image-2 { height: 450px; }
    
    /* Servizi */
    .servizi-grid, .servizi-grid-2col { grid-template-columns: 1fr; gap: 18px; }
    .servizio-card { padding: 22px 18px; }
    .servizio-card h3 { font-size: 19px; }
    .servizio-card p { font-size: 15px; }
    .servizi-metodo-grid { grid-template-columns: 1fr; }
    .servizi-focus-section, .servizi-metodo-section { margin-left: 0; margin-right: 0; padding: 40px 20px; }
    .servizi-cta-buttons { flex-direction: column; align-items: center; }
    .servizi-cta-buttons .cta-button { width: 100%; max-width: 300px; }
    
    /* Testimonianze */
    .testimonials-section { padding: 50px 0; }
    .testimonials-intro { font-size: 15px; margin-bottom: 35px; padding: 0 20px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 20px; }
    .testimonial-card { padding: 22px 18px; }
    .testimonial-text { font-size: 14px; }
    
    /* Notizie */
    .notizie-section { padding: 60px 0; }
    .notizie-intro { font-size: 15px; margin-bottom: 35px; padding: 0 20px; }
    .notizie-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
    .notizia-card { padding: 22px 18px; }
    .notizia-titolo { font-size: 19px; }
    .notizia-excerpt { font-size: 15px; }
    .notizie-cta-container { margin-top: 40px; padding: 0 20px; }
    .cta-button.notizie-cta { margin-bottom: 40px; }
    
    /* Perché */
    .perche-grid { grid-template-columns: 1fr; gap: 25px; }
    
    /* Contatti */
    .contatti-wrapper { grid-template-columns: 1fr; gap: 25px; }
    .info-rapida, .form-container { padding: 25px 18px; }
    .form-container h3 { font-size: 22px; }
    .contatti-rapida-numeri { flex-direction: column; gap: 20px; }

    /* Mappa + QR Code Mobile */
    .mappa-qr-wrapper {grid-template-columns: 1fr;gap: 1.5rem;margin: 20px 0 1rem;}
    .contatti-mappa-container {min-height: 350px;order: 1;}
    .qr-code-container {padding: 1.5rem;order: 2;}
    .qr-code-content h3 {font-size: 1.1rem;}
    .qr-code-content p {font-size: 0.85rem;margin-bottom: 1rem;}
    .qr-code-image {width: 180px;height: 180px;}
    .contatti-mappa-descrizione { margin: 20px auto 0;}
    .contatti-mappa-section {padding: 40px 0 60px;}
    
    /* Form Errors - Mobile */
    .form-group { position: relative; margin-bottom: 22px; }
    .field-error-message {position: absolute !important;left: 0 !important;top: 28px !important;transform: none !important;
        margin: 0;max-width: calc(100% - 20px);min-width: auto;word-wrap: break-word;z-index: 10;}
    .field-error-message::before, .field-error-message::after { display: none !important; }
    .field-error-message.show { left: 0 !important; top: 28px !important; transform: none !important; }
    textarea ~ .field-error-message, select ~ .field-error-message,
    .checkbox-group .field-error-message { top: 28px !important; }
    .checkbox-group .field-error-message { top: 26px !important; }
    .form-group.error input, .form-group.error select, .form-group.error textarea { margin-top: 32px; }
    
    /* Footer */
    footer { padding: 45px 20px 25px; }
    .footer-main { grid-template-columns: 1fr; gap: 25px; text-align: center; }
    .footer-section, .footer-section.center, .footer-section.right { text-align: center; margin-top: 0; }
    .footer-logo { font-size: 32px; }
    .footer-link { display: block; margin-bottom: 8px; }
    .footer-link:hover { padding-left: 0; }
    
    /* Full Width Sections */
    .full-width-section { padding: 50px 0; }
    .full-width-section .content { padding: 0 20px; }
    
    /* Privacy */
    .container { padding: 0 20px; margin: 70px auto 35px; }
    .container h1 { font-size: 32px; }
    .container h2 { font-size: 24px; }
    .container h3 { font-size: 19px; }
    .container h4 { font-size: 17px; }
    .container p, .container li { font-size: 15px; }
    .info-box { padding: 18px 15px; }
    .info-box strong { font-size: 13px; }
    .info-box p { font-size: 14px; }
    table { font-size: 13px; }
    th, td { padding: 10px; font-size: 14px; }
    
    /* Cookie Banner */
    .cookie-banner-content { 
        flex-direction: column; 
        gap: 25px;
    }
    .cookie-banner-text h4 { font-size: 20px; margin-bottom: 10px; }
    .cookie-banner-text p { font-size: 14px; }
    .cookie-banner-actions { width: 100%; flex-direction: column; gap: 12px; }
    .cookie-btn { width: 100%; padding: 16px 20px; }
    .cookie-banner.show ~ .back-to-top { bottom: 200px; }
    
    /* Back to Top */
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 20px; }
    
    /* Card Heights */
    .servizio-card { min-height: 160px; }
    .testimonial-card { min-height: 240px; }
    .notizia-card { min-height: auto; }
}

@media (max-width: 480px) {
    /* Header e Navigazione */
    .logo { font-size: 22px; }
    nav a { font-size: 11px; padding: 4px 7px; }
    
    /* Hero Section */
    .hero { height: 55vh; min-height: 380px; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    
    /* Bottoni e Titoli Globali */
    .cta-button { padding: 12px 26px; font-size: 13px; }
    .section-title { font-size: 30px; }
    .content { padding: 45px 15px; }
    
    /* Presentazione Section */
    .presentazione-section { padding: 40px 0; }
    .presentazione-section .section-title { font-size: 30px; margin-bottom: 35px; }
    .presentazione-content { gap: 35px; }
    .presentazione-image-wrapper { height: 380px; }
    .presentazione-image { height: 350px; }
    .presentazione-decorative-box { width: 150px; height: 150px; }
    .stats-overlay { padding: 18px 20px; left: -5px; bottom: 15px; }
    .stats-number { font-size: 16px; }
    .stats-label { font-size: 14px; }
    .presentazione-text { font-size: 16px; line-height: 1.7; }
    .presentazione-cta { padding: 13px 35px; font-size: 12px; margin-top: 30px; }
    
    /* Chi Sono Hero */
    .chi-sono-hero { gap: 35px; margin: 35px auto; }
    .chi-sono-hero-image { height: 420px; }
    .intro-paragraph-large { font-size: 16px; margin-bottom: 16px; }
    .intro-paragraph-medium { font-size: 15px; }
    .column-paragraph { font-size: 15px; margin-bottom: 16px; }
    .chi-sono-two-columns { gap: 25px; margin: 35px auto 0; }
    .section-spacing-100 { margin-top: 50px; }
    .chi-sono-cta-section { margin-top: 50px; padding: 50px 15px; }
    .chi-sono-cta-text { font-size: 16px; margin-bottom: 25px; }
    
    /* Valori e Qualifiche */
    .valori-container, .qualifiche-container { margin: 35px auto; }
    .valori-card, .qualifiche-card { margin-bottom: 18px; padding: 18px 15px; }
    
    /* Chi Sono - Immagini */
    .chi-sono-image, .chi-sono-image-2 { height: 380px; }
    
    /* Servizi e Testimonianze */
    .servizio-card { padding: 20px 15px; min-height: 140px; }
    .testimonial-card { padding: 20px 15px; min-height: 220px; }
    
    /* Notizie */
    .notizia-card { padding: 20px 15px; }
    .notizia-titolo { font-size: 18px; }
    .notizia-excerpt { font-size: 14px; }
    
    /* Contatti - Form e Info */
    .form-container, .info-rapida { padding: 22px 15px; }
    .form-group.error input, 
    .form-group.error select, 
    .form-group.error textarea { margin-top: 28px; }
    .field-error-message { font-size: 12px; padding: 6px 10px; top: 26px !important; }
    
    /* Mappa + QR Code - Layout riordinato per mobile */
    .mappa-qr-wrapper { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        margin: 20px 0 1rem;
        display: flex;
        flex-direction: column;
    }
    
    /* QR Code - appare per primo */
    .qr-code-container { 
        padding: 1.2rem; 
        order: 1;
    }
    .qr-code-content h3 { font-size: 1rem; }
    .qr-code-content p { font-size: 0.8rem; }
    .qr-code-image { width: 160px; height: 160px; }
    
    /* Mappa - appare per seconda, sotto il QR code */
    .contatti-mappa-container { 
        min-height: 500px; 
        position: relative;
        order: 2;
    }
    
    /* Quando la mappa è caricata */
    .contatti-mappa-container.map-loaded {
        min-height: 350px;
        height: 350px;
        overflow: hidden;
    }
    
    /* Iframe mappa - riempie il container */
    .contatti-mappa-container.map-loaded iframe {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Map Placeholder */
    .map-placeholder { 
        padding: 40px 15px 50px; 
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .map-placeholder::before {
        pointer-events: none;
    }
    .map-placeholder-content {
        position: relative;
    }
    .map-placeholder h3, 
    .map-placeholder p,
    .map-placeholder svg {
        pointer-events: none;
    }
    .map-placeholder h3 { font-size: 26px; }
    .map-placeholder p { font-size: 15px; }
    .map-placeholder-buttons { 
        flex-direction: column; 
        gap: 12px; 
        margin-top: 25px;
        align-items: center;
    }
    .btn-view-map,
    .btn-enable-map { 
        padding: 14px 28px; 
        font-size: 13px; 
        width: 100%; 
        max-width: 280px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        cursor: pointer;
    }
    
    /* Modal e Footer */
    .modal-content { padding: 28px 18px; width: 95%; }
    .footer-logo { font-size: 28px; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 28px; }
    .section-title { font-size: 28px; }
    .logo { font-size: 20px; }
    nav a { font-size: 10px; padding: 4px 6px; }
    
    /* Presentazione 360px */
    .presentazione-section .section-title { font-size: 28px; }
    .presentazione-image-wrapper { height: 350px; }
    .presentazione-image { height: 320px; }
    .presentazione-text { font-size: 15px; }
    
    /* Chi Sono Hero 360px */
    .chi-sono-hero-image { height: 380px; }
    .intro-paragraph-large { font-size: 15px; }
    .intro-paragraph-medium { font-size: 14px; }
    .column-paragraph { font-size: 14px; }
    
    .chi-sono-image, .chi-sono-image-2 { height: 350px; }
}

/* ============================================
   LANDSCAPE MOBILE - CSS COMPLETO E CORRETTO
   ============================================ */

/* ============================================
   LANDSCAPE STANDARD (max-width: 900px)
   ============================================ */
@media (max-width: 900px) and (orientation: landscape) {
    /* Hero */
    .hero { height: 75vh; min-height: 400px; }
    .hero h1 { font-size: 38px;}
    .hero-subtitle { font-size: 18px;margin-bottom: 30px;}
    .cta-button { font-size: 14px;padding: 14px 35px;}
    /* Sezioni generali */
    .section-title { font-size: 32px;margin-bottom: 35px;}
    .content { padding: 50px 20px;}
    .full-width-section { padding: 50px 0;}
    .full-width-section .content {padding: 0 20px;}
    /* Grid - Mantieni 2 colonne per sfruttare larghezza */
    .servizi-grid,
    .testimonials-grid,
    .notizie-grid {grid-template-columns: repeat(2, 1fr) !important;gap: 20px;}
    /* Solo queste vanno a 1 colonna */
    .perche-grid,
    .chi-sono-two-columns,
    .servizi-grid-2col,
    .servizi-metodo-grid {grid-template-columns: 1fr !important;gap: 18px;}
    
    /* Card - Dimensioni leggibili */
    .servizio-card, 
    .testimonial-card, 
    .notizia-card,
    .dove-siamo-box, 
    .valori-card, 
    .qualifiche-card, 
    .servizi-altri-card {padding: 18px 15px;min-height: auto;}
    
    .servizio-card h3, 
    .notizia-titolo { font-size: 19px;margin-bottom: 8px;}
    
    .servizio-card p, 
    .testimonial-text, 
    .notizia-excerpt { font-size: 15px;line-height: 1.6;}
    
    /* Testimonials */
    .testimonial-stars { font-size: 15px;margin-bottom: 10px;}
    .author-name { font-size: 15px;}

    .author-location, 
    .testimonial-service { font-size: 13px;}
    
    .testimonial-author {padding-top: 15px;margin-bottom: 8px;}
    /* Notizie */
    .notizia-data, 
    .notizia-categoria { font-size: 12px;}
    .notizia-link {font-size: 13px;}

    /* ============================================
       PRESENTAZIONE - Landscape Standard
       ============================================ */
    .presentazione-section {min-height: auto;padding: 50px 0;}
    .presentazione-container {padding: 0 20px;}
    .presentazione-content {grid-template-columns: 1fr 1.2fr;gap: 40px;align-items: center;}
    .presentazione-section .section-title {font-size: 36px;margin-bottom: 40px;}

    /* Immagine - Mantieni dimensioni per non tagliare */
    .presentazione-image-wrapper {height: 450px;position: relative;}
    .presentazione-image {width: 85%;height: 400px;position: absolute;top: 25px;left: 0;background-size: cover;background-position: center;}
    .presentazione-image::before {top: -20px;left: -20px;right: 20px;bottom: 20px;}
    .presentazione-decorative-box {width: 220px;height: 220px;bottom: 0;right: 0;}
    .presentazione-text-wrapper {text-align: left;}
    .presentazione-text {font-size: 16px;line-height: 1.7;}
    .presentazione-cta {margin-top: 30px;padding: 14px 40px;font-size: 13px;}
    
    /* ============================================
       CHI SONO HERO - Landscape Standard
       ============================================ */
    .chi-sono-hero {grid-template-columns: 1fr 1.2fr;gap: 40px;margin: 50px auto;align-items: start;}
    .chi-sono-hero-image {height: 450px;order: 2;background-size: cover;background-position: center top;}
    .chi-sono-hero-text {order: 1;padding-top: 0;text-align: left;}
    .intro-paragraph-large {font-size: 17px;line-height: 1.7;margin-bottom: 16px;}
    .intro-paragraph-medium {font-size: 16px;line-height: 1.7;margin-bottom: 16px;}
    .column-paragraph {font-size: 16px;line-height: 1.7;margin-bottom: 16px;}
    .chi-sono-two-columns {margin: 40px auto 0;gap: 25px;}
    .section-spacing-100 { margin-top: 60px;}
    .chi-sono-cta-section {margin-top: 60px;padding: 50px 20px;margin-left: 0;margin-right: 0;}
    .chi-sono-cta-text {font-size: 16px;margin-bottom: 30px;}
    /* Valori e Qualifiche */
    .valori-container,
    .qualifiche-container {margin: 40px auto;}

    .valori-card,
    .qualifiche-card {margin-bottom: 16px;padding: 18px 15px;}
    
    /* ============================================
       SERVIZI - Landscape
       ============================================ */
    .servizi-intro-section {padding: 50px 0 40px;}
    .servizi-intro-text {font-size: 16px;line-height: 1.7;margin-top: 30px;}
    
    .servizi-focus-section,
    .servizi-metodo-section {margin-top: 60px;padding: 45px 20px;margin-left: 0;margin-right: 0;}
    .servizi-focus-container {margin: 35px auto;}
    .servizi-focus-intro {margin-bottom: 25px;}
    .servizi-focus-paragraph {font-size: 15px;line-height: 1.6;margin-bottom: 12px;}
    .servizio-card-subtitle {font-size: 18px;}
    .servizi-altri-section {margin-top: 60px;}
    .servizi-altri-container {margin: 40px auto;}
    .servizi-altri-card {margin-bottom: 18px;}
    .servizi-metodo-container {margin: 40px auto;}
    .servizi-metodo-grid {gap: 22px;}
    .servizi-cta-section {margin-top: 60px;padding: 50px 20px;}
    .servizi-cta-text {font-size: 16px;margin-bottom: 30px;line-height: 1.6;}
    .servizi-cta-buttons {gap: 15px;}
    .servizi-cta-buttons .cta-button {padding: 14px 35px;font-size: 13px;}
    
    /* ============================================
       CONTATTI - Landscape
       ============================================ */
    .contatti-intro {font-size: 16px;margin-bottom: 40px;line-height: 1.7;}
    .contatti-wrapper {gap: 30px;margin-top: 40px;}

    .info-rapida,
    .form-container {padding: 30px 20px;}
    
    .form-container h3,
    .info-rapida h3 {font-size: 22px;margin-bottom: 18px;}
    .info-item {margin-bottom: 14px;padding-bottom: 14px;}
    .info-label {font-size: 13px;margin-bottom: 5px;}
    .info-value {font-size: 16px;}
    
    /* Form */
    input[type="text"],
    input[type="email"],
    input[type="tel"],

    textarea,
    select {padding: 11px;font-size: 15px;}
    textarea {min-height: 100px;}
    label {font-size: 14px;margin-bottom: 6px;}
    .submit-btn {padding: 13px 35px;font-size: 14px;}
    .form-group {margin-bottom: 16px;}

    /* Mappa + QR Code */
    .mappa-qr-wrapper {grid-template-columns: 1fr 280px;gap: 1.5rem;margin: 30px 0 1.5rem;}
    .contatti-mappa-container {min-height: 350px;}
    .qr-code-container {padding: 1.5rem;}
    .qr-code-content h3 {font-size: 1.15rem;}
    .qr-code-content p {font-size: 0.85rem;}
    .qr-code-image {width: 180px;height: 180px;}
    .contatti-mappa-section {padding: 50px 0 60px;}
    .contatti-mappa-descrizione {margin: 25px auto 0;}
    .contatti-mappa-descrizione p {font-size: 15px;line-height: 1.6;}
    
    /* Map Placeholder */
    .map-placeholder h3 {font-size: 28px;margin-bottom: 15px;}
    .map-placeholder p {font-size: 15px;margin-bottom: 10px;}
    .map-placeholder-buttons {margin-top: 25px;gap: 15px;}

    .btn-view-map,
    .btn-enable-map {padding: 12px 30px;font-size: 13px;}
    
    /* Contatti Rapida */
    .contatti-rapida-section {padding: 50px 0;}
    .contatti-rapida-container {padding: 0 20px;}
    .contatti-rapida-title {font-size: 32px !important; margin-bottom: 20px;}
    .contatti-rapida-text {font-size: 17px !important;margin-bottom: 12px;}
    .contatti-rapida-subtitle {font-size: 16px !important;margin-bottom: 30px;}
    .contatti-rapida-numeri {gap: 30px;margin-bottom: 30px;}
    .contatti-rapida-numero {font-size: 23px !important;}
    
    /* ============================================
       DOVE SIAMO - Landscape
       ============================================ */
    .dove-siamo-section {padding: 50px 0;}
    .dove-siamo-container {margin: 35px auto;}
    .dove-siamo-box {padding: 25px;margin-bottom: 25px;}
    .dove-siamo-box h3 {font-size: 21px;margin-bottom: 12px;}
    .dove-siamo-indirizzo {font-size: 15px;margin-bottom: 10px;}
    .dove-siamo-tribunali {font-size: 14px;margin-bottom: 15px;}
    .dove-siamo-mappa-btn {padding: 10px 25px;font-size: 12px;}
    .dove-siamo-info {font-size: 14px;line-height: 1.6;}
    
    /* Perché */
    .perche-section { padding: 50px 0;}
    .perche-grid {gap: 22px;margin: 35px auto 0;}
    
    /* ============================================
       INTRO SECTIONS - Landscape
       ============================================ */
    .specializzazione-intro,
    .notizie-intro,
    .testimonials-intro {font-size: 15px;margin-bottom: 40px;line-height: 1.6;}
    
    .testimonials-section,
    .notizie-section {padding: 50px 0;}
    
    .testimonials-grid,
    .notizie-grid {gap: 20px;padding: 0 20px;}
    
    .notizie-grid {margin-top: 40px;} 
    .notizie-cta-container {margin-top: 40px;}
    .cta-button.notizie-cta { margin-bottom: 40px;}
    
    /* ============================================
       FOOTER - Landscape
       ============================================ */
    footer {padding: 40px 20px 25px;}
    .footer-main {gap: 30px;padding-bottom: 30px;}
    .footer-logo {font-size: 28px;margin-bottom: 15px;}
    .footer-section h4 {font-size: 14px;margin-bottom: 12px;}
    
    .footer-info-item,
    .footer-link {font-size: 14px;margin-bottom: 8px;line-height: 1.6;}
    .footer-info-item svg {width: 13px;height: 13px;margin-right: 7px;}
    .footer-bottom {margin-top: 25px;padding-top: 20px;}
    .footer-legal {font-size: 13px !important;margin-bottom: 12px;}
    .footer-legal a {font-size: 13px !important;}
    .footer-credits {font-size: 12px !important;margin-top: 15px !important;padding-top: 15px !important;line-height: 1.5 !important;}
    .footer-credits a {font-size: 12px !important;}
    .tribunali-list {font-size: 14px !important;line-height: 1.7 !important;}
    .footer-iscrizione-ordine {margin-top: 20px;font-size: 12px !important;}
    .footer-text {font-size: 14px;}
    
    /* ============================================
       COOKIE BANNER - Landscape Orizzontale
       ============================================ */
    .cookie-banner {padding: 20px 20px;}
    .cookie-banner-content {flex-direction: row;gap: 30px;align-items: center;}
    .cookie-banner-text {flex: 1;}
    .cookie-banner-text h4 {font-size: 19px;margin-bottom: 8px;}
    .cookie-banner-text p {font-size: 14px;line-height: 1.6;}
    .cookie-banner-actions {flex-direction: row;gap: 12px;flex-shrink: 0;}
    .cookie-btn {padding: 12px 25px;font-size: 13px;white-space: nowrap;}
    
    /* ============================================
       PRIVACY - Landscape
       ============================================ */
    .container {padding: 0 20px;margin: 60px auto 30px;}
    .container-privacy {margin-top: 80px !important;}
    .container h1 {font-size: 36px;margin-bottom: 12px;}
    .container h2 {font-size: 26px;margin-top: 40px;margin-bottom: 18px;}
    .container h3 {font-size: 21px;margin-top: 25px;margin-bottom: 12px;}
    .container h4 {font-size: 18px;margin-top: 20px;margin-bottom: 10px;}
    .container p,
    .container li {font-size: 15px;line-height: 1.6;margin-bottom: 14px;}
    
    .container ul,
    .container ol {margin-bottom: 18px;margin-left: 25px;}

    .container li {margin-bottom: 10px;}
    .last-updated {font-size: 13px;margin-bottom: 30px;}
    .info-box {padding: 20px 16px;margin: 25px 0;}
    .info-box strong {font-size: 13px;margin-bottom: 10px;}
    .info-box p {font-size: 14px;margin-bottom: 8px;}
    table {font-size: 13px;margin: 25px 0;}
    
    th,
    td {padding: 10px;font-size: 14px;}
}

/* ============================================
   LANDSCAPE ALTEZZA RIDOTTA (max-height: 500px)
   ============================================ */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    /* Hero - Compatto ma visibile */
    .hero {height: 85vh;min-height: auto;}
    .hero h1 {font-size: 32px;}
    .hero-subtitle {font-size: 16px; margin-bottom: 20px;}
    .cta-button {font-size: 13px;padding: 11px 28px;}
    
    /* Sezioni */
    .section-title { font-size: 28px; margin-bottom: 30px;}
    .content {padding: 40px 20px;}
    .full-width-section {padding: 40px 0;}
    .full-width-section .content {padding: 0 20px;}
    
    /* ============================================
       PRESENTAZIONE - Altezza Ridotta
       ============================================ */
    .presentazione-section {padding: 40px 0;}
    .presentazione-section .section-title {font-size: 32px;margin-bottom: 35px;}
    .presentazione-content {grid-template-columns: 1fr 1.3fr;gap: 35px;}

    /* Immagine - Ridotta ma non tagliata */
    .presentazione-image-wrapper {height: 400px;}
    .presentazione-image {width: 90%;height: 360px;top: 20px;background-size: cover;background-position: center top;}
    .presentazione-image::before {top: -15px;left: -15px;right: 15px;bottom: 15px;}
    .presentazione-decorative-box {width: 180px; height: 180px; bottom: 0; right: 0;}
    .presentazione-text {font-size: 15px;line-height: 1.6;}
    .presentazione-cta {margin-top: 25px; padding: 12px 35px; font-size: 12px;}
    
    /* ============================================
       CHI SONO HERO - Altezza Ridotta
       ============================================ */
    .chi-sono-hero {grid-template-columns: 1fr 1.3fr;gap: 35px;margin: 40px auto;}
    .chi-sono-hero-image { height: 600px;background-size: cover;background-position: center top;}
    .intro-paragraph-large {font-size: 16px;line-height: 1.6;margin-bottom: 14px;}

    .intro-paragraph-medium,
    .column-paragraph {font-size: 15px;line-height: 1.6;margin-bottom: 14px;}
    .chi-sono-two-columns {margin: 35px auto 0;gap: 20px;}
    .section-spacing-100 {margin-top: 50px;}
    .chi-sono-cta-section {margin-top: 50px;padding: 40px 20px;}
    .chi-sono-cta-text {font-size: 15px;margin-bottom: 25px;}

    .valori-container,
    .qualifiche-container {margin: 35px auto;}

    .valori-card,
    .qualifiche-card {margin-bottom: 14px;padding: 16px 14px;}
    
    /* ============================================
       SERVIZI - Altezza Ridotta
       ============================================ */
    .servizi-intro-section {padding-top: 40px;padding-bottom: 35px;}
    .servizi-intro-text {font-size: 15px;line-height: 1.6;margin-top: 25px;}

    .servizi-focus-section,
    .servizi-metodo-section {margin-top: 50px;padding: 40px 20px;margin-left: 0;margin-right: 0;}
    .servizi-focus-container {margin: 30px auto;}
    .servizi-focus-intro {margin-bottom: 20px;}
    .servizi-focus-paragraph {font-size: 14px;line-height: 1.5;margin-bottom: 10px;}
    .servizi-grid-2col {gap: 18px;}
    .servizio-card-subtitle {font-size: 17px;}
    .servizi-altri-section {margin-top: 50px;}
    .servizi-altri-container {margin: 35px auto;}
    .servizi-altri-card {margin-bottom: 16px;}
    .servizi-metodo-container {margin: 35px auto;}
    .servizi-metodo-grid {gap: 20px;}
    .servizi-cta-section {margin-top: 50px;padding: 45px 20px;}
    .servizi-cta-text {font-size: 15px;margin-bottom: 25px;line-height: 1.5; }
    .servizi-cta-buttons {gap: 14px;}
    .servizi-cta-buttons .cta-button {padding: 12px 30px;font-size: 12px;}
    
    /* Card - Compatte */
    .servizio-card,
    .testimonial-card,
    .notizia-card,
    .dove-siamo-box,
    .valori-card,
    .qualifiche-card,
    .servizi-altri-card {padding: 16px 14px;min-height: auto;}
    
    .servizio-card h3,
    .notizia-titolo {font-size: 18px;margin-bottom: 7px;}
    
    .servizio-card p,
    .testimonial-text,
    .notizia-excerpt {font-size: 14px;line-height: 1.5;}
    
    .testimonial-stars {font-size: 14px;margin-bottom: 10px;}
    .testimonial-author {padding-top: 14px;margin-bottom: 8px;}
    .author-name {font-size: 14px;}
    
    .author-location,
    .testimonial-service {font-size: 12px;}

    .notizia-data,
    .notizia-categoria {font-size: 11px;}
    
    .notizia-link {font-size: 13px;}
    
    /* Intro Sections */
    .specializzazione-intro,
    .notizie-intro,
    .testimonials-intro {font-size: 14px;margin-bottom: 35px;line-height: 1.5;}
    
    .testimonials-section,
    .notizie-section {padding: 40px 0;}
    
    .testimonials-grid,
    .notizie-grid {gap: 18px;padding: 0 20px;}
    
    .notizie-grid {margin-top: 35px;}
    .notizie-cta-container {margin-top: 35px;}
    .cta-button.notizie-cta {margin-bottom: 35px;}
    
    /* Dove Siamo & Perché */
    .dove-siamo-section,
    .perche-section {padding: 40px 0;}
    
    .dove-siamo-container {margin: 30px auto;}
    .dove-siamo-box {padding: 22px;margin-bottom: 22px;}
    .dove-siamo-box h3 {font-size: 19px;margin-bottom: 10px;}
    .dove-siamo-indirizzo {font-size: 14px;margin-bottom: 9px;}
    .dove-siamo-tribunali {font-size: 13px;margin-bottom: 14px;}
    
    .dove-siamo-mappa-btn {padding: 9px 22px;font-size: 11px;}
    .dove-siamo-info {font-size: 13px;line-height: 1.5;}
    .perche-grid {gap: 20px;margin: 30px auto 0;}
    
    /* ============================================
       CONTATTI - Altezza Ridotta
       ============================================ */
    .contatti-intro {font-size: 14px;margin-bottom: 35px;line-height: 1.5;}
    .contatti-wrapper {gap: 25px;margin-top: 35px;}
    
    .info-rapida,
    .form-container {padding: 25px 18px;}
    
    .form-container h3,
    .info-rapida h3 {font-size: 20px;margin-bottom: 15px;}
    
    .info-item {margin-bottom: 12px;padding-bottom: 12px;}
    .info-label {font-size: 12px;margin-bottom: 4px;}
    .info-value {font-size: 15px;}
    
    /* Form */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {padding: 10px;font-size: 14px;}
    textarea {min-height: 85px;}
    label {font-size: 13px;margin-bottom: 5px;}
    .submit-btn {padding: 11px 30px;font-size: 13px;}
    .form-group {margin-bottom: 14px;}
    
    /* Mappa + QR Code */
    .mappa-qr-wrapper {grid-template-columns: 1fr 250px;gap: 1.2rem;margin: 25px 0 1.2rem;}
    .contatti-mappa-container {min-height: 300px;}
    .qr-code-container {padding: 1.2rem;}
    .qr-code-content h3 {font-size: 1.05rem;}
    .qr-code-content p {font-size: 0.8rem;margin-bottom: 1rem;}
    .qr-code-image {width: 160px;height: 160px;}
    .contatti-mappa-section {padding: 40px 0 50px;}
    .contatti-mappa-descrizione {margin: 20px auto 0;}
    .contatti-mappa-descrizione p {font-size: 14px;line-height: 1.5;}

    /* Map Placeholder */
    .map-placeholder h3 {font-size: 24px;margin-bottom: 12px;}
    .map-placeholder p { font-size: 14px;margin-bottom: 8px;}
    .map-placeholder-buttons {margin-top: 20px;gap: 12px;}
    
    .btn-view-map,
    .btn-enable-map {padding: 10px 25px;font-size: 12px;}
    
    /* Contatti Rapida */
    .contatti-rapida-section {padding: 40px 0;}
    .contatti-rapida-container {padding: 0 20px;}
    .contatti-rapida-title {font-size: 28px !important;margin-bottom: 16px;}
    .contatti-rapida-text {font-size: 15px !important;margin-bottom: 10px;}
    .contatti-rapida-subtitle {font-size: 14px !important;margin-bottom: 25px;}
    .contatti-rapida-numeri {gap: 25px;margin-bottom: 25px;}
    .contatti-rapida-numero {font-size: 21px !important;}
    
    /* ============================================
       FOOTER - Altezza Ridotta
       ============================================ */
    footer {padding: 30px 20px 20px;}
    .footer-main {gap: 25px;padding-bottom: 25px;}
    .footer-logo {font-size: 26px;margin-bottom: 12px;}
    .footer-section h4 {font-size: 13px;margin-bottom: 10px;}

    .footer-info-item,
    .footer-link {font-size: 13px; margin-bottom: 7px;line-height: 1.5;}
    .footer-info-item svg { width: 12px;height: 12px;margin-right: 6px;}
    .footer-bottom {margin-top: 20px;padding-top: 18px;} 
    .footer-legal {font-size: 12px !important;margin-bottom: 10px;}
    .footer-legal a {font-size: 12px !important;}
    .footer-credits {font-size: 11px !important;margin-top: 14px !important;padding-top: 14px !important;line-height: 1.4 !important;word-wrap: break-word;
        overflow-wrap: break-word;} 
    .footer-credits a {font-size: 11px !important;}
    .tribunali-list {font-size: 13px !important;line-height: 1.6 !important;}
    .footer-iscrizione-ordine {margin-top: 16px;font-size: 11px !important;}
    .footer-text {font-size: 13px;}
    
    /* ============================================
       COOKIE BANNER - Altezza Ridotta
       ============================================ */
    .cookie-banner {padding: 16px 18px;}
    .cookie-banner-content {flex-direction: row;gap: 25px;align-items: center;}
    .cookie-banner-text {flex: 1;}
    .cookie-banner-text h4 {font-size: 17px;margin-bottom: 6px;}
    .cookie-banner-text p {font-size: 13px; line-height: 1.5;}
    .cookie-banner-actions {flex-direction: row;gap: 10px;flex-shrink: 0;}
    .cookie-btn {padding: 10px 22px;font-size: 12px;white-space: nowrap;}
    
    /* ============================================
       PRIVACY - Altezza Ridotta
       ============================================ */
    .container {padding: 0 18px;margin: 50px auto 25px;}
    .container-privacy {margin-top: 70px !important;}
    .container h1 {font-size: 32px;margin-bottom: 10px;}
    .container h2 {font-size: 24px;margin-top: 35px;margin-bottom: 16px;}
    .container h3 {font-size: 19px;margin-top: 22px;margin-bottom: 10px;}
    .container h4 {font-size: 17px;margin-top: 18px;margin-bottom: 9px;}

    .container p,
    .container li {font-size: 14px;line-height: 1.5;margin-bottom: 12px;}

    .container ul,
    .container ol {margin-bottom: 16px;margin-left: 22px;}
    
    .container li {margin-bottom: 9px;}
    .last-updated {font-size: 12px;margin-bottom: 28px;}
    .info-box {padding: 18px 14px;margin: 22px 0;}
    .info-box strong {font-size: 12px;margin-bottom: 9px;}
    .info-box p {font-size: 13px;margin-bottom: 7px;}
    table {font-size: 12px;margin: 22px 0;}

    th,
    td {padding: 9px;font-size: 13px;}
}

/* ============================================
   TOUCH OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .servizio-card:hover, .testimonial-card:hover, .notizia-card:hover, 
    .info-rapida:hover, .form-container:hover { transform: none; }
    .chi-sono-image:hover::before, .chi-sono-image-2:hover::before { left: -100%; }
}

@media (max-width: 768px) {
    nav a, .cta-button, .footer-link, .submit-btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   TABLET - FORM ERRORS
   ============================================ */
@media (min-width: 769px) and (max-width: 1400px) {
    .contatti-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: stretch;
    }
    .info-rapida, .form-container { display: flex; flex-direction: column; }
    .form-group { position: relative; margin-bottom: 22px; }
    .form-group label { display: block; margin-bottom: 8px; }
    .field-error-message {
        position: absolute !important;
        left: 0 !important;
        top: 28px !important;
        transform: none !important;
        margin: 0;
        white-space: normal;
        max-width: calc(100% - 20px);
        min-width: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        z-index: 10;
    }
    textarea ~ .field-error-message, select ~ .field-error-message { top: 28px !important; }
    .field-error-message::before, .field-error-message::after { display: none !important; }
    .field-error-message.show { left: 0 !important; top: 28px !important; transform: none !important; }
    .checkbox-group { position: relative; }
    .checkbox-group .field-error-message {
        position: absolute !important;
        left: 0 !important;
        top: 26px !important;
        transform: none !important;
    }
    .checkbox-group .field-error-message::before,
    .checkbox-group .field-error-message::after { display: none !important; }
    .form-group.error input, .form-group.error select, .form-group.error textarea { margin-top: 32px; }
}

@media (min-width: 769px) and (max-width: 992px) {
    nav a { margin-left: 15px; font-size: 14px; }
}