/* 
   Bach Studio Premium Style System
   Custom Vanilla CSS for High Performance and SEO compliance.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #121620;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(229, 190, 70, 0.45);
    --gold: #e5be46;
    --gold-hover: #ffd75c;
    --gold-muted: rgba(229, 190, 70, 0.15);
    --text-white: #ffffff;
    --text-silver: #f9fafb;
    --text-muted: #cbd5e1;
    --text-dark: #0b0f19;
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #010307;
}

body {
    background-color: #010307;
    color: var(--text-silver);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Titles */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
}

h1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-white);
    padding-bottom: 0.25rem;
}

h2 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

p {
    font-weight: 300;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.text-gold {
    color: var(--gold);
}

.italic {
    font-style: italic;
    display: inline-block;
    padding-bottom: 0.15em;
}

/* Header & Navigation */
.top-bar-wintel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 11, 18, 0.95);
    border-bottom: 1px solid rgba(229, 190, 70, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    z-index: 102;
}

.wintel-hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.8rem;
    border: 1px solid rgba(229, 190, 70, 0.4);
    border-radius: 4px;
    background: rgba(229, 190, 70, 0.08);
}

header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(1, 3, 9, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

header.navbar.scrolled {
    height: 75px;
    background: rgba(1, 3, 9, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(2rem, 5vw, 5rem);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
}

.logo span {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    margin: 0;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: color 0.25s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Call to Action Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--text-dark);
    border: 1px solid var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--text-white);
    border-color: var(--text-white);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

/* Glassmorphism card effects */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 2rem;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.spotlight-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(229, 190, 70, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.spotlight-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(229, 190, 70, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background-image: url('images/mixing-mastering-professionale-milano.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    mix-blend-mode: normal;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section:hover .hero-img-overlay {
    transform: scale(1.03);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(1, 3, 9, 0.1) 0%, var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.reveal-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
}

.reveal-element {
    transform: translateY(100%);
    animation: revealAnim 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: block;
    padding-bottom: 0.25rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 300;
    max-w: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-white);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.explore-link .explore-text {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.explore-link .explore-arrow {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(2px, -50%);
    opacity: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    pointer-events: none;
}

.explore-link .explore-arrow svg {
    width: 18px;
    height: 11px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
}

.explore-link:hover .explore-text {
    transform: translateX(-5px);
    color: var(--gold);
}

.explore-link:hover .explore-arrow {
    opacity: 1;
    transform: translate(6px, -50%);
    color: var(--gold);
}

/* Stats Ribbon */
.stats-ribbon {
    position: relative;
    z-index: 20;
    margin-top: 2.5rem;
    margin-bottom: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

/* Section Templates */
.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-tag {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    margin-bottom: 2.5rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.25);
    margin-bottom: 2.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Split Section (Artisti) */
.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.split-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.star-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.star-logo {
    height: 38px;
    opacity: 0.25;
    filter: invert(1);
    transition: var(--transition-fast);
}

.star-badge:hover .star-logo {
    opacity: 0.6;
}

.star-badge-line {
    height: 40px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.05);
}

.star-badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.4;
}

.image-card {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    opacity: 1;
}

.image-card:hover img {
    filter: none;
    transform: none;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 60%);
    opacity: 0.7;
}

.glow-decoration {
    display: none !important;
}

/* Gallery Grid Layout with Equal Row Height Alignment */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 380px;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-card);
    height: 100%;
    cursor: default;
}

.gallery-item.landscape {
    grid-column: span 2;
    height: 100%;
}

.gallery-item.square {
    grid-column: span 1;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    cursor: default;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 3, 9, 0.95) 0%, rgba(1, 3, 9, 0.75) 28%, rgba(1, 3, 9, 0.25) 55%, transparent 85%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2.2rem;
    transition: var(--transition-smooth);
    cursor: default;
    pointer-events: none;
}

.gallery-overlay-content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
    cursor: default;
}

