@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;700&display=swap');

.area-services-page .odonto-service-desc {
    margin: 0.35rem 0 0 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

:root {
    /* Palette di Colori Fisioterapia - Verde Salvia */
    
    /* Colori Base */
    --color-sage: #A8C3A0;               /* Verde salvia - primario */
    --color-sage-dark: #2F4F4F;          /* Verde scuro - contrasto */
    --color-cream: #FAF7F0;              /* Crema - background principale */
    --color-gray-light: #D9D9D9;         /* Grigio chiaro - supporto e divisori */
    --color-gray-dark: #333333;          /* Grigio scuro - testo principale */
    
    /* Colori CSS Custom Properties */
    --primary-color: #A8C3A0;            /* Verde salvia - pulsanti e titoli */
    --primary-dark: #2F4F4F;             /* Verde scuro - hover e header */
    --primary-light: #C8DCC0;            /* Verde chiaro - sezioni alternate */
    
    --secondary-color: #D9D9D9;          /* Grigio chiaro - elementi di supporto, divisori */
    --accent-color: #A8C3A0;             /* Verde salvia - icone e dettagli */
    
    --bg-main: #FAF7F0;                  /* Crema - background del sito */
    --bg-section: #FFFFFF;               /* Bianco - card e sezioni */
    --bg-alternate: #C8DCC0;             /* Verde chiaro - sezioni alternate */
    
    --text-primary: #333333;             /* Grigio scuro - testo principale */
    --text-secondary: #666666;           /* Grigio medio - testo secondario */
    --text-light: #D9D9D9;               /* Grigio chiaro - placeholder, testo disabilitato */
    --text-white: #FFFFFF;               /* Bianco - testo su sfondi scuri */
    
    --border-color: #D9D9D9;             /* Grigio chiaro - bordi e linee divisorie */
    --border-accent: #A8C3A0;            /* Verde salvia - bordi importanti */
    
    --button-bg: #A8C3A0;                /* Verde salvia - pulsanti default */
    --button-hover: #2F4F4F;             /* Verde scuro - hover pulsanti */
    --button-active: #1F3F3F;            /* Verde scuro intenso - active pulsanti */
    --button-text: #FFFFFF;              /* Bianco - testo su pulsanti */
    
    --shadow: 0 4px 6px rgba(47, 79, 79, 0.1);      /* Ombra verde scuro */
    --shadow-hover: 0 8px 16px rgba(47, 79, 79, 0.15); /* Ombra hover */
    
    --border-radius: 10px;
    --transition: all 0.3s ease;

    /* Bootstrap primary override: keeps all primary buttons in site palette */
    --bs-primary: #A8C3A0;
    --bs-primary-rgb: 168, 195, 160;
}


* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    padding: 2rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

header nav a:hover::before {
    left: 0;
}

header nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-nav-select,
.mobile-nav-toggle,
.mobile-nav-menu {
    display: none;
}

main {
    flex: 1;
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Lightweight professional animation system */
@keyframes titleFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageAppearZoom {
    from {
        opacity: 0;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes softFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes softSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: softFadeIn 0.5s ease-out both;
}

.slide-up {
    animation: softSlideUp 0.55s ease-out both;
}

header h1,
main h2 {
    animation: titleFadeUp 0.6s ease-out both;
}

.image-hover {
    animation: imageAppearZoom 0.55s ease-out both;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.image-hover:hover {
    transform: scale(1.03);
}

.card-hover {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(47, 79, 79, 0.16);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightweight button interactions without palette changes */
.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 16px rgba(47, 79, 79, 0.18);
}

/* Main visual images: appear + subtle hover */
.home-page .home-media-frame img,
.profile-media-frame img,
.service-media-frame img,
.studio-photo-card .card-img-top,
.service-detail-page .img-fluid.rounded.mb-3,
.studios-photo-zoom {
    animation: imageAppearZoom 0.55s ease-out both;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-page .home-media-frame img:hover,
.profile-media-frame img:hover,
.service-media-frame img:hover,
.studio-photo-card .card-img-top:hover,
.service-detail-page .img-fluid.rounded.mb-3:hover,
.studios-photo-zoom:hover {
    transform: scale(1.04);
}

/* Service cards: unified subtle lift effect */
.servizi-grid-page .card,
.area-services-grid .card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.servizi-grid-page .card:hover,
.area-services-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(47, 79, 79, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* On mobile: elements always visible (opacity 1), gentle slide-up on scroll */
@media (max-width: 900px) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(14px);
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .scroll-reveal.reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Cards: always visible, no fade-in, no blocking animations */
    .area-services-page .area-services-grid .card,
    .servizi-grid-page .card {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes carouselSlideFromRight {
    from {
        opacity: 1;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes carouselSlideFromLeft {
    from {
        opacity: 1;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes carouselFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes carouselFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes serviceImageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.carousel-section {
    padding: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: var(--transition);
}

.carousel:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.carousel-indicators {
    display: none;
}

.carousel-item {
    position: relative;
    animation: carouselFadeIn 0.7s ease-in-out;
}

.carousel-item.carousel-item-start {
    animation: carouselFadeOut 0.7s ease-in-out;
}

.carousel-item.carousel-item-next {
    animation: carouselFadeIn 0.7s ease-in-out;
}

.carousel-item.carousel-item-prev {
    animation: carouselFadeOut 0.7s ease-in-out;
}

.carousel-slide-content {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.carousel-slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.slide-1 .carousel-slide-content {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.slide-2 .carousel-slide-content {
    background: linear-gradient(135deg, var(--accent-color), #2E8BC0);
}

.slide-3 .carousel-slide-content {
    background: linear-gradient(135deg, #6DB3E8, #4A95C7);
}

.slide-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.carousel-slide-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.carousel-slide-content p {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.5;
}

.carousel-slide-content:hover {
    transform: scale(1.02);
    filter: brightness(0.95);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 123, 255, 0.85);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 123, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 100%;
}

.card {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 100%;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sedi-page .sedi-hero {
    background: linear-gradient(135deg, rgba(168, 195, 160, 0.18), rgba(47, 79, 79, 0.08));
    border: 1px solid var(--border-accent);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(47, 79, 79, 0.12);
}

.sedi-page .sedi-kicker {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    margin-bottom: 0.75rem;
}

.sedi-page .contact-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(47, 79, 79, 0.1);
}

.sedi-page .contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.sedi-page .contact-list li {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    color: var(--text-primary);
}

.sedi-page .contact-hours {
    background: rgba(168, 195, 160, 0.14);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    padding: 0.9rem;
}

.sedi-page .studio-photo-card .card-img-top {
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid var(--border-color);
}

.sedi-page .map-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(47, 79, 79, 0.1);
}

.sedi-page .map-title {
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.sedi-page .map-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.sedi-page .map-logo-img {
    width: min(100%, 220px);
    max-height: 82px;
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.5rem;
    box-shadow: 0 4px 10px rgba(47, 79, 79, 0.1);
}

.sedi-page .contact-actions {
    margin-top: 0.35rem;
}

.sedi-page .contact-actions .btn {
    width: 100%;
    justify-content: center;
}

.home-page .home-intro-text {
    border-left: 3px solid var(--primary-color);
    padding: 1.6rem 2rem;
    background: linear-gradient(135deg, rgba(200, 220, 192, 0.18), rgba(250, 247, 240, 0.6));
    border-radius: 12px;
}

.home-page .home-intro-text p {
    color: var(--text-muted);
    line-height: 1.8;
}

.home-page .home-hero-pro {
    border: 1px solid var(--border-accent);
    border-radius: 18px;
    padding: 2.2rem 1.4rem;
    background: linear-gradient(150deg, rgba(250, 247, 240, 0.95), rgba(200, 220, 192, 0.65));
    box-shadow: 0 10px 24px rgba(47, 79, 79, 0.1);
}

.home-page .home-kicker {
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.home-page .home-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.home-page .home-areas {
    display: grid;
    gap: 1.5rem;
}

.home-page .home-area-block {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-accent);
    border-radius: 16px;
    padding: 1.25rem;
    background: var(--bg-section);
    box-shadow: 0 8px 18px rgba(47, 79, 79, 0.08);
}

.home-page .home-area-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 247, 240, 1));
}

.home-page .home-media-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: linear-gradient(145deg, rgba(200, 220, 192, 0.9), rgba(168, 195, 160, 0.45));
    box-shadow: 0 8px 16px rgba(47, 79, 79, 0.14);
}

.home-page .home-media-frame img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
}

.home-page .home-area-label {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.home-page .home-area-block h3 {
    text-align: left;
    margin-bottom: 0.7rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

.home-page .home-area-block p {
    text-align: left;
    margin-bottom: 0.9rem;
}

.home-page .home-feature-list {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.home-page .home-feature-list li {
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.home-page .home-trust-line {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-section);
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.home-page .home-trust-line > div {
    text-align: center;
    padding: 0.5rem;
}

.home-page .home-trust-title {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.home-page .home-trust-value {
    margin: 0.2rem 0 0;
    font-weight: 700;
    color: var(--primary-dark);
}

.page-hero {
    border: 1px solid var(--border-accent);
    border-radius: 18px;
    padding: 2rem 1.3rem;
    background: linear-gradient(150deg, rgba(250, 247, 240, 0.96), rgba(200, 220, 192, 0.55));
    box-shadow: 0 10px 22px rgba(47, 79, 79, 0.09);
}

.page-kicker {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.profile-layout,
.service-layout {
    display: grid;
    gap: 1.4rem;
}

.profile-block,
.service-block {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-accent);
    border-radius: 16px;
    padding: 1.2rem;
    background: var(--bg-section);
    box-shadow: 0 8px 18px rgba(47, 79, 79, 0.08);
}

.profile-block-alt,
.service-block-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 247, 240, 1));
}

.profile-media-frame,
.service-media-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 16px rgba(47, 79, 79, 0.14);
}

.profile-media-frame {
    background: linear-gradient(145deg, rgba(200, 220, 192, 0.9), rgba(168, 195, 160, 0.45));
}

.profile-media-frame img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
}

.service-media-frame img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.profile-role,
.service-label {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.professionisti-page h3,
.servizi-page h3 {
    text-align: left;
    margin-bottom: 0.7rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

.professionisti-page .profile-block p,
.servizi-page .service-block p {
    text-align: left;
    margin-bottom: 0.9rem;
}

.profile-points,
.service-points {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.profile-points li,
.service-points li {
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.area-services-page .area-services-hero {
    border: 1px solid var(--border-accent);
    border-radius: 18px;
    padding: 2rem 1.3rem;
    background: linear-gradient(150deg, rgba(250, 247, 240, 0.96), rgba(200, 220, 192, 0.6));
    box-shadow: 0 10px 22px rgba(47, 79, 79, 0.09);
}

.area-services-page .area-services-kicker {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.area-services-page .area-services-meta {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.area-services-page .area-services-meta span {
    display: inline-block;
    border: 1px solid var(--border-accent);
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.area-services-page .area-services-grid .row {
    row-gap: 0.3rem;
}

.area-services-page .area-services-grid .col-md-4 {
    display: flex;
}

.area-services-page .area-services-grid .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.area-services-page .area-services-grid .card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 22px rgba(47, 79, 79, 0.14);
}

.area-services-page .area-services-grid .card-img-top {
    height: 190px;
}

.area-services-page .area-services-grid .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.1rem 1rem;
}

.area-services-page .area-services-grid .card-title {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.area-services-page .area-services-section-title {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.7rem;
}

.area-services-page .area-services-section-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.area-services-page .area-services-group-grid {
    row-gap: 1rem;
}

.area-services-page .area-services-back .btn-outline-primary {
    border-color: var(--border-accent);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.area-services-page .area-services-back .btn-outline-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
}

/* --- Sezioni per gruppo --- */
.area-services-page .odonto-group-section {
    padding-bottom: 0.5rem;
}

.area-services-page .odonto-group-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--border-accent);
    background: linear-gradient(90deg, rgba(200, 220, 192, 0.35), transparent 80%);
    border-radius: 0 8px 8px 0;
}

.area-services-page .odonto-group-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-services-page .odonto-group-name {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: left;
    line-height: 1.2;
}

/* --- Card singolo servizio --- */
.area-services-page .odonto-service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-section);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-services-page .odonto-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.area-services-page .odonto-service-card .card-img-top {
    height: 150px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.area-services-page .odonto-service-card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.06);
}

.area-services-page .odonto-service-card .card-body {
    padding: 0.8rem 1rem;
    text-align: center;
}

.area-services-page .odonto-service-name {
    margin: 0;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}

.area-services-page .service-desc-clamp {
    margin-bottom: 0;
    display: block;
    overflow: visible;
    min-height: 0;
}

.area-services-page .service-read-more-btn {
    margin-top: 0.2rem;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-dark);
    text-decoration: underline;
    background: none;
    border: 0;
}

.area-services-page .service-read-more-btn:hover,
.area-services-page .service-read-more-btn:focus {
    color: var(--button-hover);
}

#serviceDescriptionModal .modal-body {
    color: var(--text-primary);
    line-height: 1.6;
}

.service-detail-page {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.6rem 1.3rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 240, 0.95));
    box-shadow: 0 10px 22px rgba(47, 79, 79, 0.08);
}

.service-detail-page > h2 {
    margin-bottom: 1.2rem;
}

.service-detail-page > p {
    text-align: left;
}

.service-detail-page .img-fluid.rounded.mb-3 {
    border: 1px solid var(--border-accent);
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(200, 220, 192, 0.65), rgba(168, 195, 160, 0.35));
    animation: none;
}

.service-detail-page .card {
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 16px rgba(47, 79, 79, 0.08);
}

.service-detail-page .card .h5,
.service-detail-page .card h3 {
    color: var(--primary-dark);
}

.service-detail-page .btn {
    margin-top: 0.4rem;
}


.home-page .card-img-top,
.professionisti-page .card-img-top {
    height: 170px;
    object-fit: contain;
    object-position: center;
    background: var(--bg-main);
}

.servizi-grid-page .card-img-top {
    height: 180px;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--border-accent);
    border-bottom: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.servizi-grid-page .card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.05);
}

main.container.my-5 img.img-fluid.rounded.mb-3 {
    display: block;
    width: min(100%, 560px);
    max-height: 320px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1.25rem auto !important;
    padding: 6px;
    border: 2px solid var(--border-accent);
    border-radius: 16px !important;
    background: var(--bg-main);
    box-shadow: 0 8px 18px rgba(47, 79, 79, 0.18);
    animation: serviceImageFloat 3.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

main.container.my-5 img.img-fluid.rounded.mb-3:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 24px rgba(47, 79, 79, 0.2);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.list-group-item {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-primary);
}

.list-group-item:hover {
    background: var(--bg-alternate);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.list-group-item strong {
    color: var(--primary-dark);
    font-weight: 600;
}

footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1F3F3F 100%);
    color: var(--text-white);
    padding: 3rem 0 2rem;
    margin-top: auto;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1F3F3F 100%);
    color: var(--text-white);
    padding: 0 0 1.6rem;
    margin-top: auto;
}

.site-footer .container {
    max-width: 1200px;
}

.site-footer-insurance-band {
    width: 100%;
    padding: 1.35rem 0 1.2rem;
    background: linear-gradient(90deg, rgba(200, 220, 192, 0.28), rgba(255, 255, 255, 0.06), rgba(200, 220, 192, 0.28));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer-insurance-title {
    margin: 0 0 0.95rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    text-align: center;
    color: var(--text-white);
}

.site-footer-content {
    padding-top: 1.8rem;
}

.site-footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 0.8rem;
    color: var(--text-white);
}

.site-footer-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: var(--primary-light);
}

.site-footer-text {
    margin: 0 0 0.75rem;
    color: var(--text-light);
    line-height: 1.55;
}

.site-footer-convention {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary-light);
}

