* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0A1931; /* Deep, rich dark blue */
    --dark-blue: #1C2D4A;    /* Slightly lighter dark blue */
    --light-blue: #3B82F6;   /* Accent blue for links/hovers */
    --black: #111111;        /* Softer black */
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F7F9;   /* Very light gray for backgrounds */
    --white: #ffffff;
    --gold-accent: #C6A66C; /* Reintrodotto l'elegante oro */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth; /* Manteniamo lo smooth scrolling */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Header compatto */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    position: static;
    transform: none;
    perspective: none;
    filter: none;
    will-change: auto;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    padding: 0;
    background: rgba(10, 25, 49, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

/* Rimosso .navbar.scrolled in quanto lo stile è ora di default */

.nav-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0; /* Initially invisible */
    transition: opacity 0.3s ease;
}

.nav-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Nav Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-contacts {
    display: flex;
    gap: 12px;
}

.nav-contact-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-contact-link:hover {
    background: var(--gold-accent);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-lang {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.lang-btn.active {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: var(--primary-blue);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary-blue);
    color: var(--white);
    padding-top: 0;
    margin-top: -80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Adjusted opacity for a cleaner look */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.5) 0%, rgba(28, 45, 74, 0.4) 100%); /* Darker, more pronounced overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 160px 24px 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(198, 166, 108, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-accent);
    border-radius: 100px;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--white);
    letter-spacing: -1px;
}

/* Highlight color on dark background (Hero) is gold */
.hero-content h1 .highlight {
    color: var(--gold-accent);
}

/* Highlight color on light backgrounds */
.highlight {
    color: var(--gold-accent);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons - Modern 2025 Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-accent);
    color: var(--primary-blue);
    box-shadow: 0 4px 24px rgba(198, 166, 108, 0.3);
}

.btn-primary:hover {
    background: #D4B87A;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(198, 166, 108, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Sections - Modern 2025 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-badge {
    display: inline-block;
    background: transparent;
    color: var(--gold-accent);
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
}

.section-badge::before,
.section-badge::after {
    content: '—';
    margin: 0 12px;
    opacity: 0.5;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--black);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--medium-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section - Modern 2025 */
.about {
    background: var(--white);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-info h3 {
    font-size: 28px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 24px;
    font-family: 'Cormorant Garamond', serif;
}

.about-info p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--light-gray);
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 16px;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    font-family: 'Cormorant Garamond', serif;
}

.value-item p {
    font-size: 14px;
    color: var(--medium-gray);
    margin: 0;
}

/* Services Section - Modern 2025 */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    font-family: 'Cormorant Garamond', serif;
}

