/* ==========================================================================
   Medical Clinic demo — مركز سكينة الطبي
   Calm blue, sky and a coral accent on warm white; Instrument Serif + Figtree
   (English), Noto Naskh + Cairo (Arabic, 400–600 only). A short intro, then a hero slider.
   Every rule is under .mc-body and every class starts with mc-.
   Layout answers to the demo's width through container queries on
   .mc-root (container "demo"), so every width,
   a real phone included, looks right.

   1. Fonts   2. Tokens & base   3. Buttons   4. Top bar & header
   5. Hero   6. Sections   7. Services   8. Doctors   9. About
   10. Booking   11. Reviews   12. Contact   13. Footer   14. Modal
   15. Reveal   16. Narrower widths
   ========================================================================== */

/* 1. Fonts (SIL Open Font License): Instrument Serif + Figtree in English,
   Noto Naskh Arabic + Cairo in Arabic (400–600 only). One file per script; unicode-range keeps each page
   to the files its language needs. */
@font-face {
	font-family: "MC Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "MC Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-400-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "MC Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/figtree-400-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arabic is only ever set at 400–600 (no heavier weight is declared). */
@font-face {
	font-family: "MC Naskh";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/naskh-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "MC Cairo";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/cairo-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* 2. Tokens & base -------------------------------------------------------- */
.mc-body {
	/* Calm blue with a warm coral accent. The names stay from the first
	   version ("teal", "mint") so every rule keeps its role. */
	--mc-teal: #1d4e89;
	--mc-teal-2: #2f6fb5;
	--mc-teal-deep: #0e2440;
	--mc-mint: #d6e7f8;
	--mc-mint-soft: #edf4fc;
	--mc-sky: #9ccaf2;
	--mc-coral: #ef8a6f;
	--mc-sand: #f8f7f4;
	--mc-ink: #10213a;
	--mc-muted: #586a80;
	--mc-line: #e0e7f0;
	--mc-amber: #f5a524;
	--mc-danger: #be123c;
	--mc-white: #ffffff;
	--mc-r-sm: 12px;
	--mc-r: 22px;
	--mc-r-lg: 34px;
	--mc-shadow: 0 24px 50px -28px rgb(14 36 64 / 0.42);
	--mc-shadow-soft: 0 8px 24px -18px rgb(14 36 64 / 0.4);
	--mc-ease: cubic-bezier(0.22, 0.8, 0.3, 1);
	--mc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--mc-serif: "MC Serif", Georgia, serif;
	--mc-sans: "MC Sans", "Segoe UI", Arial, sans-serif;
	--mc-serif-weight: 400;
	--mc-enter: 1.5s; /* When the hero starts moving: just after the intro. */

	margin: 0;
	font-family: var(--mc-sans);
	font-size: 16px;
	line-height: 1.75;
	color: var(--mc-ink);
	background: var(--mc-sand);
	-webkit-font-smoothing: antialiased;
}

[lang="ar"] .mc-body {
	--mc-serif: "MC Naskh", "MC Cairo", Tahoma, serif;
	--mc-sans: "MC Cairo", "MC Sans", Tahoma, sans-serif;
	--mc-serif-weight: 600;

	line-height: 1.85;
	font-synthesis: none; /* Never a faked weight above the font's 600. */
}

/* Arabic weights stay between 400 and 600: whatever is bold elsewhere is 600 here. */
[lang="ar"] .mc-body :is(b, strong, h1, h2, h3, h4, legend, th, dd),
[lang="ar"] .mc-body :is(.mc-kicker, .mc-avatar, .mc-btn, .mc-logo__text b) {
	font-weight: 600;
}

[lang="ar"] .mc-body * {
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Later slides keep their timing from the moment they become active. */
.mc-slide:not(:first-child) {
	--mc-enter: 0s;
}

.mc-hero.is-started {
	--mc-enter: 0s;
}

:where(.mc-body) *,
:where(.mc-body) *::before,
:where(.mc-body) *::after {
	box-sizing: border-box;
}

:where(.mc-body) h1,
:where(.mc-body) h2,
:where(.mc-body) h3,
:where(.mc-body) h4,
:where(.mc-body) p,
:where(.mc-body) ul,
:where(.mc-body) dl,
:where(.mc-body) dd,
:where(.mc-body) figure,
:where(.mc-body) blockquote {
	margin: 0;
	padding: 0;
}

:where(.mc-body) ul {
	list-style: none;
}

:where(.mc-body) a {
	color: inherit;
	text-decoration: none;
}

:where(.mc-body) img,
:where(.mc-body) svg {
	display: block;
	max-width: 100%;
}

:where(.mc-body) button,
:where(.mc-body) input,
:where(.mc-body) select,
:where(.mc-body) textarea {
	font: inherit;
	color: inherit;
}

.mc-body :focus-visible {
	outline: 3px solid var(--mc-teal-2);
	outline-offset: 3px;
	border-radius: 8px;
}

.mc-body [id] {
	scroll-margin-top: 92px;
}

.mc-wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4cqi, 32px);
}

.mc-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* 3. Buttons ----------------------------------------------------------------- */
.mc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	border: 1.5px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--mc-ease), box-shadow 0.2s;
}

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

