/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8f4e6 0%, #f6f0e3 50%, #f4ede0 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(49, 83, 82, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(49, 83, 82, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.3" fill="%23315352" opacity="0.015"/><circle cx="75" cy="75" r="0.2" fill="%23315352" opacity="0.01"/><circle cx="50" cy="10" r="0.25" fill="%23315352" opacity="0.012"/><circle cx="10" cy="60" r="0.2" fill="%23315352" opacity="0.008"/><circle cx="90" cy="40" r="0.3" fill="%23315352" opacity="0.018"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* CSS Variables */
:root {
    --primary-color: #315352;
    --primary-dark: #1e3332;
    --primary-light: #4a6b6a;
    --secondary-color: #f6f0e3;
    --accent-color: #efefef;
    --accent-gold: #d4af37;
    --accent-copper: #b87333;
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --text-muted: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --border-subtle: rgba(49, 83, 82, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 32px 64px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-inset: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --backdrop-blur: blur(20px);
}

/* Animations */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 9rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Estados de cor baseados no fundo */
.back-to-top.light-bg {
    border-color: #333;
    color: #333;
}

.back-to-top.dark-bg {
    border-color: #fff;
    color: #fff;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@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 shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

@keyframes gentleGlow {
    0%, 100% { box-shadow: var(--shadow-premium), 0 0 20px rgba(49, 83, 82, 0.1); }
    50% { box-shadow: var(--shadow-premium), 0 0 30px rgba(49, 83, 82, 0.15); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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



.nav-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    transition: var(--transition);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-schedule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(49, 83, 82, 0.05) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-schedule:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-schedule:hover::before {
    opacity: 1;
}

.btn-schedule svg {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    top: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(248, 244, 230, 0.3) 30%, 
        rgba(248, 244, 230, 0.7) 70%, 
        rgba(248, 244, 230, 1) 100%);
    z-index: 10;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 83, 82, 0.05) 0%, rgba(49, 83, 82, 0.03) 50%, rgba(184, 134, 11, 0.02) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.25;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}



.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 4;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    padding: 3rem 5rem;
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(49, 83, 82, 0.1);
    border: 1px solid rgba(49, 83, 82, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    z-index: 5;
    max-width: 100%;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 auto;
    color: var(--text-secondary);
    font-weight: 400;
    text-align: center;
    position: relative;
    z-index: 5;
    max-width: 100%;
    width: 100%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    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.2), transparent);
    transition: left 0.6s ease;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2b2a 100%);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 83, 82, 0.05) 0%, rgba(49, 83, 82, 0.02) 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(49, 83, 82, 0.95);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-benefits {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1400px;
    width: 100%;
    padding: 0 5rem;
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}

.benefit-item svg {
    display: none;
}

.benefit-item span {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-visual {
    display: none;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Section Styles */
.section {
    padding: 6rem 0 8rem 0;
    position: relative;
    margin-top: -60px;
    z-index: 15;
}

.section:first-of-type {
    margin-top: -60px;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center top, rgba(49, 83, 82, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at center bottom, rgba(212, 175, 55, 0.015) 0%, transparent 50%);
    pointer-events: none;
}

.section:nth-child(even) {
    background: white;
}

.about {
    background: white;
}

.services {
    background: #f4f0e3;
}

.consultation {
    background: white;
}

.about-doctor {
    background: #f4f0e3;
}

.faq {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(49, 83, 82, 0.1);
    border: 1px solid rgba(49, 83, 82, 0.2);
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.section-badge:hover {
    background: rgba(49, 83, 82, 0.15);
    border-color: rgba(49, 83, 82, 0.3);
    transform: translateY(-1px);
}

.section-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(49, 83, 82, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.about-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.about-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

.video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.video-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

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

.treatment-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem 0;
}

.treatment-showcase .treatment-card:nth-child(7) {
    grid-column: 2;
    grid-row: 3;
}

.treatment-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 240, 227, 0.9));
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.06);
}



.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 77, 76, 0.15);
    border-color: rgba(45, 77, 76, 0.2);
}

.treatment-card.featured {
    background: linear-gradient(145deg, rgba(45, 77, 76, 0.03), rgba(244, 240, 227, 0.95));
    border: 1px solid rgba(45, 77, 76, 0.15);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 77, 76, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.treatment-card:hover .card-glow {
    opacity: 1;
}



.treatment-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.treatment-card p {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(45, 77, 76, 0.1);
    border: 1px solid rgba(45, 77, 76, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d4d4c;
    backdrop-filter: blur(10px);
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium), var(--shadow-inset);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(49, 83, 82, 0.02) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), var(--shadow-inset);
    border-color: rgba(49, 83, 82, 0.15);
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(49, 83, 82, 0.03) 100%);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(49, 83, 82, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-cta:hover {
    color: #2a4746;
    transform: translateX(4px);
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium), var(--shadow-inset);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
    position: relative;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(49, 83, 82, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), var(--shadow-inset);
    border-color: rgba(49, 83, 82, 0.15);
}