.service-card > p {
    font-size: 15px;
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    padding: 10px 0;
    color: var(--dark-gray);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 14px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    height: 160px;
    margin-top: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

/* Consultation Section - Modern 2025 */
.consultation {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0D2240 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.consultation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 166, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.consultation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.consultation .container {
    position: relative;
    z-index: 1;
}

.consultation .section-badge {
    background: transparent;
    color: var(--gold-accent);
}

.consultation .section-badge::before,
.consultation .section-badge::after {
    color: var(--gold-accent);
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.consultation-text h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
}

.consultation-text > p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(198, 166, 108, 0.3);
}

.benefit-item i {
    width: 36px;
    height: 36px;
    background: var(--gold-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 14px;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.consultation-form {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}

.form-header {
    margin-bottom: 32px;
    text-align: center;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(198, 166, 108, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Messages */
.form-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    margin-top: 20px;
}

.form-message i {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-message p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.success i {
    color: #22c55e;
}

.form-message.success p {
    color: #166534;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-message.error i {
    color: #ef4444;
}

.form-message.error p {
    color: #991b1b;
}

/* Contact Section - Modern 2025 */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    border-color: rgba(198, 166, 108, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 20px;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
}

.contact-card p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Footer - Modern 2025 */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 72px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-logo .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Floating WhatsApp Button - Modern 2025 */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 16px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    outline: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    border-radius: 20px;
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1.02);
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
}

/* Pulse animation */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: inherit;
    z-index: -1;
    animation: whatsappPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.3;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Hidden initially */
}

.animate-fade-in-up.delay-1 {
    animation-delay: 0.2s;
}
.animate-fade-in-up.delay-2 {
    animation-delay: 0.4s;
}
.animate-fade-in-up.delay-3 {
    animation-delay: 0.6s;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .about-text {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-logo .logo-img {
        height: 100px; /* Adjusted logo size for smaller screens */
    }
    .navbar {
        height: 124px; /* NUOVO: Ricalcola l'altezza della navbar per schermi più piccoli */
        padding: 12px 0;
  .nav-container {
        padding: 0 16px 0 8px; /* Modifica qui: 8px per il padding sinistro su mobile. Puoi usare anche un valore più piccolo. */
    }

    }
    body {
        padding-top: 124px; /* NUOVO: Aggiorna il padding-top del body */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        color: var(--dark-gray); /* Ensure dark text on white mobile menu */
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-content {
        padding: 100px 16px 0;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .consultation-form,
    .service-card,
    .contact-card {
        padding: 24px;
    }

    .about-image img {
        height: 250px;
    }
}

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hover effects */
.service-card,
.contact-card,
.value-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection */
::selection {
    background: var(--primary-blue);
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* ===============================================
   TOP BAR - Integrata nella Navbar (Design 2025)
   =============================================== */
.top-bar {
    display: none; /* Nascosta - integrata nella navbar */
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.top-bar-contacts a:hover {
    color: var(--white);
}

.top-bar-contacts a i {
    font-size: 10px;
    color: var(--light-blue);
}

.top-bar-lang {
    display: flex;
    gap: 4px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-blue);
}

.lang-btn i {
    font-size: 10px;
}

/* ===============================================
   LAWYER PROFILES - Modern 2025
   =============================================== */
.lawyer-profile {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 32px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.lawyer-profile:hover {
    background: var(--white);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
    border-color: rgba(198, 166, 108, 0.2);
}

.lawyer-image {
    text-align: center;
}

.lawyer-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.lawyer-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}

.lawyer-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lawyer-bio p {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.lawyer-services-intro {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 28px 0 16px;
}

.lawyer-specialties {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lawyer-specialties li {
    position: relative;
    padding: 10px 0 10px 20px;
    font-size: 14px;
    color: var(--medium-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.6;
}

.lawyer-specialties li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--gold-accent);
    border-radius: 50%;
}

.lawyer-specialties li:last-child {
    border-bottom: none;
}

/* ===============================================
   WHY CHOOSE US - Modern 2025
   =============================================== */
.why-choose-us {
    background: var(--light-gray);
    padding: 100px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-choose-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(198, 166, 108, 0.3);
}

.why-choose-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold-accent);
    font-size: 22px;
}

.why-choose-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.5;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}

/* ===============================================
   SERVICES GRID - Due colonne
   =============================================== */
.services-grid-two {
    grid-template-columns: repeat(2, 1fr);
}

/* Contact card wide per sedi multiple */
.contact-card-wide {
    grid-column: span 1;
}

.offices-list p {
    margin: 8px 0;
    font-size: 15px;
}

.offices-list strong {
    color: var(--primary-blue);
}

/* ===============================================
   RESPONSIVE - Modern 2025
   =============================================== */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lawyer-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lawyer-image img {
        max-width: 280px;
        height: 340px;
        margin: 0 auto 20px;
        object-position: top center;
    }

    .services-grid-two {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .consultation-content {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        height: 70px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo .logo-img {
        height: 40px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary-blue);
        padding: 40px 24px;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu a {
        display: block;
        padding: 20px 0;
        font-size: 16px;
    }

    .nav-contacts {
        display: none;
    }

    .nav-lang {
        margin-left: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-content {
        padding: 120px 20px 60px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 10px 20px;
        letter-spacing: 2px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-item {
        padding: 32px 24px;
    }

    .lawyer-profile {
        padding: 32px 24px;
    }

    .lawyer-image img {
        height: 320px;
        object-position: top center;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consultation-form {
        padding: 32px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 12px;
    }

    .why-choose-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
