/* ==========================================================================
   Dental clinic demo — LULU / لُؤلؤ
   Fresh and friendly: pearl white, mint, aqua and peach; soft blobs and
   pills; Sora and Manrope (English), Lemonada and Rubik (Arabic); a pearl
   intro and a hero slider that opens each photo from a growing circle. Every rule is
   under .dn-body, every class starts with dn-. Layout answers to the demo's
   width (container "demo").

   1. Fonts   2. Tokens & base   3. Buttons   4. Header   5. Hero slider
   6. Tooth chart & plan   7. Services   8. About   9. Team & reviews
   10. Booking & FAQ   11. Footer & toast   12. Motion   13. Narrower widths
   ========================================================================== */

/* 1. Fonts (SIL Open Font License): Sora + Manrope in English, Lemonada +
   Rubik in Arabic (400–600 only). ------------------------------------------ */
@font-face {
	font-family: "DN Sora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/sora-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;
}

@font-face {
	font-family: "DN Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/manrope-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;
}

@font-face {
	font-family: "DN Lemonada";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/lemonada-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: "DN Rubik";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/rubik-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 ----------------------------------------------------------- */
.dn-body {
	--dn-white: #fff;
	--dn-ice: #eef7f5;
	--dn-ice-2: #d6ece8;
	--dn-sky: #0f8f88;
	--dn-sky-2: #0b716b;
	--dn-coral: #f2704f;
	--dn-coral-2: #db5a3b;
	--dn-navy: #12343b;
	--dn-muted: #587075;
	--dn-line: rgb(18 52 59 / 0.1);
	--dn-font: "DN Manrope", "Segoe UI", Arial, sans-serif;
	--dn-display: "DN Sora", "DN Manrope", Arial, sans-serif;
	--dn-enter: 1.6s;
	--dn-start: left;
	--dn-ease: cubic-bezier(0.25, 0.9, 0.3, 1);
	--dn-dir: 1;

	margin: 0;
	font-family: var(--dn-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--dn-navy);
	background: var(--dn-white);
	-webkit-font-smoothing: antialiased;
	font-synthesis-weight: none;
}

[dir="rtl"] .dn-body {
	--dn-dir: -1;
	--dn-start: right;
}

[lang="ar"] .dn-body {
	--dn-font: "DN Rubik", "DN Manrope", Tahoma, sans-serif;
	--dn-display: "DN Lemonada", "DN Rubik", Tahoma, sans-serif;

	line-height: 1.75;
}

[lang="ar"] .dn-body * {
	letter-spacing: 0 !important;
}

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

:where(.dn-body) h1,
:where(.dn-body) h2,
:where(.dn-body) h3,
:where(.dn-body) p,
:where(.dn-body) ul,
:where(.dn-body) figure,
:where(.dn-body) blockquote,
:where(.dn-body) fieldset {
	margin: 0;
	padding: 0;
}

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

:where(.dn-body) fieldset {
	border: 0;
}

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

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

:where(.dn-body) button {
	cursor: pointer;
}

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

.dn-body :focus-visible {
	outline: 3px solid rgb(15 143 136 / 0.45);
	outline-offset: 3px;
}

[dir="rtl"] .dn-icon--arrow {
	scale: -1 1;
}

.dn-wrap {
	width: min(100%, 1220px);
	margin-inline: auto;
	padding-inline: clamp(18px, 3cqi, 32px);
}

.dn-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.dn-kicker {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--dn-coral-2);
}

.dn-body h1,
.dn-body h2,
.dn-body h3 {
	font-family: var(--dn-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

[lang="ar"] .dn-body :is(h1, h2, h3) {
	font-weight: 600;
	line-height: 1.35;
}

.dn-body h1 em,
.dn-body h2 em {
	font-style: normal;
	color: var(--dn-sky);
}

.dn-body h2 {
	font-size: clamp(1.9rem, 1.1rem + 2.4cqi, 3rem);
}

/* 3. Buttons ------------------------------------------------------------------ */
.dn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	font-weight: 700;
	border: 0;
	border-radius: 999px;
	transition: background-color 0.25s, transform 0.25s var(--dn-ease), box-shadow 0.25s;
}

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

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

.dn-btn:hover .dn-icon--arrow {
	translate: calc(4px * var(--dn-dir)) 0;
}

.dn-btn--coral {
	color: var(--dn-white);
	background: var(--dn-coral);
	box-shadow: 0 14px 30px -14px rgb(242 112 79 / 0.8);
}

.dn-btn--coral:hover {
	background: var(--dn-coral-2);
}

.dn-btn--soft {
	color: var(--dn-sky-2);
	background: var(--dn-ice-2);
}

.dn-btn--soft:hover {
	background: #cde7e3;
}

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

.dn-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

/* 4. Header -------------------------------------------------------------------- */
.dn-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgb(255 255 255 / 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--dn-line);
}

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

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

