:root {
  --color-navy: #1a1f5e;
  --color-deep: #12164b;
  --color-purple: #5a4fa0;
  --color-purple-dark: #40357f;
  --color-lavender: #d9d2f0;
  --color-lavender-soft: #f1eef9;
  --color-background: #fdfcff;
  --color-off: #f7f5fb;
  --color-text: #202052;
  --color-muted: #66658b;
  --color-border: #ded9ef;
  --color-white: #ffffff;
  --color-whatsapp: #128c52;
  --shadow-soft: 0 18px 45px rgba(39, 31, 102, 0.09);
  --shadow-card: 0 12px 30px rgba(39, 31, 102, 0.075);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Noto Kufi Arabic", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--font-arabic);
  line-height: 1.9;
}

.latin-term {
  display: inline;
  direction: ltr;
  unicode-bidi: isolate;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #9c8ce2;
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  font-family: var(--font-arabic);
  line-height: 1.5;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}

html[dir="rtl"] h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: 0;
}

html[dir="rtl"] h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.15rem);
  letter-spacing: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 800px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-soft {
  background: var(--color-off);
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  inset-block-start: 0;
  border-bottom: 1px solid rgba(90, 79, 160, 0.12);
  background: rgba(253, 252, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand small {
  font-size: inherit;
  font-weight: 400;
}

.brand span {
  white-space: nowrap;
}

html[dir="rtl"] .brand {
  font-family: var(--font-serif);
  direction: ltr;
}

.site-menu {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.menu-links,
.menu-actions {
  display: flex;
  align-items: center;
}

.menu-links {
  gap: clamp(0.65rem, 1.3vw, 1.3rem);
}

.menu-actions {
  gap: 0.9rem;
}

.menu-links a,
.language-link {
  position: relative;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

html[dir="rtl"] .menu-links a,
html[dir="rtl"] .language-link {
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.menu-links a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -9px;
  height: 2px;
  transform: scaleX(0);
  background: var(--color-purple);
  content: "";
  transition: transform 180ms ease;
}

.menu-links a:hover,
.menu-links a[aria-current="page"],
.language-link:hover {
  color: var(--color-navy);
}

.menu-links a:hover::after,
.menu-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-link {
  padding: 0.45rem 0.25rem;
  color: var(--color-purple-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

html[dir="rtl"] .btn {
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 9px 22px rgba(26, 31, 94, 0.2);
}

.btn-primary:hover {
  background: var(--color-purple-dark);
}

.btn-outline {
  border-color: var(--color-navy);
  background: transparent;
  color: var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--color-navy);
}

.btn-light:hover {
  background: var(--color-lavender-soft);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #0d7141;
}

.btn-small {
  min-height: 42px;
  padding: 0.7rem 1.15rem;
  font-size: 0.7rem;
}

.btn-block {
  width: 100%;
  margin-top: 1.3rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: var(--color-lavender-soft);
  color: var(--color-purple);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow-light {
  background: rgba(255,255,255,0.1);
  color: var(--color-lavender);
}

.lead {
  max-width: 700px;
  margin-bottom: 1.8rem;
  color: var(--color-muted);
  font-size: clamp(1.03rem, 1.7vw, 1.24rem);
  line-height: 1.75;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 82% 16%, rgba(196, 184, 232, 0.43), transparent 24rem),
    linear-gradient(155deg, #fdfcff 0%, #f7f4fc 100%);
}

.home-hero::before {
  position: absolute;
  width: 360px;
  height: 360px;
  inset-block-end: -220px;
  inset-inline-start: 18%;
  border: 1px solid rgba(90, 79, 160, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid,
.split-grid,
.page-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.hero-grid > *,
.split-grid > *,
.page-hero-grid > *,
.content-layout > *,
.article-layout > * {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy h1 em {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-purple);
  font-size: 0.62em;
  font-weight: 400;
}

html[dir="rtl"] .hero-copy h1 em {
  margin-top: 0.65rem;
  font-family: var(--font-serif);
  direction: ltr;
}

.hero-actions,
.cta-actions,
.contact-actions-large {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-practical {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin: 1.8rem 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-practical span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-practical span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-purple);
  content: "";
}

.hero-visual {
  position: relative;
  max-width: 480px;
  margin: 0;
  justify-self: end;
}

.hero-image-frame {
  overflow: hidden;
  aspect-ratio: 0.84;
  border-radius: 46% 46% 26px 26px;
  background: linear-gradient(145deg, var(--color-lavender), var(--color-purple));
  box-shadow: 0 28px 65px rgba(48, 38, 118, 0.18);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  position: absolute;
  inset-inline-start: -34px;
  inset-block-end: 32px;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(90,79,160,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-card);
  color: var(--color-purple-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 1.8rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  margin-inline: auto;
}

.section-heading-light h2,
.section-heading-light p {
  color: #fff;
}

.section-heading-light p {
  color: rgba(255,255,255,0.65);
}

.about-preview {
  overflow: hidden;
}

.qualification-panel {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-lavender-soft), #ede8f8);
}

.qualification-panel h2 {
  font-size: 2rem;
}

.qualification-panel ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qualification-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(90,79,160,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
}

.qualification-panel li::before,
.diploma-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--color-purple);
  content: "";
}

.qualification-panel strong,
.qualification-panel span {
  display: block;
}

.qualification-panel strong {
  margin-bottom: 0.2rem;
  color: var(--color-navy);
  font-size: 0.86rem;
}

.qualification-panel span {
  color: var(--color-muted);
  font-size: 0.76rem;
}

.qualification-panel-light {
  border: 1px solid var(--color-border);
  background: var(--color-off);
}

.services-section {
  overflow: hidden;
  background: var(--color-navy);
}

.services-section::before {
  position: absolute;
  width: 570px;
  height: 570px;
  inset-block-start: -330px;
  inset-inline-end: -190px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  content: "";
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.pathology-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c4b8e8;
  box-shadow: var(--shadow-soft);
}

.card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.card p {
  flex: 1 1 auto;
  margin-bottom: 1.2rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.service-card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #d8cff5, #a99be0);
  color: var(--color-purple);
  font-size: 1.25rem;
  box-shadow: inset 0 1px rgba(255,255,255,0.5);
}

.services-section .card {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.065);
  box-shadow: none;
}

.services-section .card:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
}

.services-section .card h3,
.services-section .card h3 a,
.services-section .text-link {
  color: #fff;
}

.services-section .card p {
  color: rgba(255,255,255,0.6);
}

.text-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--color-purple-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.section-action {
  display: flex;
  margin-top: 2.5rem;
  justify-content: center;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-grid a,
.pill-grid span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.pill-grid a:hover {
  border-color: var(--color-purple);
  background: var(--color-purple);
  color: #fff;
}

.cabinet-preview {
  background: var(--color-off);
}

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

.gallery-grid figure {
  overflow: hidden;
  min-width: 0;
  min-height: 330px;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--color-lavender-soft);
  box-shadow: var(--shadow-card);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
}

.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  display: flex;
  min-height: 158px;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.info-card[href]:hover {
  border-color: #bfb2e8;
}

.info-symbol {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-lavender-soft);
  color: var(--color-purple);
  font-size: 1.28rem;
}

.info-card small,
.info-card strong {
  display: block;
}

.info-card small {
  margin-bottom: 0.35rem;
  color: var(--color-purple);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[dir="rtl"] .info-card small {
  letter-spacing: 0;
}

.info-card strong {
  overflow-wrap: break-word;
  color: var(--color-navy);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cabinet-visit .visit-heading {
  max-width: 880px;
  margin-bottom: 2.5rem;
}

.cabinet-visit .visit-heading p {
  max-width: 820px;
}

.cabinet-visit .info-grid {
  width: 100%;
}

.cabinet-visit .info-card {
  min-height: 190px;
}

.google-profile-section {
  background: #fff;
}

.google-profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.google-profile-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, var(--color-lavender-soft));
  box-shadow: var(--shadow-card);
}

.google-profile-card h2 {
  margin: 1rem 0 0.8rem;
}

.google-profile-card p {
  margin: 0;
  color: var(--color-muted);
}

.google-profile-identity {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-inline-start: 3px solid var(--color-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255,255,255,0.74);
}

html[dir="rtl"] .google-profile-identity {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.google-profile-identity strong {
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.google-profile-identity span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.google-map-frame {
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-lavender-soft);
  box-shadow: var(--shadow-card);
}

.google-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.info-card-whatsapp {
  border-color: rgba(18,140,82,0.24);
}

.info-card-whatsapp .info-symbol {
  background: rgba(18,140,82,0.1);
  color: var(--color-whatsapp);
}

.faq-preview {
  background: linear-gradient(145deg, #fff, var(--color-lavender-soft));
}

.accordion-list {
  display: grid;
  gap: 0.75rem;
}

.accordion-list details {
  overflow: clip;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.accordion-list summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--color-navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.accordion-list summary::-webkit-details-marker {
  display: none;
}

.accordion-list summary::after {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-lavender-soft);
  color: var(--color-purple);
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.accordion-list details[open] summary::after {
  content: "–";
}

.accordion-list details p {
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.card-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--color-purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-kicker .card-category {
  margin-bottom: 0;
}

.card-date {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

html[dir="rtl"] .card-category {
  letter-spacing: 0;
  text-transform: none;
}

.cta-band {
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6rem);
  background: linear-gradient(130deg, var(--color-deep), var(--color-navy) 55%, var(--color-purple-dark));
  color: #fff;
}

.cta-band::after {
  position: absolute;
  width: 400px;
  height: 400px;
  inset-block-start: -250px;
  inset-inline-end: -120px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  content: "";
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.64);
}

.site-footer {
  padding-block: 4.5rem 1.5rem;
  background: #0e123f;
  color: rgba(255,255,255,0.62);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.brand-footer {
  margin-bottom: 1.2rem;
  color: #fff;
}

.brand-footer img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  max-width: 330px;
  margin-bottom: 1rem;
  font-size: 0.86rem;
}

.footer-phone {
  color: #fff;
  font-weight: 700;
}

.footer-grid h2 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[dir="rtl"] .site-footer .footer-grid h2 {
  font-family: var(--font-arabic);
  font-size: 0.86rem;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .site-footer .footer-grid a {
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: rgba(255,255,255,0.66);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-contact-bar {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.8rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 88% 20%, rgba(196,184,232,0.35), transparent 24rem),
    var(--color-off);
}

.page-hero .page-hero-grid {
  margin-top: 2.4rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

html[dir="rtl"] .page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.page-hero-image .page-hero-grid {
  align-items: center;
}

.page-hero-visual {
  overflow: hidden;
  max-width: 420px;
  margin: 0;
  justify-self: end;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--color-lavender);
  box-shadow: var(--shadow-soft);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li:not(:last-child)::after {
  color: #aaa3c8;
  content: "/";
}

.breadcrumb a {
  color: var(--color-purple-dark);
  text-decoration: none;
}

.service-summary,
.side-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-card);
}

.service-summary > span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-summary p {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.4;
}

html[dir="rtl"] .service-summary p {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  line-height: 1.9;
}

.services-index .service-card {
  background: #fff;
}

.content-layout,
.article-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) 310px;
}

.prose {
  color: var(--color-muted);
}

.prose h2 {
  margin-top: 2.7rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 0.98rem;
  line-height: 1.85;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--color-purple-dark);
}

.side-panel {
  position: sticky;
  inset-block-start: 100px;
  display: grid;
  gap: 0.7rem;
}

.side-panel h2 {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[dir="rtl"] .side-panel h2 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  text-transform: none;
}

.side-panel h2:first-child {
  margin-top: 0;
}

.side-panel p,
.side-panel a {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.83rem;
}

.side-panel a {
  color: var(--color-purple-dark);
  font-weight: 650;
}

.side-panel .btn {
  color: #fff;
}

.medical-note,
.privacy-note {
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  border-inline-start: 4px solid var(--color-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-lavender-soft);
  color: var(--color-muted);
}

html[dir="rtl"] .medical-note,
html[dir="rtl"] .privacy-note {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.medical-note strong,
.privacy-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
  font-size: 0.78rem;
}

.medical-note p,
.privacy-note p {
  margin: 0;
  font-size: 0.84rem;
}

.additional-topics {
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-md);
  background: var(--color-off);
}

.additional-topics h2 {
  font-size: 2rem;
}

.category-list {
  margin-bottom: 2rem;
}

.category-list span {
  color: var(--color-purple-dark);
}

.article-header {
  padding-block: clamp(3.8rem, 8vw, 6.5rem);
  background: var(--color-off);
}

.article-header .breadcrumb {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

html[dir="rtl"] .article-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.76rem;
}

.article-meta a {
  color: var(--color-purple-dark);
  font-weight: 700;
}

.article-layout {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.article-intro {
  color: var(--color-navy);
  font-size: 1.2rem !important;
  font-weight: 550;
}

.article-content section {
  scroll-margin-top: 100px;
}

.article-faq {
  margin-top: 3.5rem;
}

.article-faq .accordion-list {
  margin-top: 1.25rem;
}

.article-links {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-off);
}

.article-links h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.article-links ul {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0;
}

.article-sources {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.article-sources h2 {
  font-size: 1.6rem;
}

.gallery-large figure {
  min-height: 480px;
}

.cabinet-page .gallery-wide {
  grid-column: auto;
}

.contact-page .info-grid {
  margin-bottom: 2.5rem;
}

.contact-actions-large {
  justify-content: center;
}

.contact-actions-large .btn {
  min-height: 54px;
}

.contact-page .privacy-note {
  max-width: 780px;
  margin: 2.5rem auto 0;
}

.faq-full > section + section {
  margin-top: 3.5rem;
}

.faq-full h2 {
  font-size: 2.2rem;
}

.error-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding-block: 6rem;
  text-align: center;
}

.error-page .eyebrow {
  margin-inline: auto;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-menu {
    position: fixed;
    z-index: 110;
    inset-block-start: 70px;
    inset-inline: 0;
    display: grid;
    max-height: calc(100vh - 70px);
    padding: 1.25rem 20px 2rem;
    transform: translateY(-16px);
    overflow-y: auto;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .menu-links {
    display: grid;
    gap: 0;
  }

  .menu-links a {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.83rem;
  }

  .menu-links a::after {
    display: none;
  }

  .menu-actions {
    justify-content: space-between;
  }

  body.menu-open {
    overflow: hidden;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 840px) {
  .hero-grid,
  .split-grid,
  .page-hero-grid,
  .content-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .google-profile-grid {
    grid-template-columns: 1fr;
  }

  .google-map-frame,
  .google-map-frame iframe {
    min-height: 360px;
  }

  .hero-visual,
  .page-hero-visual {
    width: min(100%, 520px);
    max-width: none;
    justify-self: stretch;
  }

  .hero-image-frame {
    max-height: 620px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
  }

  .hero-visual figcaption {
    inset-inline-start: 18px;
  }

  .hero-copy h1 em {
    font-size: 0.72em;
  }

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

  .gallery-wide {
    grid-column: 1 / -1;
    min-height: 280px !important;
    aspect-ratio: 16 / 9;
  }

  .side-panel {
    position: static;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 66px;
    font-size: 15px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 4.5rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .home-hero,
  .page-hero,
  .article-header {
    padding-block: 3rem 4.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.9rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  html[dir="rtl"] h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  html[dir="rtl"] h2 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid {
    gap: 2.25rem;
  }

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

  .hero-image-frame {
    max-height: 480px;
    aspect-ratio: 4 / 4.4;
  }

  .service-grid,
  .blog-grid,
  .pathology-grid,
  .info-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.45rem;
  }

  .gallery-grid figure,
  .gallery-large figure {
    min-height: 360px;
  }

  .gallery-wide {
    grid-column: auto;
    width: 100%;
    min-height: 230px !important;
    aspect-ratio: auto;
  }

  .info-card {
    padding: 1.15rem;
  }

  .footer-grid > div:last-child,
  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 90;
    inset-inline: 0;
    inset-block-end: 0;
    display: grid;
    min-height: 66px;
    padding: 7px 10px max(7px, env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.14);
    background: rgba(14,18,63,0.98);
    box-shadow: 0 -8px 28px rgba(14,18,63,0.2);
  }

  .mobile-contact-bar a {
    display: flex;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.1rem;
    border-inline-end: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-contact-bar a:last-child {
    border-inline-end: 0;
  }

  .mobile-contact-bar span {
    color: var(--color-lavender);
    font-size: 1rem;
    line-height: 1;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .article-layout {
    padding-block: 3.5rem;
  }

  .article-header h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  html[dir="rtl"] .article-header h1,
  html[dir="rtl"] .page-hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 3rem);
  }
}

@media (max-width: 370px) {
  .container,
  .narrow {
    width: calc(100% - 22px);
  }

  .brand span {
    font-size: 0.88rem;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .card,
  .qualification-panel,
  .service-summary,
  .side-panel {
    padding: 1.2rem;
  }

  .pill-grid a,
  .pill-grid span {
    padding-inline: 0.85rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