.site-footer-insurance-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.site-footer-insurance-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-footer-insurance-list--band {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2.4rem;
}

.site-footer-insurance-list--band li {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-footer-insurance-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}

.site-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-list li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    font-size: 0.95rem;
}

.site-footer-list li:last-child {
    margin-bottom: 0;
}

.site-footer-list a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.site-footer-list a:hover,
.site-footer-list a:focus {
    color: var(--text-white);
    text-decoration: underline;
}

.site-footer-bottom {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.site-footer-bottom p {
    margin: 0;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.82);
}

.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 0.8rem;
}

.cookie-consent-inner {
    max-width: 1040px;
    margin: 0 auto;
    background: var(--bg-section);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(47, 79, 79, 0.22);
    padding: 1rem 1.05rem;
}

.cookie-consent-title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: left;
}

.cookie-consent-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.cookie-consent-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.cookie-preferences-panel {
    position: fixed;
    inset: 0;
    z-index: 1250;
    background: rgba(47, 79, 79, 0.46);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.cookie-preferences-card {
    width: min(100%, 640px);
    background: var(--bg-section);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(47, 79, 79, 0.24);
    padding: 1.15rem;
}

.cookie-preferences-title {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    text-align: left;
}

.cookie-preferences-text {
    margin: 0 0 0.9rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

.cookie-preferences-option {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.95);
}

.cookie-preferences-option--locked {
    background: rgba(200, 220, 192, 0.25);
    border-color: var(--border-accent);
}

.cookie-option-title {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
}

.cookie-option-text {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-align: left;
}

.cookie-preferences-actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

body.cookie-panel-open {
    overflow: hidden;
}

.cookie-map-placeholder {
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 240, 0.95);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    gap: 0.55rem;
}

