/*
Theme Name: CS Drochia - Centru de Sanatate
Theme URI: https://csdrochia.md
Author: CS Drochia Team
Author URI: https://csdrochia.md
Description: Tema WordPress moderna pentru Centru de Sanatate Drochia "Anatolie Manziuc"
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csdrochia
*/

/* ==================== BASE STYLES ==================== */
:root {
  --medical-blue: #0066cc;
  --medical-blue-dark: #0052a3;
  --medical-blue-light: #e6f2ff;
  --medical-green: #00a86b;
  --medical-green-light: #e6f7f0;
  --brand-gradient: linear-gradient(135deg, #0066cc, #00a86b);
  --brand-gradient-soft: linear-gradient(135deg, #e6f2ff 0%, #e6f7f0 100%);
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --ease-medical-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ==================== TOP BAR ==================== */
.top-bar {
  background: linear-gradient(90deg, var(--medical-blue), var(--medical-blue-dark));
  color: white;
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}

.top-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.top-bar-item a {
  color: white;
  transition: opacity 0.3s;
}

.top-bar-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.7);
}
.lang-btn.active-lang {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 1;
}
.lang-btn:hover {
  color: #ffffff;
  opacity: 1;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 102, 204, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
  padding: 8px 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo imagine reală */
.logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,102,204,0.15));
}

.logo:hover .logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 16px rgba(0,102,204,0.25));
}

/* Footer logo */
.footer-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 3px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--medical-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ==================== DROPDOWN MENU ==================== */
.nav-menu li {
  position: relative;
}

.nav-menu li ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,102,204,0.15);
  padding: 8px;
  z-index: 2000;
  list-style: none;
  border: 1px solid rgba(0,102,204,0.08);
}

.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul {
  display: block;
  animation: fadeDropdown 0.2s ease;
}

@keyframes fadeDropdown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-menu li ul li a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  white-space: nowrap;
  background: none;
  transition: all 0.2s;
}

.nav-menu li ul li a:hover {
  background: var(--medical-blue-light);
  color: var(--medical-blue);
}


.logo-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--medical-green);
  border-radius: 50%;
  border: 2px solid white;
}

.logo-text h1 {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-text p {
  font-size: 12px;
  color: var(--text-secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
}

/* Top-level items need position:relative for dropdown positioning */
.nav-menu > li {
  position: relative;
}

.nav-menu a {
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--medical-blue);
  background: var(--medical-blue-light);
}

/* Arrow indicator for items with children */
.nav-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ---- DROPDOWN / SUB-MENU ---- */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 102, 204, 0.14), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0, 102, 204, 0.08);
  padding: 8px;
  list-style: none;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
  pointer-events: none;
}

/* Show on hover */
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.nav-menu .sub-menu li {
  position: relative;
}

.nav-menu .sub-menu a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-primary);
  border-radius: 8px;
  font-weight: 400;
  gap: 8px;
  white-space: nowrap;
}

.nav-menu .sub-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--medical-blue);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-menu .sub-menu a:hover {
  color: var(--medical-blue);
  background: var(--medical-blue-light);
}

.nav-menu .sub-menu a:hover::before {
  opacity: 1;
}

