/* =========================================================================
   Azhar Dental Clinic — main stylesheet
   Works for English (LTR) and Arabic (RTL) using logical properties.
   ========================================================================= */

:root {
	--navy: #10295a;
	--navy-900: #0a1b3f;
	--navy-700: #1a3a78;
	--teal: #1c7fa3;
	--teal-50: #eaf4f8;
	--gold: #c6922c;
	--gold-600: #a97a1f;
	--gold-300: #e7c97f;
	--gold-50: #fbf5e7;
	--cream: #f7f4ee;
	--ink: #1b2333;
	--muted: #586174;
	--line: #e7e1d5;
	--white: #fff;

	--font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(16, 41, 90, .06), 0 12px 32px -12px rgba(16, 41, 90, .18);
	--shadow-lg: 0 30px 60px -24px rgba(16, 41, 90, .35);
	--wrap: 1180px;
	--gutter: clamp(18px, 4vw, 32px);
	--pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	--section-y: clamp(64px, 9vw, 112px);
	--header-h: 84px;
}

/* Arabic typography */
[dir="rtl"] {
	--font-head: "El Messiri", "IBM Plex Sans Arabic", Tahoma, sans-serif;
	--font-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-variant-numeric: lining-nums;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-size: 17.5px; line-height: 1.85; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; font-weight: 600; }
html:not([dir="rtl"]) h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.az-icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.az-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.az-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: 0 24px;
	border-radius: 999px; border: 1.5px solid transparent;
	font: 600 16px/1.2 var(--font-body);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.az-btn:hover { transform: translateY(-2px); }