.dn-logo__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--dn-white);
	background: linear-gradient(135deg, var(--dn-sky), #5fc9bf);
	border-radius: 14px 14px 14px 4px;
}

.dn-logo__mark .dn-icon {
	width: 24px;
	height: 24px;
	fill: rgb(255 255 255 / 0.25);
}

.dn-logo b {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.12em;
}

[lang="ar"] .dn-logo b {
	font-size: 1.5rem;
}

.dn-logo small {
	display: block;
	font-size: 0.75rem;
	color: var(--dn-muted);
}

.dn-nav {
	display: flex;
	gap: 26px;
	margin-inline-start: auto;
	font-size: 0.94rem;
	font-weight: 600;
}

.dn-nav a {
	color: var(--dn-muted);
	transition: color 0.2s;
}

.dn-nav a:hover {
	color: var(--dn-sky);
}

.dn-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dn-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--dn-sky-2);
	background: var(--dn-ice);
	border-radius: 999px;
}

.dn-lang .dn-icon {
	width: 17px;
	height: 17px;
}

.dn-header__cta {
	min-height: 46px;
	padding: 0 20px;
}

.dn-burger {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background: var(--dn-ice);
	border: 0;
	border-radius: 50%;
}

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

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

/* 5. Hero slider ------------------------------------------------------------------ */
/* Three slides: the studio, care at home, whitening. Each photo opens from a
   growing circle inside a soft pearl frame, the words rise from masks, and the
   reassurance cards float over the frame through every slide. Without
   JavaScript only the first slide shows. */
.dn-hero {
	padding-block: clamp(36px, 4.6cqi, 72px) clamp(40px, 5cqi, 72px);
	background:
		radial-gradient(42% 60% at 0% 0%, rgb(255 138 107 / 0.12), transparent 70%),
		radial-gradient(40% 60% at 100% 30%, rgb(25 167 160 / 0.14), transparent 70%),
		linear-gradient(180deg, var(--dn-ice), var(--dn-white));
}

.dn-hero__stage {
	position: relative;
	display: grid;
}

/* Only the first slide waits for the intro. */
.dn-slide:not(:first-child),
.dn-hero.is-started {
	--dn-enter: 0s;
}

.dn-slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(32px, 5cqi, 72px);
	visibility: hidden;
}

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

.dn-slide.is-leaving {
	z-index: 0;
	visibility: visible;
	transition: visibility 0s 1.1s;
}

.dn-slide.is-leaving .dn-hero__text {
	opacity: 0;
	transition: opacity 0.3s;
}

.dn-slide__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 11 / 12.4;
	border-radius: 48% 52% 44% 56% / 40% 42% 58% 60%;
	box-shadow: 0 40px 80px -40px rgb(18 52 59 / 0.45);
	clip-path: circle(0% at 62% 46%);
	transition: clip-path 1.1s var(--dn-ease);
}

.dn-slide.is-active .dn-slide__media,
.dn-slide.is-leaving .dn-slide__media {
	clip-path: circle(120% at 62% 46%);
}

.dn-slide:first-child .dn-slide__media {
	transition-delay: var(--dn-enter);
}

.dn-slide__media .dn-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transition: transform 6.5s cubic-bezier(0.2, 0.6, 0.3, 1);
}

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

/* A pearl sheen sweeps across the photo once it has opened. */
.dn-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.45) 50%, transparent 65%);
	transform: translateX(-110%);
}

.dn-slide.is-active .dn-slide__media::after {
	animation: dn-sheen 1.4s var(--dn-ease) calc(var(--dn-enter) + 0.8s) both;
}

