/* =====================================================
   STUDIO DENTISTICO FAUSTINI - Premium Design System
   ===================================================== */

/* Font Faces */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/playfair-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-bold.woff2') format('woff2');
}

/* CSS Variables - Premium Color Palette */
:root {
    /* Primary Colors - Trust & Professionalism */
    --primary-50: #e8f4f8;
    --primary-100: #d1e9f1;
    --primary-200: #a3d3e3;
    --primary-300: #75bdd5;
    --primary-400: #47a7c7;
    --primary-500: #1991b9;
    --primary-600: #147494;
    --primary-700: #0f576f;
    --primary-800: #0a3a4a;
    --primary-900: #051d25;

    /* Accent Colors - Warmth & Care */
    --accent-50: #fdf4e8;
    --accent-100: #fbe9d1;
    --accent-200: #f7d3a3;
    --accent-300: #f3bd75;
    --accent-400: #efa747;
    --accent-500: #eb9119;
    --accent-600: #bc7414;
    --accent-700: #8d570f;
    --accent-800: #5e3a0a;
    --accent-900: #2f1d05;

    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-600);
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 2rem;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.top-bar a:hover {
    color: var(--accent-400);
}

.top-bar i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* =====================================================
   NAVBAR - Premium Glass Effect
   ===================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 48px;
    transition: transform var(--transition-base);
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.navbar .nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.75rem 1.25rem;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: calc(100% - 2.5rem);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-600);
}

.navbar .btn-appointment {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(25, 145, 185, 0.3);
    transition: all var(--transition-base);
}

.navbar .btn-appointment::after {
    display: none;
}

.navbar .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 145, 185, 0.4);
    color: #fff;
}

/* =====================================================
   HERO SECTION - Dramatic & Modern
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 50%, var(--gray-900) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge i {
    color: var(--accent-400);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-300) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-400);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.5;
}

/* Floating Elements */
.hero-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.hero-float-1 {
    bottom: 30%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    top: 30%;
    right: 0;
    animation: float 6s ease-in-out infinite 1s;
}

.hero-float i {
    font-size: 1.5rem;
    color: var(--accent-400);
}

/* =====================================================
   BUTTONS - Premium Styling
   ===================================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(25, 145, 185, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 145, 185, 0.4);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(235, 145, 25, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 145, 25, 0.4);
    color: #fff;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* =====================================================
   SECTIONS - Common Styles
   ===================================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-50);
    color: var(--primary-600);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* =====================================================
   SERVICE CARDS - Premium Design
   ===================================================== */
.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.service-card .card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.service-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.service-card .card-body {
    padding: 1.75rem;
}

.service-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(25, 145, 185, 0.3);
}

.service-card h5 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.service-card .card-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .card-link {
    color: var(--primary-700);
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

/* =====================================================
   STATS SECTION - Impressive Numbers
   ===================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--accent-400);
}

.stat-card .stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    background: var(--gray-50);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-200);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content .lead {
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-list li i {
    width: 28px;
    height: 28px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li span {
    color: var(--gray-700);
    font-weight: 500;
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.team-card .team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-600);
}

.team-card h5 {
    font-family: var(--font-serif);
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section {
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.testimonial-card::before {
    content: '\F6B0';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--primary-100);
}

.testimonial-card .stars {
    color: var(--accent-400);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author .avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author .info .name {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0;
}

.testimonial-author .info .role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =====================================================
   CONVENZIONI
   ===================================================== */
.convenzione-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.convenzione-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
    transform: translateY(-3px);
}

.convenzione-card img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all var(--transition-base);
}

.convenzione-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    background: var(--gray-50);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.contact-info-card h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    position: relative;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    position: relative;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-400);
    flex-shrink: 0;
}

.contact-info-item .content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info-item .content span,
.contact-info-item .content a {
    color: #fff;
    font-size: 1rem;
}

.contact-info-item .content a:hover {
    color: var(--accent-400);
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h4 {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    height: auto;
    transition: all var(--transition-fast);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(25, 145, 185, 0.1);
}

.form-floating > label {
    padding: 1rem;
    color: var(--gray-500);
}

.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
    transition: all var(--transition-fast);
}

.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(25, 145, 185, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h3 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
    color: #fff;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
    position: relative;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a:hover {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: var(--accent-400);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   SERVICE DETAIL PAGE
   ===================================================== */
.service-detail-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--gray-100);
}

.service-detail-card .service-image {
    height: 350px;
    overflow: hidden;
}

.service-detail-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-card .service-content {
    padding: 3rem;
}

.service-detail-card h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-detail-card h3 i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-detail-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.service-detail-card ul li i {
    color: var(--success);
    margin-top: 4px;
}

.service-detail-card .price-tag {
    background: var(--accent-50);
    border: 1px solid var(--accent-200);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-700);
    font-weight: 600;
    margin-top: 1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

footer h5 {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--accent-400);
}

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

footer ul li {
    margin-bottom: 0.75rem;
}

footer .footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: #fff;
    transform: translateY(-3px);
}

.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.footer-hours table {
    width: 100%;
    margin: 0;
}

.footer-hours td {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours tr:last-child td {
    border-bottom: none;
}

.footer-hours td:last-child {
    text-align: right;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

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

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1199px) {
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-float {
        display: none;
    }

    .navbar .btn-appointment {
        margin: 1rem 0 0;
        width: 100%;
    }

    .about-image::before {
        display: none;
    }

    .about-badge {
        position: static;
        margin-top: 1.5rem;
        display: inline-block;
    }

    .stat-card .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-info-card {
        margin-bottom: 2rem;
    }

    .service-detail-card .service-image {
        height: 250px;
    }

    .service-detail-card .service-content {
        padding: 2rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--gray-900) 100%);
}

.shadow-soft {
    box-shadow: var(--shadow-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-2xl {
    border-radius: var(--radius-2xl);
}
