/* ============================================
   RMS Klinik - Design System
   ============================================ */

:root {
    /* Colors - Marshall 30GY 51/294 Sage Green */
    --primary: #7BA355;
    --primary-light: #8FB568;
    --primary-dark: #5C7E3E;
    --primary-50: rgba(123, 163, 85, 0.05);
    --primary-100: rgba(123, 163, 85, 0.1);
    --primary-200: rgba(123, 163, 85, 0.15);

    --accent: #c8956c;
    --accent-light: #d4a882;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-warm: #faf9f7;
    --bg-hero: linear-gradient(135deg, #f0f7f5 0%, #e8f2ef 50%, #f5f0eb 100%);

    --text-primary: #1a1a2e;
    --text-secondary: #555770;
    --text-muted: #8e90a6;
    --text-light: #b0b2c3;

    --border: #e8e9ed;
    --border-light: #f0f1f4;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-pad: 100px;
    --container-max: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Top Bar
   ============================================ */

.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    padding: 8px 0;
    letter-spacing: 0.02em;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s var(--ease);
}

.top-bar-item:hover {
    color: #fff;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s var(--ease);
}

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

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-primary);
    margin-top: -1px;
}

.logo-rms {
    font-family: var(--font-display);
    color: #004aad;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.logo-klinik {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer logo adjustments */
.footer-logo .logo-icon {
    border: 1.5px solid rgba(255,255,255,0.15);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    position: relative;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    transition: all 0.35s var(--ease);
    box-shadow: 0 2px 8px rgba(123, 163, 85, 0.25);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 24px rgba(123, 163, 85, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    background: var(--bg-hero);
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s var(--ease) both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.15) 100%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    border-radius: inherit;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(123, 163, 85, 0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(123, 163, 85, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1.5px solid rgba(123, 163, 85, 0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.85);
    border-color: rgba(123, 163, 85, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(123, 163, 85, 0.12), inset 0 1px 0 rgba(255,255,255,0.5);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 0;
}

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

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s var(--ease) 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 420px;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: floatUpDown 3s ease-in-out infinite;
}

.hero-floating-card svg {
    color: var(--primary);
    flex-shrink: 0;
}

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

.card-2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 1.5s;
}

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

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

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: var(--section-pad) 0;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   About Section
   ============================================ */

.about {
    background-color: var(--bg-white);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(123, 163, 85, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(216, 185, 121, 0.15) 0%, transparent 40%);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.about-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08), 
        inset 0 1px 2px rgba(255,255,255,1), 
        inset 0 -1px 1px rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,1);
}

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

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: 16px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.about-card:hover .about-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background-color: var(--bg-warm);
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(123, 163, 85, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(216, 185, 121, 0.15) 0%, transparent 40%);
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 36px 28px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08), 
        inset 0 1px 2px rgba(255,255,255,1), 
        inset 0 -1px 1px rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,1);
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--primary-50);
    border-radius: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    border-radius: 14px;
    transform: scale(1.05) rotate(-2deg);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ============================================
   Approach Section
   ============================================ */

.approach {
    background: var(--bg-white);
}

.approach-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--accent));
    border-radius: 2px;
}

.approach-step {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease);
}

.approach-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
}

.approach-step:hover .step-number {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(123, 163, 85, 0.3);
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background-color: var(--bg-warm);
    background-image: 
        radial-gradient(circle at 80% 80%, rgba(123, 163, 85, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 20%, rgba(216, 185, 121, 0.15) 0%, transparent 40%);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

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

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

.contact-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.08), 
        inset 0 1px 2px rgba(255,255,255,1), 
        inset 0 -1px 1px rgba(255,255,255,0.3);
    transform: translateX(4px) scale(1.01);
    border-color: rgba(255,255,255,1);
}

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

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

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

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand .logo-rms {
    color: white;
}