@keyframes dn-sheen {
	to {
		transform: translateX(110%);
	}
}

.dn-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--dn-sky-2);
	background: var(--dn-white);
	border-radius: 999px;
	box-shadow: 0 8px 24px -14px rgb(18 52 59 / 0.35);
}

.dn-pill .dn-icon {
	width: 18px;
	height: 18px;
	color: var(--dn-coral);
}

.dn-hero .dn-slide__title {
	margin-block: 22px 18px;
	font-size: clamp(2.3rem, 1rem + 3.6cqi, 4.1rem);
	line-height: 1.04;
}

[lang="ar"] .dn-hero .dn-slide__title {
	font-size: clamp(2.2rem, 1.1rem + 3.4cqi, 3.9rem);
	line-height: 1.45;
}

.dn-mask {
	display: block;
	overflow: hidden;
	padding-block: 0.04em 0.1em;
}

.dn-mask > * {
	display: inline-block;
}

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

.dn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.dn-slide.is-active .dn-pill,
.dn-slide.is-active .dn-lead,
.dn-slide.is-active .dn-hero__actions {
	animation: dn-rise 0.9s var(--dn-ease) both;
}

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

.dn-slide.is-active .dn-pill {
	animation-delay: calc(var(--dn-enter) + 0.2s);
}

.dn-slide.is-active .dn-mask:nth-child(1) > * {
	animation-delay: calc(var(--dn-enter) + 0.3s);
}

.dn-slide.is-active .dn-mask:nth-child(2) > * {
	animation-delay: calc(var(--dn-enter) + 0.42s);
}

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

.dn-slide.is-active .dn-hero__actions {
	animation-delay: calc(var(--dn-enter) + 0.68s);
}

@keyframes dn-line {
	from {
		transform: translateY(105%);
	}
}

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

/* The floating cards sit over the photo column. */
.dn-hero__floats {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	z-index: 2;
	width: calc((100% - clamp(32px, 5cqi, 72px)) * 0.475);
	pointer-events: none;
	animation: dn-rise 0.9s var(--dn-ease) calc(var(--dn-enter) + 1s) both;
}

.dn-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	background: rgb(255 255 255 / 0.92);
	border-radius: 18px;
	box-shadow: 0 20px 40px -18px rgb(18 52 59 / 0.4);
	backdrop-filter: blur(6px);
	animation: dn-bob 5s ease-in-out infinite;
}

.dn-float span {
	display: grid;
	line-height: 1.3;
}

.dn-float small {
	font-size: 0.8rem;
	color: var(--dn-muted);
}

.dn-float .dn-icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	color: var(--dn-sky);
	background: var(--dn-ice);
	border-radius: 10px;
}

.dn-float--a {
	top: 12%;
	inset-inline-start: -26px;
}

.dn-float--b {
	bottom: 10%;
	inset-inline-end: -10px;
	animation-delay: -2.5s;
}

.dn-float__dot {
	width: 12px;
	height: 12px;
	background: #32c27a;
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgb(50 194 122 / 0.18);
}

@keyframes dn-bob {
	50% {
		transform: translateY(-10px);
	}
}

/* The foot: trust figures on the start side, the slide controls on the end. */
.dn-hero__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px 40px;
	margin-top: clamp(26px, 3cqi, 44px);
	padding-top: 24px;
	border-top: 1px solid var(--dn-line);
	animation: dn-rise 0.9s var(--dn-ease) calc(var(--dn-enter) + 0.85s) both;
}

.dn-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 38px;
}

.dn-hero__trust li {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: 0 10px;
}

.dn-hero__trust b {
	font-family: var(--dn-display);
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.1;
}

.dn-hero__trust span {
	display: inline-flex;
	color: #f5b83d;
}

.dn-hero__trust span .dn-icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

.dn-hero__trust small {
	grid-column: 1 / -1;
	font-size: 0.85rem;
	color: var(--dn-muted);
}

.dn-slider__ui {
	display: flex;
	align-items: center;
	gap: 18px;
}

.dn-slider__tabs {
	display: flex;
	gap: 8px;
}

.dn-slider__tabs button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px 9px 10px;
	overflow: hidden;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--dn-muted);
	background: var(--dn-white);
	border: 1px solid var(--dn-line);
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.3s, border-color 0.3s;
}

