:root {
  --primary: #0e7c7b;
  --primary-dark: #0a5d5c;
  --primary-light: #4fb3b2;
  --primary-lighter: #e8f5f5;
  --secondary: #1a2a3a;
  --accent: #f0a500;
  --accent-dark: #d68f00;
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px rgba(0,0,0,.07);
  --shadow-md: 0 10px 15px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 25px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all .3s ease;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--neutral-700); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--neutral-800); line-height: 1.2; margin-bottom: .5em; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: var(--neutral-800); position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }
.section-title p { color: var(--neutral-500); margin-top: 12px; }
.text-center { text-align: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--white); box-shadow: var(--shadow); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-top { background: var(--primary); color: var(--white); padding: 8px 0; font-size: .85rem; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.header-top a { color: var(--white); }
.header-top .ht-left { display: flex; gap: 20px; flex-wrap: wrap; }
.header-top .ht-right { display: flex; gap: 12px; align-items: center; }
.header-top .ht-right a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.15); }
.header-top .ht-right a:hover { background: rgba(255,255,255,.3); }
.header-main { padding: 12px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 50px; width: auto; }
.logo .logo-text { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.logo .logo-text span { display: block; font-size: .7rem; color: var(--neutral-500); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 10px 16px; color: var(--neutral-700); font-weight: 500; border-radius: var(--radius-sm); }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-lighter); }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius-sm); background: var(--neutral-100); cursor: pointer; font-size: .9rem; }
.lang-btn:hover { background: var(--neutral-200); }
.lang-dropdown { position: absolute; top: 100%; right: 0; background: var(--white); box-shadow: var(--shadow-md); border-radius: var(--radius-sm); min-width: 140px; overflow: hidden; display: none; z-index: 100; }
.lang-dropdown.open { display: block; }
.lang-dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: var(--neutral-700); }
.lang-dropdown a:hover { background: var(--primary-lighter); color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); background: none; border: none; }

/* SLIDER */
.slider { position: relative; height: 600px; overflow: hidden; margin-top: 0; }
.slider-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.slider-item.active { opacity: 1; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(14,124,123,.85) 0%, rgba(26,42,58,.7) 100%); }
.slider-content { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); z-index: 2; color: var(--white); }
.slider-content .container { max-width: 800px; }
.slider-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 16px; }
.slider-content p { font-size: 1.2rem; margin-bottom: 24px; opacity: .95; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.slider-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition); }
.slider-dots .dot.active { background: var(--white); width: 36px; border-radius: 6px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.2); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; transition: var(--transition); }
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* FEATURES */
.features { padding: 60px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--neutral-50); transition: var(--transition); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: var(--white); }
.feature-card .icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-lighter); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--neutral-500); }

/* TREATMENTS */
.treatments { padding: 64px 0; background: var(--neutral-50); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.treatment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.treatment-card .tc-img { height: 200px; overflow: hidden; background: var(--primary-lighter); position: relative; }
.treatment-card .tc-img img { width: 100%; height: 100%; object-fit: cover; }
.treatment-card .tc-img .tc-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3rem; color: var(--primary); }
.treatment-card .tc-body { padding: 24px; }
.treatment-card .tc-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.treatment-card .tc-body p { font-size: .9rem; color: var(--neutral-500); margin-bottom: 16px; }
.treatment-card .tc-body a { color: var(--primary); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.treatment-card .tc-body a:hover { gap: 12px; }

/* ABOUT */
.about-section { padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img img { width: 100%; height: 450px; object-fit: cover; }
.about-content h2 { font-size: 2rem; margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; color: var(--neutral-600); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 12px; }
.about-feature .icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--primary-lighter); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.about-feature h4 { font-size: 1rem; margin: 0; }
.about-feature p { font-size: .85rem; margin: 0; color: var(--neutral-500); }

/* STATS */
.stats { padding: 48px 0; background: var(--primary); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--white); margin-bottom: 4px; }
.stat-item p { color: rgba(255,255,255,.85); }

