/* ===== Offi Mobili - foglio di stile condiviso (home + pagine servizio) ===== */

/* ========== CSS VARIABLES ========== */
:root {
    --verde-scuro: #1B5E20;
    --verde-medio: #2E7D32;
    --verde-chiaro: #4CAF50;
    --verde-accent: #A5D6A7;
    --crema: #F5F0E8;
    --crema-chiaro: #FAF8F4;
    --bianco: #FFFFFF;
    --grigio-caldo: #6D6D6D;
    --grigio-chiaro: #B0A89A;
    --legno: #8B6F47;
    --legno-chiaro: #C4A97D;
    --nero-morbido: #2C2C2C;
    --ombra-leggera: 0 2px 20px rgba(27, 94, 32, 0.08);
    --ombra-media: 0 8px 40px rgba(27, 94, 32, 0.12);
    --ombra-forte: 0 16px 60px rgba(27, 94, 32, 0.18);
    --transizione: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--nero-morbido);
    background-color: var(--crema-chiaro);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transizione);
}

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

picture { display: contents; }

/* Skip link (accessibilità) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 2000;
    background: var(--verde-scuro);
    color: var(--bianco);
    padding: 12px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}
.skip-link:focus { left: 8px; }

/* Honeypot anti-spam del form */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========== UTILITY ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--verde-medio);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1.5px;
    background: var(--verde-medio);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--verde-scuro);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--grigio-caldo);
    max-width: 600px;
    font-weight: 300;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--verde-scuro);
    color: var(--bianco);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--transizione);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--legno-chiaro);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transizione);
}

.btn-primary:hover {
    background: var(--verde-medio);
    transform: translateY(-2px);
    box-shadow: var(--ombra-media);
}

.btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--verde-scuro);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid var(--verde-scuro);
    cursor: pointer;
    transition: all 0.4s var(--transizione);
}

.btn-outline:hover {
    background: var(--verde-scuro);
    color: var(--bianco);
    transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    transition: all 0.4s var(--transizione);
}

.header.scrolled {
    box-shadow: var(--ombra-leggera);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo svg,
.header-logo img {
    height: 90px;
    width: auto;
    max-width: 100%;
    transition: transform 0.3s var(--transizione);
}

.header-logo:hover svg,
.header-logo:hover img {
    transform: scale(1.03);
}

.header-nav a,
.header-phone,
.header-cta { white-space: nowrap; }


@media (max-width: 1024px) {
    .header-logo svg,
    .header-logo img { height: 64px; }
}

@media (max-width: 600px) {
    .header-logo svg,
    .header-logo img { height: 52px; }
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--nero-morbido);
    position: relative;
    padding-bottom: 4px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--verde-scuro);
    transition: width 0.3s var(--transizione);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--verde-scuro);
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.header-cta {
    padding: 10px 24px;
    font-size: 0.82rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--verde-scuro);
    margin: 5px 0;
    transition: all 0.3s var(--transizione);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--crema-chiaro) 0%, var(--crema) 50%, #E8E0D0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--verde-accent), transparent);
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(-40px, 30px) scale(1.1); opacity: 0.8; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 24px 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(27, 94, 32, 0.08);
    border: 1px solid rgba(27, 94, 32, 0.15);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--verde-scuro);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--transizione) both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--verde-chiaro);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    color: var(--verde-scuro);
    margin-bottom: 8px;
    animation: fadeInUp 0.8s var(--transizione) 0.1s both;
    line-height: 1.05;
}

.hero h1 em {
    font-style: italic;
    color: var(--legno);
    font-weight: 500;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--legno);
    margin-bottom: 28px;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--transizione) 0.2s both;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--grigio-caldo);
    max-width: 500px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--transizione) 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--transizione) 0.4s both;
}

.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s var(--transizione) 0.3s both;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 520px;
}

.hero-img-wrapper {
    overflow: hidden;
    position: relative;
    background: var(--crema);
    min-width: 0;
}

.hero-img-wrapper:first-child {
    grid-row: span 2;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transizione);
}

.hero-img-wrapper:hover img {
    transform: scale(1.05);
}

.hero-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(27, 94, 32, 0.85));
    color: var(--bianco);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(27, 94, 32, 0.12);
    animation: fadeInUp 0.8s var(--transizione) 0.5s both;
}

.hero-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--verde-scuro);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--grigio-caldo);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== CHI SIAMO ========== */
.chi-siamo {
    padding: 120px 0;
    background: var(--bianco);
    position: relative;
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.chi-siamo-visual {
    position: relative;
}

.chi-siamo-img-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.chi-siamo-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--verde-scuro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bianco);
}