/* Nested sub-sub-menu (3rd level) */
.nav-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--medical-blue);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--medical-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--medical-blue);
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid var(--medical-blue);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--medical-blue);
  color: white;
  border-color: var(--medical-blue);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #e6f2ff 0%, #ffffff 50%, #e6f7f0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.6) 100%);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, var(--medical-blue-light), var(--medical-green-light));
  color: var(--medical-blue);
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-sublabel {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero Cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon.blue {
  background: var(--brand-gradient);
}

.hero-card-icon.green {
  background: linear-gradient(135deg, #E91E8C, #c41672);
}

.hero-card-icon.gray {
  background: linear-gradient(135deg, #64748b, #475569);
}

.hero-card-content {
  flex: 1;
}

.hero-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.hero-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.emergency-card {
  background: var(--brand-gradient);
  color: white;
  border-radius: 16px;
  padding: 24px;
}

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

.emergency-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-card h3 {
  font-size: 16px;
}

.emergency-card p {
  font-size: 13px;
  opacity: 0.8;
}

.emergency-phone {
  font-size: 28px;
  font-weight: 700;
  color: white;
  display: block;
  margin-top: 8px;
}

.emergency-phone:hover {
  color: var(--medical-green-light);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 80px 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--medical-blue-light);
  color: var(--medical-blue);
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ==================== SCHEDULE SECTION ==================== */
.schedule-section {
  background: white;
  position: relative;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-card {
  background: var(--medical-blue-light);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.schedule-card.saturday {
  background: var(--medical-green-light);
}

.schedule-card.sunday {
  background: #f1f5f9;
}

.schedule-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.schedule-card .schedule-icon {
  background: var(--medical-blue);
  color: white;
}

.schedule-card.saturday .schedule-icon {
  background: var(--medical-green);
}

.schedule-card.sunday .schedule-icon {
  background: #94a3b8;
}

.schedule-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.schedule-card.blue h3 {
  color: var(--medical-blue);
}

.schedule-card.saturday h3 {
  color: var(--medical-green);
}

.schedule-card.sunday h3 {
  color: #64748b;
}

.schedule-time {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.schedule-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-dot.open {
  background: var(--medical-green);
}

.status-dot.closed {
  background: #94a3b8;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.emergency-notice {
  max-width: 800px;
  margin: 40px auto 0;
  background: linear-gradient(90deg, #fef3c7, #fff7ed);
  border: 1px solid #fcd34d;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.emergency-notice-icon {
  width: 48px;
  height: 48px;
  background: #fef3c7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  flex-shrink: 0;
}

.emergency-notice h4 {
  font-size: 16px;
  color: #92400e;
  margin-bottom: 4px;
}

.emergency-notice p {
  font-size: 14px;
  color: #b45309;
}

.emergency-notice strong {
  color: #92400e;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
  background: linear-gradient(180deg, white 0%, var(--medical-blue-light) 100%);
}

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

.service-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: white;
}

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

.service-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, #3b82f6, var(--medical-blue));
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #f43f5e, #db2777);
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, var(--medical-green), #059669);
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.service-card:nth-child(5) .service-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-card:nth-child(6) .service-icon {
  background: linear-gradient(135deg, #06b6d4, #0d9488);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--medical-blue);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

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

/* ==================== STATS SECTION ==================== */
.stats-section {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.03'%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(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-card:nth-child(1) .stat-card-icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.stat-card:nth-child(2) .stat-card-icon {
  background: linear-gradient(135deg, #3b82f6, var(--medical-blue));
}

.stat-card:nth-child(3) .stat-card-icon {
  background: linear-gradient(135deg, var(--medical-green), #059669);
}

.stat-card:nth-child(4) .stat-card-icon {
  background: linear-gradient(135deg, #f43f5e, #db2777);
}

.stat-card-value {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-card-desc {
  font-size: 14px;
  opacity: 0.6;
}

/* ==================== DOCTORS SECTION ==================== */
.doctors-section {
  background: white;
  position: relative;
}

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

.doctor-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

.doctor-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.doctor-experience {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.doctor-info {
  padding: 24px;
}

.doctor-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.doctor-card:hover .doctor-info h3 {
  color: var(--medical-blue);
}

.doctor-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--medical-blue);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s ease;
}

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

.doctor-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

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

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
  background: linear-gradient(180deg, white 0%, var(--medical-blue-light) 100%);
}

.testimonial-main {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: -24px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: #fbbf24;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 32px;
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.testimonial-author h4 {
  font-size: 18px;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-secondary);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--medical-blue);
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-stat {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
}

.testimonial-stat-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.testimonial-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--medical-blue);
  margin-bottom: 4px;
}

.testimonial-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== PARTNERS SECTION ==================== */
.partners-section {
  background: rgba(0, 102, 204, 0.05);
  padding: 60px 0;
  overflow: hidden;
}

.partners-marquee {
  display: flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
}

.partners-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card {
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
}

.partner-card h4 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.partner-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.03'%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");
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
}

.footer-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand-icon {
  width: 48px;
  height: 48px;
  background: var(--medical-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.6;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 20px;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.7;
}

.footer-contact-item svg {
  color: var(--medical-blue);
  flex-shrink: 0;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: white;
}

.footer-links a svg {
  color: var(--medical-blue);
  transition: transform 0.3s ease;
}

.footer-links a:hover svg {
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 12px 16px;
  background: var(--medical-blue);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--medical-blue-dark);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--medical-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .services-grid,
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .schedule-grid,
  .services-grid,
  .doctors-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .testimonial-card {
    padding: 32px 24px;
  }
  
  .testimonial-text {
    font-size: 18px;
  }
  
  .testimonial-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hidden {
  display: none;
}

/* Animation classes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: var(--medical-blue-light);
}

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

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-menu {
  list-style: none;
  margin-bottom: 20px;
}

.mobile-nav-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 10px;
  transition: all 0.2s;
}

.mobile-nav-menu li a:hover {
  background: var(--medical-blue-light);
  color: var(--medical-blue);
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.mobile-cta {
  justify-content: center;
  width: 100%;
}

.mobile-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}

.mobile-contact-link:hover {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--medical-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--medical-blue-dark);
  transform: translateY(-3px);
}

/* ==================== SKIP LINK (Accessibility) ==================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--medical-blue);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ==================== FOCUS STYLES (Accessibility) ==================== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--medical-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==================== IMAGE LAZY LOADING ==================== */
img[loading="lazy"] {
  transition: opacity 0.3s;
}

/* ==================== RESPONSIVE IMPROVEMENTS ==================== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .btn-nav-cta {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }

  .top-bar-content {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
  }

  .top-bar-item:last-child {
    display: none; /* hide working hours on small screens to save space */
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-value {
    font-size: 24px;
  }

  .hero-buttons .btn-secondary {
    display: none; /* show only primary CTA on mobile */
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .emergency-notice {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

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

  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .stat-value {
    font-size: 28px;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .top-bar,
  .main-nav,
  .mobile-menu-toggle,
  .back-to-top,
  .btn-primary,
  .btn-secondary,
  .partners-section {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .footer {
    background: none !important;
    color: #000 !important;
  }
}

/* ==================== PAGE TEMPLATES ==================== */

/* Shared page container */
.page-container {
  padding: 80px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Page header */
.page-entry-header {
  margin-bottom: 50px;
  text-align: center;
}

.page-entry-header--simple {
  margin-bottom: 40px;
}

.page-icon-wrap {
  display: inline-block;
  padding: 12px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 16px;
  margin-bottom: 20px;
}

.page-entry-title {
  font-size: 42px;
  color: var(--text-primary);
  margin: 0;
}

.page-entry-title--underline {
  font-size: 36px;
  color: var(--text-primary);
  border-bottom: 3px solid var(--medical-blue);
  display: inline-block;
  padding-bottom: 10px;
}

.page-title-bar {
  width: 80px;
  height: 4px;
  background: var(--medical-blue);
  margin: 24px auto 0;
  border-radius: 2px;
}

/* Page intro text */
.page-intro-text {
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-size: 18px;
  color: var(--text-secondary);
}

/* Scribd section */
.scribd-section {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.08);
  border: 1px solid #eef2f7;
  overflow: hidden;
  padding: 30px;
}

.scribd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.scribd-doc-title {
  margin: 0;
  font-size: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.scribd-ext-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scribd-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.scribd-footer {
  margin-top: 24px;
  text-align: center;
}

.scribd-source-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.scribd-source-link {
  color: var(--medical-blue);
  font-weight: 600;
  text-decoration: none;
}

.scribd-source-link:hover {
  text-decoration: underline;
}

/* Page resource cards */
.page-resources-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resource-card {
  padding: 24px;
  border-radius: 16px;
}

.page-resource-card h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
}

.page-resource-card p {
  margin: 0;
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.page-resource-card--blue {
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.page-resource-card--blue h4,
.page-resource-card--blue p {
  color: #1e40af;
}

.page-resource-card--green {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
}

.page-resource-card--green h4,
.page-resource-card--green p {
  color: #166534;
}

/* Organigrama */
.organigrama-container {
  margin-top: 40px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f7;
  text-align: center;
}

.organigrama-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.organigrama-download {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #edf2f7;
}

.organigrama-download .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Newsletter soon notice */
.newsletter-soon {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 8px;
}

/* ==================== PAGE CONTACTE ==================== */

.contact-page-hero {
  background: var(--brand-gradient-soft);
  border-bottom: 1px solid var(--gray-200);
  padding: 60px 0 40px;
  text-align: center;
}

.contact-page-title {
  font-size: 48px;
  color: var(--text-primary);
  margin: 16px 0 12px;
}

.contact-page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.contact-page-body {
  padding: 60px 0 80px;
}

/* Top grid: info + map */
.contact-top-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .contact-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Info column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cta-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* Contact cards */
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  box-shadow: 0 6px 24px rgba(0, 102, 204, 0.08);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon--blue   { background: var(--medical-blue); }
.contact-card-icon--green  { background: var(--medical-green); }
.contact-card-icon--purple { background: #7c3aed; }
.contact-card-icon--orange { background: #f97316; }

.contact-card-body h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 6px;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--medical-blue);
  font-weight: 600;
  margin-top: 6px;
  transition: gap 0.2s;
}

.contact-card-link:hover { gap: 8px; }

.contact-phone-link {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  margin-bottom: 4px;
}

.contact-phone-link:hover { color: var(--medical-blue); }

.contact-email-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--medical-blue);
  transition: opacity 0.2s;
}

.contact-email-link:hover { opacity: 0.75; }

/* Hours inside card */
.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-hours-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}

.contact-hours-badge--open {
  background: var(--medical-green-light);
  color: #065f46;
}

.contact-hours-badge--closed {
  background: var(--gray-100);
  color: var(--text-secondary);
}

/* Map */
.contact-map-col {
  position: sticky;
  top: 100px;
}

.contact-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.08);
  height: 540px;
}

/* Section spacing */
.contact-section {
  margin-bottom: 64px;
}

.contact-section-header {
  margin-bottom: 32px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item.faq-open {
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--medical-blue); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-medical-smooth);
  color: var(--text-secondary);
}

.faq-item.faq-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--medical-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-medical-smooth);
}

.faq-item.faq-open .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-200);
}

.faq-answer-inner p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 16px 0 0;
}

.faq-answer-inner p:first-child { margin-top: 16px; }

.faq-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.faq-answer-inner h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-list-items {
  margin: 12px 0 0 0;
  padding-left: 20px;
}

.faq-list-items li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.faq-steps {
  margin: 12px 0 0 0;
  padding-left: 20px;
  counter-reset: none;
}

.faq-steps li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
}

.faq-schedule-mini {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-schedule-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-cta-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive contact page */
@media (max-width: 640px) {
  .contact-page-title { font-size: 32px; }
  .contact-map-wrap { height: 320px; position: static; }
  .contact-map-col { position: static; }
  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer-inner { padding: 0 18px 18px; }
}

/* ==================== PAGE RECLAMAȚII ==================== */

/* Hero */
.recl-hero {
  background: linear-gradient(135deg, #fff8f0 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 60px 0 44px;
  text-align: center;
}

.recl-hero-title {
  font-size: 44px;
  color: var(--text-primary);
  margin: 16px 0 14px;
  line-height: 1.2;
}

.recl-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.recl-body {
  padding: 60px 0 80px;
}

/* 3 type cards */
.recl-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

@media (max-width: 720px) {
  .recl-types-grid { grid-template-columns: 1fr; }
}

.recl-type-card {
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.recl-type-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.08;
  background: currentColor;
}

.recl-type--complaint {
  background: #fff1f0;
  border: 1px solid #fecaca;
}

.recl-type--suggestion {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.recl-type--praise {
  background: #fefce8;
  border: 1px solid #fde68a;
}

.recl-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.recl-type--complaint .recl-type-icon { background: #ef4444; }
.recl-type--suggestion .recl-type-icon { background: var(--medical-blue); }
.recl-type--praise .recl-type-icon { background: #f59e0b; }

.recl-type-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.recl-type-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Main CTA block */
.recl-cta-block {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 102, 204, 0.07);
  padding: 48px;
  margin-bottom: 64px;
}

.recl-cta-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .recl-cta-content { grid-template-columns: 1fr; }
  .recl-cta-block { padding: 28px; }
}

.recl-cta-text h2 {
  font-size: 32px;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.recl-cta-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 28px;
}

.recl-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recl-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

/* CTA card */
.recl-cta-card {
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(0, 102, 204, 0.15);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 16px;
}

.recl-cta-card-icon {
  width: 72px;
  height: 72px;
  background: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.12);
}

.recl-cta-card h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.recl-cta-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.recl-btn-main {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 24px;
}

.recl-cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 14px 0 0 !important;
  opacity: 0.7;
}

/* Alt methods */
.recl-alt-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recl-alt-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.recl-alt-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.2s ease;
  text-decoration: none;
}

.recl-alt-btn:hover {
  background: var(--medical-blue-light);
  border-color: rgba(0, 102, 204, 0.2);
  color: var(--medical-blue);
}

.recl-alt-btn--static {
  cursor: default;
  color: var(--text-secondary);
}

.recl-alt-btn--static:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--text-secondary);
}

/* Patient rights */
.recl-rights-block {
  margin-bottom: 64px;
}

.recl-rights-header {
  margin-bottom: 40px;
}

.recl-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .recl-rights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .recl-rights-grid { grid-template-columns: 1fr; }
  .recl-hero-title { font-size: 30px; }
}

.recl-right-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.recl-right-item:hover {
  box-shadow: 0 6px 24px rgba(0, 102, 204, 0.08);
  transform: translateY(-2px);
}

.recl-right-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--medical-blue-light);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  font-family: 'Poppins', sans-serif;
}

.recl-right-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.recl-right-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Closing message */
.recl-closing {
  text-align: center;
  padding: 48px 24px;
  background: var(--brand-gradient-soft);
  border-radius: 24px;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.recl-closing svg {
  margin-bottom: 16px;
}

.recl-closing h3 {
  font-size: 26px;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.recl-closing p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}
