:root {
  --primary: #0891b2;
  --primary-dark: #075985;
  --primary-soft: #e0f2fe;
  --accent: #14b8a6;
  --accent-soft: #ccfbf1;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fbff;
  --white: #ffffff;
  --border: #dbeafe;
  --danger: #dc2626;
  --success: #059669;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

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

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

body {
  font-family: inherit;
  background: var(--light);
  color: var(--dark);
  line-height: 1.9;
  overflow-x: hidden;
}

body, button, input, textarea, select {
  font-family: inherit;
}

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

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

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #082f49, #0f3d5e);
  color: #e0f2fe;
  font-size: 14px;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 700;
}

.socials, .footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  transition: 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.social-link.telegram {
  background: linear-gradient(135deg, #38bdf8, #0369a1);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f97316, #db2777, #7c3aed);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(191, 219, 254, 0.78);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #06b6d4, #075985);
  color: white;
  box-shadow: 0 16px 34px rgba(8, 145, 178, 0.28);
  font-weight: 900;
  font-size: 22px;
}

.brand strong {
  display: block;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-weight: 800;
  transition: 0.25s ease;
}

.menu a:hover, .menu a.active {
  background: var(--primary-soft);
  color: #0369a1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
  transition: 0.25s ease;
  white-space: nowrap;
  font-size: 15px;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 18px 34px rgba(8, 145, 178, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(8, 145, 178, 0.38);
}

.btn-outline {
  color: #0369a1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #bae6fd;
}

.btn-outline:hover {
  background: #f0f9ff;
  transform: translateY(-3px);
}

.btn-light {
  color: #0369a1;
  background: white;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #bae6fd;
  background: white;
  color: #075985;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background: radial-gradient(circle at 85% 8%, rgba(34, 211, 238, 0.22), transparent 35%),
              radial-gradient(circle at 8% 95%, rgba(14, 165, 233, 0.17), transparent 38%),
              linear-gradient(180deg, #f0fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(14, 165, 233, 0.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(14, 165, 233, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.08);
  margin-bottom: 24px;
}

.eyebrow i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 67px);
  line-height: 1.25;
  letter-spacing: -1.8px;
  color: #07111f;
  margin-bottom: 24px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 4px;
  height: 13px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.24);
  z-index: -1;
}

.hero p {
  color: #475569;
  font-size: 18px;
  max-width: 660px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 660px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(186, 230, 253, 0.95);
  border-radius: 23px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.trust-card strong {
  display: block;
  font-size: 22px;
  color: var(--primary-dark);
  line-height: 1.35;
}

.trust-card small {
  color: #64748b;
  font-weight: 800;
}

.visual {
  position: relative;
  min-height: 560px;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.9);
  background: white;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  width: 72%;
  height: 392px;
  right: 0;
  top: 64px;
}

.photo-small {
  width: 45%;
  height: 230px;
  left: 0;
  top: 0;
  border-radius: 28px;
}

.photo-bottom {
  width: 50%;
  height: 226px;
  left: 20px;
  bottom: 12px;
  border-radius: 28px;
}

.doctor-badge {
  position: absolute;
  right: 34px;
  bottom: 42px;
  width: 330px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(186, 230, 253, 0.95);
  border-radius: 28px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  z-index: 4;
}

.doctor-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 3px solid #e0f2fe;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-badge strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  margin-bottom: 2px;
}

.doctor-badge small {
  color: #64748b;
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2, .booking-content h2, .about-content h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.section-head p, .booking-content p {
  color: #64748b;
  font-size: 17px;
}

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

.service-card, .process-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  left: -50px;
  top: -50px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.13);
}

.service-card:hover, .process-card:hover {
  transform: translateY(-8px);
  border-color: #7dd3fc;
  box-shadow: 0 26px 60px rgba(8, 145, 178, 0.14);
}

.icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e0f2fe, #f0fdfa);
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3, .process-card h3 {
  font-size: 19px;
  margin-bottom: 9px;
}

.service-card p, .process-card p {
  color: #64748b;
  font-size: 15px;
}

.about-section {
  background: radial-gradient(circle at 15% 10%, rgba(34, 211, 238, 0.17), transparent 28%),
              linear-gradient(135deg, #082f49, #0f172a);
  color: white;
  overflow: hidden;
}

.about-grid, .booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.about-image {
  border-radius: 36px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
  height: 480px;
}

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

.about-content p {
  color: #cbd5e1;
  font-size: 17px;
  margin-bottom: 24px;
}

.features, .booking-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.feature, .booking-points div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  color: #e0f2fe;
  font-weight: 800;
}

.process-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  background: #e2e8f0;
}

.gallery-card.large {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card::after {
  content: attr(data-title);
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: white;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(8, 47, 73, 0.88), rgba(8, 145, 178, 0.66));
  backdrop-filter: blur(12px);
}

.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: right;
}

.faq-question span:last-child {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  flex: 0 0 auto;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: #64748b;
}

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

.faq-item.open .faq-question span:last-child {
  background: var(--primary);
  color: white;
}

.cta {
  padding: 42px;
  border-radius: 36px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 28%),
              linear-gradient(135deg, #06b6d4, #075985);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 26px 70px rgba(8, 145, 178, 0.26);
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  margin-bottom: 8px;
}

.cta p {
  color: #e0f2fe;
}

.footer {
  background: #07111f;
  color: white;
  padding: 70px 0 24px;
  margin-top: 30px;
}

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

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

.footer-brand .brand-logo {
  box-shadow: none;
}

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

.footer p, .footer li, .footer a {
  color: #cbd5e1;
  font-size: 15px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: #67e8f9;
}

