/* ==========================================================================
   WFSC CLINIC - MODERN AESTHETIC & ANTI-AGING CLINIC
   Theme: Clean and Elegant (#FFFFFF main background, #EE4559 secondary/accent)
   Typography: DinPro
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS & RESET & VARIABLES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'DinPro';
    src: local('DinPro Regular'), local('DINPro-Regular'),
         url('https://fonts.cdnfonts.com/s/14881/DINPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DinPro';
    src: local('DinPro Medium'), local('DINPro-Medium'),
         url('https://fonts.cdnfonts.com/s/14881/DINPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DinPro';
    src: local('DinPro Bold'), local('DINPro-Bold'),
         url('https://fonts.cdnfonts.com/s/14881/DINPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-main: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --accent-red: #EE4559;
    --accent-red-hover: #D83347;
    --accent-red-light: rgba(238, 69, 89, 0.08);
    
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    --border-light: #E5E7EB;
    
    --font-family: 'DinPro', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 15px 35px rgba(31, 41, 55, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: clip;
    margin: 0;
    padding: 0;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.site-main {
    width: 100%;
    overflow-x: clip;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

/* ==========================================================================
   LAZY LOADING & SKELETON SHIMMER OPTIMIZATION
   ========================================================================== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.treatment-img-wrap,
.before-after-img-wrap,
.facility-slide-card,
.doctor-img-wrap,
.promo-img-wrap,
.news-img-wrap {
    background: linear-gradient(90deg, #f0f2f5 25%, #e1e4e8 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite linear;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    flex-shrink: 0;
}

/* Fallback & aspect ratios agar gambar stabil tidak runtuh (0 height) */
.treatment-img-wrap { aspect-ratio: 4 / 5; min-height: 280px; }
.before-after-img-wrap { aspect-ratio: 5 / 4; min-height: 250px; }
.facility-slide-card { aspect-ratio: 1 / 1; min-height: 280px; }
.doctor-img-wrap { aspect-ratio: 4 / 5; min-height: 280px; }
.promo-img-wrap { aspect-ratio: 1 / 1; min-height: 260px; }
.news-img-wrap { aspect-ratio: 16 / 10; min-height: 200px; }

/* Absolute positioning untuk semua img didalam wrapper agar akurat */
.treatment-img,
.before-after-img,
.facility-img,
.doctor-img,
.promo-img,
.news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   2. UTILITIES & BUTTONS
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(238, 69, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    box-shadow: 0 6px 20px rgba(238, 69, 89, 0.45);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-primary-outline:hover {
    background-color: var(--accent-red);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(238, 69, 89, 0.25);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.btn-link:hover {
    color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   3. HEADER NAVBAR (STICKY)
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    padding-top: 4px;
    padding-bottom: 4px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dark);
    line-height: 1.1;
}

.logo-dot {
    color: var(--accent-red);
}

.logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-red);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Drawer */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 24px;
    z-index: 999;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--accent-red);
    padding-left: 8px;
}

.mobile-cta-item {
    margin-top: 16px;
}

.w-full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    overflow: clip;
}

/* Background room placeholder wrapper */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.15;
    filter: saturate(0.8);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #FFFFFF 20%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-red);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Doctor Photo / Overlay right */
.hero-doctor-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-doctor-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(145deg, #FFF, #F3F4F6);
    border: 8px solid #FFFFFF;
}

.hero-doctor-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-doctor-frame:hover .hero-doctor-img {
    transform: scale(1.03);
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: -20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.floating-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.floating-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. STATISTIC SECTION (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.stats-glass-section {
    position: relative;
    z-index: 10;
    margin-top: -65px;
    margin-bottom: 50px;
}

.stats-glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: 40px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background-color: var(--border-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stat-number .stat-accent {
    color: var(--accent-red);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. TREATMENTS SECTION
   -------------------------------------------------------------------------- */
.treatments-section {
    background-color: var(--bg-main);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.treatment-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-red-light);
}

.treatment-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #F3F4F6;
}

.treatment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover .treatment-img {
    transform: scale(1.08);
}

.treatment-img-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-red);
}

.treatment-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.treatment-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.treatment-action {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   7. BEFORE AFTER SECTION (AUTO SLIDE)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   7. BEFORE AFTER SECTION (AUTO SLIDE)
   -------------------------------------------------------------------------- */
.before-after-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: clip;
}

.before-after-slider-wrap {
    position: relative;
    padding: 20px 0 50px 0;
}

/* Fix Swiper touch scrolling di mobile/tablet agar halaman tidak stuck saat discroll */
.swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.before-after-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.before-after-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background-color: #E5E7EB;
}

