/* 
   Bach Studio Premium Style System
   Custom Vanilla CSS for High Performance and SEO compliance.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #130e0b;
    --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: #18120f;
    
    /* 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: #0e0a08;
}

body {
    background-color: #0e0a08;
    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: 1680px;
    padding: 0 clamp(1.2rem, 2.5vw, 3rem);
    margin: 0 auto;
    gap: 1.5rem;
}

.logo {
    flex-shrink: 0;
    margin-right: auto;
}

#btn-booking-nav {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.65rem 1.6rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.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: clamp(0.65rem, 1.25vw, 1.5rem);
    margin: 0 1.5rem;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.25s ease;
    padding: 0.25rem 0;
}

.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(20, 14, 11, 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(20, 14, 11, 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(20, 14, 11, 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: #0e0a08;
    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(20, 14, 11, 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: #0e0a08;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 -12px 35px rgba(20, 14, 11, 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: #0e0a08;
        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;
    }
}

/* ==========================================================================
   TASTO RADIO LIVE IN TOPBAR & PULSE ANIMATION
   ========================================================================== */
.btn-top-radio {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1e293b 0%, #1b1614 100%);
    border: 1px solid var(--gold);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(229, 190, 70, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-top-radio:hover {
    background: var(--gold);
    color: #18120f;
    transform: translateY(-1px);
}

.radio-live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #e60100;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(230, 1, 0, 0.4);
    animation: pulseRadioRed 1.8s infinite;
}

@keyframes pulseRadioRed {
    0% { box-shadow: 0 0 0 0 rgba(230, 1, 0, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(230, 1, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 1, 0, 0); }
}

@media (max-width: 992px) {
    .btn-top-radio {
        padding: 5px 10px;
        font-size: 0.72rem;
    }
}



/* === PROTEZIONE GLOBALE CONTRO SVG GIGANTI E CHECKMARK === */
svg:not([width]):not([height]) {
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block;
}
.spec-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 !important;
}
.spec-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}
.spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--gold, #d4af37);
    font-size: 1.3rem;
}
.spec-list svg, .spec-list li svg {
    display: none !important;
}


/* ==========================================================================
   PALETTE MARRONE SCURO STUDIO & GRIGIO ANTRACITE CALDO (ZERO NERO PURO)
   + MENU UNIFICATO BLOG DROPDOWN + SOLO ALTOPARLANTE + 100% MOBILE RESPONSIVE
   ========================================================================== */
:root {
    --bg-dark: #0e0a08 !important;
    --bg-surface: #130e0b !important;
    --bg-elevated: #19120f !important;
    --dark-charcoal: #191715 !important;
    --text-dark: #1a1513 !important;
}

html, body {
    background-color: #0e0a08 !important;
    color: #f5f0eb !important;
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Eliminazione totale tastino bianco con 3 lineette inutilizzato */
.menu-toggle, #mobile-menu-btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Sostituzione blocchi scuri / sezioni / footer con Marrone Scuro e Grigio Scuro Caldo */
.section-dark, .bg-black, section[style*="#0"], div[style*="#010307"], div[style*="#000"] {
    background-color: #110c0a !important;
}

.footer, footer.footer, #footer-section {
    background: linear-gradient(180deg, #110c0a 0%, #0d0907 100%) !important;
    border-top: 1px solid rgba(229, 190, 70, 0.24) !important;
    color: #ded6ce !important;
    padding: 3.5rem 0 2rem !important;
}

.footer h4 {
    color: #f7efe6 !important;
    margin-bottom: 1rem !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.48rem !important;
}

.footer-links a {
    color: #cfc5bc !important;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
}

.footer-links a:hover {
    color: #e5be46 !important;
}

/* Navbar Coerente su tutte le pagine */
header.navbar#main-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100050 !important;
    background: rgba(17, 12, 9, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(229, 190, 70, 0.22) !important;
    padding: 0.65rem 0 !important;
}

header.navbar#main-nav .navbar-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
}

header.navbar#main-nav .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    position: static !important;
    background: transparent !important;
    height: auto !important;
    width: auto !important;
    flex-direction: row !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

header.navbar#main-nav .nav-links > a,
header.navbar#main-nav .nav-dropdown-trigger {
    color: #efe8e0 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.18s ease !important;
}

header.navbar#main-nav .nav-links > a:hover,
header.navbar#main-nav .nav-links > a.active,
header.navbar#main-nav .nav-dropdown-trigger:hover,
header.navbar#main-nav .nav-dropdown-trigger.active {
    color: #ffd75c !important;
    background: rgba(229, 190, 70, 0.12) !important;
}

/* Dropdown Blog (contiene Articoli Blog, Forum, Q&A Hub, Servizi) */
.nav-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.nav-caret {
    font-size: 0.72rem !important;
    opacity: 0.85;
    transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    min-width: 245px !important;
    background: #130e0b !important;
    border: 1px solid rgba(229, 190, 70, 0.35) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-shadow: 0 18px 40px rgba(14, 9, 7, 0.85) !important;
    display: none !important;
    flex-direction: column !important;
    gap: 3px !important;
    z-index: 100090 !important;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: flex !important;
}

