/* ========================================================
   Dott.ssa Federica Errichiello - Biologa Nutrizionista
   Brand Guidelines:
   - Primario: #624E52 (Malva profondo, simbolo di professionalità e raffinatezza)
   - Accento: #FE3A5D (Colore melograno brillante, vitalità e cura)
   - Soft: #F1E5F0 (Rosa cipria tenue, accoglienza ed equilibrio)
   - Font: Montserrat (corpo e titoli), Script (Brittany style) per Dottoressa
   - Stile: Mobile First, Clean, Medico/Nutrizionale, Moderno con Scroll Reveal
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Birthstone&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
    --primary-color: #624E52;
    --primary-dark: #4b3a3d;
    --primary-light: #7a6368;
    --accent-color: #FE3A5D;
    --accent-hover: #e02447;
    --accent-soft: rgba(254, 58, 93, 0.1);
    --bg-soft: #F1E5F0;
    --bg-light: #FAF6F9;
    --bg-white: #ffffff;
    --text-dark: #2f2225;
    --text-body: #4a3c3f;
    --text-muted: #786468;
    --border-color: #e8dbe4;
    --border-subtle: #f0e6ed;
    --card-shadow: 0 4px 18px rgba(98, 78, 82, 0.06);
    --card-shadow-hover: 0 10px 28px rgba(98, 78, 82, 0.12);
    --wa-green: #25d366;
    --wa-green-hover: #1eb857;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Birthstone', cursive;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
}

/* Regole di Reset */
html {
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    color: var(--text-body);
    line-height: 1.65;
    background-color: var(--bg-light);
    overflow-x: hidden;
    word-wrap: break-word;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Immagini responsive */
img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tipografia Utilitaria */
h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

.script-font {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 0.9;
    color: var(--primary-color);
    display: inline-block;
}

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

/* ==========================================
   HEADER & NAVIGAZIONE
   ========================================== */
header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(98, 78, 82, 0.06);
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-prefix {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 0.7;
    margin-bottom: 2px;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navigazione Desktop */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.25s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.25s ease;
    border-radius: 2px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-color);
    color: #ffffff !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    box-shadow: 0 3px 10px rgba(254, 58, 93, 0.25);
    transition: all 0.25s ease !important;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(254, 58, 93, 0.35);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: var(--primary-color);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* Social Buttons */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.42);
    color: #ffffff !important;
}

.btn-tiktok {
    background-color: #010101;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-tiktok:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.social-pills-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-pill svg {
    width: 18px;
    height: 18px;
}

.social-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    padding: 4.5rem 0;
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.social-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.social-card-icon.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card-icon.tiktok-icon {
    background: #010101;
}

.social-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.social-card-handle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.social-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

/* ==========================================
   PULSANTI GENERALI (BUTTONS)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.7rem;
    border-radius: var(--radius-full);
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(254, 58, 93, 0.28);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 58, 93, 0.36);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(98, 78, 82, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--bg-soft);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-whatsapp {
    background-color: var(--wa-green);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background-color: var(--wa-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
    color: #ffffff;
}

.btn-light {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    background-color: #fdf2f5;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-modern {
    background: linear-gradient(135deg, #FBF8FA 0%, #F1E5F0 60%, #faedf5 100%);
    padding: 4.5rem 1.5rem 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(254, 58, 93, 0.08) 0%, rgba(241, 229, 240, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: #ffffff;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
    letter-spacing: 0.6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(98, 78, 82, 0.04);
}

.hero-badge span.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(254, 58, 93, 0.2);
}

.hero-script-intro {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--primary-color);
    line-height: 0.8;
    margin-bottom: 0.2rem;
    display: block;
}

.hero-modern h1 {
    font-size: 2.9rem;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.hero-modern h2 {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.12rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.hero-description {
    font-size: 1.02rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-credentials span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Immagine Logo & Visual Hero */
.hero-image-wrapper {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    background: #ffffff;
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(98, 78, 82, 0.1);
    border: 1px solid var(--border-color);
    max-width: 420px;
    width: 100%;
}

.hero-main-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(98, 78, 82, 0.08));
    transition: transform 0.4s ease;
}

.hero-image-card:hover .hero-main-logo {
    transform: scale(1.02);
}

.hero-card-tag {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(98, 78, 82, 0.2);
}

/* ==========================================
   ABOUT / CHI SONO SECTION
   ========================================== */
.about-section {
    background-color: #ffffff;
    padding: 5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.about-content .about-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.about-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.2rem;
}

.about-quote-box {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.8rem;
    margin: 1.8rem 0;
    box-shadow: 0 4px 14px rgba(98, 78, 82, 0.05);
}

.about-quote-box p {
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.5;
}