.contact-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: #94a3b8;
  font-size: 14px;
}

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: min(390px, calc(100vw - 32px));
  height: 520px;
  background: white;
  border: 1px solid #dbeafe;
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
  z-index: 130;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  padding: 18px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 35%),
              linear-gradient(135deg, #075985, #0891b2);
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.chatbot-header strong {
  display: block;
  font-size: 16px;
}

.chatbot-header small {
  display: block;
  color: #dff7ff;
  font-size: 12px;
  margin-top: 2px;
}

.chatbot-header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.chatbot-messages {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(rgba(248, 251, 255, 0.94), rgba(248, 251, 255, 0.94)),
              radial-gradient(circle at 20% 10%, rgba(14, 165, 233, 0.18), transparent 30%);
}

.bot-message, .user-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.8;
}

.bot-message {
  align-self: flex-start;
  background: white;
  color: #334155;
  border: 1px solid #dbeafe;
  border-bottom-right-radius: 6px;
}

.user-message {
  align-self: flex-end;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
  border-bottom-left-radius: 6px;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #dbeafe;
  background: white;
}

.chatbot-form input {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
  color: #0f172a;
  padding: 12px 14px;
  outline: none;
}

.chatbot-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.chatbot-form button {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4, #075985);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.chatbot-form svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  transform: rotate(180deg);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MODAL BOOKING STYLES ========== */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--white);
  max-width: 520px;
  width: 90%;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
  overflow: hidden;
  direction: rtl;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
  color: var(--dark);
}

.modal-step {
  padding: 36px 32px 40px;
  text-align: center;
}

.chat-avatar {
  font-size: 64px;
  margin-bottom: 12px;
}

.chat-question {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
  line-height: 1.4;
}

.day-buttons, .time-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 16px;
}

.day-btn, .time-btn {
  background: var(--primary-soft);
  border: none;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--primary-dark);
}

.day-btn:hover, .time-btn:hover {
  background: #bae6fd;
  transform: translateY(-2px);
}

.day-btn.selected, .time-btn.selected {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: white;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

.modal-step input,
.modal-step select {
  width: 100%;
  padding: 14px 18px;
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  font-size: 15px;
  background: var(--light);
  transition: 0.2s;
  outline: none;
}

.modal-step input:focus,
.modal-step select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.modal-step .btn-primary {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
}

.success-icon {
  font-size: 72px;
  margin-bottom: 20px;
}

#modalSuccess p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
}

#modalSuccess strong {
  color: var(--primary);
  font-size: 20px;
}

/* ========== NEW CHATBOT ICON ========== */
.chatbot-fab {
  position: relative;
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.chatbot-fab::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0891b2, #14b8a6);
  z-index: 0;
}

.chatbot-fab:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 18px 32px rgba(8, 145, 178, 0.35);
}

.chatbot-fab .fab-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0 16px 0 20px;
  border-radius: 28px;
  height: 56px;
  width: auto;
}

.chatbot-fab .chat-emoji {
  font-size: 28px;
}

.chatbot-fab .fab-text {
  font-size: 13px;
  font-weight: 800;
  color: #075985;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .menu {
    position: fixed;
    top: 122px;
    right: 18px;
    left: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    justify-content: flex-start;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid, .about-grid, .cta {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: auto;
  }

  .photo-main, .photo-small, .photo-bottom, .doctor-badge {
    position: relative;
    width: 100%;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 16px;
  }

  .photo-main, .photo-small, .photo-bottom {
    height: 270px;
  }

  .services, .process, .trust-row, .features, .gallery, .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card, .gallery-card.large {
    height: 270px;
    grid-row: auto;
  }

  .chatbot-panel {
    right: 14px;
    left: 14px;
    width: auto;
    height: 500px;
    bottom: 88px;
  }

  .chatbot-fab {
    width: 58px;
    height: 58px;
    border-radius: 26px;
  }

  .chatbot-fab .fab-content {
    padding: 0;
    width: 100%;
    justify-content: center;
    background: transparent;
  }

  .chatbot-fab .fab-text {
    display: none;
  }

  .chatbot-fab .chat-emoji {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  }
}

