/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
   :root {
    /* Colors - Premium Palette */
    --gold-dark: #8c6a2b;
    --gold: #B68D40;
    --gold-light: #d4ae6b;
    --gold-glow: rgba(182, 141, 64, 0.3);
    
    --bg-dark: #121212;
    --bg-dark-secondary: #1a1a1a;
    
    --bg-light: #F9F8F6;
    --bg-white: #FFFFFF;
    
    --text-main: #2A2A2A;
    --text-muted: #666666;
    --text-light: #F9F8F6;
    --text-light-muted: #A0A0A0;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Styling */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.04);
    --shadow-hover: 0 30px 60px rgba(182, 141, 64, 0.1);
    
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-dra {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--gold);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.py-large { padding: 120px 0; }
.py-small { padding: 60px 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-light { background-color: var(--bg-light); }
.bg-dark { 
    background-color: var(--bg-dark); 
    color: var(--text-light);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.lead { font-size: 1.25rem; font-weight: 300; margin-bottom: 1.5rem; color: var(--gold); font-family: var(--font-heading); font-style: italic; }

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-tag.light { color: var(--gold-light); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--bg-white);
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--gold-glow); }

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-primary.large { padding: 18px 48px; font-size: 1.1rem; }

.glow-effect { animation: pulseGlow 2s infinite; }
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(182, 141, 64, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(182, 141, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(182, 141, 64, 0); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    border-bottom: none;
}

.nav-container {
    width: 90%; max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--bg-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}
.navbar.scrolled .logo { color: var(--text-main); }
.logo-dra { font-size: 2rem; font-style: italic; color: var(--gold); text-transform: none; margin-right: 5px; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}
.navbar.scrolled .nav-links a { color: var(--text-main); }

.nav-links a::after {
    content: ''; position: absolute;
    width: 0; height: 1px;
    bottom: -5px; left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--bg-white);
    cursor: pointer;
}
.navbar.scrolled .mobile-toggle { color: var(--text-main); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%; max-width: 1200px; margin: 0 auto;
    color: var(--bg-white);
    padding-top: 100px;
}

.hero-subtitle {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 4px;
    color: var(--gold); margin-bottom: 20px; display: block;
}

.hero-desc {
    font-size: 1.2rem; font-weight: 300; max-width: 550px;
    color: rgba(255,255,255,0.8); margin-bottom: 40px;
}

.trust-badges {
    display: flex; gap: 30px; margin-top: 60px;
}
.badge {
    display: flex; align-items: center; gap: 12px;
}
.badge i { font-size: 2rem; color: var(--gold); }
.badge span { font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.6); z-index: 2;
}
.mouse {
    width: 24px; height: 36px; border: 2px solid rgba(255,255,255,0.6);
    border-radius: 12px; position: relative;
}
.wheel {
    width: 4px; height: 8px; background: var(--gold);
    border-radius: 2px; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}
.scroll-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }

/* ==========================================================================
   BRANDS BANNER
   ========================================================================== */
.brand-banner .eyebrow {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 10px;
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}
.marquee-group {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
}
.brand {
    font-family: var(--font-heading); font-size: 1.5rem; color: #b3b3b3; transition: var(--transition); white-space: nowrap;
}
.brand:hover { color: var(--gold); }

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

/* ==========================================================================
   LAYOUTS (Split)
   ========================================================================== */
.split-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.split-layout.reverse .reveal-left { order: 2; }
.split-layout.reverse .reveal-right { order: 1; }

.image-wrapper { position: relative; }
.image-wrapper img {
    width: 100%; border-radius: var(--radius-md); object-fit: cover;
    box-shadow: var(--shadow-soft);
}
.about-visual img { height: 700px; }
.clinic-visual img { height: 600px; }

.image-wrapper.with-border::before {
    content: ''; position: absolute; top: -20px; left: -20px;
    width: 100%; height: 100%; border: 1px solid var(--gold);
    border-radius: var(--radius-md); z-index: -1;
}

