/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --navy-deep: #0a1628;
    --navy: #112744;
    --navy-mid: #1a3a5c;
    --navy-light: #2c5282;
    --gold: #c5a55b;
    --gold-light: #e0c480;
    --gold-dark: #a08340;
    --white: #ffffff;
    --off-white: #f7f9fb;
    --light-gray: #eef2f6;
    --mid-gray: #8896a6;
    --dark-gray: #4a5a6a;
    --text-body: #3a4858;
    --border: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.18);
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: var(--navy-deep); }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--navy-light); transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
section { padding: 80px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
    font-family: 'Playfair Display', serif; font-size: 2.2rem;
    font-weight: 600; color: var(--navy-deep); margin-bottom: 16px;
}
.section-divider { width: 60px; height: 3px; background: var(--gold); margin-bottom: 40px; border-radius: 2px; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 1000; padding: 18px 0;
    border-bottom: 1px solid rgba(197, 165, 91, 0.15);
    transition: var(--transition);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--gold); transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,39,68,0.88) 50%, rgba(10,22,40,0.92) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/f4497f131_generated_image.png');
    background-size: cover; background-position: center; opacity: 0.2; z-index: 0;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%); z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 60px; max-width: 850px; }
.hero-pretitle { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.8); letter-spacing: 2px; margin-bottom: 24px; }
.hero-name { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--white); letter-spacing: 1px; margin-bottom: 16px; }
.hero-qualifications { font-size: 0.8rem; font-weight: 400; color: var(--gold-light); letter-spacing: 0.5px; margin-bottom: 20px; line-height: 1.6; }
.hero-role { font-size: 1.15rem; font-weight: 500; color: rgba(255,255,255,0.95); margin-bottom: 6px; }
.hero-org { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.hero-tagline {
    font-size: 0.9rem; font-weight: 600; color: var(--gold); letter-spacing: 4px;
    text-transform: uppercase; padding: 10px 32px;
    border: 1px solid rgba(197, 165, 91, 0.4); border-radius: 4px; display: inline-block;
}
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; color: rgba(255,255,255,0.5); font-size: 1.5rem; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center; opacity: 0.12;
}
.page-header--profile::before { background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/f4497f131_generated_image.png'); }
.page-header--treatments::before { background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/a9521c7fd_generated_image.png'); }
.page-header--medico::before { background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/0159cea70_generated_image.png'); }
.page-header--links::before { background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/2f3a04b82_generated_image.png'); }
.page-header--contact::before { background-image: url('https://media.base44.com/images/public/6a71e5f75ace628790f38bbd/f4497f131_generated_image.png'); }
.page-header .header-content { position: relative; z-index: 1; }
.page-header .header-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--white); margin-bottom: 16px; }
.page-header .header-divider { width: 60px; height: 3px; background: var(--gold); margin: 0 auto; border-radius: 2px; }

/* ===== FEATURED IMAGE BANNER ===== */
.featured-image {
    width: 100%; height: 280px; object-fit: cover; border-radius: 12px;
    box-shadow: var(--shadow-md); margin-bottom: 40px;
}
.featured-image-half {
    width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
    box-shadow: var(--shadow-md);
}
.image-banner {
    position: relative; height: 320px; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-md); margin-bottom: 50px;
}
.image-banner img { width: 100%; height: 100%; object-fit: cover; }
.image-banner .banner-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(10,22,40,0.85));
    padding: 40px 32px 28px;
}
.image-banner .banner-overlay h3 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 4px; }
.image-banner .banner-overlay p { color: var(--gold-light); font-size: 0.85rem; margin-bottom: 0; }