.footer-brand .logo-klinik {
    color: rgba(255,255,255,0.5);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ============================================
   WhatsApp Float
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
    animation: pulse-green 2s infinite;
}

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

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   Google Reviews Section
   ============================================ */

.reviews {
    background-color: var(--bg-white);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(123, 163, 85, 0.08) 0%, transparent 60%);
    position: relative;
    z-index: 1;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    padding: 32px 40px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d4 100%);
    border: 1px solid #fce8a6;
    border-radius: 20px;
}

.reviews-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.score-stars {
    display: flex;
    gap: 4px;
}

.score-info {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
}

.google-badge:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    transform: translateY(-2px) scale(1.02);
    border-color: #4285F4;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.review-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

.review-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.08), 
        inset 0 1px 2px rgba(255,255,255,1), 
        inset 0 -1px 1px rgba(255,255,255,0.3);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255,255,255,1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.reviews-cta {
    text-align: center;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-grid.gallery-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.gallery-grid-5 .gallery-item:nth-child(4),
.gallery-grid.gallery-grid-5 .gallery-item:nth-child(5) {
    grid-column: span 1;
}

@media (min-width: 769px) {
    .gallery-grid.gallery-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .gallery-grid.gallery-grid-5 .gallery-item:nth-child(4) {
        grid-column: 1 / 2;
    }
    .gallery-grid.gallery-grid-5 .gallery-item:nth-child(5) {
        grid-column: 2 / 3;
    }
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}


/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ============================================
   Page Hero (Sub-pages)
   ============================================ */

.page-hero {
    background: var(--bg-hero);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg-white));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page-breadcrumb a {
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s var(--ease);
}

.page-breadcrumb a:hover {
    color: var(--primary-light);
}

.page-breadcrumb svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.page-breadcrumb span {
    color: var(--text-secondary);
    font-weight: 500;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    animation: fadeInUp 0.8s var(--ease) both;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

/* ============================================
   About Profile Section
   ============================================ */

.about-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    border-radius: 24px;
    border: 1px solid var(--border-light);
}

.about-profile-image {
    position: relative;
}

.about-profile-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-profile-content .section-tag {
    margin-bottom: 12px;
}

.about-profile-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-profile-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
}

.profile-badge:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    border-color: var(--primary-200);
}

.profile-badge svg {
    flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--bg-white);
    padding: 60px 0 80px;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-actions .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* ============================================
   About Clinic Section
   ============================================ */

.about-clinic {
    background-color: var(--bg-warm);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(123, 163, 85, 0.06) 0%, transparent 50%);
    position: relative;
    z-index: 1;
}

.about-clinic-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-clinic-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 36px 40px;
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

/* ============================================
   Certificates Section
   ============================================ */

.certificates {
    background-color: var(--bg-white);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(123, 163, 85, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(216, 185, 121, 0.1) 0%, transparent 50%);
    position: relative;
    z-index: 1;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.certificate-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
}

.certificate-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08), 
        inset 0 1px 2px rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
}

.certificate-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.certificate-card-info {
    padding: 20px;
    text-align: center;
}

.certificate-card-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.certificate-card-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.certificates-placeholder {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px dashed rgba(123, 163, 85, 0.3);
    border-radius: 20px;
}

.certificates-placeholder svg {
    color: var(--primary);
    margin-bottom: 16px;
    opacity: 0.5;
}