.chi-siamo-accent-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.chi-siamo-accent-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.chi-siamo-text p {
    margin-bottom: 20px;
    color: var(--grigio-caldo);
}

.chi-siamo-text p:first-of-type {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--nero-morbido);
    font-weight: 500;
    line-height: 1.6;
}

/* ========== SERVIZI ========== */
.servizi {
    padding: 120px 0;
    background: var(--crema-chiaro);
    position: relative;
}

.servizi-header {
    text-align: center;
    margin-bottom: 72px;
}

.servizi-header .section-subtitle {
    margin: 0 auto;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.servizio-card {
    background: var(--bianco);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transizione);
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
}

.servizio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--verde-scuro);
    transition: height 0.4s var(--transizione);
}

.servizio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ombra-media);
}

.servizio-card:hover::before {
    height: 100%;
}

.servizio-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 32, 0.06);
    margin-bottom: 24px;
    transition: all 0.4s var(--transizione);
}

.servizio-card:hover .servizio-icon {
    background: var(--verde-scuro);
}

.servizio-card:hover .servizio-icon svg {
    stroke: var(--bianco);
}

.servizio-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--verde-scuro);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.4s var(--transizione);
}

.servizio-card h3 {
    font-size: 1.3rem;
    color: var(--verde-scuro);
    margin-bottom: 12px;
}

.servizio-card p {
    font-size: 0.92rem;
    color: var(--grigio-caldo);
    line-height: 1.7;
}

.servizio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--verde-scuro);
    letter-spacing: 0.5px;
    opacity: 0.85;
    transform: translateX(0);
    transition: all 0.4s var(--transizione);
}

.servizio-card:hover .servizio-link {
    opacity: 1;
    transform: translateX(0);
}

/* ========== PERCHÉ NOI ========== */
.perche-noi {
    padding: 120px 0;
    background: var(--verde-scuro);
    color: var(--bianco);
    position: relative;
    overflow: hidden;
}

.perche-noi::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(46, 125, 50, 0.3) 0%, transparent 60%);
}

.perche-noi .section-label {
    color: var(--verde-accent);
}

.perche-noi .section-label::before {
    background: var(--verde-accent);
}

.perche-noi .section-title {
    color: var(--bianco);
}

.perche-noi .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.perche-noi-header {
    margin-bottom: 72px;
}

.perche-noi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.perche-noi-card {
    padding: 40px 28px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s var(--transizione);
    position: relative;
}

.perche-noi-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.perche-noi-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 20px;
}

.perche-noi-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--bianco);
}

.perche-noi-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ========== PROGETTAZIONE ========== */
.progettazione {
    padding: 120px 0;
    background: var(--bianco);
}

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

.progettazione-text .section-title {
    margin-bottom: 28px;
}

.progettazione-text p {
    color: var(--grigio-caldo);
    margin-bottom: 20px;
}

.progettazione-steps {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progettazione-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.progettazione-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 32, 0.06);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--verde-scuro);
}

.progettazione-step-text h4 {
    font-size: 1rem;
    color: var(--verde-scuro);
    margin-bottom: 4px;
}

.progettazione-step-text p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.progettazione-visual {
    position: relative;
}

.progettazione-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.progettazione-quote {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--crema);
    padding: 28px 32px;
    max-width: 320px;
    border-left: 4px solid var(--verde-scuro);
}

.progettazione-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--verde-scuro);
    margin: 0;
    line-height: 1.5;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 120px 0;
    background: var(--crema-chiaro);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header .section-subtitle {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--crema);
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transizione);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(27, 94, 32, 0.9));
    color: var(--bianco);
    transform: translateY(100%);
    transition: transform 0.5s var(--transizione);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 0.78rem;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--crema) 0%, #E8E0D0 100%);
    color: var(--grigio-chiaro);
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== FORM PREVENTIVO ========== */
.preventivo {
    padding: 120px 0;
    background: var(--bianco);
    position: relative;
}

.preventivo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.preventivo-info {
    position: sticky;
    top: 120px;
}

.preventivo-info .section-title {
    margin-bottom: 20px;
}

.preventivo-info p {
    color: var(--grigio-caldo);
    margin-bottom: 32px;
}

.preventivo-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preventivo-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.preventivo-benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 32, 0.06);
}

.preventivo-benefit-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--verde-scuro);
    fill: none;
    stroke-width: 2;
}