.mc-btn:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	transform: none;
}

.mc-btn--primary {
	position: relative;
	overflow: hidden;
	color: var(--mc-white);
	background: linear-gradient(135deg, var(--mc-teal-2), var(--mc-teal));
	box-shadow: 0 10px 22px -12px rgb(29 78 137 / 0.75);
}

.mc-btn--primary:hover {
	box-shadow: 0 16px 30px -14px rgb(29 78 137 / 0.85);
}

/* A light sheen crosses the main button on hover. */
.mc-btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s var(--mc-ease);
}

.mc-btn--primary:hover::after {
	transform: translateX(120%);
}

.mc-btn .mc-icon {
	transition: translate 0.3s var(--mc-ease);
}

.mc-btn:hover .mc-icon {
	translate: 3px 0;
}

[dir="rtl"] .mc-btn .mc-icon {
	scale: -1 1;
}

[dir="rtl"] .mc-btn:hover .mc-icon {
	translate: -3px 0;
}

/* On the slider's photos. */
.mc-btn--glass {
	color: var(--mc-white);
	background: rgb(255 255 255 / 0.1);
	border-color: rgb(255 255 255 / 0.4);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.mc-btn--glass:hover {
	color: var(--mc-teal-deep);
	background: var(--mc-white);
}

.mc-btn--ghost {
	color: var(--mc-teal);
	background: transparent;
	border-color: color-mix(in srgb, var(--mc-teal) 35%, transparent);
}

.mc-btn--ghost:hover {
	background: var(--mc-mint-soft);
}

.mc-btn--soft {
	color: var(--mc-teal);
	background: var(--mc-mint-soft);
}

.mc-btn--soft:hover {
	color: var(--mc-white);
	background: var(--mc-teal);
}

.mc-btn--lg {
	min-height: 56px;
	padding: 0 28px;
	font-size: 1.05rem;
}

.mc-btn--block {
	width: 100%;
}

/* 4. Top bar & header ---------------------------------------------------------- */
.mc-topbar {
	font-size: 0.85rem;
	color: var(--mc-mint);
	background: var(--mc-teal-deep);
}

.mc-topbar__in {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	align-items: center;
}

.mc-topbar p {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(248 247 244 / 0.86);
	border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.mc-header.is-scrolled {
	border-color: var(--mc-line);
	box-shadow: var(--mc-shadow-soft);
}

.mc-header__in {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.mc-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.mc-logo__mark {
	width: 42px;
	height: 42px;
}

.mc-logo__text {
	display: grid;
	line-height: 1.1;
}

.mc-logo__text b {
	font-family: var(--mc-serif);
	font-size: 1.6rem;
	font-weight: var(--mc-serif-weight);
	color: var(--mc-teal);
}

.mc-logo__text small {
	font-size: 0.78rem;
	color: var(--mc-muted);
}

.mc-nav {
	display: flex;
	gap: 26px;
	margin-inline-start: auto;
	font-weight: 500;
	color: var(--mc-muted);
}

.mc-nav a {
	position: relative;
	padding-block: 6px;
	transition: color 0.2s;
}

.mc-nav a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: var(--mc-teal);
	border-radius: 2px;
	transform: scaleX(0);
	transition: transform 0.25s var(--mc-ease);
}

.mc-nav a:hover {
	color: var(--mc-teal);
}

.mc-nav a:hover::after {
	transform: scaleX(1);
}

/* The other language of the demo. */
.mc-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--mc-teal);
	border: 1px solid var(--mc-line);
	border-radius: 999px;
	transition: background-color 0.2s;
}

.mc-lang:hover {
	background: var(--mc-mint-soft);
}

.mc-lang .mc-icon {
	width: 18px;
	height: 18px;
}

.mc-burger {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: var(--mc-teal);
	background: var(--mc-white);
	border: 1px solid var(--mc-line);
	border-radius: 14px;
	cursor: pointer;
}

.mc-burger .mc-icon:last-child,
.mc-burger[aria-expanded="true"] .mc-icon:first-child {
	display: none;
}

.mc-burger[aria-expanded="true"] .mc-icon:last-child {
	display: block;
}

/* 5. Intro, progress line, hero slider, strip -------------------------------- */

/* The intro plays once per page load: the mark breathes, the pulse line draws,
   then the panel slides up. Pure CSS, so it ends even if the script never runs. */
.mc-intro {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	color: var(--mc-white);
	background:
		radial-gradient(60% 60% at 50% 40%, rgb(47 111 181 / 0.55), transparent 70%),
		var(--mc-teal-deep);
	pointer-events: none;
	animation: mc-intro-out 0.75s var(--mc-ease-out) 1.25s both;
}

.mc-intro__in {
	display: grid;
	justify-items: center;
	gap: 14px;
	animation: mc-intro-in 0.6s var(--mc-ease-out) both;
}

.mc-intro .mc-logo__mark {
	width: 64px;
	height: 64px;
	animation: mc-breathe 1.2s ease-in-out infinite;
}

.mc-intro b {
	font-family: var(--mc-serif);
	font-size: 2rem;
	font-weight: var(--mc-serif-weight);
	letter-spacing: 0.02em;
}