.cookie-map-placeholder p {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.94rem;
    text-align: center;
}

.legal-page .legal-hero {
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 1.5rem 1.1rem;
    background: linear-gradient(140deg, rgba(250, 247, 240, 0.95), rgba(200, 220, 192, 0.45));
}

.legal-page .legal-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(47, 79, 79, 0.08);
}

.legal-page .legal-card h3 {
    text-align: left;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-size: 1.22rem;
}

.legal-page .legal-card p,
.legal-page .legal-card li {
    text-align: left;
    color: var(--text-secondary);
    font-size: 1rem;
}

.legal-page .legal-card ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .site-footer {
        padding: 0 0 1.4rem;
    }

    .site-footer-insurance-band {
        padding: 1.1rem 0 1rem;
    }

    .site-footer-insurance-title {
        font-size: 1.35rem;
    }

    .site-footer-content {
        padding-top: 1.45rem;
    }

    .site-footer-title,
    .site-footer-subtitle {
        text-align: center;
    }

    .site-footer-list li,
    .site-footer-text,
    .site-footer-convention {
        text-align: center;
    }

    .site-footer-insurance-list li {
        justify-content: center;
    }

    .site-footer-insurance-list--band {
        gap: 0.85rem 1.25rem;
    }

    .site-footer-insurance-list--band li {
        font-size: 1rem;
    }

    .cookie-consent-banner {
        padding: 0.55rem;
    }

    .cookie-consent-inner {
        padding: 0.9rem 0.9rem;
    }

    .cookie-consent-actions,
    .cookie-preferences-actions {
        justify-content: center;
    }

    .cookie-preferences-card {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    header nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .carousel-slide-content {
        height: 250px;
    }

    .carousel-slide-content h3 {
        font-size: 2rem;
    }

    .carousel-slide-content p {
        font-size: 1rem;
    }

    .slide-icon {
        font-size: 3rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        left: 15px;
        right: 15px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .carousel-indicators [data-bs-slide-to] {
        width: 12px;
        height: 12px;
    }

    .carousel-indicators [data-bs-slide-to].active {
        transform: scale(1.2);
    }

    .carousel-wrapper {
        padding: 0 0.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Mobile-friendly navigation: stack links and increase tap targets */
    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: center;
        padding: 0.5rem 0;
    }

    header nav a {
        display: block;
        width: 100%;
        max-width: 320px;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        text-align: center;
        background: rgba(255,255,255,0.03);
    }

    header nav a:hover {
        transform: none;
        box-shadow: none;
    }

    .home-page .home-media-frame img {
        height: 240px;
    }

    .home-page .home-trust-line {
        grid-template-columns: 1fr;
    }

    .profile-media-frame img,
    .service-media-frame img {
        height: 240px;
    }
}

/* Advanced Carousel Styles */
.advanced-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    position: relative;
    width: 100%;
    padding: 0 2rem;
}