.gallery-item:hover .gallery-overlay-content {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.gallery-overlay h4 {
    font-size: 1.55rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
    font-family: var(--font-serif);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.gallery-overlay p {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 3rem 2.5rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-card h3 {
    font-size: 1.45rem;
    min-height: 4.2rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    line-height: 1.35;
    transition: var(--transition-fast);
    color: var(--text-white);
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background-color: var(--gold);
    color: var(--text-dark);
    transform: scale(1.05);
}

.service-card p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    transform: translateX(5px);
    color: var(--text-white);
}

/* Contact & SEO Optimization Section (Centered & Harmonious) */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info .section-tag {
    margin: 0 auto 0.5rem;
}

.contact-info .section-title {
    text-align: center;
}

.contact-info .section-divider {
    margin: 0 auto 1.75rem;
}

.contact-info .section-desc {
    text-align: center;
    margin: 0 auto 1.75rem;
    max-width: 480px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 0.9rem 1.25rem;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
}

.info-icon {
    color: var(--gold);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--text-white);
}

/* Contact Form styling */
.contact-form-card {
    padding: 3.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(229, 190, 70, 0.15);
}

select.form-control {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0b0f17;
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d4af37'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

select.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: #0e1420;
    box-shadow: 0 0 0 3px rgba(229, 190, 70, 0.2);
}

select.form-control option {
    background-color: #0d121d;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.95rem;
}

select.form-control option:disabled {
    color: rgba(255, 255, 255, 0.4);
    background-color: #080c14;
}

textarea.form-control {
    resize: none;
}

.form-btn-wrapper {
    margin-top: 2.5rem;
}

/* Footer Section */
footer.footer {
    background-color: #010307;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr 1.05fr 1.2fr;
    gap: 4.5rem;
    margin-bottom: 1.75rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col:not(:first-child),
.footer-col-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col h4,
.footer-col-centered h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.15rem;
    text-align: center;
    width: 100%;
}

.footer-col .logo {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-col p {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.95;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-contacts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.95rem;
    width: 100%;
}

.footer-contacts-list li {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.95;
    text-decoration: none;
    transition: var(--transition-fast);
    text-align: center;
    margin: 0 auto;
}

.footer-contact-link span {
    text-align: center;
}

.footer-contact-link:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.footer-contact-link:hover .footer-contact-icon {
    transform: scale(1.15);
}

.footer-col ul li {
    color: #ffffff;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffffff;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link-item .social-icon {
    width: 18px;
    height: 18px;
    color: var(--gold);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.social-link-item:hover {
    color: var(--gold);
}

.social-link-item:hover .social-icon {
    transform: scale(1.18);
}

.footer-focus-seo {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #ffffff !important;
    opacity: 0.92 !important;
}

.footer-legal-text {
    font-size: 0.65rem !important;
    color: #ffffff !important;
    opacity: 0.75 !important;
    text-align: center;
    max-width: 900px;
    margin: 0.2rem auto 0.5rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    text-align: center;
}

.footer-bottom-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    margin: 0.2rem 0 0.3rem;
}

.footer-bottom-nav p {
    margin: 0;
    text-align: center;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    opacity: 0.85;
}

.footer-bottom-nav p,
.footer-bottom-nav a {
    font-size: 0.62rem !important;
    color: #ffffff !important;
    opacity: 0.8;
}

.footer-bottom-nav a:hover {
    color: var(--gold) !important;
    opacity: 1;
}

/* Floating Back to Top Button (Placed directly above WhatsApp) */
.back-to-top {
    position: fixed;
    bottom: 168px; /* Directly above WhatsApp desktop (96px + 58px + 14px) */
    right: 28px;
    width: 54px;
    height: 54px;
    background: rgba(11, 15, 23, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.visible:hover {
    background-color: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top.visible:hover svg {
    transform: translateY(-3px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 96px; /* Positioned cleanly right above the taller full-width call bar */
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 10000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Animations */
@keyframes revealAnim {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Hooks */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Navigation & Drawer System */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 101;
}

.mobile-toggle-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Fullscreen Navigation Drawer (Fixed, No Scroll) */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(3, 5, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
}

.mobile-nav-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-height: 100dvh;
    padding: 1.25rem 1.5rem 2rem;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 0;
    margin: auto 0;
}

.mobile-nav-links a {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-white);
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    display: block;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--gold);
    transform: translateX(6px);
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mobile-quick-link {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
}

.mobile-quick-link:hover {
    color: var(--gold);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    header.navbar .nav-links {
        gap: 1.4rem;
    }
    header.navbar .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
    .btn {
        padding: 0.75rem 1.6rem;
    }
    h1 { font-size: 3.8rem; }
    h2 { font-size: 2.8rem; }
    .split-grid { gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    header.navbar {
        height: 72px;
    }
    header.navbar .container {
        padding: 0 1.25rem;
    }
    .logo {
        font-size: 1.45rem;
    }
    header.navbar .nav-links {
        display: none;
    }
    .mobile-toggle-btn {
        display: flex;
    }
    .navbar-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }
    .nav-cta-btn {
        display: inline-flex !important;
        padding: 0.45rem 0.9rem !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.08em !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 105px;
        padding-bottom: 2.5rem;
        min-height: auto;
    }
    .hero-content {
        padding: 0 0.5rem;
    }
    h1 {
        font-size: clamp(1.95rem, 7.5vw, 2.75rem);
        line-height: 1.15;
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.25rem;
    }
    .hero-actions .btn-primary {
        width: 100%;
        max-width: 320px;
        padding: 0.85rem 1.5rem;
    }

    /* Stats Ribbon (Positioned completely below the hero background image) */
    .stats-ribbon {
        position: relative;
        z-index: 20;
        margin-top: 2.25rem !important;
        margin-bottom: 2.25rem !important;
        padding: 0 1rem;
    }
    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        padding: 1.75rem 1.25rem !important;
        border-radius: 1.5rem;
    }
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 1.25rem !important;
        padding-top: 0.25rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        text-align: center;
    }
    .stat-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .stat-number {
        font-size: clamp(1.8rem, 6vw, 2.3rem);
    }
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    /* Sections & Grids */
    .section {
        padding: 3.5rem 0;
    }
    .container {
        padding: 0 1.25rem;
    }
    .section-title {
        font-size: clamp(1.75rem, 6.5vw, 2.3rem);
        line-height: 1.2;
    }
    .section-desc {
        font-size: 0.92rem;
        line-height: 1.65;
    }
    .split-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .glass-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }

    /* Legacy & Credibilità (#artisti) - Centrata su mobile */
    #artisti .split-grid > div:first-child {
        text-align: center;
    }
    #artisti .section-divider {
        margin: 0 auto 1.5rem;
    }
    #artisti .image-card {
        margin: 0 auto;
        max-width: 500px;
    }

    /* Prenota una Sessione (#contatti) - Centrata su mobile */
    #contatti .split-grid > div:first-child {
        text-align: center;
    }
    #contatti .section-divider {
        margin: 0 auto 1.5rem;
    }
    #contatti .contact-info-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
    #contatti .contact-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 1rem;
    }
    .gallery-item,
    .gallery-item.landscape {
        grid-column: span 1;
        height: 100%;
        border-radius: 1.25rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }
    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Contact Form */
    .contact-form-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }
    .form-control {
        font-size: 16px !important; /* Prevents mobile Safari auto-zoom */
        padding: 0.85rem 1rem;
        border-radius: 0.75rem;
    }
    select.form-control {
        font-size: 16px !important;
    }
    .btn-submit-form {
        width: 100%;
        padding: 0.9rem;
    }

    /* Footer - Logo Bach Studio + Testo + Social per Ultimo */
    footer.footer {
        padding: 2.5rem 0 1rem;
    }
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem;
        margin-bottom: 1.5rem;
    }
    .footer-col:first-child {
        order: 10 !important; /* Spostato per ultimo tra le colonne */
        margin-top: 0.75rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        align-items: center;
        text-align: center;
    }
    .footer-col:first-child .logo {
        justify-content: center;
        margin-bottom: 0.6rem;
    }
    .footer-col:first-child .social-links {
        justify-content: center;
        margin-top: 0.6rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        padding-top: 1rem;
    }
}