.mc-intro__pulse {
	width: 180px;
	height: 30px;
	fill: none;
	stroke: var(--mc-coral);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 320;
	stroke-dashoffset: 320;
	animation: mc-draw 1.1s ease-out 0.15s forwards;
}

@keyframes mc-intro-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.96);
	}
}

@keyframes mc-intro-out {
	to {
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
	}
}

@keyframes mc-breathe {
	50% {
		transform: scale(1.08);
	}
}

@keyframes mc-draw {
	to {
		stroke-dashoffset: 0;
	}
}

/* Reading progress, where the browser can tie an animation to scrolling. */
.mc-progress {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	height: 3px;
	background: linear-gradient(90deg, var(--mc-teal-2), var(--mc-coral));
	transform: scaleX(0);
	transform-origin: 0 50%;
}

[dir="rtl"] .mc-progress {
	transform-origin: 100% 50%;
}

@supports (animation-timeline: scroll()) {
	.mc-progress {
		animation: mc-progress linear both;
		animation-timeline: scroll(root);
	}
}

@keyframes mc-progress {
	to {
		transform: scaleX(1);
	}
}

/* The header slides in as the intro leaves. */
.mc-header {
	animation: mc-drop 0.7s var(--mc-ease-out) 1.45s both;
}

@keyframes mc-drop {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
}

/* Hero slider: full-bleed photos that cross-fade with a slow zoom, text on the
   start side over a soft shade. Without JavaScript only the first slide shows. */
.mc-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(560px, 62cqi, 760px);
	overflow: hidden;
	color: var(--mc-white);
	background: var(--mc-teal-deep);
}

.mc-slides {
	position: absolute;
	inset: 0;
}

.mc-slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--mc-ease), visibility 1s;
}

.mc-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
}

.mc-slide__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.mc-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(14 36 64 / 0.92) 0%, rgb(14 36 64 / 0.72) 38%, rgb(14 36 64 / 0.15) 72%, transparent),
		linear-gradient(0deg, rgb(14 36 64 / 0.55), transparent 40%);
}

[dir="rtl"] .mc-slide__media::after {
	background:
		linear-gradient(270deg, rgb(14 36 64 / 0.92) 0%, rgb(14 36 64 / 0.72) 38%, rgb(14 36 64 / 0.15) 72%, transparent),
		linear-gradient(0deg, rgb(14 36 64 / 0.55), transparent 40%);
}

.mc-slide__media .mc-photo {
	transform: scale(1.14);
	transition: transform 7s linear;
}

.mc-slide.is-active .mc-slide__media .mc-photo {
	transform: scale(1.02);
}

.mc-slide__in {
	padding-block: 90px 150px;
}

.mc-slide__text {
	display: grid;
	justify-items: start;
	max-width: 620px;
}

.mc-hero .mc-kicker {
	color: var(--mc-white);
	background: rgb(255 255 255 / 0.12);
	border-color: rgb(255 255 255 / 0.22);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.mc-slide__title {
	margin-top: 22px;
	font-family: var(--mc-serif);
	font-size: clamp(2.6rem, 1.3rem + 4.4cqi, 4.9rem);
	font-weight: var(--mc-serif-weight);
	line-height: 1.04;
	letter-spacing: -0.01em;
	color: var(--mc-white);
}

[lang="ar"] .mc-slide__title {
	font-size: clamp(2.3rem, 1.2rem + 3.8cqi, 4.2rem);
	line-height: 1.45;
}

/* Each headline line rises out of its own mask. */
.mc-line {
	display: block;
	overflow: hidden;
	padding-block: 0.04em 0.1em;
}

.mc-line > * {
	display: inline-block;
}

.mc-slide__title em {
	font-style: italic;
	color: var(--mc-sky);
}

[lang="ar"] .mc-slide__title em {
	font-style: normal;
}

.mc-hero .mc-lead {
	max-width: 32em;
	margin-top: 20px;
	color: rgb(232 242 252 / 0.86);
}

.mc-hero .mc-actions {
	margin-top: 32px;
}

/* Text of the active slide comes in step by step. */
.mc-slide.is-active .mc-kicker,
.mc-slide.is-active .mc-lead,
.mc-slide.is-active .mc-actions {
	animation: mc-rise 0.9s var(--mc-ease-out) both;
}

.mc-slide.is-active .mc-line > * {
	animation: mc-line 1s var(--mc-ease-out) both;
}

.mc-slide.is-active .mc-kicker {
	animation-delay: calc(var(--mc-enter) + 0.05s);
}

.mc-slide.is-active .mc-line:nth-child(1) > * {
	animation-delay: calc(var(--mc-enter) + 0.15s);
}

.mc-slide.is-active .mc-line:nth-child(2) > * {
	animation-delay: calc(var(--mc-enter) + 0.28s);
}

.mc-slide.is-active .mc-lead {
	animation-delay: calc(var(--mc-enter) + 0.45s);
}

.mc-slide.is-active .mc-actions {
	animation-delay: calc(var(--mc-enter) + 0.58s);
}

@keyframes mc-line {
	from {
		transform: translateY(110%) rotate(2deg);
	}
}

@keyframes mc-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
}

