/* ============================================================
   CLINICA ONCOCARE - Stilizare Principală
   Design Modern & Responsive pentru Clinică Medicală
   ============================================================ */

/* --- Variabile CSS (Theme) --- */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --secondary: #059669;
  --secondary-light: #d1fae5;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  --gradient-hero: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #059669 100%);
  --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --dark: #1e293b;
  --dark-2: #334155;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --light: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- 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-sans);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.45);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--secondary);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
}

.btn-success:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.45);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-2);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
}

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

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

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  25% { transform: translateY(-20px) rotate(90deg); opacity: 0.6; }
  50% { transform: translateY(-10px) rotate(180deg); opacity: 0.4; }
  75% { transform: translateY(-30px) rotate(270deg); opacity: 0.7; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background: var(--light);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero-buttons .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: var(--light);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero-image-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--light);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-image-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary);
}

.hero-image-badge-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-image-badge-text p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================================
   SECTION COMMON STYLES
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--gray-100);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.about-experience {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gradient-primary);
  color: var(--light);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.about-content p {
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.about-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-feature-text p {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-icon.blue { background: var(--primary-light); color: var(--primary); }
.service-icon.green { background: var(--secondary-light); color: var(--secondary); }
.service-icon.purple { background: var(--accent-light); color: var(--accent); }
.service-icon.amber { background: #fef3c7; color: #d97706; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  gap: 10px;
}

/* ============================================================
   DOCTORS SECTION
   ============================================================ */
.doctors {
  background: var(--gray-100);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.doctor-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.doctor-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.doctor-info {
  padding: 24px;
  text-align: center;
}

.doctor-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.doctor-specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.doctor-desc {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.doctor-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.doctor-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: var(--transition);
}

.doctor-social a:hover {
  background: var(--primary);
  color: var(--light);
}

/* ============================================================
   STATISTICS SECTION
   ============================================================ */
.stats {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  color: var(--light);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--dark-2);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ============================================================
   ARTICLES SECTION (PREVIEW ON HOMEPAGE)
   ============================================================ */
.articles-preview {
  background: var(--gray-100);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
}

.article-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-400);
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-detail-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--light);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--gray-100);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--light);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 0 0;
}

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

.footer-about .logo {
  color: var(--light);
  margin-bottom: 16px;
}

.footer-about .logo span {
  color: #34d399;
}

.footer-about p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--light);
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--light);
  padding-left: 4px;
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--light);
  font-family: var(--font-sans);
}

.footer-newsletter input::placeholder {
  color: var(--gray-400);
}

.footer-newsletter button {
  margin-top: 8px;
  width: 100%;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--light);
}

/* ============================================================
   APPOINTMENTS PAGE
   ============================================================ */
.page-hero {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  color: var(--light);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.appointment-section {
  padding: 80px 0;
}

.appointment-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

.appointment-form-wrapper {
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.appointment-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.appointment-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.appointment-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.appointment-info-card {
  background: var(--light);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.appointment-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.appointment-info-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appointment-info-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--dark-2);
}

.appointment-info-card ul li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Appointment list */
.appointments-list {
  margin-top: 60px;
}

.appointments-list h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.appointment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin-bottom: 12px;
  transition: var(--transition);
}

.appointment-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.appointment-item-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.appointment-item-info p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.appointment-status {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.appointment-status.confirmed {
  background: var(--secondary-light);
  color: var(--secondary);
}

.appointment-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.appointment-status.cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.btn-delete {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-delete:hover {
  background: #fee2e2;
}

/* ============================================================
   ARTICLES PAGE
   ============================================================ */
.articles-page-section {
  padding: 80px 0;
}

.articles-page-section .articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.article-full {
  max-width: 800px;
  margin: 0 auto;
}

.article-full-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
}

.article-full h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-full-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.article-full-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--dark);
}

.article-full-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--dark-2);
}

.article-full-content p {
  color: var(--dark-2);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.article-full-content ul,
.article-full-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--dark-2);
  line-height: 1.9;
}

.article-full-content li {
  margin-bottom: 8px;
}

.article-full-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--gray-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark-2);
}

.article-full-content .highlight-box {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  border-left: 4px solid var(--primary);
}

.article-full-content .highlight-box h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.article-full-content .highlight-box p {
  margin: 0;
  color: var(--dark-2);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--radius);
  color: var(--light);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--danger);
}

.toast-info {
  background: var(--info);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablets (max 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .hero-image-wrapper {
    margin: 0 auto;
  }

  .hero-image-wrapper img {
    height: 380px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .article-full h1 {
    font-size: 1.8rem;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 8px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-image-wrapper img {
    height: 300px;
  }

  .hero-image-badge {
    bottom: -10px;
    right: -10px;
    padding: 12px 18px;
  }

  .section {
    padding: 60px 0;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

  .appointment-form-wrapper {
    padding: 24px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .appointment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .article-full h1 {
    font-size: 1.5rem;
  }

  .article-full-content p {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  .about-experience {
    left: 10px;
    bottom: -15px;
    padding: 14px 20px;
  }

  .about-experience h3 {
    font-size: 1.6rem;
  }
}