[dir="rtl"] .dn-slider__tabs button {
	padding: 9px 10px 9px 16px;
}

.dn-slider__tabs button[aria-selected="true"],
.dn-slider__tabs button:hover {
	color: var(--dn-navy);
	border-color: var(--dn-sky);
}

/* The dot fills like a little clock while the slide plays. */
.dn-slider__tabs i {
	width: 14px;
	height: 14px;
	background: conic-gradient(var(--dn-sky) calc(var(--dn-p, 0) * 1turn), var(--dn-ice-2) 0);
	border-radius: 50%;
}

.dn-slider__tabs button[aria-selected="true"] i {
	--dn-p: 1;
}

@property --dn-p {
	syntax: "<number>";
	inherits: false;
	initial-value: 0;
}

.dn-hero.is-playing .dn-slider__tabs button[aria-selected="true"] i {
	animation: dn-fill var(--dn-slide-time, 6.5s) linear both;
}

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

@keyframes dn-fill {
	from {
		--dn-p: 0;
	}

	to {
		--dn-p: 1;
	}
}

.dn-slider__arrows {
	display: flex;
	gap: 8px;
}

.dn-slider__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: var(--dn-white);
	background: var(--dn-navy);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.25s, transform 0.25s var(--dn-ease);
}

.dn-slider__arrow:hover {
	background: var(--dn-sky-2);
	transform: translateY(-2px);
}

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

.dn-body:not(.dn-ready) .dn-slider__ui {
	visibility: hidden;
}

/* 6. Tooth chart & plan --------------------------------------------------------- */
.dn-section {
	padding-block: clamp(70px, 8cqi, 116px);
}

.dn-section--ice {
	background: var(--dn-ice);
}

.dn-head {
	display: grid;
	gap: 12px;
	max-width: 680px;
	margin-bottom: clamp(32px, 4cqi, 52px);
}

.dn-head p:not(.dn-kicker) {
	color: var(--dn-muted);
}

.dn-head--center {
	justify-items: center;
	margin-inline: auto;
	text-align: center;
}

.dn-chart {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(18px, 3cqi, 36px);
	align-items: start;
}

.dn-mouth {
	display: grid;
	gap: 18px;
	padding: clamp(20px, 3cqi, 36px);
	background: linear-gradient(180deg, #fff5f2, var(--dn-white) 50%, #fff5f2);
	border: 1px solid #ffe2d8;
	border-radius: 32px;
}

.dn-mouth__label {
	font-size: 0.8rem;
	font-weight: 700;
	text-align: center;
	color: var(--dn-muted);
}

.dn-arch {
	display: flex;
	justify-content: center;
	gap: clamp(2px, 0.5cqi, 6px);
}

/* The arches curve towards each other: keep them apart. */
.dn-arch--upper {
	margin-bottom: 26px;
}

.dn-arch--lower {
	margin-top: 26px;
}

.dn-tooth {
	display: grid;
	justify-items: center;
	gap: 2px;
	width: clamp(22px, 3.2cqi, 38px);
	padding: 4px 0;
	color: #c9d8d6;
	background: none;
	border: 0;
	border-radius: 10px;
	transform: translateY(var(--dn-y, 0));
	transition: color 0.2s, background-color 0.2s, transform 0.3s var(--dn-ease);
}

.dn-tooth .dn-icon {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	fill: var(--dn-white);
	stroke-width: 1.4;
}

.dn-tooth--molar {
	width: clamp(26px, 3.8cqi, 44px);
}

.dn-tooth--incisor .dn-icon {
	transform: scaleX(0.78);
}

.dn-arch--upper .dn-icon {
	scale: 1 -1;
}

.dn-tooth small {
	font-size: 0.65rem;
	font-weight: 700;
	color: var(--dn-muted);
}

.dn-tooth:hover {
	color: var(--dn-sky);
	transform: translateY(var(--dn-y, 0)) scale(1.12);
}

.dn-tooth[aria-pressed="true"] {
	color: var(--dn-sky);
	background: var(--dn-ice);
	transform: translateY(var(--dn-y, 0)) scale(1.15);
}

.dn-tooth.has-issue {
	color: var(--dn-c);
}

.dn-tooth.has-issue .dn-icon {
	fill: color-mix(in srgb, var(--dn-c) 25%, white);
}

.dn-plan {
	display: grid;
	gap: 16px;
	padding: clamp(20px, 3cqi, 30px);
	background: var(--dn-white);
	border: 1px solid var(--dn-line);
	border-radius: 28px;
	box-shadow: 0 30px 60px -40px rgb(18 52 59 / 0.35);
}

.dn-plan h3 {
	font-size: 1.3rem;
}

.dn-plan__hint {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	font-size: 0.92rem;
	color: var(--dn-sky-2);
	background: var(--dn-ice);
	border-radius: 16px;
}

.dn-plan__hint[hidden],
.dn-issues[hidden],
.dn-plan__empty[hidden] {
	display: none;
}

.dn-issues {
	display: grid;
	gap: 10px;
	padding: 16px;
	background: #fff5f2;
	border-radius: 18px;
	animation: dn-pop 0.35s var(--dn-ease);
}

.dn-issues > p {
	font-weight: 600;
}

.dn-issues__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dn-issue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font-size: 0.88rem;
	font-weight: 700;
	background: var(--dn-white);
	border: 1px solid var(--dn-line);
	border-radius: 999px;
	transition: border-color 0.2s, transform 0.2s;
}

