/* ===== VARIABLES ===== */
:root {
    --white: #ffffff;
    --azure: #4da8da;
    --azure-light: #eaf6fc;
    --azure-medium: #7bc4e8;
    --azure-dark: #2d8ab8;
    --azure-text: #1a6d9c;
    --anthracite: #2d3436;
    --anthracite-light: #636e72;
    --section-light: #e6f2f8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    color: var(--anthracite);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

.section-padding {
    padding: 100px 0;
}

.bg-section-light {
    background-color: var(--section-light);
}

/* ===== BUTTONS ===== */
.btn-azure {
    background: linear-gradient(to bottom, #207fb3, var(--azure));
    color: var(--white);
    border: 2px solid #207fb3;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-azure:hover {
    background: linear-gradient(to bottom, #1a6d9c, var(--azure-dark));
    border-color: #1a6d9c;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(32, 127, 179, 0.35);
}

.btn-azure.btn-lg {
    padding: 16px 40px;
    font-size: 0.95rem;
}

.btn-outline-azure {
    background: transparent;
    color: var(--azure-text);
    border: 2px solid var(--azure);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-outline-azure:hover {
    background: var(--azure);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 0;
    transition: var(--transition);
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.navbar-logo-area {
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 10px 28px;
}

.navbar-main-area {
    background: linear-gradient(to bottom, #207fb3, var(--azure));
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.nav-logo {
    height: 72px;
    width: auto;
    transition: var(--transition);
}

.navbar .nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white);
    text-transform: uppercase;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-shrink {
    box-shadow: 0 2px 16px rgba(0,0,0,0.12) !important;
}

.navbar-shrink .nav-logo {
    height: 56px;
}

/* Nav items full height */
.navbar-nav {
    height: 100%;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: stretch;
}

/* CTA button full navbar height */
.nav-item-cta {
    align-self: stretch;
    display: flex;
    align-items: stretch;
}

.btn-navbar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 0 32px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    height: 100%;
    white-space: nowrap;
    background: var(--white);
    color: var(--azure-text);
    border: none;
    transition: var(--transition);
}

.btn-navbar-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--azure-dark);
}

/* Mobile toggler white */
.navbar-main-area .navbar-toggler {
    color: var(--white);
}

.navbar-main-area .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Navbar compatta tra 992px e 1199px: evita il ritorno a capo delle voci */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar .nav-link {
        font-size: 0.72rem;
        letter-spacing: 0.03em;
        padding: 8px 8px !important;
        white-space: nowrap;
    }

    .navbar .nav-link::after {
        left: 8px;
        right: 8px;
    }

    .navbar-logo-area {
        padding: 10px 16px;
    }

    .nav-logo {
        height: 60px;
    }

    .navbar-shrink .nav-logo {
        height: 52px;
    }

    .navbar-main-area {
        padding: 0 8px;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .btn-navbar-cta {
        padding: 0 16px;
        font-size: 0.72rem;
    }

    .navbar-nav .nav-item-cta {
        margin-left: 8px !important;
    }
}

/* ===== HERO SLIDER ===== */
.hero-section {
    margin-top: 96px;
}

.hero-slide {
    position: relative;
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.72) 0%, rgba(45, 52, 54, 0.3) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 620px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}

/* Slick dots */
.hero-slider .slick-dots {
    bottom: 30px;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: var(--white);
    opacity: 1;
}

/* ===== SECTION TITLES ===== */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--azure-text);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--anthracite);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--anthracite-light);
    max-width: 540px;
    margin: 0 auto;
}

/* ===== VALORI ===== */
.valore-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.valore-card:hover {
    background: var(--white);
    border-color: #e0e0e0;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.valore-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--azure);
}

.valore-icon svg {
    width: 100%;
    height: 100%;
}

.valore-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.valore-card p {
    font-size: 0.9rem;
    color: var(--anthracite-light);
    line-height: 1.6;
}

/* ===== STUDIO GALLERY ===== */
.studio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 16px;
}

.studio-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    grid-column: span 1;
    grid-row: span 1;
}