.az-btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(16, 41, 90, .7); }
.az-btn--primary:hover { background: var(--navy-700); color: #fff; }
.az-btn--primary .az-icon { color: var(--gold-300); }
.az-btn--ghost { background: #fff; color: var(--navy); border-color: rgba(16, 41, 90, .18); }
.az-btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.az-btn--ghost .az-icon { color: var(--gold); }
.az-btn--wa { background: #1fa855; color: #fff; }
.az-btn--wa:hover { background: #178a45; color: #fff; }
.az-btn--gold { background: var(--gold); color: var(--navy-900); }
.az-btn--gold:hover { background: var(--gold-300); color: var(--navy-900); }
.az-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.az-buttons--light .az-btn--primary { background: var(--gold); color: var(--navy-900); box-shadow: none; }
.az-buttons--light .az-btn--primary .az-icon { color: var(--navy-900); }
.az-buttons--light .az-btn--primary:hover { background: var(--gold-300); }
.az-buttons--light .az-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.az-buttons--light .az-btn--ghost:hover { border-color: #fff; }
.az-buttons--light .az-btn--ghost .az-icon { color: var(--gold-300); }
bdi { unicode-bidi: isolate; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: inherit; text-decoration: none; }
.topbar__item .az-icon { color: var(--gold-300); width: 15px; height: 15px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__end { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.lang-switch .az-icon { width: 15px; height: 15px; }
.lang-switch--top { padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff !important; }
.lang-switch--top:hover { background: rgba(255, 255, 255, .1); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }
.lang-switch[lang="en"] { font-family: "Manrope", system-ui, sans-serif; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(16, 41, 90, .45); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-logo { display: inline-flex; flex: none; }
.site-logo__img { height: 54px; width: auto; display: block; }
.site-nav { margin-inline-start: auto; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav .menu a {
	position: relative; display: block; padding: 10px 14px;
	color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.site-nav .menu a::after {
	content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px;
	background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .25s ease;
}
.site-nav .menu a:hover { color: var(--navy); }
.site-nav .menu a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { transform: scaleX(1); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--navy); }
.site-nav .sub-menu { display: none; }
.site-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Content sections ---------- */
.site-main { display: block; }
.az-content > * { margin-block: 0; }
.az-content > :not(.az-section) { padding-inline: var(--pad-x); }
.az-content > p:first-child { padding-top: 48px; }
.az-section { padding: var(--section-y) var(--pad-x); position: relative; }
.az-section + .az-section:not(.az-tint):not(.az-cta):not(.az-hero) { padding-top: 0; }
.az-tint + .az-section, .az-cta + .az-section { padding-top: var(--section-y) !important; }
.az-tint { background: var(--cream); }
.az-section-head { max-width: 680px; margin-bottom: 44px; }
.az-section-head > :last-child { margin-bottom: 0; }

.az-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin-bottom: 14px !important;
	font: 700 13px/1.4 var(--font-body);
	letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600);
}
.az-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
[dir="rtl"] .az-eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.az-lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.az-more { margin-top: 28px; }
.az-more a, .az-card__link a {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; color: var(--navy); text-decoration: none;
}
.az-more a::after, .az-card__link a::after {
	content: ""; width: 18px; height: 18px; background: var(--gold);
	-webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
	transition: transform .2s ease;
}
[dir="rtl"] .az-more a::after, [dir="rtl"] .az-card__link a::after { transform: scaleX(-1); }
.az-more a:hover::after, .az-card__link a:hover::after { transform: translateX(4px); }
[dir="rtl"] .az-more a:hover::after, [dir="rtl"] .az-card__link a:hover::after { transform: scaleX(-1) translateX(4px); }

/* Grids built from Columns blocks */
.az-content .wp-block-columns { margin: 0; gap: 28px; }
.az-content .wp-block-columns.az-grid { display: grid; gap: 22px; }
.az-content .az-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.az-content .az-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.az-content .wp-block-columns.az-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.az-content .wp-block-column { min-width: 0; }

/* Icons used by cards (CSS masks so colour follows the theme) */
:root {
	--i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3 11.8 6.7 16.1 11H4v2h12.1l-4.3 4.3 1.4 1.4L20 12z'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E");
	--i-tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M7.5 3.2C5 3.2 3.2 5.1 3.2 7.8c0 2 .8 3.4 1.3 5 .6 1.8.6 3.5 1 5.3.4 1.7 1 3 2.1 3 1.4 0 1.6-2 1.9-3.7.3-1.6.9-2.6 2.5-2.6s2.2 1 2.5 2.6c.3 1.7.5 3.7 1.9 3.7 1.1 0 1.7-1.3 2.1-3 .4-1.8.4-3.5 1-5.3.5-1.6 1.3-3 1.3-5 0-2.7-1.8-4.6-4.3-4.6-1.9 0-2.6 1-4.5 1s-2.6-1-4.5-1z'/%3E%3C/svg%3E");
	--i-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M10 3l1.7 5.3L17 10l-5.3 1.7L10 17l-1.7-5.3L3 10l5.3-1.7z'/%3E%3Cpath d='M18 14l.9 2.1L21 17l-2.1.9L18 20l-.9-2.1L15 17l2.1-.9z'/%3E%3C/svg%3E");
	--i-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6'/%3E%3C/svg%3E");
	--i-smile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7.5 13.5c1.1 2 2.6 3 4.5 3s3.4-1 4.5-3M7.8 13.6h8.4'/%3E%3Cpath d='M9 9.3v.4M15 9.3v.4'/%3E%3C/svg%3E");
	--i-extract: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M8.5 8.2C6.4 8.2 5 9.7 5 12c0 1.6.6 2.7 1 4 .5 1.5.5 2.8.8 4.2.3 1.3.8 2.3 1.7 2.3 1.1 0 1.3-1.6 1.5-2.9.2-1.3.7-2.1 2-2.1s1.8.8 2 2.1c.2 1.3.4 2.9 1.5 2.9.9 0 1.4-1 1.7-2.3.3-1.4.3-2.7.8-4.2.4-1.3 1-2.4 1-4 0-2.3-1.4-3.8-3.5-3.8-1.5 0-2.1.8-3.5.8s-2-.8-3.5-.8z'/%3E%3Cpath d='M12 1.5v4M10 3.5l2-2 2 2'/%3E%3C/svg%3E");
	--i-wisdom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6.5 4C4.6 4 3.2 5.5 3.2 7.6c0 1.6.6 2.8 1.1 4.1.5 1.4.5 2.8.8 4.3.3 1.4.8 2.5 1.8 2.5 1.2 0 1.4-1.7 1.6-3.1.2-1.3.7-2.1 2.1-2.1s1.9.8 2.1 2.1c.2 1.4.4 3.1 1.6 3.1 1 0 1.5-1.1 1.8-2.5.3-1.5.3-2.9.8-4.3.5-1.3 1.1-2.5 1.1-4.1C18 5.5 16.6 4 14.7 4c-1.6 0-2.3.8-4.1.8S8.1 4 6.5 4z'/%3E%3Cpath d='M19.5 15.5v6M16.5 18.5h6'/%3E%3C/svg%3E");
	--i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-8-4.7-8-10.6A4.4 4.4 0 0 1 8.4 5.5c1.6 0 2.9.8 3.6 2 .7-1.2 2-2 3.6-2A4.4 4.4 0 0 1 20 9.9c0 5.9-8 10.6-8 10.6z'/%3E%3C/svg%3E");
	--i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.8l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z'/%3E%3C/svg%3E");
	--i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.4 2'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6.6-7-12a7 7 0 0 1 14 0c0 5.4-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E");
	--i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 2.8 4.5 5.6v6c0 4.7 3.2 8.2 7.5 9.6 4.3-1.4 7.5-4.9 7.5-9.6v-6z'/%3E%3Cpath d='m8.7 12 2.3 2.3 4.4-4.6'/%3E%3C/svg%3E");
}
.az-ic-general { --ic: var(--i-tooth); }
.az-ic-cleaning { --ic: var(--i-sparkle); }
.az-ic-whitening { --ic: var(--i-sun); }
.az-ic-veneers { --ic: var(--i-smile); }
.az-ic-extraction { --ic: var(--i-extract); }
.az-ic-wisdom { --ic: var(--i-wisdom); }
.az-ic-heart { --ic: var(--i-heart); }
.az-ic-star { --ic: var(--i-star); }
.az-ic-clock { --ic: var(--i-clock); }
.az-ic-pin { --ic: var(--i-pin); }
.az-ic-shield { --ic: var(--i-shield); }

/* ---------- Hero ---------- */
.az-hero {
	overflow: hidden;
	padding-top: clamp(48px, 7vw, 96px) !important;
	padding-bottom: clamp(56px, 8vw, 110px) !important;
	background:
		radial-gradient(900px 500px at 92% 10%, rgba(28, 127, 163, .12), transparent 60%),
		radial-gradient(700px 420px at 0% 100%, rgba(198, 146, 44, .12), transparent 60%),
		linear-gradient(180deg, #fbfaf6 0%, var(--cream) 100%);
}
[dir="rtl"] .az-hero {
	background:
		radial-gradient(900px 500px at 8% 10%, rgba(28, 127, 163, .12), transparent 60%),
		radial-gradient(700px 420px at 100% 100%, rgba(198, 146, 44, .12), transparent 60%),
		linear-gradient(180deg, #fbfaf6 0%, var(--cream) 100%);
}
.az-content .az-hero__cols { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.az-hero__title { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin-bottom: .45em; position: relative; z-index: 0; }
.az-hero__title em { font-style: normal; color: var(--gold-600); position: relative; white-space: nowrap; }
.az-hero__title em::after {
	content: ""; position: absolute; inset-inline: -2%; bottom: .02em; height: .32em; z-index: -1;
	background: linear-gradient(90deg, rgba(231, 201, 127, .55), rgba(231, 201, 127, .15));
	border-radius: 999px;
}
.az-hero .az-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.az-rating {
	display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0 !important;
	font-size: 15px; color: var(--muted);
}
.az-rating::before {
	content: "★★★★★"; letter-spacing: 2px; color: var(--gold); font-size: 16px;
}
.az-rating strong { color: var(--navy); font-size: 1.05em; }
.az-hero__visual { position: relative; display: grid; place-items: center; }
.az-hero__visual::before {
	content: ""; position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff 0%, #fff 45%, var(--teal-50) 100%);
	box-shadow: var(--shadow-lg), inset 0 0 0 10px rgba(255, 255, 255, .7);
}
.az-hero__visual::after {
	content: ""; position: absolute; width: min(560px, 112%); aspect-ratio: 2.3; border-radius: 50%;
	border: 2px solid rgba(198, 146, 44, .55); transform: rotate(-14deg);
	pointer-events: none;
}
.az-hero__art { position: relative; z-index: 1; margin: 0 !important; width: min(300px, 62%); animation: az-float 7s ease-in-out infinite; }
.az-hero__art img { display: block; width: 100%; filter: drop-shadow(0 18px 24px rgba(16, 41, 90, .18)); }
@keyframes az-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .az-hero__art { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Highlights ---------- */
.az-highlights { padding-top: 0 !important; margin-top: -36px; z-index: 2; }
.az-highlights .az-grid {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 30px; gap: 8px 28px !important;
}
.az-feature { position: relative; }
.az-feature h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.az-feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.az-feature::before, .az-card::before, .az-service-detail h2::before {
	content: ""; display: block; width: 48px; height: 48px; border-radius: 14px;
	background: var(--teal-50);
}
.az-feature::after, .az-card::after, .az-service-detail h2::after {
	content: ""; position: absolute; top: 12px; inset-inline-start: 12px; width: 24px; height: 24px;
	background: var(--teal);
	-webkit-mask: var(--ic, var(--i-tooth)) center / contain no-repeat; mask: var(--ic, var(--i-tooth)) center / contain no-repeat;
}
.az-tint .az-feature, .az-section:not(.az-highlights) .az-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.az-section:not(.az-highlights) .az-feature::after { top: 40px; inset-inline-start: 40px; }
.az-section:not(.az-highlights) .az-feature h3 { font-size: 1.2rem; }

/* ---------- Service cards ---------- */
.az-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 28px 26px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.az-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.az-card::before { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--teal-50), var(--gold-50)); }
.az-card::after { top: 46px; inset-inline-start: 44px; width: 26px; height: 26px; background: var(--navy); }
.az-card h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.az-card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.az-card .az-card__link { margin: auto 0 0; padding-top: 8px; }
.az-card .az-card__link a { font-size: 15px; }
.az-services .az-more { text-align: center; }

/* ---------- About teaser / stats ---------- */
.az-about { background: linear-gradient(180deg, #fff, var(--cream)); padding-top: calc(var(--section-y) * .5) !important; }
.az-checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.az-checklist li { position: relative; padding-inline-start: 36px; font-weight: 500; }
.az-checklist li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
	background: var(--gold-50); border: 1px solid var(--gold-300);
}
.az-checklist li::after {
	content: ""; position: absolute; inset-inline-start: 5px; top: calc(.2em + 5px); width: 14px; height: 14px;
	background: var(--gold-600); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.az-stats {
	position: relative; overflow: hidden;
	display: grid; gap: 0; padding: 14px 34px;
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
	color: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
}
.az-stats::after {
	content: ""; position: absolute; width: 420px; aspect-ratio: 2.4; border-radius: 50%;
	border: 2px solid rgba(231, 201, 127, .35); inset-inline-end: -170px; top: -60px; transform: rotate(-18deg);
}
.az-stat { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: baseline; gap: 18px; }
.az-stat:last-child { border-bottom: 0; }
.az-stat p { margin: 0; }
.az-stat__num { font: 700 2.7rem/1 var(--font-head); font-variant-numeric: lining-nums; color: var(--gold-300); min-width: 3.2ch; }
[dir="rtl"] .az-stat__num { font-family: "Playfair Display", Georgia, serif; direction: ltr; text-align: end; }
.az-stat__label { color: rgba(255, 255, 255, .85); font-weight: 500; }

/* ---------- Steps ---------- */
.az-process { padding-top: calc(var(--section-y) * .9) !important; }
.az-steps { counter-reset: step; }
.az-step { position: relative; padding: 4px 0 0; }
.az-step__num {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	font: 700 1.35rem/1 var(--font-head); color: var(--navy);
	background: #fff; border: 2px solid var(--gold); margin-bottom: 18px !important;
	position: relative; z-index: 1;
}
.az-step:not(:last-child)::before {
	content: ""; position: absolute; top: 31px; inset-inline-start: 72px; inset-inline-end: -8px;
	border-top: 2px dashed var(--gold-300);
}
.az-step h3 { margin-bottom: 6px; }
.az-step p:last-child { color: var(--muted); }

/* ---------- CTA band ---------- */
.az-cta {
	overflow: hidden; text-align: center; color: #fff;
	background:
		radial-gradient(600px 300px at 15% 0%, rgba(28, 127, 163, .45), transparent 70%),
		linear-gradient(140deg, var(--navy) 0%, var(--navy-900) 100%);
	padding-block: clamp(64px, 8vw, 96px) !important;
}
.az-cta::before, .az-cta::after {
	content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(231, 201, 127, .3); pointer-events: none;
}
.az-cta::before { width: 760px; aspect-ratio: 2.6; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); }
.az-cta::after { width: 14px; height: 14px; border: 0; background: var(--gold-300); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); right: 18%; top: 22%; width: 26px; height: 26px; }
.az-cta h2 { color: #fff; position: relative; }
.az-cta p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; position: relative; }
.az-cta .az-buttons { justify-content: center; position: relative; }

/* ---------- Location / contact ---------- */
.az-location { padding-top: var(--section-y) !important; }
.az-content .az-location .az-split, .az-content .az-split--contact { align-items: start; }
.az-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.az-contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.az-contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal); flex: none; }
.az-contact-list small { display: block; font-size: 12.5px; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
[dir="rtl"] .az-contact-list small { letter-spacing: 0; font-size: 14px; }
.az-contact-list a, .az-contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; }
.az-contact-list a:hover { color: var(--teal); }
[dir="rtl"] .az-contact-list a[dir="ltr"] { text-align: right; display: block; }
.az-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--teal-50); }
.az-map iframe { display: block; width: 100%; height: var(--map-h, 420px); border: 0; }
.az-map__link {
	position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px;
	background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
	text-decoration: none; box-shadow: var(--shadow);
}
.az-map__link .az-icon { color: var(--gold); }
.az-hours { list-style: none; margin: 0; padding: 0; }
.az-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(700px 360px at 85% -10%, rgba(28, 127, 163, .5), transparent 70%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
	padding: clamp(56px, 8vw, 96px) 0 clamp(52px, 7vw, 84px);
}
[dir="rtl"] .page-hero { background: radial-gradient(700px 360px at 15% -10%, rgba(28, 127, 163, .5), transparent 70%), linear-gradient(225deg, var(--navy) 0%, var(--navy-900) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { color: #fff; margin-bottom: .3em; }
.page-hero__lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 62ch; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: var(--gold-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero__orbit { position: absolute; width: 720px; inset-inline-end: -140px; top: 50%; transform: translateY(-50%); color: rgba(231, 201, 127, .35); }

/* ---------- Services page ---------- */
.az-service-list { display: grid; gap: 0; }
.az-service-detail { padding: 52px 0; border-bottom: 1px solid var(--line); }
.az-service-detail:first-child { padding-top: 0; }
.az-service-detail:last-child { border-bottom: 0; }
.az-service-detail h2 { position: relative; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.az-service-detail h2::before { margin-bottom: 18px; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--teal-50), var(--gold-50)); }
.az-service-detail h2::after { top: 15px; inset-inline-start: 15px; width: 26px; height: 26px; background: var(--navy); }
.az-service-detail p { color: var(--muted); font-size: 1.05rem; }
.az-content .az-service-detail .az-split { align-items: end; }
.az-service-detail__box { background: var(--cream); border-radius: var(--radius); padding: 28px 30px; }
.az-service-detail__box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); }
[dir="rtl"] .az-service-detail__box h3 { text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.az-service-detail__box .az-checklist { margin-top: 10px; }

/* FAQ */
.az-faqs .az-section-head { margin-bottom: 28px; }
.az-faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 12px !important; max-width: 860px; }
.az-faq summary {
	list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
	font-weight: 700; color: var(--navy);
}
[dir="rtl"] .az-faq summary { padding: 20px 24px 20px 56px; }
.az-faq summary::-webkit-details-marker { display: none; }
.az-faq summary::after {
	content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: var(--gold-50); color: var(--gold-600); font-size: 20px; line-height: 1; transition: transform .2s ease;
}
.az-faq[open] summary::after { content: "–"; }
.az-faq > p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- About page ---------- */
.az-mission {
	position: relative; padding: 40px 36px; border-radius: 24px; color: #fff;
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.az-mission::after {
	content: ""; position: absolute; width: 380px; aspect-ratio: 2.4; border-radius: 50%;
	border: 2px solid rgba(231, 201, 127, .35); inset-inline-end: -150px; bottom: -70px; transform: rotate(-18deg);
}
.az-mission h3 { color: var(--gold-300); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; }
[dir="rtl"] .az-mission h3 { text-transform: none; letter-spacing: 0; font-size: 1.15rem; }
.az-quote { font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.45 var(--font-head); margin: 0; }

/* ---------- Doctors ---------- */
.az-placeholder {
	padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius);
	color: var(--muted); background: var(--cream); max-width: 760px;
}
.az-doctor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0 0 24px; }
.az-doctor > * { padding-inline: 24px; }
.az-doctor .az-doctor__photo { padding: 0; margin: 0 0 20px; aspect-ratio: 4 / 4.4; background: var(--teal-50); }
.az-doctor .az-doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.az-doctor h3 { margin-bottom: 2px; }
.az-doctor__role { color: var(--gold-600); font-weight: 700; font-size: 14.5px; }
.az-doctor p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Contact page / form ---------- */
.az-contact__form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.az-contact__info .az-buttons { margin-top: 22px; }
.az-section--map { padding-top: 0 !important; }
.az-form { display: grid; gap: 16px; }
.az-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.az-field { display: grid; gap: 6px; }
.az-field > span { font-size: 14px; font-weight: 700; color: var(--navy); }
.az-field input, .az-field select, .az-field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px;
	font: inherit; font-size: 16px; color: var(--ink);
	background: #fbfaf7; border: 1.5px solid var(--line); border-radius: 12px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.az-field textarea { resize: vertical; min-height: 110px; }
.az-field input:focus, .az-field select:focus, .az-field textarea:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(28, 127, 163, .12); }
[dir="rtl"] .az-field input[dir="ltr"] { text-align: right; }
.az-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.az-form__note { margin: 0; font-size: 14px; color: var(--muted); }
.az-form__wa { margin: 0; font-size: 15px; }
.az-form__wa a { display: inline-flex; align-items: center; gap: 8px; color: #178a45; font-weight: 700; }
.az-hp { position: absolute !important; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.az-alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.az-alert--ok { background: #e9f7ef; color: #14643a; border: 1px solid #bfe5cf; }
.az-alert--err { background: #fdeeee; color: #8a1f1f; border: 1px solid #f3c7c7; }

/* ---------- 404 & posts ---------- */
.az-404 { text-align: center; padding: 120px 0; }
.az-404__code { font: 700 7rem/1 var(--font-head); color: var(--gold-300); margin: 0; }
.az-posts { padding-block: 64px; }
.az-post { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 40px; padding-block: 72px 56px; }
.site-footer .site-logo__img { height: 58px; }
.site-footer__brand p { margin: 20px 0; max-width: 34ch; }
.site-footer__title { font: 700 13px/1.4 var(--font-body); color: var(--gold-300); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
[dir="rtl"] .site-footer__title { letter-spacing: 0; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__menu, .site-footer .menu, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .az-icon { color: var(--gold-300); margin-top: 4px; }
.site-footer__hours { margin-bottom: 20px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.site-footer__social a:hover { background: rgba(255, 255, 255, .08); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.site-footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.site-footer__bottom p { margin: 0; }
.site-footer .az-btn--gold { color: var(--navy-900); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.topbar__item--addr { display: none; }
	.az-content .az-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	/* No blur on small screens: it would trap the fixed menu panel inside the header. */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.site-logo__img { height: 46px; }
	.nav-toggle {
		display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
		border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
	}
	.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
	.nav-toggle__bars span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
	.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.site-header__actions { margin-inline-start: auto; }
	.site-nav {
		position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
		background: #fff; padding: 20px var(--gutter) 120px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--gold-600); }
	.site-nav__mobile-extra { display: grid; gap: 18px; padding-top: 24px; }
	.site-nav__mobile-extra .lang-switch { color: var(--navy); font-size: 1.05rem; }
	.site-nav__mobile-extra .az-buttons { flex-direction: column; margin: 0; }
	.site-nav__mobile-extra .az-btn { width: 100%; }
	body.nav-open { overflow: hidden; }

	.az-content .az-hero__cols, .az-content .wp-block-columns.az-split { grid-template-columns: 1fr; }
	.az-hero__visual { order: -1; min-height: 260px; }
	.az-hero__art { width: min(200px, 50%); }
	.az-hero__visual::before { width: 260px; }
	.az-hero__visual::after { width: 340px; }
	.az-content .az-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.az-step:not(:last-child)::before { display: none; }
}

@media (max-width: 760px) {
	body { font-size: 16px; padding-bottom: 68px; }
	.topbar { font-size: 13px; }
	.topbar__inner { gap: 14px; }
	.topbar__inner > .topbar__item:first-child { display: none; }
	.topbar__end { margin-inline-start: 0; width: 100%; justify-content: space-between; }
	.site-header__book { display: none; }
	.az-content .az-grid--3, .az-content .az-grid--4 { grid-template-columns: 1fr; }
	.az-highlights .az-grid { padding: 22px; gap: 22px !important; }
	.az-highlights .az-feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
	.az-highlights .az-feature::before { grid-row: span 2; }
	.az-highlights .az-feature h3 { margin: 0 0 2px; }
	.az-buttons .az-btn { flex: 1 1 100%; }
	.az-form__row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 40px; }
	.site-footer__bottom .container { flex-direction: column; justify-content: center; padding-block: 18px; text-align: center; }
	.az-stats { padding: 6px 26px; }
	.az-stat__num { font-size: 2.2rem; }
	.page-hero__orbit { width: 460px; inset-inline-end: -220px; }

	.mobile-bar {
		position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1fr 1fr 1.25fr;
		background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -18px rgba(16, 41, 90, .4);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		min-height: 64px; color: var(--navy); font-size: 12.5px; font-weight: 700; text-decoration: none;
	}
	.mobile-bar a .az-icon { width: 22px; height: 22px; color: var(--teal); }
	.mobile-bar a + a { border-inline-start: 1px solid var(--line); }
	.mobile-bar .mobile-bar__book { background: var(--navy); color: #fff; }
	.mobile-bar .mobile-bar__book .az-icon { color: var(--gold-300); }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Entrance animation (added by site.js) */
.az-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.az-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .az-reveal { opacity: 1; transform: none; transition: none; } }

/* Lining numerals everywhere (Playfair defaults to old-style). */
h1, h2, h3, h4, .az-step__num, .az-stat__num, .az-404__code { font-variant-numeric: lining-nums; }
.az-contact__form h2, .az-contact__info h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.az-doctors .az-placeholder { margin-inline: auto; }
.site-nav__mobile-extra .az-buttons .az-btn { flex: none; width: 100%; }