.before-after-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-labels {
    position: absolute;
    top: 16px;
    inset-inline: 16px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.ba-tag {
    background: rgba(31, 41, 55, 0.85);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ba-tag.after {
    background: var(--accent-red);
}

.before-after-info {
    padding: 20px 24px;
}

.before-after-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.before-after-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Swiper Controls Customization */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-light);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: var(--accent-red);
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--accent-red) !important;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--accent-red);
    color: #FFFFFF !important;
    border-color: var(--accent-red);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. WHY CHOOSE WFSC & FACILITY SECTION
   -------------------------------------------------------------------------- */
.why-facility-section {
    background-color: var(--bg-main);
}

.why-facility-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.why-choose-box {
    display: flex;
    flex-direction: column;
}

.section-header-left {
    margin-bottom: 32px;
}

.section-header-left .section-title::after {
    left: 0;
    transform: none;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-red);
    transition: var(--transition);
}

.why-item:hover {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.why-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Facility Carousel Box */
.facility-box {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.facility-swiper-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.facility-slide-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 40px 24px 24px 24px;
    color: #FFFFFF;
}

.facility-caption h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.facility-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   9. DOCTORS SECTION
   -------------------------------------------------------------------------- */
.doctors-section {
    background-color: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.doctor-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Head Doctor Highlight in Center */
.doctor-card.head-doctor {
    transform: scale(1.06);
    z-index: 2;
    border: 2px solid var(--accent-red);
    box-shadow: var(--shadow-lg);
}

.doctor-card.head-doctor:hover {
    transform: scale(1.06) translateY(-8px);
}

.head-doctor-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-red);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(238, 69, 89, 0.4);
}

.doctor-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #E5E7EB;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-img {
    transform: scale(1.06);
}

.doctor-info {
    padding: 24px;
    text-align: center;
}

.doctor-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.doctor-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   10. PROMO SECTION
   -------------------------------------------------------------------------- */
.promo-section {
    background-color: var(--bg-main);
}

.promo-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.promo-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promo-card:hover .promo-img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   11. NEWS SECTION
   -------------------------------------------------------------------------- */
.news-section {
    background-color: var(--bg-light);
}

.news-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-red-light);
}

.news-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #E5E7EB;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.06);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-category {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   12. FOOTER SECTION
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #111827;
    color: #F3F4F6;
    padding-top: 80px;
    border-top: 4px solid var(--accent-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1.1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo-title {
    color: #FFFFFF;
}

.footer-tagline {
    font-size: 0.92rem;
    color: #9CA3AF;
    margin-top: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-badge {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(238, 69, 89, 0.15);
    border: 1px solid rgba(238, 69, 89, 0.3);
    border-radius: 8px;
    color: #F87171;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--accent-red);
}

.branch-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-item {
    font-size: 0.9rem;
}

.branch-name {
    color: #FFFFFF;
    display: block;
    margin-bottom: 4px;
}

.branch-address {
    color: #9CA3AF;
    line-height: 1.5;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
}

.contact-label {
    display: block;
    color: #9CA3AF;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.contact-link {
    color: #FFFFFF;
    font-weight: 600;
}

.contact-link:hover {
    color: var(--accent-red);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22C55E;
}

.whatsapp-link:hover {
    color: #4ADE80;
}

.operational-hours span {
    color: #FFFFFF;
    font-weight: 500;
}

.social-intro {
    font-size: 0.88rem;
    color: #9CA3AF;
    margin-bottom: 16px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-card:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateX(4px);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    font-size: 0.85rem;
    color: #9CA3AF;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a:hover {
    color: var(--accent-red);
}

.sep {
    color: #4B5563;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, DESKTOP)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 28px;
    }
    
    .hero-title {
        font-size: 3.1rem;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 680px;
        margin: 0 auto;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-bg-wrapper {
        width: 100%;
        opacity: 0.2;
    }
    
    .stats-glass-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 32px 24px;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .why-facility-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-choose-box {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }
    
    .facility-box {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 780px;
        margin: 0 auto;
        gap: 28px;
    }
    
    .doctor-card.head-doctor {
        transform: scale(1);
        order: -1; /* Head doctor selalu di atas atau tengah pada tablet */
        grid-column: span 2;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
    
    .doctor-card.head-doctor:hover {
        transform: translateY(-8px);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 14px 20px;
    }
    
    .nav-list,
    .header-actions .btn {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero-section {
        padding-top: 110px;
        padding-bottom: 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .hero-doctor-frame {
        max-width: 360px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        left: 12px;
        right: 12px;
        bottom: 16px;
        padding: 12px 16px;
    }
    
    .stats-glass-section {
        margin-top: -30px;
        margin-bottom: 30px;
    }
    
    .stats-glass-card {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 24px;
    }
    
    .stat-item::after {
        display: none !important;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    
    .doctor-card.head-doctor {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.95rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .facility-box {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}