.advanced-carousel-container {
    flex: 1;
    max-width: none;
    overflow: visible;
    position: relative;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: none;
    width: 100%;
}

.carousel-item-card {
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item-card.center-item {
    width: 100%;
    max-width: 450px;
}

.carousel-item-card.left-item {
    transform: scale(0.75) translateX(0);
    opacity: 0.6;
    z-index: 1;
}

.carousel-item-card.center-item {
    transform: scale(1.2) translateX(0);
    opacity: 1;
    z-index: 10;
}

.carousel-item-card.center-item.active {
    transform: scale(1.2) translateX(0);
    opacity: 1;
    z-index: 10;
}

.carousel-item-card.right-item {
    transform: scale(0.75) translateX(0);
    opacity: 0.6;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, rgba(168, 195, 160, 0.1), rgba(47, 79, 79, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2.5rem 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    min-height: 280px;
    width: 90%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.carousel-item-card.center-item .service-card {
    background: linear-gradient(135deg, rgba(168, 195, 160, 0.2), rgba(47, 79, 79, 0.1));
    border-color: var(--accent-color);
    box-shadow: 0 12px 48px rgba(168, 195, 160, 0.3);
    animation: slideInScale 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item-card.left-item .service-card {
    animation: slideInLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item-card.right-item .service-card {
    animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item-card:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.25);
}

.service-card .service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-item-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-image {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(47, 79, 79, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item-card:hover .service-image {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(47, 79, 79, 0.2);
}

.service-card h4 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0.85;
    margin: 0;
    line-height: 1.5;
}

/* Removed carousel nav buttons - now using click on side items and auto-play */

/* Responsive Design */
@media (max-width: 768px) {
    .advanced-carousel-wrapper {
        gap: 1rem;
        margin: 2rem 0;
    }

    .carousel-track {
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 200px;
    }

    .service-card h4 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-icon {
        font-size: 3rem !important;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    header h1 {
        font-size: 1.3rem;
        margin-bottom: 0;
        text-align: left;
        white-space: nowrap;
    }

    header nav {
        margin-left: auto;
        width: auto;
        position: relative;
    }

    header nav ul {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 2px solid var(--border-accent);
        border-radius: 10px;
        background: var(--bg-main);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        box-shadow: 0 6px 14px rgba(47, 79, 79, 0.2);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--primary-dark);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-nav-toggle:focus {
        outline: none;
        border-color: var(--primary-dark);
        box-shadow: 0 0 0 3px rgba(47, 79, 79, 0.2);
    }

    .mobile-nav-toggle:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(47, 79, 79, 0.2);
    }

    .mobile-nav-menu {
        display: block;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        min-width: 210px;
        background: var(--bg-main);
        border: 2px solid var(--border-accent);
        border-radius: 12px;
        box-shadow: 0 12px 22px rgba(47, 79, 79, 0.2);
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
        z-index: 1200;
    }

    header nav.is-open .mobile-nav-menu {
        opacity: 1;
        transform: translateY(0);
        max-height: 320px;
        pointer-events: auto;
    }

    .mobile-nav-item {
        display: block;
        padding: 0.72rem 0.9rem;
        color: var(--primary-dark);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.92rem;
        background: var(--bg-main);
        border-bottom: 1px solid rgba(47, 79, 79, 0.18);
    }

    .mobile-nav-item:last-child {
        border-bottom: none;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        background: var(--bg-alternate);
        color: var(--primary-dark);
    }

    .advanced-carousel-wrapper {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-item-card.left-item,
    .carousel-item-card.right-item {
        display: none;
    }

    .carousel-item-card.center-item {
        flex: 1;
        min-width: 280px;
    }

    .service-card {
        min-height: 180px;
        padding: 1rem;
    }

    .service-icon {
        font-size: 2.5rem !important;
    }

    /* Extra small screens: improve spacing and font sizes */
    header h1 {
        font-size: 1.6rem;
    }

    header nav a {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }

    .home-photo-img {
        height: 140px;
    }
}

/* Home photos (Fotochecco & Reception) */
.home-photos {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.photo-card {
    background: var(--bg-section);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}
.home-photo-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(47,79,79,0.12);
}
.photo-caption {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}
.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .home-photo-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .home-photo-img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    main {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1.1rem;
    }

    header {
        padding: 1.25rem 0;
    }

    header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.4rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    p,
    .card-text,
    .list-group-item,
    .service-card p {
        font-size: 1rem;
    }

    main p,
    .card-text,
    .list-group-item,
    .home-page .home-area-block p,
    .professionisti-page .profile-block p,
    .servizi-page .service-block p,
    .service-detail-page p {
        text-align: left;
    }

    .lead {
        font-size: 1.02rem;
    }

    .page-hero,
    .area-services-page .area-services-hero,
    .home-page .home-hero-pro,
    .service-detail-page {
        padding: 1.45rem 1rem;
        border-radius: 16px;
    }

    .home-page .home-area-block,
    .profile-block,
    .service-block,
    .sedi-page .map-card,
    .sedi-page .studio-photo-card,
    .area-services-page .accordion-item {
        border-radius: 16px;
    }

    .profile-block,
    .service-block,
    .home-page .home-area-block {
        padding: 1rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }

    .list-group-item {
        padding: 1rem;
    }

    .list-group-item:hover {
        transform: none;
    }

    .home-page .home-media-frame img,
    .profile-media-frame img,
    .service-media-frame img,
    .sedi-page .studio-photo-card .card-img-top,
    .area-services-page .area-services-grid .card-img-top,
    .servizi-grid-page .card-img-top,
    .home-photo-img {
        height: 220px;
    }

    main.container.my-5 img.img-fluid.rounded.mb-3 {
        width: 100%;
        max-height: 240px;
        padding: 4px;
        border-radius: 14px !important;
    }

    .home-page .home-trust-line {
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .home-page .home-hero-actions,
    .service-detail-page .d-flex,
    .service-detail-page .btn-group {
        gap: 0.75rem;
    }

    .home-page .home-hero-actions .btn,
    .professionisti-page .btn,
    .servizi-page .btn,
    .service-detail-page .btn,
    .sedi-page .btn {
        width: 100%;
        max-width: 100%;
    }

    .profile-points,
    .service-points,
    .home-page .home-feature-list,
    .contact-list {
        padding-left: 1rem;
        margin-bottom: 1rem;
    }

    .contact-list li,
    .profile-points li,
    .service-points li,
    .home-page .home-feature-list li {
        margin-bottom: 0.5rem;
    }

    .sedi-page .contact-hours,
    .sedi-page .map-card,
    .page-hero,
    .area-services-page .area-services-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sedi-page .ratio {
        border-radius: 14px;
        overflow: hidden;
    }

    .area-services-page .odonto-group-name {
        font-size: 1.2rem;
    }

    .area-services-page .odonto-service-card .card-img-top {
        height: 135px;
    }

    .area-services-page .odonto-service-name {
        font-size: 0.92rem;
    }

    .area-services-page .area-services-meta span {
        font-size: 0.86rem;
        padding: 0.28rem 0.7rem;
    }

    .advanced-carousel-container {
        overflow: hidden;
    }

    .carousel-item-card.center-item {
        min-width: 0;
        width: 100%;
        max-width: none;
    }

    .service-card {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 576px) {
    main {
        padding: 1.9rem 0;
    }

    .container {
        padding: 0 0.85rem;
    }

    header .container {
        align-items: flex-start;
    }

    header h1 {
        flex: 1 1 auto;
        max-width: calc(100% - 56px);
        font-size: 1.18rem;
        line-height: 1.15;
        white-space: normal;
        text-wrap: balance;
    }

    header nav {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .mobile-nav-menu {
        width: min(88vw, 300px);
        min-width: 0;
    }

    h2 {
        font-size: 1.65rem;
    }

    h2::after {
        width: 56px;
        margin-top: 0.8rem;
    }

    h3 {
        font-size: 1.28rem;
    }

    .lead,
    p,
    .card-text {
        font-size: 0.98rem;
    }

    .page-hero,
    .area-services-page .area-services-hero,
    .home-page .home-hero-pro,
    .service-detail-page,
    .home-page .home-area-block,
    .profile-block,
    .service-block,
    .sedi-page .map-card,
    .area-services-page .accordion-item {
        border-radius: 14px;
    }

    .page-hero,
    .area-services-page .area-services-hero,
    .home-page .home-hero-pro,
    .service-detail-page {
        padding: 1.2rem 0.9rem;
    }

    .home-page .home-hero-actions {
        flex-direction: column;
    }

    .home-page .home-media-frame img,
    .profile-media-frame img,
    .service-media-frame img,
    .sedi-page .studio-photo-card .card-img-top,
    .area-services-page .area-services-grid .card-img-top,
    .servizi-grid-page .card-img-top {
        height: 185px;
    }

    .home-photo-img {
        height: 210px;
    }

    .card-body {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .list-group-item {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .area-services-page .odonto-group-heading {
        padding: 0.6rem 0.85rem;
    }

    .area-services-page .odonto-group-name {
        font-size: 1.08rem;
    }

    .area-services-page .odonto-service-card .card-img-top {
        height: 115px;
    }

    .area-services-page .odonto-service-card .card-body {
        padding: 0.6rem 0.7rem;
    }

    .area-services-page .odonto-service-name {
        font-size: 0.83rem;
    }

    .area-services-page .area-services-meta {
        gap: 0.45rem;
    }

    .area-services-page .area-services-meta span {
        width: 100%;
        text-align: center;
    }

    /* Keep service lists clearly visible and stacked on small screens */
    .area-services-page .area-services-grid {
        display: block;
    }

    .area-services-page .area-services-grid .row {
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
        margin-top: 0 !important;
    }

    .area-services-page .area-services-grid .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        display: block;
    }

    .area-services-page .area-services-grid .card {
        height: auto;
    }

    .sedi-page .map-logo-img {
        width: min(100%, 180px);
    }

    .contact-list a {
        word-break: break-word;
    }

    .site-footer {
        padding: 0 0 1.2rem;
    }

    .site-footer-insurance-band {
        padding: 0.95rem 0 0.9rem;
    }

    .site-footer-insurance-title {
        font-size: 1.16rem;
        margin-bottom: 0.75rem;
    }

    .site-footer-title {
        font-size: 1.05rem;
    }

    .site-footer-subtitle {
        font-size: 0.95rem;
    }

    .site-footer-list li,
    .site-footer-text {
        font-size: 0.9rem;
    }

    .site-footer-convention {
        font-size: 0.85rem;
    }

    .site-footer-insurance-list li {
        font-size: 0.88rem;
        gap: 0.5rem;
    }

    .site-footer-insurance-list--band {
        gap: 0.6rem;
    }

    .site-footer-insurance-list--band li {
        width: 100%;
        justify-content: center;
        font-size: 0.98rem;
    }

    .cookie-consent-title {
        font-size: 0.98rem;
    }

    .cookie-consent-text {
        font-size: 0.88rem;
    }

    .cookie-consent-actions .btn,
    .cookie-preferences-actions .btn {
        width: 100%;
    }

    .cookie-preferences-title {
        font-size: 1.24rem;
    }

    .cookie-preferences-option {
        align-items: flex-start;
    }

    .cookie-map-placeholder p {
        font-size: 0.88rem;
    }

    .site-footer-insurance-logo {
        width: 30px;
        height: 30px;
        border-radius: 7px;
        padding: 3px;
    }

    .site-footer-bottom p {
        font-size: 0.86rem;
    }
}

.btn-primary {
    --bs-btn-color: var(--button-text);
    --bs-btn-bg: var(--button-bg);
    --bs-btn-border-color: var(--button-bg);
    --bs-btn-hover-color: var(--button-text);
    --bs-btn-hover-bg: var(--button-hover);
    --bs-btn-hover-border-color: var(--button-hover);
    --bs-btn-focus-shadow-rgb: 47, 79, 79;
    --bs-btn-active-color: var(--button-text);
    --bs-btn-active-bg: var(--button-active);
    --bs-btn-active-border-color: var(--button-active);
    --bs-btn-disabled-color: var(--button-text);
    --bs-btn-disabled-bg: var(--button-bg);
    --bs-btn-disabled-border-color: var(--button-bg);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-dark);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: var(--button-text);
    --bs-btn-hover-bg: var(--button-hover);
    --bs-btn-hover-border-color: var(--button-hover);
    --bs-btn-focus-shadow-rgb: 47, 79, 79;
    --bs-btn-active-color: var(--button-text);
    --bs-btn-active-bg: var(--button-active);
    --bs-btn-active-border-color: var(--button-active);
    --bs-btn-disabled-color: var(--primary-dark);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
}

/* Final phone responsiveness hardening */
html {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

iframe {
    display: block;
}

main,
header,
footer,
section,
article,
.container,
.row,
[class*="col-"],
.card,
.service-block,
.profile-block,
.home-page .home-area-block,
.site-footer-list li {
    min-width: 0;
}

.btn {
    min-height: 44px;
    white-space: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
.card-title,
.site-footer-title,
.site-footer-subtitle,
.mobile-nav-item,
.btn {
    overflow-wrap: anywhere;
}

.site-footer-list a,
.contact-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    header {
        padding: 0.85rem 0 !important;
    }

    header .container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem;
        text-align: left;
    }

    header h1 {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 58px) !important;
        margin: 0 !important;
        font-size: clamp(1rem, 3.4vw, 1.45rem) !important;
        line-height: 1.15;
        text-align: left !important;
        white-space: normal !important;
        text-shadow: none;
    }

    header nav {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        position: relative;
    }

    header nav ul.nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 2px solid var(--border-accent);
        border-radius: 10px;
        background: var(--bg-main);
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        box-shadow: 0 6px 14px rgba(47, 79, 79, 0.2);
        cursor: pointer;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--primary-dark);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    header nav.is-open .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-nav-toggle:focus {
        outline: none;
        border-color: var(--primary-dark);
        box-shadow: 0 0 0 3px rgba(47, 79, 79, 0.2);
    }

    .mobile-nav-menu {
        display: block !important;
        position: absolute;
        top: calc(100% + 0.65rem);
        right: 0;
        width: min(86vw, 320px);
        max-width: calc(100vw - 1.25rem);
        background: var(--bg-main);
        border: 2px solid var(--border-accent);
        border-radius: 12px;
        box-shadow: 0 12px 22px rgba(47, 79, 79, 0.2);
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
        z-index: 1200;
    }

    header nav.is-open .mobile-nav-menu {
        opacity: 1;
        transform: translateY(0);
        max-height: min(360px, calc(100vh - 82px));
        overflow-y: auto;
        pointer-events: auto;
    }

    .mobile-nav-item {
        display: block;
        padding: 0.78rem 0.95rem;
        color: var(--primary-dark);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        line-height: 1.2;
        background: var(--bg-main);
        border-bottom: 1px solid rgba(47, 79, 79, 0.18);
    }

    .mobile-nav-item:last-child {
        border-bottom: none;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item:focus,
    .mobile-nav-item.active {
        background: var(--bg-alternate);
        color: var(--primary-dark);
    }

    main {
        padding: clamp(1.25rem, 4vw, 2rem) 0 !important;
    }

    main.container.my-5 {
        margin-top: 1.25rem !important;
        margin-bottom: 1.6rem !important;
    }

    .container {
        width: 100%;
        padding-left: calc(0.95rem + env(safe-area-inset-left));
        padding-right: calc(0.95rem + env(safe-area-inset-right));
    }

    h2 {
        font-size: clamp(1.55rem, 5vw, 2.05rem) !important;
        line-height: 1.15;
        margin-bottom: 1.2rem;
    }

    h3 {
        font-size: clamp(1.22rem, 4.4vw, 1.5rem) !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    p,
    li,
    .lead,
    .card-text,
    .list-group-item {
        font-size: clamp(0.95rem, 3vw, 1rem);
        line-height: 1.6;
    }

    main p,
    .lead,
    .card-text,
    .list-group-item,
    .home-page .home-area-block p,
    .professionisti-page .profile-block p,
    .servizi-page .service-block p,
    .service-detail-page p {
        text-align: left !important;
    }

    .page-hero,
    .area-services-page .area-services-hero,
    .home-page .home-hero-pro,
    .service-detail-page {
        padding: clamp(1rem, 4vw, 1.35rem) clamp(0.85rem, 4vw, 1.1rem) !important;
        border-radius: 14px !important;
    }

    .home-page .home-area-block,
    .profile-block,
    .service-block,
    .sedi-page .map-card,
    .sedi-page .studio-photo-card {
        padding: 1rem !important;
        border-radius: 14px !important;
    }

    .home-page .home-hero-actions,
    .service-detail-page .d-flex,
    .service-detail-page .btn-group,
    .cookie-consent-actions,
    .cookie-preferences-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .home-page .home-hero-actions .btn,
    .professionisti-page .btn,
    .servizi-page .btn,
    .service-detail-page .btn,
    .sedi-page .btn,
    .cookie-consent-actions .btn,
    .cookie-preferences-actions .btn {
        width: 100%;
        max-width: 100%;
    }

    .home-page .home-media-frame img,
    .profile-media-frame img,
    .service-media-frame img,
    .sedi-page .studio-photo-card .card-img-top,
    .service-detail-page .img-fluid.rounded.mb-3,
    .home-photo-img {
        width: 100%;
        height: clamp(205px, 48vw, 300px) !important;
        object-fit: cover;
    }

    .area-services-page .area-services-grid .card-img-top,
    .servizi-grid-page .card-img-top {
        width: 100%;
        height: clamp(165px, 36vw, 230px) !important;
        object-fit: cover;
    }

    .card,
    .area-services-page .area-services-grid .card,
    .servizi-grid-page .card {
        height: 100%;
        min-height: 0;
    }

    .card-body,
    .area-services-page .area-services-grid .card-body {
        padding: 1rem !important;
    }

    .card-title,
    .area-services-page .area-services-grid .card-title {
        font-size: clamp(1.05rem, 3.3vw, 1.2rem);
        line-height: 1.25;
    }

    .home-page .home-trust-line,
    .area-services-page .area-services-meta,
    .site-footer-insurance-list--band {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .area-services-page .area-services-meta span,
    .site-footer-insurance-list--band li {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .site-footer-content {
        padding-top: 1.35rem;
    }

    .site-footer-title,
    .site-footer-subtitle,
    .site-footer-text,
    .site-footer-list li,
    .site-footer-bottom p {
        text-align: center !important;
    }
}

@media (min-width: 640px) and (max-width: 991.98px) {
    .area-services-page .area-services-grid .row,
    .servizi-grid-page .row {
        row-gap: 1rem;
    }

    .area-services-page .area-services-grid .col-md-4,
    .servizi-grid-page .row > [class*="col-"] {
        display: flex;
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 639.98px) {
    .area-services-page .area-services-grid .row,
    .servizi-grid-page .row {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0 !important;
    }

    .area-services-page .area-services-grid .row + .row,
    .servizi-grid-page .row + .row {
        margin-top: 1rem !important;
    }

    .area-services-page .area-services-grid .col-md-4,
    .servizi-grid-page .row > [class*="col-"] {
        display: flex;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .area-services-page .area-services-grid .card,
    .servizi-grid-page .card {
        height: auto;
    }

    .cookie-consent-banner {
        padding: 0.45rem;
    }

    .cookie-consent-inner {
        max-height: min(54vh, 360px);
        overflow-y: auto;
        padding: 0.8rem;
    }

    .cookie-consent-title {
        margin-bottom: 0.3rem;
        font-size: 0.98rem;
    }

    .cookie-consent-text {
        margin-bottom: 0.6rem;
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .cookie-consent-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .cookie-consent-actions .btn {
        width: 100%;
        min-height: 40px;
        padding: 0.45rem 0.5rem;
    }

    .cookie-consent-actions [data-cookie-action="accept-all"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    .container {
        padding-left: calc(0.75rem + env(safe-area-inset-left));
        padding-right: calc(0.75rem + env(safe-area-inset-right));
    }

    header h1 {
        font-size: 0.95rem !important;
        max-width: calc(100% - 52px) !important;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-nav-menu {
        width: min(90vw, 290px);
    }

    h2 {
        font-size: 1.42rem !important;
    }

    h3 {
        font-size: 1.12rem !important;
    }

    .page-hero,
    .area-services-page .area-services-hero,
    .home-page .home-hero-pro,
    .service-detail-page,
    .home-page .home-area-block,
    .profile-block,
    .service-block {
        padding: 0.85rem !important;
    }

    .area-services-page .area-services-grid .card-img-top,
    .servizi-grid-page .card-img-top {
        height: 155px !important;
    }

    .site-footer-list li,
    .site-footer-text,
    .site-footer-bottom p {
        font-size: 0.86rem;
    }
}

@media (max-width: 991.98px) and (orientation: landscape) {
    header {
        padding: 0.6rem 0 !important;
    }

    header nav.is-open .mobile-nav-menu {
        max-height: calc(100vh - 70px);
    }

    main.container.my-5 {
        margin-top: 1rem !important;
    }

    .cookie-consent-inner,
    .cookie-preferences-card {
        padding: 0.85rem 1rem;
    }

    .cookie-consent-title,
    .cookie-preferences-title {
        margin-bottom: 0.35rem;
    }

    .cookie-consent-text,
    .cookie-preferences-text {
        margin-bottom: 0.65rem;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .cookie-consent-actions,
    .cookie-preferences-actions {
        flex-direction: row;
    }

    .cookie-consent-actions .btn,
    .cookie-preferences-actions .btn {
        width: auto;
        flex: 1 1 0;
        min-height: 42px;
    }
}
