/* قالب سمايل — عيادة أسنان. عالم لون واحد: أخضر غابة + ضباب مخضر + إشارة ليمونية */
:root {
  --forest: #0E2D1D;
  --forest-2: #0A2417;
  --pine: #264835;
  --sage: #4D7366;
  --mist: #D6DBDE;
  --mist-2: #C9D2D2;
  --mist-3: #C1CCC9;
  --lime: #C9F269;
  --ink: var(--forest);
  --muted: rgba(14, 45, 29, .66);
  --line: rgba(14, 45, 29, .16);
  --focus: var(--forest);
  --err: #8E3A1E;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --r: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-head: 'El Messiri', 'Readex Pro', system-ui, sans-serif;
  --f-accent: 'Aref Ruqaa', 'El Messiri', serif;
  --f-body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.75; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; -webkit-font-smoothing: antialiased; }
html[lang=en] body { line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: 0; }
html[lang=en] h1, html[lang=en] h2 { letter-spacing: -.01em; line-height: 1.08; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { font-family: var(--f-accent); font-weight: 700; }
html[lang=en] .accent { font-weight: 400; font-style: italic; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark, .hero, .results, .book, .foot { --focus: var(--lime); --muted: rgba(214, 219, 222, .7); --line: rgba(214, 219, 222, .18); --err: #FFC7B3; color: var(--mist); }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--forest); padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap-l { padding-inline-start: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.sec { padding-block: clamp(84px, 11vw, 150px); }
.sec-in { padding-block: clamp(60px, 8vw, 110px) 0; }
.sec-h { font-size: clamp(36px, 5vw, 74px); margin-block: 14px 18px; max-width: 18ch; }
.center { text-align: center; margin-inline: auto; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 56ch; }
.lede-lg { font-size: clamp(19px, 1.7vw, 24px); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.tag-star { color: var(--sage); font-size: 16px; }
.dark .tag-star, .results .tag-star, .book .tag-star { color: var(--lime); }
.center + .tag, section > .wrap > .tag:first-child { }
.about .tag, .pricing .tag { display: flex; justify-content: center; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sec-row-end { align-items: flex-end; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* الأزرار */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; border: 0; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; white-space: nowrap; }
[dir=rtl] .btn { padding: 8px 22px 8px 8px; }
.btn .ic-arrow { width: 38px; height: 38px; padding: 10px; border-radius: 50%; transition: transform .45s var(--ease); }
.btn:hover .ic-arrow { transform: rotate(45deg); }
[dir=rtl] .btn:hover .ic-arrow { transform: scaleX(-1) rotate(45deg); }
.btn-light { background: var(--mist); color: var(--forest); }
.btn-light .ic-arrow { background: var(--forest); color: var(--mist); }
.btn-dark { background: var(--forest); color: var(--mist); }
.btn-dark .ic-arrow { background: var(--lime); color: var(--forest); }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime .ic-arrow { background: var(--forest); color: var(--lime); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line); padding: 14px 24px; }
.btn:disabled { opacity: .55; cursor: wait; }
svg { stroke-width: 1.8; }
.ic-arrow, .ic-dir { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; display: block; }
[dir=rtl] .ic-arrow, [dir=rtl] .ic-dir { transform: scaleX(-1); }
.link-arrow { text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.chip { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); white-space: nowrap; }

/* الشريط العلوي والقائمة */
.bar { position: fixed; inset-inline: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); color: var(--mist); transition: transform .5s var(--ease), background .4s, padding .4s; --focus: var(--lime); }
.bar.solid { background: rgba(14, 45, 29, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-block: 10px; }
.bar.hide { transform: translateY(-110%); }
.bar-logo { text-decoration: none; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-word { font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.1; }
.logo-smile { width: 40px; height: 14px; margin-top: -2px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; }
.logo-lg .logo-word { font-size: 46px; }
.logo-lg .logo-smile { width: 60px; height: 20px; }
.bar-end { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding-inline: 18px; border: 0; border-radius: 999px; background: rgba(214, 219, 222, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; font-weight: 500; transition: background .3s; }
.menu-btn:hover { background: rgba(214, 219, 222, .24); }
.menu-ic { position: relative; width: 14px; height: 14px; }
.menu-ic i { position: absolute; inset-inline: 0; top: 6px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-ic i:last-child { transform: rotate(90deg); }
.menu-open .menu-ic i:last-child { transform: rotate(0); }
.bar-book { padding: 12px 22px; }
.lang { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; text-decoration: none; font-weight: 600; background: rgba(214, 219, 222, .14); font-size: 15px; }
.lang:hover { background: rgba(214, 219, 222, .24); }
.menu { position: absolute; top: calc(100% - 4px); inset-inline: var(--pad); background: var(--mist); color: var(--forest); border-radius: 28px; padding: 34px; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 30px; box-shadow: 0 30px 80px rgba(10, 36, 23, .35); --focus: var(--forest); transform-origin: top; animation: menuIn .5s var(--ease); max-height: calc(100svh - 100px); overflow: auto; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
.menu small, .foot small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.menu-main a, .menu-sub a { display: block; font-family: var(--f-head); font-size: clamp(22px, 2vw, 30px); line-height: 1.5; text-decoration: none; transition: color .25s, transform .3s var(--ease); }
.menu-main a:hover, .menu-sub a:hover { color: var(--sage); }
.menu-main a[aria-current] { color: var(--sage); }
.menu-addr { font-style: normal; font-family: var(--f-head); font-size: 22px; line-height: 1.5; margin-bottom: 18px; }
.hours { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.menu-img { margin: 0; border-radius: 20px; overflow: hidden; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; }

/* الواجهة وفيديو الابتسامة */
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #1E4532 0%, transparent 60%), linear-gradient(180deg, var(--forest) 0%, #12331F 55%, #183B28 100%); padding-top: clamp(130px, 16svh, 180px); padding-bottom: clamp(60px, 8vw, 110px); text-align: center; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-h { font-size: clamp(50px, 9.4vw, 148px); line-height: 1.12; font-weight: 600; }
html[lang=en] .hero-h { line-height: .98; }
.hero-h .ln { display: block; overflow: hidden; padding-block: .04em; }
.hero-h .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-h .ln:nth-child(2) > span { transition-delay: .12s; }
.hero-h .ln:nth-child(2) > .accent { transition-delay: .22s; }
.ready .hero-h .ln > span { transform: none; }
.hero-h .accent { color: var(--mist-2); }
.hero-sub { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 36ch; margin-block: 22px 30px; opacity: 0; transition: opacity 1s .5s; }
.hero-copy .btn { opacity: 0; transform: translateY(14px); transition: opacity .9s .65s, transform .9s .65s var(--ease); }
.ready .hero-sub, .ready .hero-copy .btn { opacity: 1; transform: none; }
/* فيديو الابتسامة: إطار يتسع مع التمرير حتى يملأ عرض الشاشة، ولمعة تمر على الأسنان بعد الابتسامة */
.smile-wrap { margin-top: clamp(34px, 5vw, 64px); display: flex; justify-content: center; }
.smile-frame { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9; max-height: 86svh; overflow: hidden; background: var(--forest); clip-path: inset(var(--iy, 0px) var(--ix, 4vw) round var(--ir, 32px)); }
.smile-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--vx, 50%) 50%; display: block; }
.smile-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 250, .07) 47%, rgba(255, 255, 250, .14) 50%, rgba(255, 255, 250, .07) 53%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 140% 0; mix-blend-mode: screen; opacity: 0; -webkit-mask: radial-gradient(18% 16% at var(--mx, 69%) 47%, #000 35%, transparent 100%); mask: radial-gradient(18% 16% at var(--mx, 69%) 47%, #000 35%, transparent 100%); }
.smiled .smile-sheen { opacity: 1; animation: sheen 8s cubic-bezier(.45, 0, .25, 1) 1.2s infinite; }
@keyframes sheen { 0% { background-position: 140% 0; } 35%, 100% { background-position: -40% 0; } }
.smile-replay { position: absolute; bottom: calc(var(--iy, 0px) + 18px); inset-inline-end: calc(var(--ix, 4vw) + 18px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(14, 45, 29, .55); color: var(--mist); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; cursor: pointer; animation: fadeUp .8s var(--ease); }
.smile-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.smile-replay:hover { background: rgba(14, 45, 29, .75); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* من نحن والعدادات */
.about { text-align: center; }
.statement { font-family: var(--f-head); font-weight: 500; font-size: clamp(24px, 3vw, 44px); line-height: 1.55; max-width: 30em; margin: 10px auto 0; }
html[lang=en] .statement { line-height: 1.3; }
.statement .w { color: rgba(14, 45, 29, .2); transition: color .35s; }
.statement .w.lit { color: var(--forest); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(60px, 8vw, 110px) 0 0; text-align: center; }
.fact { padding: 20px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact dt { font-family: var(--f-head); font-weight: 600; font-size: clamp(60px, 8vw, 120px); line-height: 1; color: var(--sage); }
.fact dd { margin: 12px 0 0; color: var(--muted); }
.odo { display: inline-flex; align-items: baseline; gap: .08em; }
.odo-n { display: inline-flex; direction: ltr; }
.odo-col { display: inline-block; height: 1.15em; overflow: hidden; line-height: 1.15; }
.odo-col > span { display: flex; flex-direction: column; transition: transform 1.8s var(--ease); transition-delay: calc(var(--i) * .14s); }
.odo-col i { font-style: normal; height: 1.15em; display: block; }
.roll .odo-col > span { transform: translateY(calc(var(--d) * -1.15em)); }
.odo-u { font-size: .4em; }
.odo-s { font-size: .7em; }

/* المشكلات */
.con-grid { display: grid; grid-template-columns: minmax(220px, .8fr) 1.6fr; gap: clamp(30px, 5vw, 80px); margin-top: 50px; align-items: start; }
.con-list { position: sticky; top: 120px; display: flex; flex-direction: column; }
.con-list a { font-family: var(--f-head); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.6; text-decoration: none; color: rgba(14, 45, 29, .3); transition: color .35s, transform .45s var(--ease); display: flex; align-items: center; gap: 12px; }
.con-list a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--sage); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); flex: none; }
.con-list a[aria-current] { color: var(--forest); transform: translateX(-6px); }
[dir=ltr] .con-list a[aria-current] { transform: translateX(6px); }
.con-list a[aria-current]::before { opacity: 1; transform: none; background: var(--sage); }
.con-list a:hover { color: var(--forest); }
.con-cards { display: flex; flex-direction: column; gap: 24px; }
.con-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mist-3); scroll-margin-top: 120px; }
.con-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.con-copy { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 3vw, 40px); padding-top: 90px; background: linear-gradient(transparent, rgba(10, 36, 23, .82)); color: var(--mist); }
.con-copy h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 6px; }
.con-copy p { max-width: 46ch; color: rgba(214, 219, 222, .88); }

/* الخدمات المثبتة */
.services { position: relative; background: var(--mist-3); }
.srv-stick { position: relative; height: 100svh; min-height: 640px; max-height: 1000px; overflow: hidden; }
.srv-in { height: 100%; display: grid; grid-template-columns: 1fr 1.1fr minmax(260px, .9fr); grid-template-rows: auto 1fr; grid-template-areas: 'head head head' 'count text img'; gap: 24px clamp(24px, 4vw, 60px); padding-top: clamp(96px, 13svh, 130px); padding-bottom: clamp(30px, 6svh, 60px); align-items: end; }
.srv-head { grid-area: head; align-self: start; }
.srv-h { font-size: clamp(20px, 2.1vw, 32px); font-weight: 500; max-width: 34ch; line-height: 1.5; }
.srv-countbox { grid-area: count; display: flex; flex-direction: column; gap: 14px; }
.srv-count { font-family: var(--f-head); font-weight: 700; font-size: clamp(54px, 7vw, 116px); line-height: 1; display: flex; gap: .15em; color: var(--forest); overflow: hidden; padding-block: .1em; }
.srv-count .dash, .srv-count > span:last-child { color: var(--sage); opacity: .55; }
.srv-text { grid-area: text; overflow: hidden; padding-bottom: 4px; }
.srv-title { font-size: clamp(44px, 5.6vw, 92px); line-height: 1.1; margin-bottom: 16px; }
.srv-title span { display: block; }
.srv-text p { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 32ch; margin-bottom: 18px; }
.srv-img { grid-area: img; position: relative; margin: 0; aspect-ratio: 3 / 4; max-height: 62svh; width: 100%; border-radius: var(--r); overflow: hidden; justify-self: end; background: var(--pine); }
.srv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1s var(--ease), transform 1.4s var(--ease); }
.srv-img img.on { clip-path: inset(0 0 0 0); transform: none; z-index: 1; }
/* أزرار الخدمات: الشريط النشط يمتلئ ثم تنتقل الخدمة التالية وحدها */
.srv-nav { display: flex; gap: 6px; }
.srv-nav button { position: relative; width: 44px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.srv-nav button::before, .srv-nav button::after { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(14, 45, 29, .18); }
.srv-nav button::after { background: var(--forest); transform: scaleX(0); transform-origin: left; }
[dir=rtl] .srv-nav button::after { transform-origin: right; }
.srv-nav button.done::after { transform: scaleX(1); }
.srv-nav button[aria-current]::after { animation: srvFill var(--srv-dur, 4s) linear forwards; }
.services.paused .srv-nav button[aria-current]::after { animation-play-state: paused; }
.services.still .srv-nav button[aria-current]::after { animation: none; transform: scaleX(1); }
@keyframes srvFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.swap-up { animation: swapUp .8s var(--ease); }
.swap-down { animation: swapDown .8s var(--ease); }
@keyframes swapUp { from { opacity: 0; transform: translateY(36px); } }
@keyframes swapDown { from { opacity: 0; transform: translateY(-36px); } }

/* التحولات */
.results { position: relative; background: var(--forest); display: grid; padding-block: 0 clamp(80px, 10vw, 140px); }
.res-title, .res-cards { grid-area: 1 / 1; }
.res-title { position: sticky; top: calc(50svh - 190px); align-self: start; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 60px var(--pad) 0; opacity: calc(1 - var(--over, 0) * .7); transform: scale(calc(1 - var(--over, 0) * .04)); z-index: 1; }
.res-title .sec-h { font-size: clamp(50px, 8vw, 128px); max-width: none; }
.res-title .lede { margin-bottom: 26px; max-width: 44ch; }
.res-cards { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 34svh; padding-top: 78svh; pointer-events: none; }
.res-cards > * { pointer-events: auto; }
.case-card { width: min(420px, 82vw); }
.res-cards .case-card { margin-inline-end: auto; }
.res-cards .case-alt { margin-inline-start: auto; margin-inline-end: 0; }
.case-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.case-meta h3 { font-size: clamp(22px, 2vw, 28px); }
.case-meta h3 a { text-decoration: none; }
.case-meta h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* قبل وبعد */
.ba { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; touch-action: pan-y; cursor: col-resize; user-select: none; -webkit-user-select: none; background: var(--pine); }
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); will-change: clip-path; }
[dir=rtl] .ba-before { clip-path: inset(0 0 0 var(--x)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform: translateX(var(--x)); pointer-events: none; will-change: transform; }
.ba-line::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(214, 219, 222, .9); }
.ba-handle { position: absolute; bottom: 22px; left: 0; transform: translateX(-50%); pointer-events: auto; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(14, 45, 29, .5); display: grid; place-items: center; color: #F4F6F2; cursor: ew-resize; box-shadow: 0 6px 18px rgba(4, 18, 10, .25); transition: transform .3s var(--ease); }
.ba:hover .ba-handle, .ba.dragging .ba-handle { transform: translateX(-50%) scale(1.08); }
.ba.dragging { cursor: grabbing; }
.ba-handle svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.ba-label { position: absolute; top: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(10, 36, 23, .55); color: var(--mist); font-size: 13px; pointer-events: none; }
.ba-l-before { left: 16px; }
.ba-l-after { right: 16px; }
[dir=rtl] .ba-l-before { left: auto; right: 16px; }
[dir=rtl] .ba-l-after { right: auto; left: 16px; }

/* خطوات الزيارة */
.pro-grid { display: grid; grid-template-columns: minmax(220px, .7fr) 1.7fr; gap: clamp(30px, 5vw, 80px); margin-top: 60px; align-items: start; }
.pro-list { position: sticky; top: 130px; list-style: none; margin: 0; padding: 0; }
.pro-list li { border-top: 1px solid var(--line); }
.pro-list li:last-child { border-bottom: 1px solid var(--line); }
.pro-list a { display: flex; align-items: center; gap: 12px; padding: 18px 0; text-decoration: none; font-family: var(--f-head); font-size: clamp(20px, 1.8vw, 26px); color: rgba(14, 45, 29, .38); transition: color .3s; }
.pro-arrow { display: inline-block; width: 0; overflow: hidden; opacity: 0; transition: width .4s var(--ease), opacity .3s; }
.pro-list .on a { color: var(--forest); }
.pro-list .on .pro-arrow { width: 1.1em; opacity: 1; }
.pro-rows { display: flex; flex-direction: column; gap: clamp(60px, 9vw, 120px); }
.pro-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; scroll-margin-top: 120px; }
.pro-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.pro-k { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pro-row h3 { font-size: clamp(28px, 2.8vw, 42px); margin-bottom: 14px; }
.pro-row p:last-child { color: var(--muted); max-width: 40ch; }

/* السلايدرات */
.arrows { display: flex; gap: 10px; }
.arw { width: 52px; height: 52px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.arw svg { width: 20px; height: 20px; transform: scaleX(-1); }
.arw-next svg { transform: none; }
[dir=rtl] .arw svg { transform: none; }
[dir=rtl] .arw-next svg { transform: scaleX(-1); }
.arw:hover:not(:disabled) { background: var(--forest); color: var(--mist); }
.dark .arw:hover:not(:disabled) { background: var(--mist); color: var(--forest); }
.arw:disabled { opacity: .3; cursor: default; }
.slider { margin-top: 40px; }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-inline-end: var(--pad); padding-bottom: 8px; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.track > * { scroll-snap-align: start; flex: none; }
.team { background: var(--mist-2); }
.member { margin: 0; width: clamp(250px, 32vw, 440px); }
.m-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist-3); }
.m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.member:hover .m-img img { transform: scale(1.04); }
.member figcaption { margin-top: 16px; display: flex; flex-direction: column; }
.member b { font-family: var(--f-head); font-size: clamp(22px, 2vw, 28px); font-weight: 600; }
.member span { color: var(--muted); }

/* الأسعار */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 54px auto 0; align-items: stretch; }
.plan { position: relative; background: var(--mist-2); border-radius: 30px; padding: clamp(28px, 3.5vw, 46px); display: flex; flex-direction: column; }
.plan-hot { background: var(--forest); color: var(--mist); --muted: rgba(214, 219, 222, .7); --line: rgba(214, 219, 222, .18); --focus: var(--lime); }
.plan-badge { position: absolute; top: 26px; inset-inline-end: 26px; background: var(--lime); color: var(--forest); font-size: 13px; padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.plan h3 { font-size: 26px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-block: 14px 8px; }
.plan-price b { font-family: var(--f-head); font-size: clamp(54px, 6vw, 80px); line-height: 1.1; font-weight: 600; }
.plan-price span, .plan-d { color: var(--muted); }
.plan ul { list-style: none; margin: 26px 0 32px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); transform: translateY(-2px); }
.plan-hot li::before { background: var(--lime); }
.plan .btn { align-self: flex-start; }