.result-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(49, 83, 82, 0.03) 100%);
}

.result-image {
    height: 200px;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result-card:hover .result-image img {
    transform: scale(1.05);
}

.result-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.result-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.result-achievement {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.result-content p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(49, 83, 82, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(49, 83, 82, 0.6) 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(49, 83, 82, 0.15);
}

.faq-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.faq-item.active {
    background: linear-gradient(135deg, rgba(49, 83, 82, 0.02) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(49, 83, 82, 0.12);
}

.faq-item.active::before {
    transform: scaleY(1);
    transform-origin: top;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: rgba(49, 83, 82, 0.03);
    color: var(--primary-color);
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
    line-height: 1.4;
}

.faq-question svg {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(49, 83, 82, 0.08);
    border-radius: 50%;
    padding: 2px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid rgba(49, 83, 82, 0.06);
    padding-top: 1.5rem;
    margin-top: -0.5rem;
}

/* About Doctor Section */

.doctor-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
    min-height: 500px;
}

.doctor-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.about-doctor .section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-description-left {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
    margin: 0;
}

.doctor-video {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}



.doctor-video .video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    background: #000;
    z-index: 2;
}

.doctor-video .video-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.doctor-video .video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.doctor-video .video-container video {
    width: 100%;
    height: 745px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}

.doctor-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    z-index: 2;
    pointer-events: none;
}

.doctor-video .play-button svg {
    transition: var(--transition);
}

