/* ===== VARIABLES ===== */
:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --secondary: #1E40AF;
    --accent: #06B6D4;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-700: #334155;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --gradient: linear-gradient(135deg, #0EA5E9 0%, #1E40AF 100%);
    --gradient-light: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 80px rgba(14, 165, 233, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0EA5E9 0%, #1E40AF 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-tooth {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-tooth-icon {
    font-size: 70px;
    color: #fff;
    animation: toothBounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.4));
}

@keyframes toothBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.preloader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    border-radius: 50%;
    animation: spinRing 1.2s linear infinite;
}

.preloader-ring.ring-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(255, 255, 255, 0.1);
    border-bottom: 4px solid rgba(255, 255, 255, 0.6);
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    animation: spinRing 1.8s linear infinite reverse;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    animation: textPulse 2s ease-in-out infinite;
}

.preloader-text span {
    color: #FFD700;
    font-size: 3rem;
    text-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.preloader-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

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

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #fff);
    border-radius: 50px;
    animation: loadBar 1.5s ease-in-out infinite;
}

@keyframes loadBar {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(100%); }
}

.preloader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.preloader-dots span {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--primary-light);
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.top-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    gap: 24px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
    font-size: 2.2rem;
    text-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-full {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: var(--gradient-light);
    padding: 80px 0 160px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.hero-badge i {
    color: #FFB800;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: pulse 3s ease-in-out infinite;
}

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

.hero-tooth-icon {
    position: absolute;
    color: var(--white);
    font-size: 200px;
    opacity: 0.95;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
    width: 44px;
    height: 44px;
    background: var(--gradient-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.card-1 {
    top: 30px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -20px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 40px;
    left: 30px;
    animation-delay: 2s;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: var(--gradient);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ===== SECTION COMMON ===== */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: var(--gradient-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray-500);
}

/* ===== SERVICES ===== */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ===== ABOUT ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 200px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-img-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-700);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 32px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-weight: 500;
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== DOCTORS ===== */
.doctors {
    background: var(--gray-50);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.doctor-img {
    height: 280px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 120px;
}

.doctor-info {
    padding: 28px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.doctor-specialty {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.doctor-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.doctor-social a {
    width: 38px;
    height: 38px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.doctor-social a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== REVIEWS ===== */
.reviews {
    background: var(--white);
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.rating-stars {
    color: #FFB800;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--gray-700);
}

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

.review-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.review-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.review-stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 16px;
}

.review-text {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-author strong {
    display: block;
    color: var(--dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content .text-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-card h4 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.info-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.info-card a:hover {
    color: var(--primary);
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-col .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    margin-bottom: 24px;
    color: var(--gray-300);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 580px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    z-index: 9998;
    display: none;
    border: 1px solid var(--gray-100);
    animation: slideUpCookie 0.5s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner.hide {
    animation: slideDownCookie 0.4s ease forwards;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(150%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownCookie {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(150%);
        opacity: 0;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    animation: shake 2s ease-in-out infinite;
}

.cookie-text {
    flex: 1;
    min-width: 220px;
}

.cookie-text h4 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.cookie-text p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 12px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-cookie-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-cookie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
}

.btn-cookie-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-cookie-secondary:hover {
    background: var(--gray-300);
}

.cookie-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-left: auto;
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--primary-dark);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    background: var(--white);
    padding: 80px 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gray-50);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.legal-wrapper h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    font-size: 1.75rem;
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.legal-wrapper h2:first-child {
    margin-top: 0;
}

.legal-wrapper h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin: 24px 0 12px;
}

.legal-wrapper p,
.legal-wrapper li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.legal-wrapper ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-wrapper ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.legal-wrapper a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-wrapper a:hover {
    color: var(--primary-dark);
}

.legal-wrapper .last-update {
    background: var(--gradient-light);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 32px;
    display: inline-block;
}

.legal-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.legal-wrapper table th,
.legal-wrapper table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--gray-300);
}

.legal-wrapper table th {
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
}

.legal-wrapper table tr:nth-child(even) {
    background: var(--white);
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* AOS-style animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-out"] {
    transform: scale(1.2);
}

[data-aos="flip-up"] {
    transform: perspective(1000px) rotateX(90deg);
    transform-origin: bottom;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
}

/* Hero text animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
    }
    50% {
        box-shadow: 0 10px 50px rgba(14, 165, 233, 0.7);
    }
}

@keyframes rotate3d {
    0% { transform: perspective(800px) rotateY(0); }
    100% { transform: perspective(800px) rotateY(360deg); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero animations on load */
.hero-badge {
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-title {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-stats {
    animation: fadeInUp 1s ease 1s both;
}

.hero-visual {
    animation: zoomIn 1.2s ease 0.5s both;
}

/* Button shine effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* WhatsApp float wave hand */
.whatsapp-float i {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

/* Service card hover with shine */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
}

/* Page banner entrance */
.page-banner h1 {
    animation: fadeInDown 0.8s ease both;
}

.breadcrumb {
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Logo hover */
.logo {
    transition: var(--transition);
}

.logo:hover .logo-accent {
    animation: bounceIn 0.6s ease;
}

/* Doctor card image animation */
.doctor-img {
    position: relative;
    overflow: hidden;
}

.doctor-img i {
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img i {
    transform: scale(1.15) rotate(-5deg);
}

.doctor-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card:hover .doctor-img::before {
    opacity: 1;
}

/* Section title underline animation */
.section-title {
    position: relative;
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 16px auto 0;
    border-radius: 50px;
    animation: expandLine 0.8s ease 0.3s both;
}

@keyframes expandLine {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}

/* About image rotate on hover */
.about-img-main {
    transition: transform 0.5s ease;
}

.about-img-main:hover {
    transform: scale(1.02);
}

.about-img-main i {
    transition: transform 0.6s ease;
}

.about-img-main:hover i {
    transform: rotate(15deg) scale(1.05);
}

/* Form input focus animation */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
}

/* Review card stagger entrance */
.review-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating cards extra animation */
.floating-card:hover {
    transform: scale(1.1) translateY(-12px);
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

/* Stat number bounce on hover */
.stat:hover .stat-number {
    animation: bounceIn 0.6s ease;
}

/* Top bar social pulse */
.top-social a:hover {
    animation: bounceIn 0.5s ease;
}

/* Service icon rotate continuous */
.service-card .service-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Info card slide reveal */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.info-card:hover::before {
    transform: scaleY(1);
}

/* Scroll indicator */
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Reveal text animation */
.reveal-text {
    overflow: hidden;
    position: relative;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes revealText {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Number counter pulse */
.stat-number {
    transition: transform 0.3s ease;
}

/* Smooth page transition */
body {
    animation: pageLoad 0.6s ease;
}

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

/* CTA section animated background */
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseBg 4s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.2;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-circle {
        width: 320px;
        height: 320px;
    }

    .hero-tooth-icon {
        font-size: 160px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-info {
        gap: 16px;
        font-size: 0.75rem;
    }

    .top-info span:nth-child(2) {
        display: none;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateX(0);
    }

    .btn-call span {
        display: none;
    }

    .btn-call {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        padding: 50px 0 120px;
    }

    .hero-stats {
        gap: 24px;
        justify-content: space-between;
        width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .floating-card {
        padding: 12px 16px;
    }

    .floating-card i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .floating-card strong {
        font-size: 0.85rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

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

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

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

    .hero-circle {
        width: 260px;
        height: 260px;
    }

    .hero-tooth-icon {
        font-size: 130px;
    }

    .about-img-main {
        height: 350px;
        font-size: 130px;
    }
}