/* Controls: numbered tabs with a filling bar, and round arrows. */
.mc-slider__ui {
	position: absolute;
	inset-inline: 0;
	bottom: 92px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	animation: mc-rise 0.9s var(--mc-ease-out) calc(var(--mc-enter) + 0.7s) both;
}

.mc-slider__dots {
	display: flex;
	gap: 18px;
}

.mc-slider__dots button {
	display: grid;
	gap: 8px;
	width: 92px;
	padding: 6px 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: rgb(255 255 255 / 0.6);
	text-align: start;
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.3s;
}

.mc-slider__dots button[aria-selected="true"],
.mc-slider__dots button:hover {
	color: var(--mc-white);
}

.mc-slider__dots i {
	position: relative;
	display: block;
	height: 3px;
	overflow: hidden;
	background: rgb(255 255 255 / 0.25);
	border-radius: 3px;
}

.mc-slider__dots i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--mc-coral);
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: 0 50%;
}

[dir="rtl"] .mc-slider__dots i::after {
	transform-origin: 100% 50%;
}

.mc-slider__dots button[aria-selected="true"] i::after {
	transform: scaleX(1);
}

/* While the slider plays, the active bar fills over the slide's time. */
.mc-hero.is-playing .mc-slider__dots button[aria-selected="true"] i::after {
	animation: mc-fill var(--mc-slide-time, 6.5s) linear both;
}

.mc-hero.is-paused .mc-slider__dots button[aria-selected="true"] i::after {
	animation-play-state: paused;
}

@keyframes mc-fill {
	from {
		transform: scaleX(0);
	}
}

.mc-slider__arrows {
	display: flex;
	gap: 10px;
}

.mc-slider__arrow {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	color: var(--mc-white);
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.3);
	border-radius: 50%;
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color 0.25s, color 0.25s, transform 0.25s var(--mc-ease);
}

.mc-slider__arrow:hover {
	color: var(--mc-teal-deep);
	background: var(--mc-white);
	transform: scale(1.06);
}

[dir="rtl"] .mc-slider__arrow .mc-icon {
	scale: -1 1;
}

/* No script, no controls: the first slide stands alone. */
.mc-body:not(.mc-ready) .mc-slider__ui {
	display: none;
}

/* Strip under the slider: next slot, figures, rating. It overlaps the photo. */
.mc-strip {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px 36px;
	margin-top: -64px;
	padding: 22px 28px;
	background: var(--mc-white);
	border-radius: var(--mc-r-lg);
	box-shadow: var(--mc-shadow);
	animation: mc-rise 0.9s var(--mc-ease-out) calc(var(--mc-enter) + 0.8s) both;
}

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

.mc-strip__card small {
	display: block;
	font-size: 0.8rem;
	color: var(--mc-muted);
}

.mc-strip__card b {
	display: block;
	color: var(--mc-teal-deep);
}

.mc-strip__card--rating {
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.mc-strip .mc-stats {
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
}

.mc-float__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: var(--mc-white);
	background: linear-gradient(135deg, var(--mc-teal-2), var(--mc-teal));
	border-radius: 14px;
}

.mc-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 44px;
}

.mc-stats div {
	display: flex;
	flex-direction: column-reverse;
	text-align: center;
}

.mc-stats dt {
	font-size: 0.85rem;
	color: var(--mc-muted);
}

.mc-stats dd {
	font-family: var(--mc-serif);
	font-size: 2.2rem;
	font-weight: var(--mc-serif-weight);
	line-height: 1.1;
	color: var(--mc-teal);
}

.mc-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--mc-amber);
}

.mc-stars .mc-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: none;
}

.mc-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mc-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--mc-white);
	border-radius: 18px;
	box-shadow: var(--mc-shadow);
}

.mc-float small {
	display: block;
	font-size: 0.78rem;
	color: var(--mc-muted);
}

.mc-float b {
	display: block;
	font-size: 1rem;
	color: var(--mc-teal-deep);
}

/* Section kicker: a short line, then the words. */
.mc-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mc-teal);
	background: var(--mc-mint-soft);
	border: 1px solid color-mix(in srgb, var(--mc-teal) 14%, transparent);
	border-radius: 999px;
}

[lang="ar"] .mc-kicker {
	font-size: 0.92rem;
}

.mc-kicker .mc-icon {
	width: 16px;
	height: 16px;
}

.mc-lead {
	max-width: 34em;
	font-size: 1.12rem;
	color: var(--mc-muted);
}

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

/* 6. Sections ------------------------------------------------------------------ */
.mc-section {
	padding-block: clamp(64px, 9cqi, 120px);
}

.mc-section--tint {
	background: var(--mc-white);
}

.mc-head {
	display: grid;
	justify-items: center;
	gap: 12px;
	max-width: 640px;
	margin: 0 auto clamp(36px, 5cqi, 56px);
	text-align: center;
}

.mc-head h2,
.mc-about h2,
.mc-contact h2 {
	font-family: var(--mc-serif);
	font-size: clamp(2.1rem, 1.3rem + 2.6cqi, 3.3rem);
	font-weight: var(--mc-serif-weight);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--mc-teal-deep);
}

[lang="ar"] .mc-body :is(.mc-head h2, .mc-about h2, .mc-contact h2) {
	font-size: clamp(1.9rem, 1.2rem + 2.2cqi, 2.8rem);
	line-height: 1.55;
}