@media (max-width: 540px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-info {
    justify-content: center;
    gap: 10px;
  }

  .topbar-info span:nth-child(2) {
    display: none;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .nav-inner {
    min-height: 74px;
  }

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

  .section {
    padding: 58px 0;
  }

  .cta {
    padding: 28px;
  }

  .footer-bottom {
    padding-bottom: 88px;
  }

  .chatbot-panel {
    bottom: 92px;
    height: 480px;
  }

  .modal-step {
    padding: 28px 24px 32px;
  }

  .chat-question {
    font-size: 18px;
  }

  .day-btn, .time-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .chatbot-fab, .service-card, .process-card, .gallery-card img,
  .booking-modal, .modal-content {
    transition: none !important;
    animation: none !important;
  }
}

.patient-guide {
  background: radial-gradient(circle at 14% 10%, rgba(34, 211, 238, 0.12), transparent 30%),
              linear-gradient(180deg, #ffffff, #f8fbff);
}

.patient-guide-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.patient-guide-intro {
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.92);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.patient-guide-intro h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.patient-guide-intro p {
  color: #475569;
  margin-bottom: 22px;
}

.patient-guide-list {
  display: grid;
  gap: 14px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbeafe;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.guide-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 14px;
}

.guide-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-card p {
  color: #64748b;
  font-size: 15px;
}

.service-summary-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.final-appointment {
  padding-top: 34px;
}

@media (max-width: 1080px) {
  .patient-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* CahtBot */
.floating-actions{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
}

/* دکمه شناور */
/* دکمه شناور - فقط آیکون */
.chatbot-fab {
  cursor: pointer;
  border: 0;
  outline: 0;
  background: transparent; /* پس‌زمینه شفاف */
  padding: 0;              /* حذف پدینگ اضافی */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.chatbot-fab:hover {
  transform: scale(1.1);   /* افکت بزرگ‌نمایی ملایم هنگام هاور */
}

.chatbot-icon {
  width: 60px;             /* سایز دلخواه آیکون */
  height: 60px;
  display: block;
}

/* متن روی دکمه (اگر در HTML دارید) */
.fab-text {
  display: none;           /* مخفی کردن متن چون فقط آیکون می‌خواهید */
}


/* متن روی دکمه */
.fab-text{
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* اگر می‌خوای فقط آیکن باشد (برای موبایل بهتر) */
@media (max-width: 520px){
  .fab-text{ display:none; }
  .chatbot-fab{ padding: 12px; }
  .chatbot-icon{ width: 42px; height: 42px; }
}


/* =========================================================
   NOORVISTA targeted polish: trust-row, hero title, eyebrow, chatbot
   Added conservatively: no panel/API changes.
========================================================= */

/* Hero title: keep "دید بهتر، مراجعه مطمئن‌تر" centered and one-line */
.hero-content {
  text-align: center;
}

.hero h1 {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.22;
  letter-spacing: -1.4px;
}

/* If older HTML uses h2 inside hero, keep the same behavior safely */
.hero h2 {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.22;
  letter-spacing: -1.4px;
  color: #07111f;
  margin-bottom: 24px;
  font-weight: 900;
}

.hero h2 span {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.hero h2 span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 4px;
  height: 13px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.24);
  z-index: -1;
}

.hero p {
  margin-inline: auto;
  text-align: center;
}

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

/* Eyebrow: larger, cleaner, more premium */
.eyebrow {
  font-size: 16px;
  line-height: 1.5;
  padding: 13px 22px;
  gap: 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.9));
  border: 1px solid rgba(125, 211, 252, 0.9);
  color: #075985;
  box-shadow:
    0 14px 34px rgba(8, 145, 178, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.eyebrow i {
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  box-shadow:
    0 0 0 7px rgba(20, 184, 166, 0.13),
    0 0 22px rgba(20, 184, 166, 0.55);
}

/* trust-row: responsive animated cards */
.trust-row {
  width: 100%;
  max-width: 760px;
  margin: 30px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 900px;
}

.trust-card {
  position: relative;
  isolation: isolate;
  min-height: 124px;
  padding: 24px 20px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.86));
  border: 1px solid rgba(186, 230, 253, 0.98);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translateY(0);
  animation: nvTrustFloat 5.8s ease-in-out infinite;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.trust-card:nth-child(2) {
  animation-delay: 0.35s;
}

.trust-card:nth-child(3) {
  animation-delay: 0.7s;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.22), transparent 33%),
    radial-gradient(circle at 10% 90%, rgba(8, 145, 178, 0.16), transparent 38%);
  z-index: -1;
  opacity: 0.78;
}

.trust-card::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  left: -34px;
  top: -34px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.13);
  transition: transform 0.28s ease;
}

.trust-card:hover {
  transform: translateY(-9px) rotateX(2deg);
  border-color: #7dd3fc;
  box-shadow: 0 28px 70px rgba(8, 145, 178, 0.18);
}

.trust-card:hover::after {
  transform: scale(1.22);
}

.trust-card strong {
  position: relative;
  z-index: 1;
  font-size: 21px;
  margin-bottom: 8px;
}

.trust-card small {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1.75;
}

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

/* Chatbot: show image clearly both on floating button and inside chat panel */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
}

.chatbot-fab {
  width: 76px;
  height: 76px;
  padding: 8px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.98);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.chatbot-fab::before {
  display: none;
}

.chatbot-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: scale(1.14);
  filter: drop-shadow(0 8px 16px rgba(8, 145, 178, 0.16));
}

.chatbot-header {
  align-items: center;
}

.chatbot-header-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chatbot-header-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(7, 89, 133, 0.2);
}