.nav-dropdown-menu a {
    color: #f3ece4 !important;
    text-decoration: none !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.sub-active {
    background: rgba(229, 190, 70, 0.18) !important;
    color: #ffd75c !important;
}

/* Pulsante SOLO ALTOPARLANTINO (Zero scritta Radio) */
.nav-actions-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.btn-top-radio.btn-speaker-only {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 122, 0, 0.16) !important;
    border: 1px solid rgba(255, 145, 48, 0.45) !important;
    color: #ff9d42 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.btn-top-radio.btn-speaker-only:hover {
    background: #ff7a00 !important;
    color: #ffffff !important;
    transform: scale(1.06);
}

/* Sotto-barra coerente quando si naviga nell'ecosistema Blog (Articoli, Forum, Q&A, Servizi) */
.blog-hub-subbar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 7px;
    padding-top: 7px;
}

.blog-hub-subbar-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
}

.blog-hub-subbar-inner::-webkit-scrollbar { display: none; }

.blog-hub-Tag {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #c9bfb5;
    font-weight: 700;
    margin-right: 2px;
}

.blog-sub-pill {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #e6ddd4 !important;
    text-decoration: none !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.15s ease !important;
}

.blog-sub-pill:hover,
.blog-sub-pill.active {
    background: rgba(229, 190, 70, 0.22) !important;
    border-color: rgba(229, 190, 70, 0.55) !important;
    color: #ffd75c !important;
}

/* ==========================================================================
   RESPONSIVITÀ TOTALE PER CELLULARE E TABLET (100% MOBILE-PERFECT)
   ========================================================================== */
@media (max-width: 1120px) {
    header.navbar#main-nav .nav-links {
        gap: 0.5rem !important;
    }
    header.navbar#main-nav .nav-links > a,
    header.navbar#main-nav .nav-dropdown-trigger {
        font-size: 0.83rem !important;
        padding: 5px 7px !important;
    }
    .btn-nav-cta {
        padding: 0.5rem 0.95rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 960px) {
    header.navbar#main-nav {
        padding: 0.5rem 0 0.45rem !important;
    }
    header.navbar#main-nav .navbar-main-row {
        flex-wrap: wrap !important;
        row-gap: 6px !important;
    }
    header.navbar#main-nav .logo {
        font-size: 1.22rem !important;
        order: 1 !important;
    }
    header.navbar#main-nav .nav-actions-right {
        order: 2 !important;
        gap: 7px !important;
    }
    header.navbar#main-nav .btn-nav-cta {
        padding: 0.42rem 0.8rem !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }
    header.navbar#main-nav .nav-links {
        order: 3 !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 6px !important;
        padding: 4px 2px 2px !important;
        border-top: 1px solid rgba(255,255,255,0.07) !important;
        justify-content: flex-start !important;
    }
    header.navbar#main-nav .nav-links::-webkit-scrollbar {
        display: none !important;
    }
    header.navbar#main-nav .nav-links > a,
    header.navbar#main-nav .nav-dropdown-trigger {
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid rgba(255,255,255,0.09) !important;
        border-radius: 999px !important;
        padding: 5px 11px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
    }
    /* Su mobile il menu Blog si apre come pannello fisso centrato ben cliccabile */
    .nav-dropdown-menu {
        position: fixed !important;
        top: 96px !important;
        left: 12px !important;
        right: 12px !important;
        min-width: unset !important;
        z-index: 100200 !important;
    }
    .grid-2, .grid-3, .services-grid, .footer-grid, .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    h1, .hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }
    main, #content, .hero {
        padding-top: 112px !important;
    }
}

/* ==========================================================================
   SPEAKER ICON SUBMENU (Tutte le News, Forum, Q&A Hub, Servizi)
   Sostituisce la voce "Blog" con apertura/chiusura deterministica al click
   ========================================================================== */
.speaker-menu-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.speaker-menu-wrap.open .btn-top-radio.btn-speaker-only {
    background: #ff7a00 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.28) !important;
}

.speaker-menu-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 265px !important;
    background: #100b09 !important;
    border: 1px solid rgba(229, 190, 70, 0.42) !important;
    border-radius: 14px !important;
    padding: 8px !important;
    box-shadow: 0 20px 48px rgba(10, 6, 4, 0.92) !important;
    display: none !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 100250 !important;
}

.speaker-menu-wrap.open .speaker-menu-panel {
    display: flex !important;
}

.speaker-menu-header {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #e5be46 !important;
    padding: 6px 12px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 2px !important;
}

.speaker-menu-panel a,
.speaker-menu-action-btn {
    color: #f3ece4 !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
}

.speaker-menu-panel a:hover,
.speaker-menu-panel a.sub-active,
.speaker-menu-action-btn:hover {
    background: rgba(229, 190, 70, 0.18) !important;
    color: #ffd75c !important;
}

.speaker-menu-action-btn {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 4px !important;
    padding-top: 11px !important;
    color: #ffaa5e !important;
}

@media (max-width: 960px) {
    .speaker-menu-panel {
        position: fixed !important;
        top: 66px !important;
        left: 12px !important;
        right: 12px !important;
        min-width: unset !important;
        z-index: 100300 !important;
    }
}