.dn-issue:hover {
	border-color: var(--dn-c);
	transform: translateY(-1px);
}

.dn-issue i {
	width: 10px;
	height: 10px;
	background: var(--dn-c);
	border-radius: 50%;
}

.dn-plan__list {
	display: grid;
	gap: 8px;
}

.dn-plan__item {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: var(--dn-ice);
	border-radius: 14px;
	animation: dn-pop 0.35s var(--dn-ease);
}

.dn-plan__no {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--dn-white);
	background: var(--dn-c);
	border-radius: 10px;
}

.dn-plan__item span {
	display: grid;
	font-size: 0.9rem;
	line-height: 1.35;
}

.dn-plan__item small {
	color: var(--dn-muted);
}

.dn-plan__item b {
	font-size: 0.92rem;
	white-space: nowrap;
}

.dn-plan__item button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: var(--dn-muted);
	background: var(--dn-white);
	border: 0;
	border-radius: 50%;
}

.dn-plan__item button .dn-icon {
	width: 16px;
	height: 16px;
}

.dn-plan__empty {
	font-size: 0.9rem;
	color: var(--dn-muted);
}

.dn-plan__total {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.dn-plan__total p {
	display: grid;
	padding: 14px 16px;
	color: var(--dn-white);
	background: var(--dn-navy);
	border-radius: 16px;
}

.dn-plan__total p + p {
	background: var(--dn-sky);
}

.dn-plan__total span {
	font-size: 0.8rem;
	opacity: 0.8;
}

.dn-plan__total b {
	font-size: 1.25rem;
	font-weight: 800;
}

@keyframes dn-pop {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
}

/* 7. Services ------------------------------------------------------------------- */
.dn-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2cqi, 24px);
}

.dn-service {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--dn-white);
	border-radius: 26px;
	transition: transform 0.4s var(--dn-ease), box-shadow 0.4s var(--dn-ease);
}

.dn-service:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -34px rgb(18 52 59 / 0.4);
}

.dn-service__media {
	aspect-ratio: 7 / 5;
	margin: 10px 10px 0;
	overflow: hidden;
	border-radius: 18px;
}

.dn-service__media .dn-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--dn-ease);
}

.dn-service:hover .dn-photo {
	transform: scale(1.06);
}

.dn-service__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
}

.dn-service h3 {
	font-size: 1.25rem;
}

.dn-service p {
	font-size: 0.93rem;
	color: var(--dn-muted);
}

.dn-service__price {
	margin-top: auto;
	padding-top: 8px;
}

.dn-service__price b {
	font-size: 1.1rem;
	color: var(--dn-coral-2);
}

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

.dn-about__photos {
	position: relative;
	padding-bottom: 60px;
}

.dn-blob--b {
	aspect-ratio: 10 / 11;
	width: 86%;
	animation-delay: -6s;
}

.dn-about__small {
	position: absolute;
	inset-inline-end: 0;
	bottom: 0;
	width: 52%;
	overflow: hidden;
	border: 8px solid var(--dn-white);
	border-radius: 26px;
	box-shadow: 0 24px 50px -24px rgb(18 52 59 / 0.5);
}