/* Responsive polish */
@media (max-width: 1080px) {
  .trust-row {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .hero-content {
    text-align: center;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(30px, 8.2vw, 46px);
    letter-spacing: -0.9px;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
  }

  .trust-card {
    scroll-snap-align: center;
    min-height: 118px;
  }

  .trust-row::-webkit-scrollbar {
    height: 6px;
  }

  .trust-row::-webkit-scrollbar-thumb {
    background: rgba(8, 145, 178, 0.22);
    border-radius: 999px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .eyebrow {
    font-size: 14px;
    padding: 11px 16px;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .hero h1,
  .hero h2 {
    max-width: 100%;
    font-size: clamp(27px, 7.6vw, 34px);
    white-space: nowrap;
    letter-spacing: -0.7px;
  }

  .hero p {
    font-size: 16px;
  }

  .trust-row {
    margin-top: 24px;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .trust-card {
    animation: none;
    min-height: auto;
    padding: 20px 18px;
  }

  .chatbot-fab {
    width: 66px;
    height: 66px;
    border-radius: 22px;
  }

  .chatbot-panel {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
    height: min(520px, calc(100vh - 116px));
  }

  .chatbot-header-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-card {
    animation: none !important;
  }
}


/* =========================================================
   NOORVISTA patient-guide premium polish
   هدف: راهنمای مراجعه زیباتر، مرحله‌ای‌تر، خواناتر و واکنش‌گرا
========================================================= */

.patient-guide {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at 10% 82%, rgba(14, 165, 233, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.patient-guide::before {
  content: "";
  position: absolute;
  inset: 34px 0 auto;
  height: 220px;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

.patient-guide-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "intro aside"
    "steps steps";
  gap: 22px;
  align-items: stretch;
}

.patient-guide-intro {
  grid-area: intro;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(6, 182, 212, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.92));
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 36px;
  padding: 38px 38px 34px;
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.patient-guide-intro::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.11);
}

.patient-guide-intro h2 {
  max-width: 760px;
  font-size: clamp(29px, 3.3vw, 43px);
  line-height: 1.38;
  letter-spacing: -0.9px;
  margin-bottom: 16px;
}

.patient-guide-intro p {
  max-width: 850px;
  color: #475569;
  font-size: 17px;
  line-height: 2.05;
  margin-bottom: 24px;
}

.patient-guide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.patient-guide-aside {
  grid-area: aside;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #075985, #0891b2);
  color: white;
  border-radius: 36px;
  padding: 30px 28px;
  box-shadow: 0 26px 66px rgba(8, 89, 133, 0.22);
}

.patient-guide-aside::before {
  content: "!";
  position: absolute;
  left: 22px;
  top: 10px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 132px;
  font-weight: 900;
  line-height: 1;
}

.patient-guide-aside strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 21px;
  margin-bottom: 14px;
}

.patient-guide-aside ul {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 12px;
}

.patient-guide-aside li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #e0f2fe;
  font-weight: 800;
  line-height: 1.8;
}

.patient-guide-aside li::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  margin-top: 3px;
}

.patient-guide-list {
  grid-area: steps;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 4px;
}

.patient-guide-list::before {
  content: "";
  position: absolute;
  right: 10%;
  left: 10%;
  top: 42px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(8, 145, 178, 0.12), rgba(20, 184, 166, 0.46), rgba(8, 145, 178, 0.12));
}

.guide-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 30px;
  padding: 24px 22px 26px;
  box-shadow:
    0 18px 46px rgba(15, 23, 42, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.guide-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -48px;
  bottom: -52px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  transition: transform 0.28s ease;
}

.guide-card:hover {
  transform: translateY(-8px);
  border-color: #7dd3fc;
  box-shadow: 0 30px 74px rgba(8, 145, 178, 0.16);
}

.guide-card:hover::after {
  transform: scale(1.22);
}

.guide-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.guide-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #e0f2fe, #ccfbf1);
  color: #075985;
  font-weight: 900;
  margin-bottom: 0;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.13);
}

.guide-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.98);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  font-size: 23px;
}

.guide-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
}

.guide-card p {
  position: relative;
  z-index: 1;
  color: #64748b;
  font-size: 15.5px;
  line-height: 1.95;
}

/* Responsive patient-guide */
@media (max-width: 1020px) {
  .patient-guide-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "aside"
      "steps";
  }

  .patient-guide-aside {
    min-height: auto;
  }

  .patient-guide-list {
    grid-template-columns: 1fr;
  }

  .patient-guide-list::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .patient-guide-intro,
  .patient-guide-aside,
  .guide-card {
    border-radius: 26px;
  }

  .patient-guide-intro {
    padding: 28px 20px 24px;
  }

  .patient-guide-intro p {
    font-size: 16px;
  }

  .patient-guide-actions .btn {
    width: 100%;
  }

  .patient-guide-aside {
    padding: 24px 20px;
  }

  .guide-card {
    padding: 22px 18px;
  }
}


/* Long service content polish */
#services .section-head p {
  max-width: 820px;
  margin-inline: auto;
  line-height: 2.05;
}

.service-card p {
  min-height: 148px;
}

@media (max-width: 1080px) {
  .service-card p {
    min-height: 122px;
  }
}

@media (max-width: 620px) {
  .service-card p {
    min-height: auto;
  }
}


/* =========================================================
   NOORVISTA homepage about summary + full doctor profile page
========================================================= */

.about-home-luxury .about-content {
  position: relative;
}

.doctor-title-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 18px;
}

.doctor-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 28px;
}

.doctor-proof-grid div {
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 16px;
}

.doctor-proof-grid strong {
  display: block;
  color: #ffffff;
  font-size: 19px;
  margin-bottom: 4px;
}

.doctor-proof-grid span {
  color: #cbd5e1;
  font-weight: 800;
  font-size: 13.5px;
}

.about-home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Full doctor page */
.doctor-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 211, 238, 0.2), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(20, 184, 166, 0.16), transparent 34%),
    linear-gradient(180deg, #f0fbff 0%, #ffffff 100%);
}

.doctor-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

.doctor-profile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.doctor-profile-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: #07111f;
}

.doctor-profile-copy h2 {
  font-size: clamp(22px, 3vw, 34px);
  color: #075985;
  margin-bottom: 20px;
  line-height: 1.5;
}

.doctor-profile-copy p {
  color: #475569;
  font-size: 18px;
  line-height: 2.05;
  max-width: 720px;
  margin-bottom: 28px;
}

.doctor-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.doctor-profile-photo {
  position: relative;
  min-height: 500px;
  border-radius: 42px;
  overflow: hidden;
  background: #e0f2fe;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.92);
}

.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.doctor-profile-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  min-width: 190px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(186, 230, 253, 0.98);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.13);
}

.doctor-profile-badge strong {
  display: block;
  color: #075985;
  font-size: 32px;
  line-height: 1.1;
}

.doctor-profile-badge span {
  display: block;
  color: #475569;
  font-weight: 900;
  margin-top: 6px;
}

.doctor-profile-section {
  background: #ffffff;
}

.doctor-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.profile-story,
.profile-highlights {
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.profile-story {
  padding: 34px;
}

.profile-story h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.35;
  margin-bottom: 18px;
}