.doctor-video .video-container.playing .play-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.doctor-video .video-container:not(.playing) .play-button {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.doctor-video .video-container.playing .play-icon {
    display: none;
}

.doctor-video .video-container.playing .pause-icon {
    display: block;
}

.doctor-video .video-container:not(.playing) .play-icon {
    display: block;
}

.doctor-video .video-container:not(.playing) .pause-icon {
    display: none;
}

.doctor-video .video-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .doctor-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-description-left {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .doctor-video .video-description {
        margin-bottom: 3rem;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
}

.contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact .section-badge {
    background: rgba(49, 83, 82, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(49, 83, 82, 0.2);
}

.contact .section-title {
    color: var(--text-primary);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-text {
    margin-bottom: 2.5rem;
}

.contact-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(49, 83, 82, 0.08);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}



.contact-icon-simple {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary-color);
    color: white;
}

.contact-details-simple {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.contact-map {
    position: relative;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 20px;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 83, 82, 0.1);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out 2s both;
}

.scroll-indicator lord-icon {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator lord-icon:hover {
    transform: scale(1.1);
}

/* WhatsApp Float Button */
.whatsapp-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.whatsapp-message-box {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(49, 83, 82, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-message-box p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.whatsapp-float-container:hover .whatsapp-message-box {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* 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 pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Schedule Float Button - Hidden on Desktop */
.mobile-schedule-float {
    display: none;
}

@media (max-width: 768px) {
    .mobile-schedule-float {
        display: flex !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1.hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-primary) !important;
    }
    
    h2, .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-social .social-link {
        display: none;
    }
    
    .btn-schedule {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 200px !important;
    }
    
    .hero {
        padding: 0;
        background-size: 120% 120%;
        padding-top: 200px !important;
        padding-bottom: 100px !important;
        height: 140vh !important;
        min-height: 900px !important;
    }
    
    .hero::before {
        opacity: 0.3;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
        margin-top: 0 !important;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-primary) !important;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-benefits {
        margin: 0.5rem auto 4rem auto;
        max-width: calc(100% - 2rem);
        padding: 0 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 20 !important;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-float-container,
    .back-to-top {
        display: none !important;
    }
    
    .mobile-schedule-float {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            text-decoration: none;
        }
        
        .mobile-schedule-content {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
            color: var(--primary-color);
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-premium), var(--shadow-inset);
            border: 1px solid var(--glass-border);
            backdrop-filter: var(--backdrop-blur);
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }
    
    .mobile-schedule-content::before {
         content: '';
         position: absolute;
         top: 0;
         left: 0;
         right: 0;
         bottom: 0;
         background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(49, 83, 82, 0.02) 100%);
         pointer-events: none;
     }
     
     .mobile-schedule-float.show {
         opacity: 1;
         visibility: visible;
     }
     
     .mobile-schedule-float:hover .mobile-schedule-content {
         transform: translateY(-8px) scale(1.02);
         box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), var(--shadow-inset);
         border-color: rgba(49, 83, 82, 0.15);
     }
     
     .mobile-schedule-float:hover .mobile-schedule-content::before {
         background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(49, 83, 82, 0.03) 100%);
     }

    .benefit-item {
        padding: 0.8rem 1rem;
        font-size: 0.8rem !important;
        min-width: auto;
        max-width: none;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--primary-color) !important;
    }
    
    .benefit-item span {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    .benefit-item svg {
        width: 18px;
        height: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        padding: 0 2rem !important;
        gap: 1.5rem !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .service-card, .result-card, .faq-item {
        padding: 2rem 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
        margin: 2.5rem 0;
    }
    
    .comparison-table th {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
    
    .comparison-table td {
        padding: 1.25rem 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2.5rem 0;
    }
    
    .contact-item {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .treatment-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .treatment-showcase .treatment-card:nth-child(7) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .treatment-card {
        padding: 1.5rem;
    }
    
    .treatment-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .hero-title {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-primary) !important;
    }
    
    .hero-content {
         padding: 1.5rem 1rem;
         margin: 0 0.5rem;
         max-width: calc(100% - 1rem);
     }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-primary) !important;
    }
    
    .hero-content {
        padding: 1rem 0.8rem;
        margin: 0 0.3rem;
        max-width: calc(100% - 0.6rem);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus,
.service-cta:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Comparison Boxes Section */
.comparison-boxes {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.comparison-box {
    flex: 1;
    background: white;
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.comparison-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: left;
}

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

.comparison-box li {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .comparison-boxes {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .comparison-box {
        padding: 1.5rem;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .comparison-box h4 {
        text-align: center !important;
    }
    
    .comparison-box ul {
        text-align: center;
    }
    
    .comparison-box li {
        text-align: center;
    }
    
    /* About doctor section - reduce h2 title to h4 size */
    .about-doctor .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    /* Remove button from about-doctor section */
    .about-doctor .section-cta {
        display: none !important;
    }
    
    /* FAQ section - make items more responsive and smaller */
      .faq-item {
          margin-bottom: 0.5rem !important;
      }
      
      /* Remove left border effect on mobile */
      .faq-item::before {
          display: none !important;
      }
      
      .faq-item:hover {
          transform: none !important;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
      }
      
      .faq-question {
          padding: 1rem !important;
          font-size: 0.95rem !important;
          min-height: auto !important;
      }
      
      .faq-question span {
          line-height: 1.3 !important;
      }
      
      /* Ensure answers are collapsed by default */
      .faq-answer {
          max-height: 0 !important;
          opacity: 0 !important;
      }
      
      /* Only expand when active */
      .faq-item.active .faq-answer {
          max-height: 200px !important;
          opacity: 1 !important;
      }
      
      .faq-answer p {
          padding: 0.8rem 1rem 1rem !important;
          font-size: 0.9rem !important;
          line-height: 1.5 !important;
          padding-top: 1rem !important;
          margin: 0 !important;
      }
      
      /* Contact section - mobile responsive */
      .contact-main-grid {
          grid-template-columns: 1fr !important;
          gap: 2rem !important;
      }
      
      .contact-info {
          text-align: center !important;
          order: 1;
      }
      
      .contact-text {
          text-align: center !important;
          margin-bottom: 1.5rem !important;
      }
      
      .contact-methods {
          gap: 1rem !important;
      }
      
      .contact-method-link {
          justify-content: center !important;
          text-align: center !important;
          padding: 1rem 0.5rem !important;
      }
      
      .contact-details-simple {
          text-align: center !important;
      }
      
      .contact-map {
          order: 2;
          margin-top: 1rem !important;
      }
      
      .map-container {
          border-radius: 12px !important;
      }
      
      .map-container iframe {
          height: 300px !important;
          border-radius: 12px !important;
      }
      
      /* Add spacing after section-cta buttons */
      .section-cta {
          margin-bottom: 3rem !important;
      }
}

/* Comparison Section - Design Espetacular */
.comparison-table {
    margin: 60px 0;
    position: relative;
    background: transparent;
}

.comparison-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.comparison-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #315352 0%, #4a7c7a 50%, #315352 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -1px;
    position: relative;
}

.comparison-header h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #315352, #4a7c7a);
    border-radius: 2px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.comparison-grid::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(123, 168, 154, 0.7), rgba(167, 190, 182, 0.6));
    color: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(123, 168, 154, 0.2);
    border: 3px solid rgba(248, 244, 230, 0.8);
    backdrop-filter: blur(10px);
}

.comparison-side {
    padding: 40px;
    position: relative;
    min-height: 500px;
}

.comparison-conventional {
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.4) 0%, rgba(254, 242, 242, 0.3) 100%);
    position: relative;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.comparison-conventional::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(229, 231, 235, 0.3) 20%, rgba(229, 231, 235, 0.3) 80%, transparent 100%);
}

.comparison-conventional::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, rgba(248, 180, 180, 0.08) 0%, rgba(248, 180, 180, 0.04) 30%, transparent 60%, transparent 100%);
    pointer-events: none;
}