.dn-about__text {
	display: grid;
	gap: 20px;
}

.dn-checks {
	display: grid;
	gap: 16px;
}

.dn-checks li {
	display: flex;
	gap: 14px;
}

.dn-checks .dn-icon {
	width: 32px;
	height: 32px;
	padding: 7px;
	color: var(--dn-white);
	background: var(--dn-sky);
	border-radius: 50%;
	stroke-width: 2.6;
}

.dn-checks span {
	display: grid;
	color: var(--dn-muted);
}

.dn-checks b {
	color: var(--dn-navy);
}

.dn-reception {
	overflow: hidden;
	border-radius: 22px;
}

.dn-reception .dn-photo {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* 9. Team & reviews -------------------------------------------------------------- */
.dn-team {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2cqi, 24px);
	margin-bottom: clamp(24px, 3cqi, 40px);
}

.dn-doc {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 32px 24px;
	text-align: center;
	background: var(--dn-white);
	border-radius: 26px;
}

.dn-doc__mono {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin-bottom: 10px;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--dn-white);
	background: linear-gradient(135deg, var(--dn-sky), #6fd3c9);
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
}

.dn-doc:nth-child(2) .dn-doc__mono {
	background: linear-gradient(135deg, var(--dn-coral), #ffb199);
}

.dn-doc:nth-child(3) .dn-doc__mono {
	background: linear-gradient(135deg, #7a6cf0, #b8afff);
}

.dn-doc h3 {
	font-size: 1.15rem;
}

.dn-doc p {
	color: var(--dn-muted);
	font-size: 0.92rem;
}

.dn-doc__years {
	padding: 4px 12px;
	font-weight: 700;
	color: var(--dn-sky-2) !important;
	background: var(--dn-ice);
	border-radius: 999px;
}

.dn-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2cqi, 24px);
}

.dn-reviews li {
	display: grid;
	gap: 12px;
	padding: 26px;
	background: var(--dn-white);
	border-radius: 26px;
}

.dn-stars {
	display: flex;
	color: #f5b83d;
}

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

.dn-reviews blockquote {
	font-size: 0.98rem;
}

.dn-reviews__name {
	font-weight: 700;
	color: var(--dn-muted);
}

/* 10. Booking & FAQ ------------------------------------------------------------- */
.dn-book {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(28px, 5cqi, 80px);
}

.dn-book__text {
	display: grid;
	gap: 16px;
}

.dn-book__text > p:not(.dn-kicker) {
	color: var(--dn-muted);
}

.dn-book__line {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--dn-navy) !important;
}

.dn-book__line .dn-icon {
	color: var(--dn-coral);
}

.dn-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: clamp(22px, 3cqi, 34px);
	background: var(--dn-ice);
	border-radius: 30px;
}

.dn-form fieldset {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
}

.dn-form legend {
	margin-bottom: 8px;
	font-size: 0.85rem;
	font-weight: 700;
}

.dn-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dn-chip {
	display: grid;
	justify-items: center;
	min-width: 64px;
	padding: 8px 14px;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.25;
	background: var(--dn-white);
	border: 2px solid transparent;
	border-radius: 16px;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.dn-chip small {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--dn-muted);
}

.dn-chip:hover {
	border-color: var(--dn-ice-2);
}

.dn-chip[aria-pressed="true"] {
	color: var(--dn-white);
	background: var(--dn-sky);
}

.dn-chip[aria-pressed="true"] small {
	color: rgb(255 255 255 / 0.8);
}

.dn-chip:disabled {
	text-decoration: line-through;
	opacity: 0.45;
	cursor: not-allowed;
}

.dn-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
}

.dn-field input,
.dn-field select {
	min-height: 52px;
	padding: 0 16px;
	font-weight: 500;
	background: var(--dn-white);
	border: 2px solid transparent;
	border-radius: 16px;
	transition: border-color 0.2s;
}

.dn-field input:focus,
.dn-field select:focus {
	border-color: var(--dn-sky);
	outline: none;
}

.dn-field input[aria-invalid="true"] {
	border-color: var(--dn-coral-2);
}