.profile-story p {
  color: #475569;
  font-size: 17px;
  line-height: 2.1;
  margin-bottom: 16px;
}

.profile-highlights {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.profile-highlights div {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #f0f9ff, #f0fdfa);
  border: 1px solid rgba(186, 230, 253, 0.92);
}

.profile-highlights strong {
  display: block;
  color: #075985;
  font-size: 17px;
  margin-bottom: 5px;
}

.profile-highlights span {
  color: #64748b;
  font-weight: 800;
  font-size: 14px;
}

.profile-services-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.profile-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-service-card {
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.profile-service-card:hover {
  transform: translateY(-8px);
  border-color: #7dd3fc;
  box-shadow: 0 30px 70px rgba(8, 145, 178, 0.16);
}

.profile-service-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 16px;
}

.profile-service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.profile-service-card p {
  color: #64748b;
  line-height: 1.95;
}

.why-doctor-section {
  background: #ffffff;
}

.why-doctor-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 38px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #075985, #0891b2);
  box-shadow: 0 28px 74px rgba(8, 145, 178, 0.25);
}

.why-doctor-card .eyebrow {
  color: #e0f2fe;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

.why-doctor-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.4;
  margin-bottom: 12px;
}

.why-doctor-card p {
  color: #e0f2fe;
  line-height: 2;
}

.why-doctor-card ul {
  list-style: none;
  display: grid;
  gap: 13px;
}

.why-doctor-card li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 14px 16px;
  color: #f8fbff;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .doctor-profile-grid,
  .doctor-profile-content,
  .why-doctor-card {
    grid-template-columns: 1fr;
  }

  .profile-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-profile-photo {
    min-height: 420px;
  }

  .doctor-profile-photo img {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .doctor-proof-grid,
  .profile-service-grid {
    grid-template-columns: 1fr;
  }

  .about-home-actions .btn,
  .doctor-profile-actions .btn {
    width: 100%;
  }

  .doctor-profile-hero {
    padding: 52px 0;
  }

  .doctor-profile-copy h1 {
    font-size: 34px;
  }

  .doctor-profile-copy h2 {
    font-size: 22px;
  }

  .doctor-profile-photo,
  .doctor-profile-photo img {
    min-height: 360px;
  }

  .profile-story,
  .profile-highlights,
  .profile-service-card,
  .why-doctor-card {
    border-radius: 28px;
  }

  .profile-story,
  .why-doctor-card {
    padding: 24px 20px;
  }
}


/* =========================================================
   NOORVISTA final homepage order + educational articles
   Floating appointment removed; booking remains in sticky header.
========================================================= */

.hero-actions {
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 26px;
}

.about-home-luxury {
  margin-top: 0;
}

/* Educational Articles */
.articles-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(20, 184, 166, 0.12), transparent 30%),
    radial-gradient(circle at 10% 82%, rgba(14, 165, 233, 0.11), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.articles-section::before {
  content: "";
  position: absolute;
  inset: 38px 0 auto;
  height: 230px;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

.articles-section .container {
  position: relative;
  z-index: 1;
}

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

.article-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.9));
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 30px;
  padding: 26px 24px;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 22px 54px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.article-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  left: -58px;
  top: -58px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.13);
  transition: transform 0.28s ease;
}

.article-card:hover {
  transform: translateY(-10px);
  border-color: #7dd3fc;
  box-shadow: 0 34px 82px rgba(8, 145, 178, 0.17);
}

.article-card:hover::after {
  transform: scale(1.18);
}

.article-tag {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid rgba(186, 230, 253, 0.98);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.article-card h3 {
  position: relative;
  z-index: 1;
  font-size: 21px;
  line-height: 1.55;
  color: #0f172a;
  margin-bottom: 12px;
}

.article-card p {
  position: relative;
  z-index: 1;
  color: #64748b;
  line-height: 1.95;
  font-size: 15.5px;
  margin-bottom: 18px;
}

.article-card a {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: fit-content;
  color: #075985;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
  transition: 0.22s ease;
}

.article-card a:hover {
  color: white;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 16px 32px rgba(8, 145, 178, 0.22);
  transform: translateY(-2px);
}

/* Only chatbot floats. Booking is always available in sticky header. */
.floating-actions {
  right: 22px;
  bottom: 22px;
}

@media (max-width: 1080px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: auto;
    border-radius: 28px;
  }

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


/* =========================================================
   NOORVISTA Persian long-text justification
   فقط متن‌های توضیحی بلند؛ نه تیتر، دکمه، کپشن یا متن‌های کوتاه
========================================================= */

.about-content p,
.service-card p,
.patient-guide-intro p,
.guide-card p,
.process-card p,
.article-card p,
.faq-answer p,
.cta p,
.footer p,
.doctor-profile-copy p,
.profile-story p,
.profile-service-card p,
.why-doctor-card p,
.doctor-profile-section p,
.profile-services-section p {
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
}

/* متن‌های داخل کارت‌های کوتاه بهتر است طبیعی و خوانا بمانند */
.trust-card small,
.doctor-proof-grid span,
.profile-highlights span,
.article-tag,
.service-card-link,
.btn {
  text-align: initial;
  text-align-last: initial;
}

/* در موبایل برای جلوگیری از فاصله‌های خیلی زیاد بین کلمات، کمی نرم‌تر شود */
@media (max-width: 560px) {
  .about-content p,
  .service-card p,
  .patient-guide-intro p,
  .guide-card p,
  .process-card p,
  .article-card p,
  .faq-answer p,
  .cta p,
  .doctor-profile-copy p,
  .profile-story p,
  .profile-service-card p,
  .why-doctor-card p {
    text-align: right;
    text-align-last: right;
  }
}


/* =========================================================
   NOORVISTA contact/social polish + chatbot toggle support
========================================================= */

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 900;
  direction: ltr;
  unicode-bidi: plaintext;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  transition: 0.22s ease;
}

