/* ===== PRICES PAGE ===== */
/* .page-header now in style.css — this page uses .page-header--light */


/* ===== LAYOUT: content + sidebar ===== */
.prices-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  align-items: start;
}

/* ===== CATEGORIES GRID ===== */
.categories-section { margin-bottom: 48px; }

.categories-section h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 24px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(116, 140, 164, 0.1);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal-bg) 0%, var(--teal-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-icon svg { color: var(--dark); }

.category-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.category-card p {
  font-size: 13px;
  color: var(--gray-metallic);
  margin-bottom: 10px;
  line-height: 1.4;
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(225, 229, 232, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ===== ACCORDION ===== */
.accordion-section { margin-bottom: 32px; }

.accordion-section h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
}

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

.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(116, 140, 164, 0.1);
  overflow: hidden;
  transition: var(--transition), transform 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.accordion-item.open {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.accordion-header:hover { background: rgba(225, 229, 232, 0.03); }

.accordion-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--teal-bg) 0%, var(--teal-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon svg { color: var(--dark); }

.accordion-title {
  flex: 1;
}

.accordion-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.accordion-title span {
  font-size: 13px;
  color: var(--gray-metallic);
}

.accordion-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-arrow { transform: rotate(180deg); }

.accordion-arrow svg { color: var(--gray-metallic); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.open .accordion-body {
  max-height: 2000px;
  opacity: 1;
}

.price-grid {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(116, 140, 164, 0.08);
  transition: background 0.2s ease;
}

.price-row:last-child { border-bottom: none; }

.price-row--alt { background: rgba(225, 229, 232, 0.03); }

.price-row:hover { background: rgba(225, 229, 232, 0.06); }

.price-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}

.price-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
  text-align: right;
}

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 90px; }

.sidebar-block {
  position: sticky;
  top: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(116, 140, 164, 0.1);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.sidebar-block h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-light);
}

.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal-bg) 0%, var(--teal-light) 100%);
  border-radius: var(--radius-sm);
  color: var(--dark);
  margin-bottom: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.sidebar-phone-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-phone-icon svg { color: var(--dark); }

.sidebar-phone-text { flex: 1; }

.sidebar-phone-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 2px;
}

.sidebar-phone-number {
  font-size: 20px;
  font-weight: 900;
  font-family: 'Roboto', sans-serif;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light-dark) 100%);
  color: var(--dark);
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  margin-bottom: 16px;
}

.sidebar-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

/* Quick nav */
.sidebar-nav { margin-bottom: 0; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(225, 229, 232, 0.08);
  color: var(--teal);
}

.sidebar-nav a svg { color: var(--teal); flex-shrink: 0; }

/* Sidebar form */
.sidebar-form h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.sidebar-form .form-group { margin-bottom: 12px; }

.sidebar-form input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e8edf2;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.sidebar-form input:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.sidebar-form .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

/* ===== DOCTORS SLIDER ===== */
.doctors-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.doctors-inner {
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

.doctors-inner .section-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.doctors-subtitle {
  margin-bottom: 40px;
}

/* ===== PRICES PAGE: CTA SECTION ===== */
.prices-cta {
  background: linear-gradient(135deg, #1A2536 0%, #2B4C9B 100%);
  color: var(--white);
  padding: 80px 0;
}

.prices-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.prices-cta-inner .section-title { color: var(--white); }

.prices-cta p {
  font-size: 18px;
  margin-bottom: 36px;
  opacity: 0.9;
  color: rgba(255,255,255,0.85);
}

.prices-cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prices-cta-form input,
.prices-cta-form textarea {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
}

.prices-cta-form input::placeholder,
.prices-cta-form textarea::placeholder { color: rgba(255,255,255,0.85); }

.prices-cta-form input:focus,
.prices-cta-form textarea:focus {
  background: rgba(255,255,255,0.22);
}

.prices-cta-form textarea { resize: vertical; min-height: 80px; }

.prices-cta .btn-large {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: 17px;
}

.prices-cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* ===== PRICES PAGE: FOOTER OVERRIDE ===== */
.prices-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.prices-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.prices-footer-grid h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 12px;
}

.prices-footer-grid h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.prices-footer-grid p {
  font-size: 14px;
  color: var(--gray-metallic);
  line-height: 1.6;
}

.prices-footer-grid p strong { color: var(--teal); }

.prices-footer-grid a { color: var(--white); }

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

.prices-social-link {
  width: 40px;
  height: 40px;
  background: var(--teal-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prices-social-link svg { color: var(--dark); }

.prices-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-metallic);
}

.prices-footer-bottom p + p { margin-top: 8px; }

/* ===== SIDEBAR NOTE (prices page) ===== */
.sidebar-note {
  font-size: 12px;
  color: var(--gray-metallic);
  text-align: center;
}

/* ===== PRICES CTA CTA btn ===== */
.btn-large {
  display: inline-block;
  padding: 16px 40px;
  background: var(--teal-bg);
  color: var(--dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-large:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Doctor avatar image */
.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctors-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-card-prices {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(116, 140, 164, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.doctor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 36px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  margin: 0 auto 16px;
}

.doctor-card-prices h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.doctor-card-prices .position {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 4px;
}

.doctor-card-prices .experience {
  font-size: 13px;
  color: var(--gray-metallic);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .prices-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar-block { margin-bottom: 0; }
}

.category-description {
  font-size: 12px;
  color: var(--gray-metallic);
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .accordion-header { padding: 16px 20px; }
  .accordion-title h3 { font-size: 16px; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .doctors-slider { grid-template-columns: 1fr 1fr; }
  .accordion-table td { font-size: 14px; }
}