.comparison-institute {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.4) 0%, rgba(247, 254, 231, 0.3) 100%);
    position: relative;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.comparison-institute::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to left, rgba(167, 243, 208, 0.08) 0%, rgba(167, 243, 208, 0.04) 30%, transparent 60%, transparent 100%);
    pointer-events: none;
}

.comparison-institute::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.1), rgba(187, 247, 208, 0.08), rgba(167, 243, 208, 0.06));
    border-radius: 21px;
    z-index: -1;
}

.comparison-side h4 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.comparison-conventional h4 {
    color: #be7a7a;
}

.comparison-conventional h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #be7a7a;
    border-radius: 1px;
}

.comparison-institute h4 {
    color: #7ba89a;
}

.comparison-institute h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #7ba89a;
    border-radius: 1px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px 0;
    position: relative;
}

.comparison-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.comparison-conventional .comparison-icon {
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.6), rgba(252, 165, 165, 0.5));
    color: #be7a7a;
}

.comparison-institute .comparison-icon {
    background: linear-gradient(135deg, rgba(187, 247, 208, 0.6), rgba(134, 239, 172, 0.5));
    color: #7ba89a;
}

.comparison-label {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;
}

.comparison-conventional .comparison-label {
    color: #374151;
}

.comparison-institute .comparison-label {
    color: #1f2937;
    font-weight: 600;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-grid::before {
        top: calc(50% - 15px);
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .comparison-conventional {
        border-radius: 20px 20px 0 0;
    }
    
    .comparison-institute {
        border-radius: 0 0 20px 20px;
    }
    
    .comparison-conventional::before {
        right: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent 0%, #e5e7eb 20%, #e5e7eb 80%, transparent 100%);
    }
    
    .comparison-side {
        padding: 30px 25px;
        min-height: auto;
    }
    
    .comparison-header h3 {
        font-size: 2rem;
    }
}

/* Doctor Biography Section */
.doctor-biography {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.doctor-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-bio-content {
    order: 1;
}

.doctor-bio-image {
    order: 2;
    display: flex;
    justify-content: center;
}

.doctor-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.doctor-bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.doctor-biography .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: left;
}

@media (max-width: 768px) {
    .doctor-bio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .doctor-bio-content {
        order: 2;
    }
    
    .doctor-bio-image {
        order: 1;
    }
    
    .doctor-biography .section-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .doctor-bio-text {
        text-align: center;
        font-size: 1rem;
    }
    
    .doctor-photo {
        max-width: 280px;
    }
}

/* Before/After Slider Section */
.before-after {
    background: white;
    padding: 5rem 0;
}

.before-after-slider {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #f8f9fa;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.slider-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    opacity: 0;
    z-index: 1;
}

.slider-image.active {
    opacity: 1;
    z-index: 2;
}

.slider-image[data-type="before"] {
    left: 0;
    clip-path: polygon(0 0, var(--slider-position, 50%) 0, var(--slider-position, 50%) 100%, 0 100%);
    z-index: 3;
}

.slider-image[data-type="after"] {
    left: 0;
    clip-path: polygon(var(--slider-position, 50%) 0, 100% 0, 100% 100%, var(--slider-position, 50%) 100%);
    z-index: 2;
}

.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.slider-track {
    position: relative;
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    user-select: none;
    z-index: 15;
    pointer-events: all;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
}

.handle-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-labels {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 5;
}

.label-before {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin: 0 1rem;
    opacity: var(--slider-opacity, 0.5);
    transition: opacity 0.3s ease;
}

.label-after {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin: 0 1rem;
    opacity: calc(1 - var(--slider-opacity, 0.5));
    transition: opacity 0.3s ease;
}

.image-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 5;
}

@media (max-width: 768px) {
    .slider-container {
        height: 400px;
    }
    
    .slider-track {
        width: 90%;
    }
    
    .slider-handle {
        width: 50px;
        height: 50px;
    }
    
    .handle-text {
        font-size: 0.6rem;
    }
    
    .slider-labels {
        padding: 0 1rem;
    }
    
    .label-before,
    .label-after {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Print styles */
@media print {
    .nav,
    .whatsapp-float {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}