.preventivo-benefit h4 {
    font-size: 0.95rem;
    color: var(--verde-scuro);
    margin-bottom: 2px;
}

.preventivo-benefit p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.form-card {
    background: var(--crema-chiaro);
    padding: 48px;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-card h3 {
    font-size: 1.6rem;
    color: var(--verde-scuro);
    margin-bottom: 8px;
}

.form-card > p {
    font-size: 0.88rem;
    color: var(--grigio-caldo);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--nero-morbido);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bianco);
    border: 1px solid rgba(0,0,0,0.1);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--nero-morbido);
    transition: all 0.3s var(--transizione);
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--verde-scuro);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.08);
}

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

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

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--verde-scuro);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.8rem;
    color: var(--grigio-caldo);
    line-height: 1.5;
}

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

.form-submit {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 18px;
}

/* ========== CONTATTI ========== */
.contatti {
    padding: 120px 0 0;
    background: var(--crema-chiaro);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contatti-info h3 {
    font-size: 1.5rem;
    color: var(--verde-scuro);
    margin-bottom: 32px;
}

.contatti-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contatti-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 32, 0.06);
}

.contatti-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--verde-scuro);
    fill: none;
    stroke-width: 1.5;
}

.contatti-item-text h4 {
    font-size: 0.92rem;
    color: var(--nero-morbido);
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.contatti-item-text p,
.contatti-item-text a {
    font-size: 0.88rem;
    color: var(--grigio-caldo);
}

.contatti-item-text a:hover {
    color: var(--verde-scuro);
}

.contatti-social {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.contatti-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-scuro);
    color: var(--bianco);
    transition: all 0.3s var(--transizione);
}

.contatti-social a:hover {
    background: var(--verde-medio);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.contatti-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contatti-map {
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    background: var(--crema);
    position: relative;
}

/* Placeholder mappa: Google Maps viene caricato solo dopo il consenso */
.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--crema-chiaro), var(--crema));
    z-index: 1;
}
.map-placeholder svg { width: 44px; height: 44px; stroke: var(--verde-scuro); fill: none; stroke-width: 1.5; }
.map-placeholder h4 { font-size: 1.4rem; color: var(--verde-scuro); }
.map-placeholder p { font-size: 0.88rem; color: var(--grigio-caldo); max-width: 380px; }
.map-placeholder .btn-primary { padding: 12px 26px; font-size: 0.82rem; }
.map-placeholder .map-ext-link { font-size: 0.82rem; color: var(--verde-medio); text-decoration: underline; padding: 8px; }
.map-placeholder.hidden { display: none; }

.contatti-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) contrast(0.95);
    transition: filter 0.5s;
}

.contatti-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* CTA Band */
.contatti-cta-band {
    background: var(--verde-scuro);
    padding: 48px 0;
}

.contatti-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contatti-cta-text h3 {
    font-size: 1.6rem;
    color: var(--bianco);
    margin-bottom: 4px;
}

.contatti-cta-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
}

.contatti-cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-white {
    padding: 14px 32px;
    background: var(--bianco);
    color: var(--verde-scuro);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transizione);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-white-outline {
    padding: 14px 32px;
    background: transparent;
    color: var(--bianco);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s var(--transizione);
}

.btn-white-outline:hover {
    border-color: var(--bianco);
    background: rgba(255,255,255,0.1);
}

/* ========== FOOTER ========== */
.footer {
    background: #162B17;
    color: rgba(255,255,255,0.5);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

.footer-brand img {
    height: 44px;
    filter: brightness(2);
    opacity: 0.8;
}

.footer h4 {
    color: var(--bianco);
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--verde-accent);
    padding-left: 6px;
}

.footer-seo {
    font-size: 0.82rem;
    line-height: 1.8;
}

.footer-seo a {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
}

.footer-bottom a {
    transition: color 0.3s;
}

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

/* ========== RESPONSIVE ========== */
/* Fra 1025 e 1280px la barra desktop deve restare su una riga: logo e spazi ridotti */
@media (max-width: 1280px) {
    .header-logo svg,
    .header-logo img { height: 64px; }
    .header-nav { gap: 22px; }
    .header-actions { gap: 12px; }
    .header-phone { font-size: 0.8rem; }
    .header-cta { padding: 10px 18px; }
}

@media (max-width: 1120px) {
    .header-phone { display: none; }
}