/* Bottom Full-Width Sticky Call-to-Action Bar */
.call-bar-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 76px;
    background: #010307;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

.call-bar-text {
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.call-bar-text span {
    color: var(--gold);
    font-weight: 700;
}

.call-bar-btn {
    background-color: var(--gold);
    color: var(--text-dark);
    border: 1px solid var(--gold);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}

.call-bar-btn:hover {
    background-color: var(--text-white);
    border-color: var(--text-white);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
    /* Bottom Full-Width Sticky Bar on Mobile */
    .call-bar-sticky {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 68px;
        background: #010307;
        border-radius: 0;
        padding: 0.95rem 1.25rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }
    .call-bar-text {
        font-size: 0.82rem;
        line-height: 1.3;
        text-align: left;
    }
    .call-bar-text span {
        display: block;
        font-size: 0.88rem;
        color: var(--gold);
        font-weight: 700;
    }
    .call-bar-btn {
        width: auto;
        padding: 0.6rem 1.15rem;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        flex-shrink: 0;
    }

    /* Coordinated Floating Buttons on Mobile */
    .whatsapp-float {
        bottom: 86px !important;
        right: 15px;
        width: 48px;
        height: 48px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .back-to-top {
        bottom: 148px !important;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }

    body {
        padding-bottom: 95px !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .call-bar-sticky {
        padding: 0.85rem 1rem;
    }
    .call-bar-text {
        font-size: 0.76rem;
    }
    .call-bar-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.72rem;
    }
    .whatsapp-float {
        bottom: 80px !important;
    }
    .back-to-top {
        bottom: 140px !important;
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 100px !important;
    }
}