/* ===== PROFILE IMAGE ===== */
.profile-image-wrapper { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.profile-image-wrapper img { width: 100%; height: 260px; object-fit: cover; }

/* ===== SPLIT IMAGE + TEXT ===== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.split-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.split-image img { width: 100%; height: 320px; object-fit: cover; }
.split-text h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy-deep); margin-bottom: 16px; }
.split-text p { font-size: 0.95rem; color: var(--text-body); line-height: 1.85; margin-bottom: 1rem; }

/* ===== PROFILE ===== */
.profile-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.profile-card {
    background: var(--navy-deep); border-radius: 12px; padding: 0 0 40px; color: var(--white);
    position: sticky; top: 100px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.profile-card .profile-image-wrapper { margin-bottom: 24px; border-radius: 0; }
.profile-card .profile-image-wrapper img { height: 220px; }
.profile-card-inner { padding: 0 32px; }
.profile-card h3 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 8px; }
.profile-card .card-sub { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.profile-card .info-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.profile-card .info-item:last-child { border-bottom: none; }
.profile-card .info-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.profile-card .info-value { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.profile-content p { margin-bottom: 1.1rem; font-size: 0.95rem; line-height: 1.85; color: var(--text-body); }
.profile-content p strong { color: var(--navy-deep); font-weight: 600; }

/* ===== TREATMENTS ===== */
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treatment-card {
    background: var(--white); border-radius: 10px; padding: 28px 24px;
    box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border);
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.treatment-card h4 { font-size: 0.95rem; color: var(--navy-deep); margin-bottom: 8px; font-weight: 600; }
.treatment-card p { font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 0; line-height: 1.5; }
.treatment-icon { width: 42px; height: 42px; border-radius: 8px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.treatment-icon svg { width: 22px; height: 22px; color: var(--gold); }
.treatments-note { text-align: center; margin-top: 40px; padding: 20px; background: var(--navy-deep); border-radius: 10px; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.treatments-note strong { color: var(--gold); }

/* ===== RECENT WORKS ===== */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.work-card { background: var(--off-white); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 32px; transition: var(--transition); }
.work-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.work-card .work-icon { font-size: 1.5rem; margin-bottom: 16px; }
.work-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy-deep); }
.work-card p { font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 0; }
.work-card .work-source { font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 12px; display: block; }

/* ===== MEDICO LEGAL ===== */
.medico-section { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: rgba(255,255,255,0.85); }
.medico-content { max-width: 850px; margin: 0 auto; }
.medico-content p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1.2rem; }
.medico-content p strong { color: var(--gold-light); font-weight: 500; }
.medico-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0; }
.medico-feature { text-align: center; padding: 28px 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; transition: var(--transition); }
.medico-feature:hover { border-color: var(--gold); background: rgba(255,255,255,0.03); }
.medico-feature .feature-number { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); margin-bottom: 8px; }
.medico-feature .feature-title { font-size: 0.8rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.medico-feature .feature-text { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.medico-cta { background: rgba(197, 165, 91, 0.08); border: 1px solid rgba(197, 165, 91, 0.2); border-radius: 10px; padding: 28px; margin-top: 30px; text-align: center; }
.medico-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 16px; }
.medico-cta a { display: inline-block; padding: 12px 32px; background: var(--gold); color: var(--navy-deep); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; border-radius: 6px; transition: var(--transition); }
.medico-cta a:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== MEDICO IMAGE SECTION ===== */
.medico-images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 50px 0; }
.medico-images .medico-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); height: 240px; }
.medico-images .medico-img img { width: 100%; height: 100%; object-fit: cover; }
.medico-images .medico-img .img-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,22,40,0.9)); padding: 24px 20px 16px; color: var(--gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.medico-img-wrap { position: relative; height: 100%; }

/* ===== LINKS ===== */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-card { background: var(--white); border-radius: 10px; padding: 24px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.link-card .link-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.link-card .link-icon svg { width: 24px; height: 24px; color: var(--gold); }
.link-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.link-card p { font-size: 0.82rem; color: var(--mid-gray); margin-bottom: 0; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 1.2rem; line-height: 1.8; }
.contact-info p strong { color: var(--navy-deep); }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail .contact-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .contact-ic svg { width: 20px; height: 20px; color: var(--gold); }
.contact-detail .contact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mid-gray); margin-bottom: 4px; }
.contact-detail .contact-value { font-size: 0.95rem; color: var(--navy-deep); font-weight: 500; }
.contact-detail .contact-value a { color: var(--navy-deep); }
.contact-detail .contact-value a:hover { color: var(--gold); }
.contact-card { background: var(--navy-deep); border-radius: 12px; padding: 0 0 40px; color: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-card .contact-card-img { width: 100%; height: 160px; object-fit: cover; }
.contact-card .contact-card-inner { padding: 32px 40px 0; }
.contact-card h3 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; }
.contact-card .clinic-name { font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.contact-card .clinic-addr { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 24px; }
.contact-card .clinic-contact-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-card .clinic-contact-item:last-child { border-bottom: none; }
.contact-card .clinic-contact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.contact-card .clinic-contact-value { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.contact-card .clinic-contact-value a { color: var(--gold-light); }

/* ===== FOOTER ===== */
footer { background: var(--navy-deep); padding: 50px 0 30px; text-align: center; border-top: 1px solid rgba(197, 165, 91, 0.15); }
footer .footer-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
footer .footer-brand span { color: var(--gold); }
footer .footer-nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
footer .footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
footer .footer-nav a:hover { color: var(--gold); }
footer .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .profile-grid { grid-template-columns: 1fr; gap: 30px; }
    .profile-card { position: static; }
    .treatments-grid { grid-template-columns: repeat(2, 1fr); }
    .medico-features { grid-template-columns: repeat(2, 1fr); }
    .medico-images { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .works-grid { grid-template-columns: 1fr; }
    .split-section { grid-template-columns: 1fr; gap: 30px; }
    .split-image img { height: 240px; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--navy-deep); flex-direction: column; gap: 0;
        padding: 20px; border-top: 1px solid rgba(197,165,91,0.15);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-toggle { display: flex; }
    .hero-name { font-size: 2.2rem; }
    .hero-qualifications { font-size: 0.7rem; }
    .section-title { font-size: 1.6rem; }
    .page-header h1 { font-size: 2rem; }
    section { padding: 60px 0; }
    .treatments-grid { grid-template-columns: 1fr; }
    .medico-features { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: 1fr; }
    .image-banner { height: 220px; }
    .featured-image { height: 200px; }
}