@media (max-width: 1024px) {
    /* Da tablet in giù la barra desktop non ci sta: menu hamburger */
    .header-nav { display: none; }
    .header-phone { display: none; }
    .menu-toggle { display: block; }
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-top: 120px;
        padding-bottom: 72px;
    }
    /* Le foto hero restano visibili anche su tablet/mobile, in fila */
    .hero-visual { animation: none; }
    .hero-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 1fr;
        height: 280px;
        gap: 12px;
    }
    .hero-img-wrapper:first-child { grid-row: span 1; }
    .chi-siamo-grid { grid-template-columns: 1fr; gap: 48px; }
    .chi-siamo-accent { position: relative; bottom: 0; right: 0; display: inline-flex; }
    .perche-noi-grid { grid-template-columns: repeat(2, 1fr); }
    .progettazione-grid { grid-template-columns: 1fr; gap: 48px; }
    .preventivo-grid { grid-template-columns: 1fr; }
    .preventivo-info { position: static; }
    .contatti-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 240px); }
}

@media (max-width: 768px) {
    .header-cta { font-size: 0.75rem; padding: 8px 16px; }
    .hero-image-grid { height: 220px; gap: 10px; }
    .hero-img-caption { font-size: 0.68rem; padding: 8px 10px; letter-spacing: 0.5px; }
    /* Aree di tocco >= 44px per i link del footer */
    .footer-links a { display: block; padding: 10px 0; }
    .footer-bottom a { display: inline-block; padding: 8px 4px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-stats { gap: 32px; flex-wrap: wrap; }
    .perche-noi-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
    .gallery-item:first-child { grid-column: span 2; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 32px 24px; }
    .contatti-cta-inner { flex-direction: column; text-align: center; }
    .contatti-cta-buttons { flex-direction: column; width: 100%; }
    .contatti-cta-buttons a, .contatti-cta-buttons button { width: 100%; text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .progettazione-quote { position: relative; left: 0; bottom: 0; margin-top: 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-image-grid { height: 170px; gap: 8px; }
    .hero-img-caption { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; justify-content: center; }
    .section-title { font-size: 1.8rem; }
    .servizi-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
    .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(27, 94, 32, 0.97);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transizione);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--bianco);
    transition: opacity 0.3s;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--bianco);
    font-size: 2rem;
    cursor: pointer;
}