/* آراء المرضى */
.reviews { background: var(--forest); }
.review { margin: 0; width: clamp(290px, 36vw, 500px); background: var(--pine); border-radius: 28px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.stars { color: var(--lime); letter-spacing: 3px; font-size: 16px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-family: var(--f-head); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.6; }
html[lang=en] .review blockquote p { line-height: 1.4; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; pointer-events: none; }
.review figcaption span { display: flex; flex-direction: column; line-height: 1.4; }
.review small { color: var(--muted); font-size: 14px; }

/* التأمين والتقسيط */
.fin-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.fin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fin-card { background: var(--mist-2); border-radius: 26px; padding: clamp(24px, 3vw, 36px); }
.fin-n { font-family: var(--f-head); font-size: 44px; color: var(--sage); line-height: 1; display: block; margin-bottom: 30px; }
.fin-card h3 { font-size: 24px; margin-bottom: 10px; }
.fin-card p { color: var(--muted); }
.fin-grid .btn { margin-top: 12px; }

/* الأسئلة */
.faq-sec { background: var(--mist-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: start; font-family: var(--f-head); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.45; }
.qa-ic { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.qa-ic::before, .qa-ic::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.qa-ic::after { transform: rotate(90deg); }
.qa button[aria-expanded=true] .qa-ic::after { transform: rotate(0); }
.qa button[aria-expanded=true] .qa-ic { background: var(--forest); color: var(--mist); }
.qa-a { overflow: hidden; transition: height .45s var(--ease); }
.qa-a p { padding-bottom: 24px; color: var(--muted); max-width: 62ch; }

/* المدونة */
.post-card { width: clamp(270px, 30vw, 420px); }
.track .post-card { flex: none; }
.post-img { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist-3); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-block: 16px 8px; }
.post-meta span + span::before { content: '·'; margin-inline-end: 14px; }
.post-card h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; margin-bottom: 8px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.post-card > p:last-child { color: var(--muted); font-size: 16px; }

/* الحجز */
.book { background: var(--forest); }
.book-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.book-side .lede { margin-bottom: 34px; }
.book-line { margin-bottom: 22px; }
.book-line small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.book-line > a { font-family: var(--f-head); font-size: 24px; text-decoration: none; }
.book-line address { font-style: normal; font-family: var(--f-head); font-size: 20px; line-height: 1.5; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: rgba(14, 45, 29, .05); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; width: 100%; transition: border-color .25s, background .25s; }
.dark .form input, .dark .form select, .dark .form textarea { color: var(--mist); background: rgba(214, 219, 222, .06); color-scheme: dark; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sage); background: rgba(14, 45, 29, .08); }
.dark .form input:focus, .dark .form select:focus, .dark .form textarea:focus { border-color: var(--lime); background: rgba(214, 219, 222, .1); }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D7366' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-right: 42px; }
[dir=rtl] .form select { background-position: left 14px center; padding-right: 16px; padding-left: 42px; }
.dark .form select option { color: var(--forest); }
.form textarea { resize: vertical; min-height: 96px; }
.form [aria-invalid=true] { border-color: var(--err); }
.field-err { display: block; min-height: 1.5em; font-style: normal; font-size: 13px; color: var(--err); line-height: 1.5; }
.form-end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.form-status { font-size: 15px; color: var(--muted); max-width: 40ch; min-height: 1.5em; }
.book-page { padding-top: 20px; }
.book-page .form { background: var(--mist-2); border-radius: 30px; padding: clamp(22px, 3vw, 40px); }
.ct-aside figure { margin: 0 0 30px; border-radius: var(--r); overflow: hidden; }
.ct-aside figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* زورونا */
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.amen { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.amen li { display: flex; gap: 12px; align-items: center; }
.amen li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9F269' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.visit-addr { font-style: normal; font-family: var(--f-head); font-size: 22px; line-height: 1.5; margin-bottom: 26px; }
.visit-img, .wide-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.visit-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.14); }