.studio-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.studio-gallery-item:nth-child(3) { grid-row: span 2; }
.studio-gallery-item:nth-child(5) { grid-column: span 2; }
.studio-gallery-item:nth-child(6) { grid-column: span 2; }

.studio-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.studio-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.55) 0%, rgba(45, 52, 54, 0) 45%);
    opacity: 0;
    transition: var(--transition);
}

.studio-gallery-item::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d3436' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center/16px no-repeat;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition);
    z-index: 2;
}

.studio-gallery-item:hover img {
    transform: scale(1.06);
}

.studio-gallery-item:hover::after,
.studio-gallery-item:hover::before,
.studio-gallery-item:focus-visible::after,
.studio-gallery-item:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.studio-gallery-item:focus-visible {
    outline: 3px solid var(--azure);
    outline-offset: 2px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(20, 24, 26, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-figure {
    margin: 0;
    max-width: min(90vw, 1100px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0.85;
}

.lightbox-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
    background: var(--azure);
}

.lightbox-btn svg {
    width: 22px;
    height: 22px;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== DOTTORE ===== */
.dottore-image {
    position: relative;
}

.dottore-image::before {
    content: '';
    position: absolute;
    inset: 24px -24px -24px 24px;
    background: linear-gradient(135deg, var(--azure-light), var(--azure-medium));
    border-radius: var(--radius-lg);
    z-index: 0;
}

.dottore-image img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.dottore-badge {
    position: absolute;
    z-index: 2;
    left: -20px;
    bottom: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 230px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.dottore-badge svg {
    width: 34px;
    height: 34px;
    color: var(--azure);
    flex-shrink: 0;
}

.dottore-badge span {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--anthracite);
}

@media (min-width: 992px) {
    .dottore-text {
        padding-left: 28px;
    }
}

.dottore-quote {
    position: relative;
    margin: 32px 0;
    padding-left: 44px;
}

.dottore-quote-mark {
    position: absolute;
    left: 0;
    top: -14px;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--azure);
    opacity: 0.35;
}

.dottore-quote p {
    font-size: 1.05rem;
    color: var(--anthracite-light);
    line-height: 1.8;
    margin-bottom: 14px;
    font-style: italic;
}

/* ===== TEAM ===== */
.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8e8e8;
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-photo,
.team-avatar {
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azure-light);
}

.team-avatar svg {
    width: 120px;
    height: 120px;
}
.team-avatar img,
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--azure-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.team-info p {
    font-size: 0.88rem;
    color: var(--anthracite-light);
    line-height: 1.6;
}

/* ===== SERVIZI ===== */
.servizio-card {
    background: var(--section-light);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid #e8ecef;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.servizio-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: var(--azure);
    opacity: 0.06;
    border-radius: 50%;
    transition: var(--transition);
}

.servizio-card:hover::after {
    opacity: 0.1;
    transform: scale(1.1);
}

.servizio-card .servizio-icon-bg {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 130px;
    height: 130px;
    opacity: 0.07;
    color: var(--azure);
    pointer-events: none;
    transition: var(--transition);
}

.servizio-card:hover .servizio-icon-bg {
    opacity: 0.12;
}

.servizio-card .servizio-icon-bg svg {
    width: 100%;
    height: 100%;
}

.servizio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--azure-light);
    background: var(--white);
}

.servizio-icon {
    width: 42px;
    height: 42px;
    color: var(--azure);
    margin-bottom: 18px;
}

.servizio-icon svg {
    width: 100%;
    height: 100%;
}

.servizio-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.servizio-card p {
    font-size: 0.86rem;
    color: var(--anthracite-light);
    line-height: 1.6;
}

.servizi-highlight {
    background: linear-gradient(to bottom, #207fb3, var(--azure));
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(77, 168, 218, 0.3);
    position: relative;
    overflow: hidden;
}

.servizi-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    background: url('../img/hero/hero-3.webp') center/cover no-repeat;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.6) 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.6) 100%);
    opacity: 0.35;
}