.certificates-placeholder p {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-profile {
        grid-template-columns: 280px 1fr;
        gap: 40px;
        padding: 36px;
    }

    .about-profile-image img {
        height: 360px;
    }

    .about-profile-content h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 50px;
    }

    .container {
        padding: 0 16px;
    }

    .top-bar {
        display: none;
    }

    /* Navigation */
    .nav-inner {
        height: 56px;
    }

    .nav-logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-rms {
        font-size: 1.3rem;
    }

    .logo-klinik {
        font-size: 0.8rem;
    }

    .logo-subtitle {
        font-size: 0.45rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 12px 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .nav-cta {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 30px 0 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 28px;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

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

    .stat-suffix {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .stat-divider {
        height: 28px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 280px;
    }

    .hero-image {
        border-radius: 16px;
    }

    .hero-floating-card {
        padding: 8px 12px;
        font-size: 0.72rem;
        border-radius: 10px;
        gap: 6px;
    }

    .hero-floating-card svg {
        width: 16px;
        height: 16px;
    }

    .card-1 {
        right: -5px;
        top: 10px;
    }

    .card-2 {
        left: -5px;
        bottom: 20px;
    }

    .hero-wave svg {
        height: 40px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .section-desc {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    /* About Cards */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .about-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .about-icon svg {
        width: 24px;
        height: 24px;
    }

    .about-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .about-card p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 20px 16px 16px;
        border-radius: 14px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .service-tag {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    /* Approach Timeline */
    .approach-timeline::before {
        left: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        border-width: 1.5px;
    }

    .approach-step {
        gap: 14px;
        padding: 14px 0;
    }

    .step-content {
        padding-top: 4px;
    }

    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .step-content p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-card {
        padding: 16px;
        gap: 14px;
        border-radius: 12px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-card h4 {
        font-size: 0.75rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .contact-map iframe {
        height: 280px;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
        border-radius: 14px;
        margin-bottom: 28px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .score-stars svg {
        width: 18px;
        height: 18px;
    }

    .score-info {
        font-size: 0.8rem;
    }

    .google-badge {
        padding: 10px 18px;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .review-card {
        padding: 18px 14px;
        border-radius: 12px;
    }

    .review-header {
        gap: 10px;
        margin-bottom: 8px;
    }

    .review-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .review-name {
        font-size: 0.85rem;
    }

    .review-date {
        font-size: 0.7rem;
    }

    .review-stars {
        margin-bottom: 8px;
    }

    .review-stars svg {
        width: 13px;
        height: 13px;
    }

    .review-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item {
        border-radius: 12px;
        aspect-ratio: 1/1;
    }

    .gallery-overlay {
        padding: 12px;
    }

    .gallery-overlay span {
        font-size: 0.75rem;
    }

    /* Certificates */
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .certificate-card img {
        height: 200px;
    }

    .certificate-card-info {
        padding: 14px;
    }

    .certificate-card-info h4 {
        font-size: 0.85rem;
    }

    .certificate-card-info p {
        font-size: 0.75rem;
    }

    .certificates-placeholder {
        padding: 36px 20px;
    }

    .certificates-placeholder svg {
        width: 40px;
        height: 40px;
    }

    .certificates-placeholder p {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 36px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.82rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-links ul {
        gap: 6px;
    }

    .footer-contact p {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 18px;
        font-size: 0.82rem;
        border-radius: 10px;
        gap: 6px;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

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

    /* Page Hero responsive */
    .page-hero {
        padding: 30px 0 24px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .page-hero p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .page-breadcrumb {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }

    .page-hero::after {
        height: 30px;
    }

    /* About Profile responsive */
    .about-profile {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
        text-align: center;
        border-radius: 16px;
        margin-bottom: 40px;
    }

    .about-profile-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-profile-image img {
        height: 260px;
        border-radius: 14px;
    }

    .about-profile-content .section-tag {
        font-size: 0.68rem;
    }

    .about-profile-content h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .about-profile-content p {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .about-profile-badges {
        justify-content: center;
        gap: 8px;
    }

    .profile-badge {
        padding: 7px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
        gap: 5px;
    }

    .profile-badge svg {
        width: 16px;
        height: 16px;
    }

    /* About Clinic */
    .about-clinic-content p {
        font-size: 0.9rem;
        padding: 20px 16px;
        border-radius: 14px;
        line-height: 1.7;
    }

    /* CTA Section responsive */
    .cta-section {
        padding: 36px 0 48px;
    }

    .cta-box {
        padding: 28px 16px;
        border-radius: 16px;
    }

    .cta-box h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .cta-box p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .hero-image-wrapper {
        width: 180px;
        height: 230px;
    }

    .hero-floating-card {
        padding: 6px 10px;
        font-size: 0.65rem;
        border-radius: 8px;
    }

    .hero-floating-card svg {
        width: 14px;
        height: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

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

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-divider {
        width: 30px;
        height: 1px;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .btn {
        padding: 9px 16px;
        font-size: 0.78rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-desc {
        font-size: 0.82rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    /* Page Hero */
    .page-hero h1 {
        font-size: 1.4rem;
    }

    .page-hero p {
        font-size: 0.82rem;
    }

    .about-profile-content h2 {
        font-size: 1.25rem;
    }

    .about-profile-content p {
        font-size: 0.8rem;
    }

    .cta-box h2 {
        font-size: 1.15rem;
    }

    .cta-box p {
        font-size: 0.8rem;
    }

    /* Gallery 2 columns stays on small screens */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Reviews summary */
    .score-number {
        font-size: 2rem;
    }

    .reviews-summary {
        padding: 16px 12px;
    }

    .review-card {
        padding: 14px 12px;
    }

    .review-text {
        font-size: 0.78rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.25rem;
    }

    .hero-image-wrapper {
        width: 160px;
        height: 200px;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .about-profile-image {
        max-width: 160px;
    }

    .about-profile-image img {
        height: 210px;
    }

    .about-profile-content h2 {
        font-size: 1.15rem;
    }
}

/* ============================================
   Enhanced Animations v2
   ============================================ */

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a2e 100%);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.fade-out {
    opacity: 0;
}

.page-transition-overlay.fade-in {
    opacity: 1;
    pointer-events: all;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 163, 85, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

/* Skeleton Loading */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 8px;
}

.review-skeleton {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.03);
}

.skeleton-avatar {
    width: 44px; height: 44px; border-radius: 50%;
}
.skeleton-name {
    height: 14px; width: 120px; margin-bottom: 6px;
}
.skeleton-date {
    height: 10px; width: 70px;
}
.skeleton-stars {
    height: 14px; width: 90px; margin: 12px 0;
}
.skeleton-text-1 {
    height: 10px; width: 100%; margin-bottom: 6px;
}
.skeleton-text-2 {
    height: 10px; width: 85%; margin-bottom: 6px;
}
.skeleton-text-3 {
    height: 10px; width: 70%;
}

/* Reviews Loading & Status */
#reviews-loading {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

#reviews-error {
    display: none;
    text-align: center;
    padding: 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.reviews-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

#reviews-last-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.reviews-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(123, 163, 85, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reviews-live-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Reviews Grid - 3 col */
#live-reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    #live-reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    #live-reviews-container {
        grid-template-columns: 1fr;
    }
}

/* Enhanced card 3D tilt (perspective wrapper) */
.service-card,
.about-card,
.review-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Smooth entrance for sections */
.section-header {
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero image parallax */
.hero-image-wrapper {
    will-change: transform;
    transition: transform 0.05s linear;
}

/* Approach step enhanced */
.approach-step {
    perspective: 600px;
}

.approach-step.visible .step-number {
    animation: stepPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes stepPop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* Floating card animation on hover */
.hero-floating-card {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-floating-card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Top bar link shimmer on hover */
.top-bar-item {
    position: relative;
    overflow: hidden;
}

.top-bar-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: -100%;
    width: 100%; height: 1px;
    background: rgba(255,255,255,0.7);
    transition: left 0.3s ease;
}

.top-bar-item:hover::after {
    left: 0;
}

/* Section tag pulse on appear */
.section-tag {
    animation: none;
}

.section-header.visible .section-tag {
    animation: tagAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes tagAppear {
    from { transform: scale(0.85) translateY(4px); opacity: 0; }
    to   { transform: scale(1) translateY(0);      opacity: 1; }
}

/* WhatsApp button enhanced */
.whatsapp-float {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(8deg);
}

/* Scroll progress bar glow */
@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 6px var(--primary); }
    50% { box-shadow: 0 0 12px var(--accent); }
}

/* ============================================
   Fullscreen Hero (v2 — image slider)
   ============================================ */

.hero-fullscreen {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    padding: 0;
    background: #1a1a2e;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.05);
    animation: none;
}

.hero-slide.active {
    opacity: 1;
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.82) 0%,
        rgba(26, 26, 46, 0.55) 60%,
        rgba(92, 126, 62, 0.35) 100%
    );
    z-index: 1;
}

.hero-fullscreen-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    padding-bottom: 80px; /* room for wave */
}

.hero-fs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(123, 163, 85, 0.25);
    border: 1px solid rgba(123, 163, 85, 0.5);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.92);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s var(--ease) both;
}

.hero-fullscreen-content h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.text-accent-light {
    color: #a8cf7e;
}

.hero-fs-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 680px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-fs-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.btn-fs-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    color: #fff;
    transition: all 0.35s var(--ease);
    font-family: var(--font-primary);
}

.btn-fs-outline:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
    color: #fff;
}

/* Fullscreen hero stats */
.hero-fs-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.fs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fs-stat-num-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.fs-stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #a8cf7e;
    line-height: 1;
}

.fs-stat-suf {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #a8cf7e;
    line-height: 1;
}

.fs-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-top: 4px;
    text-align: center;
}

.fs-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
}

/* Override hero-wave for fullscreen */
.hero-fullscreen .hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    z-index: 11;
    line-height: 0;
}

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

/* Responsive fullscreen hero */
@media (max-width: 768px) {
    .hero-fullscreen {
        height: 95vh;
    }
    .hero-fullscreen-content h1 {
        font-size: 2.2rem;
    }
    .hero-fs-subtitle {
        font-size: 0.92rem;
    }
    .hero-fs-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .fs-stat-num { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-fullscreen-content h1 { font-size: 1.7rem; }
    .hero-fs-actions { flex-direction: column; align-items: center; }
    .fs-stat-divider { display: none; }
}

/* ============================================
   Certificate Cards
   ============================================ */

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    gap: 24px;
    padding: 32px 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.8) 100%);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.cert-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 2px rgba(255,255,255,1);
}

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

.cert-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    background: var(--primary-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s var(--ease);
}

.cert-card:hover .cert-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05) rotate(-3deg);
}

.cert-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

.cert-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

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

.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    width: fit-content;
    box-shadow: 0 2px 8px rgba(123, 163, 85, 0.25);
}

.cert-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 163, 85, 0.35);
    color: white;
}

@media (max-width: 640px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    .cert-card {
        flex-direction: column;
    }
    .cert-icon {
        width: 54px;
        height: 54px;
    }
}

/* ============================================
   Gallery 6-grid (masonry-inspired)
   ============================================ */

.gallery-grid-6 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-6 .gallery-main {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .gallery-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid-6 .gallery-main {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid-6 {
        grid-template-columns: 1fr;
    }
    .gallery-grid-6 .gallery-main {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
}

/* ============================================
   Ana Sayfa Galeri Grid — Düzgün Dikdörtgen
   ============================================ */

.gallery-home {
    background: var(--bg-warm);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(123, 163, 85, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 149, 108, 0.08) 0%, transparent 50%);
}

.gallery-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.gallery-home-grid .gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.gallery-home-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-home-grid .gallery-item:hover img {
    transform: scale(1.06);
}

/* wide sınıfı artık kullanılmıyor — tüm kartlar eşit */
.gallery-item-wide {
    grid-column: unset;
    grid-row: unset;
}

.gallery-cta {
    text-align: center;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