.dn-field--full,
.dn-form .dn-btn,
.dn-form__error,
.dn-form__ok {
	grid-column: 1 / -1;
}

.dn-form__error {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--dn-coral-2);
}

.dn-form__ok {
	padding: 14px 16px;
	font-size: 0.92rem;
	background: #dff6ea;
	border-radius: 16px;
}

.dn-faq {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(28px, 5cqi, 70px);
	align-items: start;
}

.dn-faq__list {
	display: grid;
	gap: 12px;
}

.dn-faq details {
	padding: 6px 22px;
	background: var(--dn-white);
	border-radius: 20px;
}

.dn-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 16px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.dn-faq summary::-webkit-details-marker {
	display: none;
}

.dn-faq summary span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: none;
	color: var(--dn-sky);
	background: var(--dn-ice);
	border-radius: 50%;
	transition: transform 0.3s var(--dn-ease), background-color 0.3s;
}

.dn-faq details[open] summary span {
	color: var(--dn-white);
	background: var(--dn-sky);
	transform: rotate(45deg);
}

.dn-faq details p {
	padding-bottom: 18px;
	color: var(--dn-muted);
}

/* 11. Footer & toast ------------------------------------------------------------- */
.dn-footer {
	padding-block: 40px 26px;
	color: rgb(255 255 255 / 0.75);
	background: var(--dn-navy);
}

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

.dn-footer .dn-logo small {
	color: rgb(255 255 255 / 0.6);
}

.dn-footer .dn-logo b {
	color: var(--dn-white);
}

.dn-footer__bar {
	flex: 1 0 100%;
	padding-top: 18px;
	font-size: 0.82rem;
	border-top: 1px solid rgb(255 255 255 / 0.12);
}

.dn-toast {
	position: fixed;
	bottom: 20px;
	inset-inline-start: 50%;
	z-index: 110;
	max-width: min(92%, 440px);
	padding: 14px 22px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dn-white);
	background: var(--dn-navy);
	border-radius: 999px;
	box-shadow: 0 20px 40px -14px rgb(18 52 59 / 0.6);
	transform: translateX(calc(-50% * var(--dn-dir)));
	animation: dn-pop 0.3s var(--dn-ease);
}

.dn-toast[hidden] {
	display: none;
}

/* 12. Motion: intro, progress line, header, reveals ------------------------- */
/* The intro: a pearl rolls in and catches the light, LULU appears, then the
   pearl-white panel closes into a shrinking circle. Pure CSS: it ends even
   without the script. */
.dn-intro {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background:
		radial-gradient(50% 50% at 50% 45%, var(--dn-white), var(--dn-ice) 70%);
	pointer-events: none;
	animation: dn-intro-out 0.8s cubic-bezier(0.7, 0, 0.2, 1) 1.35s both;
}

.dn-intro__in {
	display: grid;
	justify-items: center;
	gap: 6px;
}

.dn-intro__pearl {
	position: relative;
	width: 64px;
	height: 64px;
	margin-bottom: 10px;
	overflow: hidden;
	background: radial-gradient(circle at 34% 30%, var(--dn-white) 0 14%, #e9f2f1 36%, #c7dedb 72%, #a9cbc6);
	border-radius: 50%;
	box-shadow: 0 18px 30px -16px rgb(18 52 59 / 0.5);
	animation: dn-roll 0.8s var(--dn-ease) both;
}

.dn-intro__pearl::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.9) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: dn-sheen 0.7s ease-out 0.6s both;
}

.dn-intro b {
	font-family: var(--dn-display);
	font-size: 2.2rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--dn-navy);
	animation: dn-rise 0.6s var(--dn-ease) 0.55s both;
}

[lang="ar"] .dn-intro b {
	letter-spacing: 0;
}

.dn-intro small {
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dn-muted);
	animation: dn-rise 0.6s var(--dn-ease) 0.7s both;
}

@keyframes dn-roll {
	from {
		opacity: 0;
		transform: translateX(-120px) rotate(-200deg);
	}
}

@keyframes dn-intro-out {
	from {
		clip-path: circle(110% at 50% 45%);
	}

	to {
		clip-path: circle(0% at 50% 45%);
		visibility: hidden;
	}
}

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

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

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

.dn-header {
	animation: dn-down 0.8s var(--dn-ease) 1.6s both;
}

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