/* التذييل */
.foot { background: var(--forest-2); padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); margin-block: 18px 24px; max-width: 34ch; }
.foot-brand > a:first-child { text-decoration: none; display: inline-block; }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-col a { text-decoration: none; color: var(--muted); transition: color .25s; width: fit-content; }
.foot-col a:hover, .foot-col a[aria-current] { color: var(--mist); }
.foot small.mt { margin-top: 22px; }
.foot-lib { margin-top: 60px; }
.lib-card { display: flex; align-items: center; gap: 22px; text-decoration: none; background: var(--pine); border-radius: 24px; padding: 14px; max-width: 560px; transition: transform .4s var(--ease); }
.lib-card:hover { transform: translateY(-3px); }
.lib-card img { width: 150px; height: auto; flex: none; align-self: center; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.lib-card span { display: flex; flex-direction: column; gap: 2px; }
.lib-card small { margin: 0; }
.lib-card b { font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.lib-card em { font-style: normal; color: var(--lime); font-size: 14px; }
.foot-mark { font-family: var(--f-head); font-weight: 700; font-size: clamp(110px, 25vw, 400px); line-height: 1.05; text-align: center; color: rgba(214, 219, 222, .07); margin-top: 30px; user-select: none; white-space: nowrap; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: 13px; color: var(--muted); padding-block: 22px 30px; border-top: 1px solid var(--line); }
.foot-bottom a { color: var(--muted); }

/* الصفحات الداخلية */
.inner .bar:not(.solid) { background: rgba(14, 45, 29, .92); }
.inner-main { padding-top: 120px; }
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(30px, 4vw, 50px); }
.page-h { font-size: clamp(44px, 7vw, 108px); line-height: 1.12; margin-block: 14px 20px; max-width: 16ch; }
html[lang=en] .page-h { line-height: 1; }
.wide-img { margin-inline: var(--pad); height: clamp(320px, 62svh, 720px); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.14); }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); padding-top: clamp(60px, 8vw, 110px); align-items: center; }
.story-text { display: grid; gap: 22px; font-size: clamp(18px, 1.5vw, 21px); }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.values > div { background: var(--mist-2); border-radius: 26px; padding: 30px; }
.values h3 { font-size: 26px; margin-bottom: 10px; }
.values p { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; margin-top: 30px; }
.team-grid .member { width: auto; }
.sv-list { display: flex; flex-direction: column; gap: clamp(60px, 8vw, 110px); }
.sv-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.sv-row:nth-child(even) .sv-img { order: 2; }
.sv-img { border-radius: var(--r); overflow: hidden; margin: 0; }
.sv-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sv-n { font-family: var(--f-head); font-size: 22px; color: var(--sage); }
.sv-row h2 { font-size: clamp(40px, 4.6vw, 70px); margin-block: 6px 16px; line-height: 1.1; }
.sv-row h2 span { display: block; }
.sv-row .sv-long { color: var(--muted); font-size: 18px; max-width: 46ch; }
.sv-meta { display: flex; gap: 30px; margin: 24px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.sv-meta small { display: block; color: var(--muted); font-size: 13px; }
.sv-meta b { font-family: var(--f-head); font-size: 24px; font-weight: 600; }
.con-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.con-tile { margin: 0; }
.con-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.con-tile figcaption { font-family: var(--f-head); font-size: 20px; margin-top: 10px; }
.con-tile p { font-size: 15px; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
.case-grid .case-card { width: auto; }
.case-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.case-page { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: start; padding-top: 30px; }
.case-page .ba { position: sticky; top: 110px; }
.case-info h1 { font-size: clamp(40px, 5vw, 76px); margin-block: 14px 24px; line-height: 1.12; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 34px; }
.case-facts div { background: var(--mist-2); border-radius: 18px; padding: 16px 18px; }
.case-facts dt { font-size: 13px; color: var(--muted); }
.case-facts dd { margin: 0; font-family: var(--f-head); font-size: 22px; }
.case-block { padding-block: 22px; border-top: 1px solid var(--line); }
.case-block h2 { font-size: 22px; margin-bottom: 8px; color: var(--sage); }
.case-block p { font-size: 18px; }
.case-info .btn { margin-top: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 15px; }
.back-link:hover { color: var(--forest); }
.price-table { margin-top: 30px; border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.price-row b { font-family: var(--f-head); font-size: clamp(20px, 2vw, 28px); font-weight: 600; }
.price-row span { color: var(--muted); }
.price-row strong { font-family: var(--f-head); font-size: 24px; font-weight: 600; }
.price-row small { color: var(--muted); font-weight: 400; font-size: 13px; margin-inline-end: 6px; }
.price-row:hover b { color: var(--sage); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
.post-grid .post-card { width: auto; }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.article { padding-top: 20px; }
.article-head { max-width: 900px; }
.article-head h1 { font-size: clamp(36px, 5vw, 72px); line-height: 1.2; margin-block: 18px 20px; }
.article-img { margin: 30px var(--pad) 0; border-radius: var(--r); overflow: hidden; }
.article-img img { width: 100%; max-height: 72svh; object-fit: cover; aspect-ratio: 16 / 9; }
.article-body { max-width: 760px; padding-top: clamp(40px, 6vw, 70px); display: grid; gap: 24px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.9; }
.article-body blockquote { margin: 10px 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--sage); font-family: var(--f-accent); font-size: clamp(28px, 3vw, 40px); line-height: 1.5; color: var(--sage); }
html[lang=en] .article-body blockquote { font-style: italic; }
.legal-body { max-width: 820px; display: grid; gap: 50px; padding-bottom: 40px; }
.legal-body section { scroll-margin-top: 110px; display: grid; gap: 16px; }
.legal-body h2 { font-size: clamp(28px, 3vw, 40px); }
.legal-body p { font-size: 18px; color: var(--muted); }
.nf-main { min-height: 86svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 140px; padding-bottom: 80px; }
.nf-code { font-family: var(--f-head); font-weight: 700; font-size: clamp(130px, 24vw, 340px); line-height: 1; color: var(--sage); display: flex; align-items: center; gap: .08em; opacity: .9; }
.nf-gap { display: inline-block; width: .5em; height: .62em; border: 3px dashed var(--sage); border-radius: 40% 40% 30% 30%; opacity: .6; }
.nf-main .lede { margin-bottom: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* الظهور */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
main { opacity: 0; transition: opacity .7s; }
.ready main { opacity: 1; }

/* الجولة التلقائية */
.tour-btn { height: 46px; padding-inline: 16px; border-radius: 999px; border: 0; background: var(--lime); color: var(--forest); font-weight: 600; cursor: pointer; font-size: 14px; }
.tour-note { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 60; background: rgba(14, 45, 29, .92); color: var(--mist); padding: 10px 18px; border-radius: 999px; font-size: 14px; white-space: nowrap; }

/* الشاشات المتوسطة */
@media (max-width: 1100px) {
  .menu { grid-template-columns: 1fr 1fr 1fr; }
  .menu-img { display: none; }
  .srv-in { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: 'head head' 'count img' 'text img'; align-items: end; }
  .srv-count { align-self: end; }
  .srv-img { align-self: stretch; aspect-ratio: auto; max-height: none; height: auto; min-height: 0; }
  .con-tiles { grid-template-columns: repeat(2, 1fr); }
}
/* الأجهزة اللوحية والجوال */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .bar-book { display: none; }
  .menu { grid-template-columns: 1fr; padding: 26px; gap: 22px; inset-inline: 12px; }
  .con-grid, .pro-grid, .fin-grid, .faq-grid, .book-grid, .visit-grid, .story, .case-page { grid-template-columns: 1fr; }
  .con-list { position: sticky; top: 64px; z-index: 5; flex-direction: row; overflow-x: auto; gap: 8px; padding: 12px 0; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); background: var(--mist); scrollbar-width: none; overscroll-behavior-x: contain; }
  .con-list::-webkit-scrollbar { display: none; }
  .con-list a { font-family: var(--f-body); font-size: 14px; line-height: 1.4; white-space: nowrap; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
  .con-list a::before { display: none; }
  .con-list a[aria-current], [dir=ltr] .con-list a[aria-current] { background: var(--forest); color: var(--mist); transform: none; }
  .con-card { scroll-margin-top: 140px; }
  .srv-h { font-size: 17px; }
  .srv-count { font-size: 42px; }
  .srv-title { font-size: clamp(34px, 6vw, 52px); margin-bottom: 6px; }
  .srv-text p { font-size: 16px; margin-bottom: 8px; }
  .res-title { top: calc(50svh - 170px); }
  .res-cards { gap: 22svh; padding-top: 72svh; }
  .case-card { width: min(380px, 78vw); }
  .pro-list { display: none; }
  .pro-row { grid-template-columns: 1fr; }
  .pro-row img { aspect-ratio: 4 / 3; }
  .member { width: 72vw; }
  .review { width: 82vw; }
  .post-card { width: 76vw; }
  .plans { grid-template-columns: 1fr; }
  .fin-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .values, .team-grid, .case-grid, .case-grid-3, .post-grid, .post-grid-3 { grid-template-columns: 1fr 1fr; }
  .sv-row { grid-template-columns: 1fr; }
  .sv-row:nth-child(even) .sv-img { order: 0; }
  .case-page .ba { position: relative; top: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-inline-start: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
}
/* الجوال والأجهزة اللوحية بالطول: الصورة فوق والنص تحتها، والصورة تأخذ كل المساحة المتبقية */
@media (max-width: 900px) and (max-aspect-ratio: 4/5) {
  .srv-in { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: 'head' 'img' 'count' 'text'; gap: 12px; padding-top: 84px; padding-bottom: 26px; align-items: stretch; }
  .srv-img { height: 100%; justify-self: stretch; }
  .srv-title span { display: inline; }
}
@media (max-width: 600px) {
  .bar { padding-inline: 16px; gap: 8px; }
  .logo-word { font-size: 26px; }
  .menu-btn { padding-inline: 14px; height: 42px; }
  .lang { width: 42px; height: 42px; }
  .tour-btn { height: 42px; padding-inline: 12px; font-size: 13px; }
  .hero { padding-top: 116px; }
  .smile-frame { aspect-ratio: 4 / 5; max-height: 78svh; --vx: 69%; --mx: 50%; }
  .form { grid-template-columns: 1fr; }
  .values, .team-grid, .case-grid, .case-grid-3, .post-grid, .post-grid-3, .con-tiles { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .case-facts div { padding: 12px; }
  .case-facts dd { font-size: 17px; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row span { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .lib-card img { width: 96px; }
  .lib-card b { font-size: 17px; }
  .sec-row .arrows { display: none; }
  .arw { width: 46px; height: 46px; }
  .tour-note { white-space: normal; width: calc(100% - 32px); text-align: center; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