.mc-head > p:last-child {
	color: var(--mc-muted);
}

/* 7. Services ------------------------------------------------------------------ */
.mc-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mc-service {
	position: relative;
	overflow: hidden;
	padding: 30px 28px;
	background: var(--mc-white);
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-r);
	transition: transform 0.3s var(--mc-ease), box-shadow 0.3s, border-color 0.3s;
}

.mc-service:hover {
	border-color: color-mix(in srgb, var(--mc-teal) 30%, var(--mc-line));
	box-shadow: var(--mc-shadow);
	transform: translateY(-6px);
}

/* A blue-to-coral line sweeps across the top of a hovered card. */
.mc-service::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--mc-teal-2), var(--mc-coral));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.5s var(--mc-ease-out);
}

[dir="rtl"] .mc-service::before {
	transform-origin: 100% 50%;
}

.mc-service:hover::before {
	transform: scaleX(1);
}

.mc-service__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	color: var(--mc-teal);
	background: var(--mc-mint-soft);
	border-radius: 18px;
	transition: background-color 0.3s, color 0.3s;
}

.mc-service:hover .mc-service__icon {
	color: var(--mc-white);
	background: var(--mc-teal);
}

.mc-service__icon .mc-icon {
	width: 28px;
	height: 28px;
}

.mc-service h3 {
	font-size: 1.2rem;
	font-weight: 700;
}

.mc-service p {
	margin-top: 6px;
	color: var(--mc-muted);
}

/* 8. Doctors -------------------------------------------------------------------- */
.mc-doctors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.mc-doctor {
	overflow: hidden;
	background: var(--mc-sand);
	border-radius: var(--mc-r-lg);
	transition: transform 0.3s var(--mc-ease), box-shadow 0.3s;
}

.mc-doctor:hover {
	box-shadow: var(--mc-shadow);
	transform: translateY(-4px);
}

.mc-doctor__pic {
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
}

.mc-doctor__pic .mc-photo {
	transition: transform 0.6s var(--mc-ease);
}

.mc-doctor:hover .mc-photo {
	transform: scale(1.04);
}

.mc-doctor__body {
	display: grid;
	gap: 4px;
	padding: 22px 24px 26px;
}

.mc-doctor h3 {
	font-size: 1.2rem;
	font-weight: 700;
}

.mc-doctor__spec {
	font-weight: 500;
	color: var(--mc-teal);
}

.mc-doctor__meta {
	display: flex;
	gap: 16px;
	margin-bottom: 14px;
	font-size: 0.9rem;
	color: var(--mc-muted);
}

.mc-doctor__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.mc-doctor__meta .mc-icon {
	width: 16px;
	height: 16px;
	color: var(--mc-amber);
	fill: currentColor;
	stroke: none;
}

/* 9. About ---------------------------------------------------------------------- */
.mc-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, 6cqi, 80px);
}

.mc-about__art {
	position: relative;
}

.mc-about__art img {
	width: 100%;
	height: auto;
	border-radius: var(--mc-r-lg);
}

.mc-float--years {
	bottom: -18px;
	inset-inline-start: 24px;
	flex-direction: column;
	gap: 0;
	padding: 16px 22px;
	text-align: center;
	color: var(--mc-white);
	background: var(--mc-teal);
}

.mc-float--years b {
	font-size: 2rem;
	color: var(--mc-white);
}

.mc-float--years span {
	font-size: 0.85rem;
}

.mc-about__text {
	display: grid;
	justify-items: start;
	gap: 16px;
}

.mc-about__text > p:not(.mc-kicker) {
	color: var(--mc-muted);
}

.mc-checks {
	display: grid;
	gap: 10px;
}

.mc-checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.mc-checks .mc-icon {
	width: 26px;
	height: 26px;
	padding: 5px;
	color: var(--mc-white);
	background: var(--mc-teal-2);
	border-radius: 50%;
	stroke-width: 3;
}

/* 10. Booking --------------------------------------------------------------- */
.mc-section--booking {
	position: relative;
	color: var(--mc-white);
	background:
		radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.07) 1px, transparent 0) 0 0 / 22px 22px,
		radial-gradient(50% 60% at 100% 0%, rgb(47 111 181 / 0.45), transparent 70%),
		var(--mc-teal-deep);
}

.mc-head--light h2 {
	color: var(--mc-white);
}

.mc-head--light > p:last-child {
	color: rgb(214 231 248 / 0.8);
}

.mc-head--light .mc-kicker {
	color: var(--mc-mint);
	background: rgb(255 255 255 / 0.08);
	border-color: rgb(255 255 255 / 0.15);
}

.mc-booking {
	display: grid;
	grid-template-columns: 1fr 340px;
	align-items: start;
	gap: 24px;
	color: var(--mc-ink);
}

.mc-booking__steps {
	display: grid;
	gap: 16px;
}

.mc-step {
	min-width: 0;
	margin: 0;
	padding: 22px 24px 24px;
	background: var(--mc-white);
	border: 0;
	border-radius: var(--mc-r);
}