.servizi-highlight .d-flex {
    position: relative;
    z-index: 2;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.servizi-highlight strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.servizi-highlight span {
    font-size: 1.1rem;
    opacity: 0.92;
    font-weight: 400;
}

/* ===== CTA FINALE ===== */
.cta-finale {
    background: linear-gradient(135deg, #d4ecf7 0%, rgba(77, 168, 218, 0.2) 100%);
}

/* ===== CONTATTI ===== */
.contatto-item svg {
    width: 24px;
    height: 24px;
    color: var(--azure);
    flex-shrink: 0;
    margin-top: 2px;
}

.contatto-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--anthracite-light);
    margin-bottom: 2px;
}

.contatto-item a {
    color: var(--anthracite);
    text-decoration: none;
    transition: var(--transition);
}

.contatto-item a:hover {
    color: var(--azure);
}

.contatti-map {
    height: 420px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    background: var(--azure-light);
    color: var(--anthracite);
}

.map-placeholder svg {
    color: var(--azure);
}

.map-placeholder p {
    margin: 0;
}

.map-placeholder .map-placeholder-note {
    max-width: 380px;
    font-size: 0.85rem;
    color: var(--anthracite-light);
}

.map-placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer-section {
    padding: 48px 0;
    background: var(--anthracite);
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    height: 44px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--azure-medium);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--azure);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(77, 168, 218, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--azure-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-slide {
        height: 70vh;
    }

    .section-padding {
        padding: 80px 0;
    }

    /* Navbar mobile: logo e hamburger sulla stessa riga, fissi */
    .navbar {
        flex-wrap: wrap;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar-logo-area {
        padding: 8px 16px;
        flex-shrink: 0;
        transition: var(--transition);
    }

    .navbar-main-area {
        padding: 0 16px;
        position: static;
        flex-shrink: 0;
        transition: var(--transition);
    }

    /* Toggler fisso in alto a destra */
    .navbar-main-area .navbar-toggler {
        position: relative;
        margin-left: auto;
        z-index: 10;
    }

    /* Collapse si apre sotto la barra, largo quanto lo schermo */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, #207fb3, var(--azure));
        padding: 16px 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .navbar-nav {
        height: auto;
    }

    .navbar-nav .nav-item {
        display: block;
    }

    .nav-logo {
        height: 48px;
        transition: var(--transition);
    }

    /* Shrink su scroll mobile */
    .navbar-shrink .navbar-logo-area {
        padding: 4px 16px;
    }

    .navbar-shrink .navbar-main-area {
        padding: 0 16px;
    }

    .navbar-shrink .nav-logo {
        height: 36px;
    }

    .btn-navbar-cta {
        border-radius: 50px;
        padding: 12px 30px;
        margin: 12px 0;
        height: auto;
    }

    .navbar .nav-link {
        color: var(--white);
        padding: 12px 14px !important;
        height: auto;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .dottore-image::before {
        inset: 16px -16px -16px 16px;
    }

    .dottore-badge {
        left: -12px;
        bottom: -16px;
        max-width: 200px;
        padding: 12px 16px;
    }

    .team-photo,
    .team-avatar {
        height: 180px;
    }

    .studio-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .contatti-map {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        margin-top: 76px;
    }

    .hero-slide {
        height: 65vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-padding {
        padding: 64px 0;
    }

    .nav-logo {
        height: 42px;
    }

    .dottore-image {
        margin-bottom: 40px;
    }

    .dottore-image::before {
        inset: 12px -10px -10px 12px;
    }

    .dottore-badge {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 2;
        margin: -32px auto 0;
        max-width: 260px;
        transform: translateY(0);
    }

    .dottore-quote {
        padding-left: 34px;
    }

    .dottore-quote-mark {
        font-size: 3rem;
    }

    .team-photo,
    .team-avatar {
        height: 170px;
    }

    .studio-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .studio-gallery-item,
    .studio-gallery-item:nth-child(1),
    .studio-gallery-item:nth-child(3),
    .studio-gallery-item:nth-child(5),
    .studio-gallery-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contatti-map {
        height: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 16px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 24px;
    }

    .servizi-highlight {
        padding: 22px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .btn-azure.btn-lg {
        padding: 14px 28px;
        font-size: 0.88rem;
        width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}