/* Reveals: lists one after another, photos settle from a slight zoom. */
.dn-ready [data-dn-reveal] {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.9s var(--dn-ease), transform 0.9s var(--dn-ease);
	transition-delay: calc(var(--dn-i, 0) * 90ms);
}

.dn-ready [data-dn-reveal].is-in {
	opacity: 1;
	transform: none;
}

.dn-ready [data-dn-reveal] .dn-photo {
	transition: transform 1.6s var(--dn-ease);
}

.dn-ready [data-dn-reveal]:not(.is-in) .dn-photo {
	transform: scale(1.14);
}

.dn-body main {
	overflow-x: clip;
}

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

	.dn-intro {
		display: none;
	}

	.dn-ready [data-dn-reveal] {
		opacity: 1;
		transform: none;
	}

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

/* 13. Narrower widths ------------------------------------------------------------ */
@container demo (max-width: 1060px) {
	.dn-header__cta {
		display: none;
	}

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

	.dn-chart {
		grid-template-columns: 1fr;
	}
}

@container demo (max-width: 900px) {
	.dn-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 20px;
		background: var(--dn-white);
		border-bottom: 1px solid var(--dn-line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
	}

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

	.dn-nav a {
		padding: 14px 0;
		border-bottom: 1px solid var(--dn-line);
	}

	.dn-tools {
		margin-inline-start: auto;
	}

	.dn-burger {
		display: grid;
	}

	.dn-slide,
	.dn-about,
	.dn-book,
	.dn-faq {
		grid-template-columns: 1fr;
	}

	/* Photo first, then the words; the floating cards ride on the photo. */
	.dn-slide__media {
		grid-row: 1;
		width: min(100%, 460px);
		margin-inline: auto;
	}

	.dn-hero__floats {
		inset-inline: 0;
		bottom: auto;
		width: min(100%, 460px);
		aspect-ratio: 11 / 12.4;
		margin-inline: auto;
	}

	.dn-float--a {
		inset-inline-start: 0;
	}

	.dn-float--b {
		inset-inline-end: 0;
	}

	.dn-team,
	.dn-reviews {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin-inline: auto;
	}
}

@container demo (max-width: 560px) {
	.dn-lang {
		padding: 9px 10px;
		font-size: 0;
		gap: 0;
	}

	.dn-lang .dn-icon {
		width: 20px;
		height: 20px;
	}

	.dn-logo small {
		display: none;
	}

	.dn-services,
	.dn-form,
	.dn-plan__total {
		grid-template-columns: 1fr;
	}

	.dn-mouth {
		padding: 16px 8px;
	}

	.dn-arch {
		gap: 1px;
	}

	.dn-tooth,
	.dn-tooth--molar {
		width: 19px;
	}

	.dn-tooth small {
		font-size: 0.55rem;
	}

	.dn-hero__foot {
		display: grid;
	}

	.dn-slider__ui {
		justify-content: space-between;
	}

	/* Only the playing slide keeps its name on a phone. */
	.dn-slider__tabs button:not([aria-selected="true"]) span {
		display: none;
	}

	.dn-slider__tabs button {
		white-space: nowrap;
	}

	.dn-hero__actions .dn-btn {
		flex: 1 1 auto;
	}
}

/* Arabic weights: 400–600 only: every bold part is 600 here, and the browser never
   fakes a heavier weight. (Generated from the rules above; keep it last.) */
[lang="ar"] .dn-body {
	font-synthesis: none;
}

:where([lang="ar"] .dn-body) :where(b, strong, h1, h2, h3, h4, h5, h6, th, optgroup) {
	font-weight: 600;
}

[lang="ar"] .dn-body :is(.dn-kicker, h1, h2, h3, .dn-btn, .dn-logo b),
[lang="ar"] .dn-body :is(.dn-lang, .dn-mouth__label, .dn-tooth small, .dn-issue, .dn-plan__no, .dn-plan__total b),
[lang="ar"] .dn-body :is(.dn-doc__mono, .dn-doc__years, .dn-reviews__name, .dn-book__line, .dn-form legend, .dn-chip),
[lang="ar"] .dn-body :is(.dn-field, .dn-form__error, .dn-faq summary) {
	font-weight: 600;
}