.about-highlights-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about-visual-card {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.about-profile-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-credentials-box {
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    margin-top: 1.5rem;
}

.about-credentials-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-credentials-box li {
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

@media screen and (max-width: 992px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-highlights-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SEZIONI GENERALI
   ========================================== */
section {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   CARDS & GRIDS
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-color);
}

.feature-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background-color: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================
   SERVICES GRID (OFFERTA NUTRIZIONALE)
   ========================================== */
.services-section {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.service-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}

.service-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.service-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-badge {
    align-self: flex-start;
    background: var(--bg-soft);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-box h3 {
    font-size: 1.28rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
}

.service-box p {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.link-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.link-more:hover {
    gap: 0.7rem;
    color: var(--accent-hover);
}

/* ==========================================
   SPECIALTIES FOCUS (METABOLISMO & COLON)
   ========================================== */
.specialties-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 5rem 0;
}

.specialty-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.specialty-row.reverse {
    direction: rtl;
}

.specialty-row.reverse > * {
    direction: ltr;
}

.specialty-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
    border: 3px solid #ffffff;
}

.specialty-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialty-visual:hover img {
    transform: scale(1.03);
}

.specialty-badge-float {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
}

.specialty-badge-float strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.specialty-badge-float span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.specialty-text h3 {
    font-size: 1.85rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.specialty-pill {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.specialty-features-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1.8rem 0;
}

.specialty-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.96rem;
    color: var(--text-body);
}

.specialty-features-list li span.bullet {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   RECENSIONI & TESTIMONIANZE
   ========================================== */
.reviews-section {
    background-color: var(--bg-soft);
    padding: 4.8rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.review-card {
    background: #ffffff;
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.review-stars {
    color: #f59e0b;
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.96rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    position: relative;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.author-info strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.verified-badge {
    background-color: #ecfdf5;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ==========================================
   BANNER CALL TO ACTION
   ========================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
    padding: 4.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(254, 58, 93, 0.25) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.cta-banner-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ==========================================
   LOCATION & MODALITA'
   ========================================== */
.location-section {
    background-color: #ffffff;
    padding: 4.5rem 0;
}

.location-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.location-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
}

.location-card.highlight {
    border-color: var(--accent-color);
    background: linear-gradient(180deg, #ffffff 0%, #fdf6fa 100%);
}

.location-card h3 {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.location-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.location-detail-list li {
    padding: 0.45rem 0;
    color: var(--text-body);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* ==========================================
   MODULO CONTATTI & FORM
   ========================================== */
.contact-container {
    max-width: 820px;
    margin: 0 auto;
}

.contact-info-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.contact-direct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-direct-item {
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.contact-direct-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-direct-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.4rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(254, 58, 93, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--primary-dark);
    color: #e3d2dc;
    padding: 3.5rem 1.5rem 2rem;
    font-size: 0.92rem;
    border-top: 3px solid var(--accent-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1160px;
    margin: 0 auto 2.5rem auto;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    color: #c9b4c0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-links h5, .footer-contact h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

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

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul li a {
    color: #d8c2cf;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.88rem;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.8rem;
    max-width: 1160px;
    margin: 0 auto;
    font-size: 0.82rem;
    color: #a992a0;
}

/* ==========================================
   WIDGET WHATSAPP FLUTTUANTE
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--wa-green);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================
   ANIMAZIONI ALLO SCROLL (SCROLL REVEAL)
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Triggered State */
.reveal.visible,
.reveal-item.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Progressive delays for grids */
.features-grid .reveal-item:nth-child(2),
.services-grid .reveal-item:nth-child(2),
.reviews-grid .review-card:nth-child(2) {
    transition-delay: 0.12s;
}

.features-grid .reveal-item:nth-child(3),
.services-grid .reveal-item:nth-child(3),
.reviews-grid .review-card:nth-child(3) {
    transition-delay: 0.24s;
}

.features-grid .reveal-item:nth-child(4),
.services-grid .reveal-item:nth-child(4),
.reviews-grid .review-card:nth-child(4) {
    transition-delay: 0.36s;
}

/* ==========================================
   OTTIMIZZAZIONE MOBILE-FIRST E RESPONSIVE
   ========================================== */
@media screen and (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--accent-color);
        padding-top: 0.8rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-credentials {
        justify-content: center;
    }

    .specialty-row,
    .specialty-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr !important;
    }

    .location-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    header {
        padding: 0.75rem 1rem;
        position: sticky;
    }

    .brand-logo-img {
        width: 38px;
        height: 38px;
    }

    .brand-title {
        font-size: 1.02rem;
    }

    .brand-prefix {
        font-size: 1.3rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 25px rgba(98, 78, 82, 0.12);
        border-top: 1px solid var(--border-subtle);
        padding: 1.2rem 1.5rem;
    }

    nav.nav-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 0.5rem;
        font-size: 1.02rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    .nav-cta {
        text-align: center;
        margin-top: 0.6rem;
    }

    .hero-modern {
        padding: 3rem 1rem 2.8rem;
    }

    .hero-modern h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-modern h2 {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.95rem 1.2rem;
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .specialty-visual img {
        height: 250px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
}