.topbar-phone:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link.rubika {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.social-link.bale {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.social-link.eitaa {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.social-link svg {
  display: block;
}

.footer .contact-list a {
  color: #e0f2fe;
  font-weight: 900;
  direction: ltr;
  unicode-bidi: plaintext;
}

.compact-socials {
  margin-top: 18px;
}

.compact-socials .social-link {
  font-size: 12px;
  color: white;
}

@media (max-width: 620px) {
  .topbar-inner,
  .topbar-info {
    justify-content: center;
  }

  .topbar-phone {
    width: fit-content;
  }
}

/* Services architecture: mega menu, service index and detail pages */
.has-mega{position:relative}.has-mega>a::after{content:"";font-size:13px;margin-right:6px}.mega-menu{position:absolute;top:calc(100% + 14px);right:50%;transform:translateX(50%) translateY(8px);width:min(760px,calc(100vw - 32px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;border-radius:28px;background:rgba(255,255,255,.98);border:1px solid rgba(186,230,253,.96);box-shadow:0 28px 80px rgba(15,23,42,.16);opacity:0;pointer-events:none;transition:.22s ease;z-index:100}.has-mega:hover .mega-menu,.has-mega:focus-within .mega-menu{opacity:1;pointer-events:auto;transform:translateX(50%) translateY(0)}.mega-col{display:grid;gap:7px;padding:14px;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid rgba(219,234,254,.95)}.mega-col strong{color:#075985;font-size:16px;margin-bottom:8px}.mega-col a{display:flex;align-items:center;justify-content:flex-start;padding:9px 12px;border-radius:14px;color:#334155;font-weight:800;font-size:14px;transition:.2s ease}.mega-col a:hover{color:#075985;background:#e0f2fe;transform:translateX(-3px)}
.home-service-gateway,.services-hero-grid,.service-detail-grid,.detail-content-grid{display:grid;gap:24px}.home-service-gateway{grid-template-columns:repeat(2,minmax(0,1fr))}.gateway-card{position:relative;overflow:hidden;padding:32px;border-radius:34px;background:linear-gradient(145deg,#fff,#f0f9ff);border:1px solid rgba(186,230,253,.96);box-shadow:var(--shadow-soft);transition:.25s ease}.gateway-card:hover{transform:translateY(-8px);box-shadow:0 32px 74px rgba(8,145,178,.16)}.gateway-card::after{content:"";position:absolute;left:-60px;top:-60px;width:150px;height:150px;border-radius:50%;background:rgba(6,182,212,.14)}.gateway-icon,.service-index-icon,.service-detail-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:26px;font-size:32px;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);border:1px solid rgba(125,211,252,.74);box-shadow:0 16px 34px rgba(8,145,178,.14);margin-bottom:22px}.gateway-card h3{font-size:25px;margin-bottom:12px}.gateway-card p{color:#64748b;line-height:2;margin-bottom:24px;text-align:justify;text-align-last:right}.services-hero,.service-detail-hero{position:relative;overflow:hidden;padding:82px 0 72px;background:radial-gradient(circle at 85% 10%,rgba(34,211,238,.19),transparent 35%),radial-gradient(circle at 10% 90%,rgba(20,184,166,.14),transparent 34%),linear-gradient(180deg,#f0fbff 0%,#fff 100%)}.services-hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:center}.services-hero-copy h1,.service-detail-copy h1{font-size:clamp(36px,5vw,62px);line-height:1.25;letter-spacing:-1.4px;margin-bottom:18px}.services-hero-copy p,.service-detail-copy p{color:#475569;font-size:18px;line-height:2.05;max-width:760px;text-align:justify;text-align-last:right}.services-hero-actions,.service-detail-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}.services-hero-card,.service-detail-summary{background:rgba(255,255,255,.92);border:1px solid rgba(186,230,253,.98);border-radius:34px;padding:32px;box-shadow:var(--shadow-soft)}.services-hero-card strong,.service-detail-summary strong{display:block;color:#075985;font-size:22px;margin-bottom:12px}.services-hero-card p,.service-detail-summary p{color:#64748b;line-height:1.95;margin-bottom:22px;text-align:justify;text-align-last:right}.services-index-section{background:#fff}.beauty-index{background:linear-gradient(180deg,#f8fbff,#fff)}.service-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-index-card{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff,#f0f9ff);border:1px solid rgba(186,230,253,.98);border-radius:30px;padding:26px 24px;min-height:310px;display:flex;flex-direction:column;box-shadow:var(--shadow-soft);transition:.25s ease}.service-index-card:hover{transform:translateY(-8px);border-color:#7dd3fc;box-shadow:0 30px 70px rgba(8,145,178,.15)}.service-index-card h3{font-size:21px;margin-bottom:10px}.service-index-card p{color:#64748b;line-height:1.95;text-align:justify;text-align-last:right;margin-bottom:18px}.service-index-card a{margin-top:auto;width:fit-content;padding:9px 16px;border-radius:999px;color:#075985;background:rgba(255,255,255,.9);border:1px solid rgba(186,230,253,.98);font-weight:900;transition:.22s ease}.service-index-card a:hover{color:white;background:linear-gradient(135deg,#06b6d4,#0891b2)}.service-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#64748b;font-weight:800;margin-bottom:18px}.service-breadcrumb a{color:#075985}.service-detail-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center}.detail-content-grid{grid-template-columns:minmax(0,1.1fr) 320px;align-items:start}.detail-main,.detail-aside{background:white;border:1px solid rgba(186,230,253,.98);border-radius:32px;box-shadow:var(--shadow-soft)}.detail-main{padding:34px}.detail-main h2{font-size:26px;margin-bottom:12px;margin-top:22px}.detail-main h2:first-child{margin-top:0}.detail-main p{color:#475569;line-height:2.1;font-size:17px;text-align:justify;text-align-last:right}.detail-aside{padding:24px;position:sticky;top:110px;display:grid;gap:12px}.detail-aside h3{color:#075985;margin-bottom:8px}.detail-aside a,.detail-aside button{border:1px solid rgba(186,230,253,.98);background:#f8fbff;color:#075985;border-radius:16px;padding:12px 14px;font-weight:900;text-align:right;cursor:pointer;transition:.22s ease}.detail-aside a:hover,.detail-aside button:hover{background:#e0f2fe;transform:translateY(-2px)}.related-service-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.related-service-links a{padding:11px 16px;border-radius:999px;background:white;border:1px solid rgba(186,230,253,.98);color:#075985;font-weight:900;box-shadow:0 12px 28px rgba(15,23,42,.06)}
@media(max-width:1080px){.service-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.services-hero-grid,.service-detail-grid,.detail-content-grid{grid-template-columns:1fr}.detail-aside{position:static}}@media(max-width:860px){.has-mega .mega-menu{position:static;width:100%;transform:none;opacity:1;pointer-events:auto;grid-template-columns:1fr;box-shadow:none;margin-top:8px;padding:10px;border-radius:18px}}@media(max-width:640px){.home-service-gateway,.service-index-grid{grid-template-columns:1fr}.services-hero-actions .btn,.service-detail-actions .btn,.services-hero-card .btn,.gateway-card .btn{width:100%}.service-index-card,.gateway-card,.detail-main,.detail-aside{border-radius:26px}.services-hero,.service-detail-hero{padding:52px 0}.services-hero-copy p,.service-detail-copy p,.gateway-card p,.service-index-card p,.detail-main p{text-align:right}}


/* =========================================================
   NoorVista final service polish: menu alignment + professional service pages
========================================================= */

/* Remove ugly arrow from Services menu and align it with other menu items */
.menu > li,
.menu > li.has-mega {
  display: flex;
  align-items: center;
}

.menu > li.has-mega > a,
.menu > li.has-mega > a:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  line-height: 1.45 !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  transform: none !important;
  vertical-align: middle !important;
}

.has-mega > a::after {
  content: none !important;
  display: none !important;
  margin: 0 !important;
}

.has-mega > a {
  position: relative;
}

.has-mega > a::before {
  content: "";
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
  opacity: 0;
  transform: scaleX(0.35);
  transition: 0.22s ease;
}

.has-mega:hover > a::before,
.has-mega:focus-within > a::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Professional service detail additions */
.service-detail-pro .detail-main {
  position: relative;
  overflow: hidden;
  padding-top: 42px;
}

.service-detail-pro .detail-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4, #075985);
}

.detail-section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid rgba(186, 230, 253, 0.98);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.service-quality-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding-top: 34px;
}

.service-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-quality-card,
.service-faq-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff, #f0f9ff);
  border: 1px solid rgba(186, 230, 253, 0.98);
  border-radius: 32px;
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
}

.service-quality-card::after,
.service-faq-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: -54px;
  top: -54px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
}

.quality-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  border: 1px solid rgba(125, 211, 252, 0.8);
  font-size: 27px;
  margin-bottom: 18px;
}

.service-quality-card h2,
.service-faq-card h3 {
  position: relative;
  z-index: 1;
  color: #0f172a;
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-quality-card h2 {
  font-size: 24px;
}

.service-quality-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-quality-card li {
  color: #475569;
  line-height: 1.9;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-quality-card li::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #dcfce7;
  color: #047857;
  margin-top: 4px;
}

.service-faq-section {
  background: #ffffff;
  padding-top: 34px;
}

.service-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-faq-card p {
  position: relative;
  z-index: 1;
  color: #64748b;
  line-height: 2;
  text-align: justify;
  text-align-last: right;
}

@media (max-width: 980px) {
  .service-quality-grid,
  .service-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu > li,
  .menu > li.has-mega {
    display: block;
  }

  .has-mega > a::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .service-quality-card,
  .service-faq-card {
    border-radius: 26px;
    padding: 24px 20px;
  }

  .service-faq-card p {
    text-align: right;
  }
}


/* =========================================================
   NOORVISTA mega menu usability polish
   - حذف ظاهر فلش/اختلاف ارتفاع
   - تیترهای ستون‌های مگامنو وسط‌چین و متمایز
   - جلوگیری از بسته شدن زیرمنو هنگام حرکت موس
========================================================= */

.menu {
  align-items: center;
}

.menu > li {
  display: flex;
  align-items: center;
}

.menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 1;
}

/* خدمات هم‌سطح بقیه آیتم‌ها؛ بدون فلش */
.has-mega > a {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.has-mega > a::after {
  content: none !important;
  display: none !important;
}

/* پل نامرئی بین دکمه خدمات و مگامنو، تا زیرمنو هنگام حرکت موس بسته نشود */
.has-mega::after {
  content: "";
  position: absolute;
  right: -18px;
  left: -18px;
  top: 100%;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

/* نزدیک‌تر شدن مگامنو به دکمه و حذف شکاف آزاردهنده */
.mega-menu {
  top: calc(100% + 4px) !important;
  padding: 22px !important;
  gap: 20px !important;
  z-index: 220;
}

/* تیترهای دو ستون، متفاوت از لینک‌های زیرمنو */
.mega-col strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  width: 100%;
  padding: 12px 14px;
  margin: 0 0 12px;
  border-radius: 18px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.2px;
  background: linear-gradient(135deg, #075985, #0891b2);
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.16);
}

/* لینک‌های زیرمنو از نظر وزن و شکل از تیتر جدا باشند */
.mega-col a {
  justify-content: center;
  text-align: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  background: transparent;
}

.mega-col a:hover {
  transform: translateY(-2px);
}

/* برای اینکه hover روی خود منو هم پایدار بماند */
.has-mega:hover::after,
.has-mega:focus-within::after {
  display: block;
}

@media (max-width: 860px) {
  .has-mega::after {
    display: none;
  }

  .mega-menu {
    top: auto !important;
    padding: 12px !important;
    gap: 12px !important;
  }

  .mega-col strong {
    min-height: 44px;
    font-size: 15px;
  }

  .mega-col a {
    justify-content: flex-start;
    text-align: right;
  }
}


/* =========================================================
   FINAL FIX: desktop/mobile mega menu visibility + brand polish
========================================================= */

/* نام برند طولانی‌تر شده، پس لوگو و متن باید تمیز بمانند */
.brand {
  min-width: 0;
}

.brand-logo {
  font-size: 13px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}

.brand small,
.footer-brand p {
  font-size: 12px;
  line-height: 1.55;
}

/* دسکتاپ: مگامنو داخل viewport بماند و اگر بلند بود اسکرول بخورد */
.mega-menu {
  max-height: min(72vh, 640px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 145, 178, 0.35) transparent;
  transform-origin: top center;
}

.mega-menu::-webkit-scrollbar {
  width: 7px;
}

.mega-menu::-webkit-scrollbar-thumb {
  background: rgba(8, 145, 178, 0.32);
  border-radius: 999px;
}

.mega-menu::-webkit-scrollbar-track {
  background: transparent;
}

/* فاصله امن بین دکمه خدمات و باکس منو */
.has-mega::after {
  height: 32px !important;
}

/* موبایل: منوی اصلی در صفحه جا بگیرد و خودش اسکرول بخورد */
@media (max-width: 860px) {
  .nav-inner {
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 62px);
  }

  .brand strong {
    font-size: 15px;
    white-space: normal;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 11px;
  }

  .menu {
    top: 96px !important;
    right: 12px !important;
    left: 12px !important;
    max-height: calc(100dvh - 118px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 320 !important;
    padding: 14px !important;
  }

  .menu.open {
    display: flex;
  }

  .menu > li,
  .menu > li.has-mega {
    display: block !important;
    width: 100%;
  }

  .menu > li > a,
  .menu > li.has-mega > a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start !important;
    text-align: right;
    padding: 12px 14px !important;
  }

  /* زیرمنو در موبایل بسته باشد؛ فقط با کلیک روی خدمات باز شود */
  .has-mega .mega-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
    margin: 6px 0 8px !important;
    padding: 10px !important;
    box-shadow: none !important;
    border-radius: 20px !important;
  }

  .has-mega.submenu-open .mega-menu {
    display: grid !important;
  }

  .mega-col {
    padding: 10px !important;
    gap: 6px !important;
  }

  .mega-col strong {
    min-height: 42px !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }

  .mega-col a {
    min-height: 40px !important;
    justify-content: flex-start !important;
    text-align: right !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
  }

  .has-mega::after {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .topbar {
    display: none;
  }

  .menu {
    top: 82px !important;
    max-height: calc(100dvh - 96px) !important;
  }

  .nav-actions {
    display: none;
  }

  .brand {
    max-width: calc(100% - 54px);
  }
}


/* =========================================================
   FIX: doctor portrait safe crop on mobile
   مشکل: در موبایل به خاطر object-fit: cover سر پزشک بریده می‌شد.
   راه‌حل: فوکوس تصویر روی بالا/صورت، با ارتفاع امن‌تر در موبایل.
========================================================= */

/* همه تصاویر پزشک در بخش‌های اصلی، فوکوسشان روی بالای تصویر باشد */
.hero-visual img[src*="doctor"],
.hero-visual img[src*="Doctor"],
.about-image img,
.doctor-profile-photo img,
img[src*="doctor_1"],
img[src*="doctor-1"] {
  object-position: center top !important;
}

/* در دسکتاپ کمی طبیعی‌تر، اما همچنان سر حفظ شود */
@media (min-width: 861px) {
  .hero-visual img[src*="doctor"],
  .about-image img,
  .doctor-profile-photo img,
  img[src*="doctor_1"],
  img[src*="doctor-1"] {
    object-position: center 14% !important;
  }
}

/* موبایل: کادر تصویر پزشک کمی بلندتر شود تا صورت و سر کامل دیده شود */
@media (max-width: 680px) {
  .about-image {
    min-height: 390px;
  }

  .about-image img {
    height: 100%;
    min-height: 390px;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .doctor-profile-photo {
    min-height: 430px !important;
  }

  .doctor-profile-photo img {
    min-height: 430px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .hero-visual img[src*="doctor"],
  img[src*="doctor_1"],
  img[src*="doctor-1"] {
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* موبایل خیلی کوچک: اگر کادر تنگ شد، همچنان سر بریده نشود */
@media (max-width: 430px) {
  .about-image {
    min-height: 420px;
  }

  .about-image img {
    min-height: 420px;
  }

  .doctor-profile-photo,
  .doctor-profile-photo img {
    min-height: 440px !important;
  }
}

