/* ===========================
   A.B. Lab - Incassatura Preziosi
   CSS Stylesheet
   =========================== */

/* === Variables === */
:root {
    /* Colors */
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #8b7355;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

ul {
    list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 15px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
    display: block;
}

.btn i {
    margin-right: 8px;
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    color: var(--bg-white);
    padding: 120px 20px 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header.small {
    padding: 100px 20px 40px;
}

.page-header h1 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* === Sections === */
section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

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

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* === Intro Section === */
.intro-section {
    background-color: var(--bg-white);
}

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

.intro-text h2 {
    margin-bottom: 25px;
}

.intro-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.intro-text strong {
    color: var(--secondary-color);
}

.intro-image,
.image-placeholder {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 8px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* === Services Preview === */
.services-preview {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

.cta-center {
    text-align: center;
}

/* === Valenza Section === */
.valenza-section {
    background-color: var(--bg-white);
}

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

.valenza-text h2 {
    margin-bottom: 25px;
}

.valenza-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.valenza-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.stat span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === Why Us === */
.why-us {
    background-color: var(--bg-light);
}

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

.why-item {
    text-align: center;
}

.why-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-light);
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Service Detail Pages === */
.services-intro {
    background-color: var(--bg-light);
    padding: 40px 0;
}

.intro-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.intro-box p {
    font-size: 1.05rem;
}

.service-detail {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.service-detail.alt {
    background-color: var(--bg-light);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.service-detail-content.reverse .service-detail-text {
    order: 2;
}

.service-detail-content.reverse .service-detail-image {
    order: 1;
}

.service-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-badge i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.service-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.service-features,
.service-applications,
.service-types {
    margin-top: 30px;
}

.service-features h3,
.service-applications h3,
.service-types h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    display: flex;
    align-items: start;
    gap: 12px;
}

.service-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 4px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.type-item {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.type-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.type-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-note {
    background-color: rgba(212,175,55,0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
}

.service-note i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-note.premium {
    background-color: rgba(212,175,55,0.15);
}

.service-detail-image {
    position: sticky;
    top: 100px;
}

/* === Work Process === */
.work-process {
    background-color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.step-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* === About Pages === */
.about-intro {
    background-color: var(--bg-white);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.values-section {
    background-color: var(--bg-light);
}

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

.value-card {
    background-color: var(--bg-white);
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
}

.valenza-heritage {
    background-color: var(--bg-white);
}

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

.heritage-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat-item strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
}

.stat-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.competenze-section {
    background-color: var(--bg-light);
}

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

.competenza-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.competenza-item:hover {
    transform: translateY(-3px);
}

.competenza-item.featured {
    border: 2px solid var(--secondary-color);
}

.competenza-item.premium {
    border: 2px solid var(--accent-color);
}

.competenza-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.competenza-header i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.competenza-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.competenza-item p {
    color: var(--text-light);
}

.badge-rare,
.badge-premium {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 10px;
}

.badge-rare {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.badge-premium {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.approach-section {
    background-color: var(--bg-white);
}

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

.approach-points {
    margin-top: 30px;
}

.approach-point {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.point-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-icon i {
    font-size: 1.3rem;
    color: var(--bg-white);
}

.point-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.point-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-choose-extended {
    background-color: var(--bg-light);
}

.reasons-list {
    max-width: 900px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.reason-item:hover {
    transform: translateX(5px);
}

.reason-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.reason-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.reason-content p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* === Contact Page === */
.contact-section {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.3rem;
    color: var(--bg-white);
}

.method-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.method-info p {
    margin: 0;
    font-size: 1.05rem;
}

.method-info a {
    color: var(--secondary-color);
    font-weight: 600;
}

.method-info a:hover {
    text-decoration: underline;
}

.method-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.social-links h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--bg-white);
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    margin-bottom: 15px;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--secondary-color);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-section {
    background-color: var(--bg-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--bg-light);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-details p {
    margin-bottom: 8px;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

.location-section {
    background-color: var(--bg-light);
}

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

.location-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.location-info {
    margin-top: 30px;
}

.location-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info i {
    color: var(--secondary-color);
}

.location-map {
    position: sticky;
    top: 100px;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 8px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.faq-section {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(212,175,55,0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
}

/* === Privacy Page === */
.legal-content {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-nav {
    position: sticky;
    top: 100px;
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: fit-content;
}

.legal-nav h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.legal-nav ul li {
    margin-bottom: 10px;
}

.legal-nav a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.legal-nav a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.legal-text {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.update-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-section h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 25px;
}

.legal-section ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-box {
    background-color: rgba(212,175,55,0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box p {
    margin-bottom: 8px;
}

.browser-links ul {
    list-style: none;
    padding: 0;
}

.browser-links li {
    margin-bottom: 8px;
}

.browser-links a {
    color: var(--secondary-color);
    font-weight: 500;
}

/* === Footer === */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-social a:hover i {
    color: var(--primary-color);
}

.footer-social i {
    color: var(--primary-color);
}

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

.footer-col a {
    color: rgba(255,255,255,0.8);
}

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

.footer-contacts li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contacts i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .intro-content,
    .valenza-content,
    .service-detail-content,
    .about-intro-content,
    .heritage-content,
    .approach-content,
    .contact-wrapper,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content.reverse .service-detail-text {
        order: 1;
    }
    
    .service-detail-content.reverse .service-detail-image {
        order: 2;
    }
    
    .service-detail-image {
        position: static;
    }
    
    .location-map {
        position: static;
    }
    
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .legal-nav {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .competenze-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .heritage-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-text {
        padding: 25px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .page-header {
        padding: 100px 15px 50px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact-form-wrapper,
    .legal-text {
        padding: 25px 15px;
    }
}

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

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

.mb-20 {
    margin-bottom: 20px;
}

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

.mb-40 {
    margin-bottom: 40px;
}

/* === Animations === */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 0.8s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}