.mc-step legend {
	display: flex;
	align-items: center;
	gap: 10px;
	float: inline-start;
	width: 100%;
	margin-bottom: 16px;
	padding: 0;
	font-size: 1.1rem;
	font-weight: 700;
}

/* Every sibling clears the floated legend: the first one may be hidden (e.g. a plugin's morning/evening tabs),
   and the next block would otherwise be squeezed to zero width beside the legend. */
.mc-step legend ~ * {
	clear: both;
}

.mc-step__n {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	font-size: 0.95rem;
	color: var(--mc-white);
	background: var(--mc-teal);
	border-radius: 50%;
}

.mc-note {
	font-size: 0.9rem;
	color: var(--mc-muted);
}

/* Doctor picks: radio cards. */
.mc-picks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.mc-pick {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1.5px solid var(--mc-line);
	border-radius: 16px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.mc-pick input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mc-pick:hover {
	border-color: color-mix(in srgb, var(--mc-teal) 40%, var(--mc-line));
}

.mc-pick:has(input:checked) {
	background: var(--mc-mint-soft);
	border-color: var(--mc-teal);
}

.mc-pick:has(input:focus-visible) {
	outline: 3px solid var(--mc-teal-2);
	outline-offset: 2px;
}

.mc-pick__pic {
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 50%;
}

.mc-pick__text {
	display: grid;
	min-width: 0;
	line-height: 1.4;
}

.mc-pick__text b {
	overflow: hidden;
	font-size: 0.92rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mc-pick__text small {
	overflow: hidden;
	font-size: 0.8rem;
	color: var(--mc-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Days: a row that scrolls sideways. */
.mc-days {
	display: flex;
	gap: 10px;
	padding-bottom: 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.mc-day {
	display: grid;
	flex: none;
	justify-items: center;
	gap: 2px;
	width: 74px;
	padding: 10px 0;
	line-height: 1.3;
	background: var(--mc-sand);
	border: 1.5px solid transparent;
	border-radius: 16px;
	cursor: pointer;
	scroll-snap-align: start;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.mc-day small {
	font-size: 0.78rem;
	color: var(--mc-muted);
}

.mc-day b {
	font-size: 1.3rem;
}

.mc-day:hover:not(:disabled) {
	border-color: var(--mc-teal);
}

.mc-day[aria-pressed="true"] {
	color: var(--mc-white);
	background: var(--mc-teal);
}

.mc-day[aria-pressed="true"] small {
	color: var(--mc-mint);
}

.mc-day:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

/* Time slots. */
.mc-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 8px;
}

.mc-slots .mc-note {
	grid-column: 1 / -1;
}

.mc-slot {
	min-height: 44px;
	font-weight: 500;
	background: var(--mc-white);
	border: 1.5px solid var(--mc-line);
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.mc-slot:hover:not(:disabled) {
	border-color: var(--mc-teal);
}

.mc-slot[aria-pressed="true"] {
	color: var(--mc-white);
	background: var(--mc-teal);
	border-color: var(--mc-teal);
}

.mc-slot:disabled {
	color: #a3aebd;
	text-decoration: line-through;
	background: #f3f5f8;
	cursor: not-allowed;
}

/* Fields. */
.mc-fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.mc-field {
	display: grid;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 500;
}

.mc-field input,
.mc-field select,
.mc-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font-weight: 400;
	background: var(--mc-sand);
	border: 1.5px solid var(--mc-line);
	border-radius: 12px;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.mc-field textarea {
	resize: vertical;
}

.mc-field input:focus,
.mc-field select:focus,
.mc-field textarea:focus {
	background: var(--mc-white);
	border-color: var(--mc-teal);
	outline: none;
	box-shadow: 0 0 0 4px rgb(47 111 181 / 0.18);
}

.mc-field input[aria-invalid="true"],
.mc-field textarea[aria-invalid="true"] {
	border-color: var(--mc-danger);
}

.mc-field input::placeholder,
.mc-field textarea::placeholder {
	color: #8a99ab;
}

/* Summary: stays in view while the steps scroll. */
.mc-summary {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 16px;
	padding: 26px;
	background: var(--mc-white);
	border-radius: var(--mc-r);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.5);
}

.mc-summary h3 {
	font-size: 1.15rem;
	font-weight: 700;
}

.mc-summary dl {
	display: grid;
	gap: 10px;
}

.mc-summary dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--mc-line);
}

.mc-summary dt {
	color: var(--mc-muted);
}

.mc-summary dd {
	font-weight: 600;
	text-align: end;
}

.mc-summary__error {
	padding: 10px 14px;
	font-size: 0.9rem;
	color: var(--mc-danger);
	background: #fff1f2;
	border-radius: 12px;
}

.mc-summary__note {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: var(--mc-muted);
}

/* 11. Reviews ----------------------------------------------------------------- */
.mc-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mc-review {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 28px;
	background: var(--mc-white);
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-r);
}

.mc-review blockquote {
	font-size: 1.02rem;
	line-height: 1.9;
}

.mc-review__who {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	align-items: center;
	margin-top: auto;
}

.mc-review__who small {
	grid-column: 2;
	color: var(--mc-muted);
}

.mc-avatar {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 46px;
	height: 46px;
	font-weight: 700;
	color: var(--mc-white);
	background: var(--mc-c, var(--mc-teal));
	border-radius: 50%;
}

/* 12. Contact -------------------------------------------------------------- */
.mc-contact {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: start;
	gap: clamp(28px, 5cqi, 64px);
}

.mc-contact__info {
	display: grid;
	justify-items: start;
	gap: 18px;
}

.mc-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	width: 100%;
}

.mc-details li {
	display: flex;
	gap: 12px;
	padding: 16px;
	background: var(--mc-sand);
	border-radius: 16px;
}

.mc-details .mc-icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	color: var(--mc-teal);
	background: var(--mc-white);
	border-radius: 12px;
}