.experience-badge {
    position: absolute; bottom: 40px; right: -40px;
    background: var(--bg-white); padding: 30px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover); display: flex; align-items: center; gap: 15px;
}
.experience-badge .number { font-family: var(--font-heading); font-size: 3rem; color: var(--gold); line-height: 1; }
.experience-badge .text { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.signature-box { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; }
.signature-text { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: var(--text-main); font-style: italic; }
.crm-text { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

/* ==========================================================================
   SERVICES (Dark Section)
   ========================================================================== */
.services .section-header p { color: var(--text-light-muted); font-size: 1.2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.service-card-premium {
    background: var(--bg-dark-secondary); padding: 50px 40px; border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
    display: flex; flex-direction: column; height: 100%;
}
.service-card-premium:hover {
    transform: translateY(-10px); border-color: var(--gold);
    background: linear-gradient(to bottom, var(--bg-dark-secondary), #221a0f);
}

.card-icon {
    font-size: 2.5rem; color: var(--gold); margin-bottom: 30px;
}
.service-card-premium h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-light); }
.service-card-premium p { color: var(--text-light-muted); margin-bottom: 30px; flex-grow: 1; }
.card-link {
    display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
    text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    font-weight: 500; transition: var(--transition);
}
.card-link i { transition: transform 0.3s ease; }
.card-link:hover i { transform: translateX(5px); }

/* ==========================================================================
   CLINIC FEATURES
   ========================================================================== */
.features-list { list-style: none; }
.features-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-weight: 500; }
.features-list i { color: var(--gold); font-size: 1.5rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
    background: var(--bg-white); padding: 50px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft); text-align: left; height: auto;
}
.stars { color: var(--gold); margin-bottom: 20px; font-size: 1.2rem; }
.quote { font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; color: var(--text-main); margin-bottom: 30px; }
.author strong { display: block; font-size: 1.1rem; }
.author span { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.swiper-pagination-bullet { background: var(--text-muted); }
.swiper-pagination-bullet-active { background: var(--gold); }
.swiper { padding-bottom: 50px !important; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-white); border-radius: var(--radius-sm);
    margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); overflow: hidden;
}
.faq-question {
    padding: 25px 30px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 600; font-size: 1.1rem; transition: var(--transition);
}
.faq-question i { color: var(--gold); transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--bg-light);
}
.faq-answer p { padding: 0 30px 25px; color: var(--text-muted); }

/* ==========================================================================
   CTA PREMIUM
   ========================================================================== */
.cta-premium {
    position: relative; padding: 150px 0;
    background-image: url('assets/hero.png'); background-size: cover; background-position: center;
    background-attachment: fixed; color: var(--bg-white);
}
.cta-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 18, 0.85); backdrop-filter: blur(5px);
}
.cta-premium .container { position: relative; z-index: 2; max-width: 800px; }
.cta-premium p { font-size: 1.2rem; color: rgba(255,255,255,0.8); }

/* ==========================================================================
   FOOTER PREMIUM
   ========================================================================== */
.footer-premium { background: var(--bg-dark-secondary); color: var(--text-light); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-light-muted); max-width: 300px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); color: var(--bg-white); font-size: 1.2rem; margin-right: 10px; transition: var(--transition); }
.social-links a:hover { background: var(--gold); transform: translateY(-3px); }

.footer-links-col h4, .footer-contact h4 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 25px; color: var(--gold); }
.footer-links-col ul, .footer-contact ul { list-style: none; }
.footer-links-col li, .footer-contact li { margin-bottom: 15px; }
.footer-links-col a { color: var(--text-light-muted); text-decoration: none; transition: var(--transition); }
.footer-links-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { display: flex; gap: 15px; color: var(--text-light-muted); }
.footer-contact i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: var(--text-light-muted); font-size: 0.85rem; }
.legal-links a { color: var(--text-light-muted); text-decoration: none; margin-left: 20px; transition: var(--transition); }
.legal-links a:hover { color: var(--gold); }

/* ==========================================================================
   ANIMATIONS (Intersection Observer Classes)
   ========================================================================== */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .split-layout { gap: 40px; }
    .experience-badge { right: -20px; padding: 20px; }
}

@media (max-width: 768px) {
    .hero-content { padding-top: 120px; }
    .split-layout { grid-template-columns: 1fr; }
    .split-layout.reverse .reveal-left { order: 1; }
    .split-layout.reverse .reveal-right { order: 2; }
    
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-white); flex-direction: column; padding: 30px;
        gap: 20px; border-bottom: 1px solid rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .navbar.scrolled .nav-links a { color: var(--text-main); }
    .nav-links a { color: var(--text-main); }
    
    .navbar .btn-primary { display: none; }
    .mobile-toggle { display: block; }
    
    .hero { background-position: center; }
    .trust-badges { flex-direction: column; gap: 15px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .experience-badge { position: relative; bottom: auto; right: auto; margin-top: -30px; justify-content: center; }
}