/* ========== COOKIE BANNER GDPR ========== */
.cookie-banner {
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 520px;
    background: var(--bianco);
    border-left: 4px solid var(--verde-medio);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
    padding: 26px 28px;
    z-index: 10000;
    font-family: 'Outfit', sans-serif;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 600;
    color: var(--verde-scuro);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.cookie-banner-title svg {
    width: 22px; height: 22px;
    color: var(--verde-medio);
}
.cookie-banner-text {
    font-size: 0.88rem;
    color: var(--grigio-caldo);
    line-height: 1.6;
    margin-bottom: 20px;
}
.cookie-banner-text a {
    color: var(--verde-medio);
    text-decoration: underline;
}
.cookie-banner-buttons {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem; font-weight: 500;
    padding: 11px 22px;
    border: none; cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    border-radius: 0;
}
.cookie-btn-primary {
    background: var(--verde-scuro); color: var(--bianco);
}
.cookie-btn-primary:hover { background: var(--verde-medio); }
.cookie-btn-secondary {
    background: var(--crema); color: var(--verde-scuro);
    border: 1px solid rgba(27, 94, 32, 0.2);
}
.cookie-btn-secondary:hover { background: var(--crema-chiaro); border-color: var(--verde-medio); }
.cookie-btn-link {
    background: transparent; color: var(--grigio-caldo);
    text-decoration: underline; padding: 11px 8px;
}
.cookie-btn-link:hover { color: var(--verde-scuro); }

/* Modal preferenze */
.cookie-modal {
    position: fixed; inset: 0;
    background: rgba(27, 94, 32, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10001;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.cookie-modal.visible { display: flex; }
.cookie-modal-inner {
    background: var(--bianco);
    max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: cookieModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieModalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
}
.cookie-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; color: var(--verde-scuro);
    margin-bottom: 6px;
}
.cookie-modal-subtitle {
    font-size: 0.88rem; color: var(--grigio-caldo);
}
.cookie-modal-body { padding: 24px 32px; }
.cookie-category {
    padding: 18px 0;
    border-bottom: 1px solid rgba(27, 94, 32, 0.06);
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 8px;
}
.cookie-category-name {
    font-weight: 600; color: var(--verde-scuro);
    font-size: 0.95rem;
}
.cookie-category-desc {
    font-size: 0.82rem; color: var(--grigio-caldo);
    line-height: 1.55;
}
.cookie-category-required {
    font-size: 0.72rem; color: var(--verde-medio);
    font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* Toggle switch */
.cookie-switch {
    position: relative; display: inline-block;
    width: 44px; height: 24px; flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #d0d0d0;
    transition: 0.3s; border-radius: 24px;
}
.cookie-switch-slider::before {
    content: ''; position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: white;
    transition: 0.3s; border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-switch-slider { background: var(--verde-medio); }
.cookie-switch input:checked + .cookie-switch-slider::before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-switch-slider { background: var(--verde-accent); cursor: not-allowed; }
.cookie-modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid rgba(27, 94, 32, 0.08);
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: flex-end;
}

/* Floating "gestisci cookie" button */
.cookie-fab {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 44px; height: 44px;
    background: var(--bianco);
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    cursor: pointer; z-index: 999;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.cookie-fab.visible { display: flex; }
.cookie-fab:hover {
    transform: scale(1.08);
    background: var(--verde-scuro);
    border-color: var(--verde-scuro);
}
.cookie-fab svg { width: 20px; height: 20px; color: var(--verde-scuro); transition: color 0.3s; }
.cookie-fab:hover svg { color: var(--bianco); }

@media (max-width: 600px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 22px 20px; }
    .cookie-banner-title { font-size: 1.2rem; }
    .cookie-btn { font-size: 0.78rem; padding: 10px 16px; flex: 1; min-width: 0; }
    .cookie-btn-link { flex: 100%; }
    .cookie-modal-header, .cookie-modal-body, .cookie-modal-footer { padding-left: 22px; padding-right: 22px; }
    .cookie-modal-footer { flex-direction: column-reverse; }
    .cookie-modal-footer .cookie-btn { width: 100%; }
}

/* ========== PAGINE SERVIZIO ========== */
.svc-hero { padding: 160px 0 80px; background: linear-gradient(135deg, var(--crema-chiaro) 0%, var(--crema) 60%, #E8E0D0 100%); position: relative; overflow: hidden; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.breadcrumb { font-size: 0.8rem; color: var(--grigio-caldo); margin-bottom: 28px; letter-spacing: 0.3px; }
.breadcrumb a { color: var(--verde-medio); }
.breadcrumb a:hover { color: var(--verde-scuro); text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--verde-scuro); line-height: 1.1; margin-bottom: 14px; }
.svc-hero .hero-tagline { margin-bottom: 22px; }
.svc-hero .lead { font-size: 1.02rem; color: var(--grigio-caldo); margin-bottom: 16px; max-width: 580px; }
.svc-hero .hero-buttons { margin-top: 32px; }
.svc-hero-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--crema); box-shadow: var(--ombra-media); }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-section { padding: 96px 0; }
.svc-section.alt { background: var(--bianco); }
.svc-section .section-subtitle { margin-bottom: 8px; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.svc-card { background: var(--crema-chiaro); padding: 32px 28px; border-left: 3px solid var(--legno-chiaro); transition: transform 0.3s var(--transizione), box-shadow 0.3s var(--transizione); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--ombra-leggera); }
.svc-card h3 { font-size: 1.4rem; color: var(--verde-scuro); margin-bottom: 10px; }
.svc-card p { font-size: 0.94rem; color: var(--grigio-caldo); }
.svc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.svc-two-img { aspect-ratio: 1; overflow: hidden; background: var(--crema); }
.svc-two-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-two .progettazione-steps { margin-top: 32px; }
.faq-list { max-width: 840px; margin-top: 40px; }
.faq-item { border-bottom: 1px solid rgba(27, 94, 32, 0.12); }
.faq-item summary { cursor: pointer; padding: 22px 0; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--verde-scuro); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 1.7rem; color: var(--legno); flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; color: var(--grigio-caldo); max-width: 740px; }
.svc-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.svc-related a { padding: 12px 22px; border: 1.5px solid var(--verde-scuro); color: var(--verde-scuro); font-size: 0.85rem; font-weight: 500; }
.svc-related a:hover { background: var(--verde-scuro); color: var(--bianco); }
.svc-showroom { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; font-size: 0.95rem; color: var(--grigio-caldo); }
.svc-showroom strong { display: block; color: var(--verde-scuro); font-weight: 500; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 1024px) {
    .svc-hero { padding-top: 130px; padding-bottom: 60px; }
    .svc-hero-grid, .svc-two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-two-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
    .svc-cards { grid-template-columns: minmax(0, 1fr); }
    .svc-section { padding: 64px 0; }
    .faq-item summary { font-size: 1.2rem; }
}