.mc-details span {
	font-size: 0.92rem;
	color: var(--mc-muted);
}

.mc-details b {
	display: block;
	color: var(--mc-ink);
}

.mc-map {
	width: 100%;
	height: auto;
	border-radius: var(--mc-r);
}

.mc-card {
	padding: 28px;
	background: var(--mc-sand);
	border-radius: var(--mc-r);
}

.mc-contact__form {
	display: grid;
	gap: 14px;
}

.mc-contact__form h3 {
	font-size: 1.25rem;
	font-weight: 700;
}

.mc-contact__form .mc-field input,
.mc-contact__form .mc-field textarea {
	background: var(--mc-white);
}

/* 13. Footer ------------------------------------------------------------------ */
.mc-footer {
	color: rgb(214 231 248 / 0.75);
	background: var(--mc-teal-deep);
}

.mc-footer__in {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 32px;
	padding-block: 64px 40px;
}

.mc-footer__brand {
	display: grid;
	align-content: start;
	gap: 16px;
}

.mc-logo--light .mc-logo__text b {
	color: var(--mc-white);
}

.mc-logo--light .mc-logo__text small {
	color: rgb(214 231 248 / 0.7);
}

.mc-footer h4 {
	margin-bottom: 12px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--mc-white);
}

.mc-footer nav a,
.mc-footer__in > div:not(.mc-footer__brand) p {
	display: block;
	padding-block: 3px;
}

.mc-footer nav a:hover {
	color: var(--mc-white);
}

.mc-footer__bar {
	padding-block: 20px;
	font-size: 0.85rem;
	border-top: 1px solid rgb(255 255 255 / 0.1);
}

/* 14. Modal: position:fixed, so in the bar's preview it stays in the frame. */
.mc-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(14 36 64 / 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: mc-fade 0.25s ease;
}

.mc-modal[hidden] {
	display: none;
}

.mc-modal__box {
	display: grid;
	justify-items: center;
	gap: 14px;
	width: min(100%, 420px);
	padding: 32px 28px 28px;
	text-align: center;
	background: var(--mc-white);
	border-radius: var(--mc-r-lg);
	box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.5);
	animation: mc-pop 0.35s var(--mc-ease);
}

.mc-modal__box:focus {
	outline: none;
}

.mc-modal__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: var(--mc-white);
	background: var(--mc-teal-2);
	border-radius: 50%;
}

.mc-modal__icon .mc-icon {
	width: 32px;
	height: 32px;
	stroke-width: 3;
}

.mc-modal h3 {
	font-size: 1.35rem;
	font-weight: 700;
}

.mc-modal dl {
	display: grid;
	gap: 6px;
	width: 100%;
	padding: 14px 16px;
	text-align: start;
	background: var(--mc-sand);
	border-radius: 14px;
}

.mc-modal dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.mc-modal dt {
	color: var(--mc-muted);
}

.mc-modal dd {
	font-weight: 600;
}

.mc-modal__demo {
	padding: 8px 12px;
	font-size: 0.85rem;
	color: #92400e;
	background: #fef3c7;
	border-radius: 10px;
}

@keyframes mc-fade {
	from {
		opacity: 0;
	}
}

@keyframes mc-pop {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
}

/* 15. Reveal: only once demo.js runs (it adds .mc-ready), so no-JS shows all.
   Lists stagger through --mc-i (set by the script); a figure unmasks instead. */
.mc-ready [data-mc-reveal] {
	transition: opacity 0.9s var(--mc-ease-out), transform 0.9s var(--mc-ease-out), clip-path 1.1s var(--mc-ease-out);
	transition-delay: calc(var(--mc-i, 0) * 90ms);
}

.mc-ready [data-mc-reveal]:not(.is-in) {
	opacity: 0;
	transform: translateY(34px);
}

.mc-ready figure[data-mc-reveal]:not(.is-in) {
	opacity: 1;
	clip-path: inset(12% 12% 12% 12% round var(--mc-r-lg));
	transform: none;
}

/* Ends past the edges, so badges that hang outside the figure stay whole. */
.mc-ready figure[data-mc-reveal] {
	overflow-x: clip; /* The zoomed photo must not widen the page. */
	clip-path: inset(-60px -60px -60px -60px);
}

.mc-ready figure[data-mc-reveal] img {
	transition: transform 1.6s var(--mc-ease-out);
}

.mc-ready figure[data-mc-reveal]:not(.is-in) img {
	transform: scale(1.18);
}