/* BLOG */
.blog-section { padding: 64px 0; background: var(--neutral-50); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .bc-img { height: 200px; overflow: hidden; background: var(--primary-lighter); position: relative; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bc-img .bc-date { position: absolute; bottom: 0; left: 0; background: var(--primary); color: var(--white); padding: 6px 16px; font-size: .8rem; }
.blog-card .bc-body { padding: 24px; }
.blog-card .bc-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card .bc-body h3 a { color: var(--neutral-800); }
.blog-card .bc-body h3 a:hover { color: var(--primary); }
.blog-card .bc-body p { font-size: .9rem; color: var(--neutral-500); margin-bottom: 16px; }
.blog-card .bc-body a { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* CONTACT */
.contact-section { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2, .contact-form h2 { font-size: 1.8rem; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--primary-lighter); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { color: var(--neutral-500); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--neutral-700); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--neutral-200); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .95rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,124,123,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* PAGE */
.page-header { padding: 120px 0 48px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); text-align: center; }
.page-header h1 { color: var(--white); font-size: 2.5rem; }
.page-header .breadcrumb { margin-top: 12px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.8); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .breadcrumb span { margin: 0 8px; opacity: .5; }
.page-content { padding: 48px 0; }
.page-content .content-area { max-width: 800px; margin: 0 auto; }
.page-content .content-area h2, .page-content .content-area h3 { margin-top: 24px; margin-bottom: 12px; }
.page-content .content-area p { margin-bottom: 16px; color: var(--neutral-600); }

/* TREATMENT DETAIL */
.treatment-detail { padding: 48px 0; }
.treatment-detail .td-header { text-align: center; margin-bottom: 32px; }
.treatment-detail .td-header h1 { font-size: 2.2rem; }
.treatment-detail .td-content { max-width: 800px; margin: 0 auto; }
.treatment-detail .td-content p { margin-bottom: 16px; color: var(--neutral-600); }
.treatment-detail .td-img { max-width: 800px; margin: 0 auto 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.treatment-detail .td-img img { width: 100%; height: 400px; object-fit: cover; }

/* BLOG DETAIL */
.blog-detail { padding: 48px 0; }
.blog-detail .bd-header { text-align: center; margin-bottom: 32px; }
.blog-detail .bd-header h1 { font-size: 2.2rem; }
.blog-detail .bd-header .bd-meta { color: var(--neutral-500); font-size: .9rem; margin-top: 8px; }
.blog-detail .bd-img { max-width: 800px; margin: 0 auto 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.blog-detail .bd-img img { width: 100%; height: 400px; object-fit: cover; }
.blog-detail .bd-content { max-width: 800px; margin: 0 auto; }
.blog-detail .bd-content p { margin-bottom: 16px; color: var(--neutral-600); }
.blog-detail .bd-content h3 { margin-top: 24px; margin-bottom: 12px; }

/* FOOTER */
.footer { background: var(--neutral-900); color: var(--neutral-300); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; }
.footer-col h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.footer-col p { font-size: .9rem; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--neutral-400); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-col .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-col .footer-logo img { max-height: 40px; }
.footer-col .footer-logo .logo-text { color: var(--white); font-size: 1.1rem; font-weight: 700; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.footer-contact-item .icon { color: var(--primary-light); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .85rem; }
.footer-bottom a { color: var(--primary-light); }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 999; box-shadow: var(--shadow-lg); transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }

/* ADMIN */
.admin-header { background: var(--neutral-900); color: var(--white); padding: 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; }
.admin-header .logo { color: var(--white); }
.admin-header .logo .logo-text { color: var(--white); }
.admin-menu { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-menu a { color: var(--neutral-300); padding: 10px 16px; border-radius: var(--radius-sm); font-size: .9rem; }
.admin-menu a:hover, .admin-menu a.active { background: var(--primary); color: var(--white); }
.admin-body { padding-top: 70px; min-height: 100vh; background: var(--neutral-100); }
.admin-content { padding: 24px; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.admin-card h2 { font-size: 1.3rem; margin-bottom: 16px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--neutral-200); font-size: .9rem; }
.admin-table th { background: var(--neutral-100); font-weight: 600; color: var(--neutral-700); }
.admin-table tr:hover { background: var(--neutral-50); }
.admin-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.admin-badge.active { background: #d4edda; color: #155724; }
.admin-badge.inactive { background: #f8d7da; color: #721c24; }
.admin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.admin-btn-edit { background: var(--primary-lighter); color: var(--primary); }
.admin-btn-edit:hover { background: var(--primary); color: var(--white); }
.admin-btn-delete { background: #f8d7da; color: #721c24; }
.admin-btn-delete:hover { background: var(--error); color: var(--white); }
.admin-btn-save { background: var(--primary); color: var(--white); }
.admin-btn-save:hover { background: var(--primary-dark); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.admin-stat-card .icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 12px; }
.admin-stat-card h3 { font-size: 2rem; margin: 0; }
.admin-stat-card p { color: var(--neutral-500); font-size: .85rem; margin: 0; }
.admin-login { max-width: 400px; margin: 80px auto; }
.admin-login .admin-card { padding: 40px; }
.admin-login h2 { text-align: center; margin-bottom: 24px; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--neutral-200); }
.admin-tab { padding: 10px 20px; cursor: pointer; border-bottom: 3px solid transparent; font-weight: 600; color: var(--neutral-500); }
.admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-lang-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.admin-lang-tab { padding: 6px 16px; border-radius: var(--radius-sm); cursor: pointer; font-size: .85rem; background: var(--neutral-100); color: var(--neutral-500); }
.admin-lang-tab.active { background: var(--primary); color: var(--white); }
.admin-lang-content { display: none; }
.admin-lang-content.active { display: block; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 20px 20px; box-shadow: var(--shadow-lg); transition: right .3s ease; z-index: 999; gap: 4px; }
  .nav.open { right: 0; display: flex; }
  .nav a { width: 100%; padding: 14px 16px; }
  .mobile-toggle { display: block; }
  .slider { height: 400px; }
  .slider-content h1 { font-size: 1.8rem; }
  .slider-content p { font-size: 1rem; }
  .treatments-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-features { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-form-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-menu { display: none; }
  .admin-menu.open { display: flex; position: fixed; top: 60px; left: 0; right: 0; background: var(--neutral-900); padding: 12px; flex-direction: column; z-index: 998; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .page-header { padding: 100px 0 32px; }
  .page-header h1 { font-size: 1.8rem; }
  .admin-table { font-size: .8rem; }
  .admin-table th, .admin-table td { padding: 8px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .slider-content h1 { font-size: 1.4rem; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
  .btn { padding: 10px 20px; font-size: .85rem; }
  .footer-bottom { font-size: .8rem; }
}
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav { left: -100%; right: auto; }
[dir="rtl"] .nav.open { left: 0; right: auto; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .slider-arrow.prev { left: auto; right: 20px; }
[dir="rtl"] .slider-arrow.next { right: auto; left: 20px; }