/* A short accent line grows under each section title as it arrives. */
.mc-head h2::after,
.mc-about h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 18px;
	background: linear-gradient(90deg, var(--mc-teal-2), var(--mc-coral));
	border-radius: 3px;
	transform-origin: 0 50%;
	transition: transform 1s var(--mc-ease-out) 0.3s;
}

.mc-head h2::after {
	margin-inline: auto;
	transform-origin: 50% 50%;
}

[dir="rtl"] .mc-about h2::after {
	transform-origin: 100% 50%;
}

.mc-ready [data-mc-reveal]:not(.is-in) h2::after {
	transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
	.mc-body *,
	.mc-body *::before,
	.mc-body *::after {
		animation: none !important;
		transition: none !important;
	}

	.mc-intro {
		display: none;
	}

	.mc-ready [data-mc-reveal]:not(.is-in) {
		opacity: 1;
		clip-path: none;
		transform: none;
	}

	.mc-ready [data-mc-reveal]:not(.is-in) img {
		transform: none;
	}
}

/* 16. Narrower widths (the demo's own width, not the window's) ------------ */
@container demo (max-width: 1060px) {
	.mc-picks {
		grid-template-columns: repeat(2, 1fr);
	}

	.mc-booking {
		grid-template-columns: 1fr 300px;
	}
}

@container demo (max-width: 960px) {
	.mc-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		display: grid;
		gap: 0;
		padding: 8px clamp(16px, 4cqi, 32px) 20px;
		background: var(--mc-white);
		border-bottom: 1px solid var(--mc-line);
		box-shadow: var(--mc-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
	}

	.mc-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mc-nav a {
		padding: 14px 4px;
		font-size: 1.05rem;
		color: var(--mc-ink);
		border-bottom: 1px solid var(--mc-line);
	}

	.mc-nav a::after {
		display: none;
	}

	.mc-lang {
		margin-inline-start: auto;
	}

	.mc-burger {
		display: grid;
	}

	.mc-services,
	.mc-doctors,
	.mc-reviews {
		grid-template-columns: repeat(2, 1fr);
	}

	.mc-booking {
		grid-template-columns: 1fr;
	}

	.mc-summary {
		position: static;
	}

	.mc-footer__in {
		grid-template-columns: 1fr 1fr;
	}
}

@container demo (max-width: 760px) {
	.mc-hero__in,
	.mc-about,
	.mc-contact {
		grid-template-columns: 1fr;
	}

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

	.mc-hero .mc-kicker {
		margin-inline: auto;
	}

	.mc-lead {
		margin-inline: auto;
	}

	.mc-actions,
	.mc-stats {
		justify-content: center;
	}

	.mc-hero__art {
		width: min(100%, 380px);
	}

	.mc-fields {
		grid-template-columns: 1fr 1fr;
	}

	.mc-fields .mc-field:first-child {
		grid-column: 1 / -1;
	}

	.mc-topbar__in p:first-child {
		display: none;
	}

	.mc-topbar__in {
		justify-content: center;
	}
}

@container demo (max-width: 560px) {
	.mc-header__cta {
		display: none;
	}

	.mc-lang {
		padding: 8px 10px;
	}

	.mc-services,
	.mc-doctors,
	.mc-reviews,
	.mc-picks,
	.mc-fields,
	.mc-details,
	.mc-footer__in {
		grid-template-columns: 1fr;
	}

	.mc-stats {
		gap: 12px 24px;
	}

	.mc-stats dd {
		font-size: 1.45rem;
	}

	.mc-actions .mc-btn {
		flex: 1 1 100%;
	}

	.mc-float--slot {
		inset-inline-end: 0;
	}

	.mc-float--rating {
		inset-inline-start: 0;
	}

	.mc-step {
		padding: 18px 16px 20px;
	}

	.mc-reviews {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 14px;
		padding-bottom: 8px;
	}

	.mc-review {
		flex: 0 0 86%;
		scroll-snap-align: center;
	}
}

/* Slider and strip on narrower demos. */
@container demo (max-width: 960px) {
	.mc-strip {
		grid-template-columns: 1fr 1fr;
	}

	.mc-strip .mc-stats {
		grid-column: 1 / -1;
		grid-row: 2;
		padding-top: 16px;
		border-top: 1px dashed var(--mc-line);
	}
}

@container demo (max-width: 560px) {
	.mc-hero {
		min-height: 720px;
	}

	.mc-slide {
		align-items: start;
	}

	.mc-slide__in {
		padding-block: 56px 150px;
	}

	.mc-slide__media::after,
	[dir="rtl"] .mc-slide__media::after {
		background: linear-gradient(180deg, rgb(14 36 64 / 0.82), rgb(14 36 64 / 0.7) 60%, rgb(14 36 64 / 0.9));
	}

	.mc-slider__ui {
		bottom: 84px;
	}

	.mc-slider__arrows {
		display: none;
	}

	.mc-slider__dots {
		gap: 12px;
	}

	.mc-slider__dots button {
		width: 64px;
	}

	.mc-strip {
		grid-template-columns: 1fr;
		justify-items: center;
		margin-top: -48px;
		padding: 20px;
		text-align: center;
	}

	.mc-strip .mc-stats {
		grid-row: auto;
		gap: 12px 22px;
	}

	.mc-strip__card--rating {
		align-items: center;
	}
}
