/* ============================================================
د. أسماء غانم — Luxury Calm · Editorial Arabic
Palette: warm cream + deep forest + sage + muted gold
Fonts:   Amiri (display naskh) · Tajawal (body) · Aref Ruqaa (decor)
============================================================ */

:root {
--bg:        #F4EFE6;
--paper:    #ECE3D2;
--ink:      #1F2A24;
--ink-soft: #3A4A41;
--sage:     #3D5A4C;
--sage-soft:#7A8F84;
--gold:     #B08D57;
--gold-soft:#CDB48A;
--rule:     rgba(31, 42, 36, .14);

--display:  'Amiri', 'Times New Roman', serif;
--body:     'Tajawal', system-ui, sans-serif;
--decor:    'Aref Ruqaa', 'Amiri', serif;

--maxw: 1280px;
--pad: clamp(20px, 4vw, 56px);
--rad: 2px;

--ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(176, 141, 87, 0.15); }
body {
font-family: var(--body);
background: var(--bg);
color: var(--ink);
font-size: 16px;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
position: relative;
touch-action: manipulation;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; font-family: var(--display); color: var(--gold); font-weight: 400; }

/* ===== Grain Overlay ===== */
.grain {
position: fixed; inset: 0;
pointer-events: none;
z-index: 200;
opacity: .35;
mix-blend-mode: multiply;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ===== Navigation ===== */
.nav {
position: fixed; inset: 0 0 auto 0; z-index: 100;
padding: 18px var(--pad);
background: rgba(244, 239, 230, 0.75);
backdrop-filter: blur(14px) saturate(1.1);
-webkit-backdrop-filter: blur(14px) saturate(1.1);
border-bottom: 1px solid transparent;
transition: border-color .4s var(--ease), padding .4s var(--ease), background .4s var(--ease);
}
.nav.is-scrolled {
padding: 12px var(--pad);
border-bottom-color: var(--rule);
background: rgba(244, 239, 230, 0.92);
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark {
width: 38px; height: 38px;
display: grid; place-items: center;
border: 1px solid var(--ink);
font-family: var(--display); font-size: 14px; letter-spacing: 1px;
background: var(--ink); color: var(--bg);
}
.nav__name { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: .3px; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.nav__link {
font-size: 14px; font-weight: 500; color: var(--ink-soft);
position: relative; padding: 4px 0;
transition: color .3s var(--ease);
}
.nav__link span {
font-family: var(--display); font-size: 11px; color: var(--gold);
margin-left: 6px; vertical-align: super;
}
.nav__link::after {
content: ''; position: absolute; right: 0; bottom: -4px;
height: 1px; width: 0; background: var(--gold);
transition: width .35s var(--ease);
}
.nav__link:hover, .nav__link:active { color: var(--ink); }
.nav__link:hover::after, .nav__link:active::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span {
width: 24px; height: 1.5px; background: var(--ink);
transition: transform .35s var(--ease), opacity .25s var(--ease);
transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: -webkit-fill-available; padding: 140px var(--pad) 80px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__ornament {
position: absolute; top: 50%; left: -10%;
width: min(880px, 90vw); transform: translateY(-50%);
animation: drift 24s var(--ease) infinite alternate;
}
@keyframes drift {
0%   { transform: translate(0, -50%) rotate(0deg); }
100% { transform: translate(40px, -48%) rotate(8deg); }
}
.hero__inner {
max-width: var(--maxw); margin: 0 auto; position: relative;
display: grid; grid-template-rows: auto auto auto auto;
gap: clamp(24px, 4vw, 48px);
min-height: calc(100vh - 220px);
}
.hero__meta { display: flex; align-items: center; gap: 14px; }
.hero__meta .line { width: 52px; height: 1px; background: var(--ink); }
.hero__metatext { font-size: 12px; letter-spacing: 2px; color: var(--ink-soft); }

.hero__title { font-family: var(--display); font-weight: 400; line-height: 0.95; display: grid; gap: 6px; }
.hero__title > span { display: block; opacity: 0; transform: translateY(36px); filter: blur(8px); }
.hero__title > span:nth-child(1) {
font-size: clamp(20px, 2.4vw, 30px);
color: var(--gold); letter-spacing: 4px;
font-family: var(--body); font-weight: 400;
}
.hero__bigname {
font-size: clamp(64px, 13vw, 188px) !important;
font-weight: 700; color: var(--ink);
line-height: 0.85 !important; margin: 8px 0 4px; letter-spacing: -2px;
}
.hero__sub { font-size: clamp(22px, 3.4vw, 44px); color: var(--sage); font-weight: 400; }
.hero__sub em { color: var(--gold); font-size: 1em; }

.hero__credentials {
display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
gap: 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
padding: 22px 0; max-width: 760px;
opacity: 0; transform: translateY(20px);
}
.cred { display: flex; align-items: baseline; gap: 12px; }
.cred__num { font-family: var(--display); color: var(--gold); font-size: 22px; font-weight: 700; }
.cred__text { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }

.hero__foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

.btn {
display: inline-flex; align-items: center; gap: 10px;
padding: 16px 32px;
font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: .5px;
border: 1px solid transparent;
transition: all .35s var(--ease); cursor: pointer;
}
.btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--solid:hover, .btn--solid:active { background: var(--sage); border-color: var(--sage); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover, .btn--ghost:active { background: var(--ink); color: var(--bg); }
.btn--ghost span { font-family: var(--display); color: var(--gold); }
.btn--ghost:hover span { color: var(--gold-soft); }

.hero__scroll {
position: absolute; bottom: -50px; right: 0;
display: flex; flex-direction: column; align-items: center; gap: 10px;
font-size: 11px; letter-spacing: 2px; color: var(--ink-soft);
}
.hero__scrollline {
width: 1px; height: 60px;
background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
0%, 100% { transform: scaleY(1); opacity: .8; }
50%      { transform: scaleY(0.4); opacity: .3; }
}

.hero__aside {
position: absolute; top: 140px; left: var(--pad);
display: flex; flex-direction: column; gap: 36px; align-items: center;
}
.hero__seal {
width: 120px; height: 120px;
border: 1px solid var(--gold); border-radius: 50%;
display: grid; place-items: center;
background: rgba(176, 141, 87, 0.06);
animation: rotate 30s linear infinite;
}
.hero__seal .aref { font-family: var(--decor); color: var(--sage); font-size: 16px; line-height: 1.4; text-align: center; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero__year { writing-mode: vertical-rl; font-family: var(--display); font-size: 13px; color: var(--ink-soft); letter-spacing: 3px; }

/* ===== Marquee ===== */
.marquee {
border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
padding: 22px 0; background: var(--paper);
overflow: hidden; position: relative;
}
.marquee__track {
display: flex; gap: 36px; white-space: nowrap;
font-family: var(--display);
font-size: clamp(22px, 3vw, 36px); color: var(--ink);
animation: marquee 38s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--ink); }
.marquee__track span:nth-child(even) { color: var(--gold); }
@keyframes marquee {
from { transform: translateX(0); }
to   { transform: translateX(100%); }
}

/* ===== Section common ===== */
section { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: var(--maxw); margin: 0 auto; position: relative; }
.section__head {
display: flex; align-items: baseline; gap: 14px;
margin-bottom: clamp(40px, 6vw, 72px);
padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.section__num { font-family: var(--display); color: var(--gold); font-size: 16px; font-weight: 700; }
.section__label { font-size: 12px; letter-spacing: 3px; color: var(--ink-soft); }
.section__title {
font-family: var(--display); font-weight: 400;
font-size: clamp(34px, 6vw, 80px); line-height: 1.05;
margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px;
}
.section__title em { color: var(--gold); display: block; font-size: 1em; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.portrait { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.portrait__frame { aspect-ratio: 3/4; background: var(--paper); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.portrait__frame::before,
.portrait__frame::after { content: ''; position: absolute; width: 28px; height: 28px; border: 1px solid var(--gold); }
.portrait__frame::before { top: 14px; right: 14px; border-bottom: none; border-left: none; }
.portrait__frame::after { bottom: 14px; left: 14px; border-top: none; border-right: none; }
.portrait__inner {
width: 100%; height: 100%; display: grid; place-items: center;
background: radial-gradient(ellipse at 50% 30%, rgba(176, 141, 87, 0.18), transparent 60%);
}
.portrait__monogram { font-family: var(--display); font-size: clamp(80px, 14vw, 160px); color: var(--sage); letter-spacing: 8px; font-weight: 700; }
.portrait__caption { font-family: var(--display); font-size: 14px; color: var(--ink-soft); text-align: center; }
.about__lede { font-family: var(--display); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.45; color: var(--ink); margin-bottom: 36px; font-weight: 400; }
.about__body p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 16px; max-width: 60ch; }
.about__stats {
list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
gap: 16px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule);
}
.about__stats li { text-align: right; }
.stat__num { display: block; font-family: var(--display); font-size: clamp(34px, 5vw, 58px); color: var(--ink); line-height: 1; font-weight: 700; }
.stat__num::first-letter { color: var(--gold); }
.stat__lbl { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 1px; margin-top: 6px; display: block; }

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.service {
padding: clamp(28px, 3.5vw, 44px);
border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule);
position: relative; background: transparent;
transition: background .5s var(--ease); overflow: hidden;
}
.service::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(ellipse at 80% 0%, rgba(176, 141, 87, 0.12), transparent 60%);
opacity: 0; transition: opacity .5s var(--ease);
}
.service:hover, .service:active { background: var(--paper); }
.service:hover::before, .service:active::before { opacity: 1; }
.service__num { font-family: var(--display); font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 22px; letter-spacing: 1px; }
.service__title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--ink); margin-bottom: 14px; line-height: 1.2; position: relative; }
.service__desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; position: relative; }

/* ===== Credentials ===== */
.cred__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.cred__h { font-family: var(--display); font-size: clamp(34px, 5vw, 64px); line-height: 1.05; font-weight: 400; color: var(--ink); }
.cred__motto { display: block; margin-top: 24px; color: var(--gold); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 1px; }
.cred__list { list-style: none; display: grid; gap: 0; position: sticky; top: 110px; }
.cred__list li {
display: grid; grid-template-columns: auto 1fr;
gap: 22px; padding: 26px 0;
border-bottom: 1px solid var(--rule); align-items: start;
transition: padding-right .35s var(--ease);
}
.cred__list li:hover, .cred__list li:active { padding-right: 14px; }
.cred__list li:first-child { border-top: 1px solid var(--rule); }
.cred__year { font-family: var(--display); color: var(--gold); font-size: 22px; font-weight: 700; width: 28px; }
.cred__list h4 { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cred__list p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Philosophy ===== */
.philosophy { text-align: center; }
.quote { max-width: 920px; margin: 0 auto; position: relative; padding: 60px 0 20px; }
.quote__mark { font-family: var(--display); font-size: 200px; line-height: 0.5; color: var(--gold); position: absolute; top: 0; right: 50%; transform: translateX(50%); opacity: .4; }
.quote p { font-family: var(--display); font-size: clamp(26px, 4vw, 52px); line-height: 1.35; color: var(--ink); font-weight: 400; }
.quote footer { font-family: var(--body); font-size: 14px; color: var(--ink-soft); margin-top: 28px; letter-spacing: 2px; }

/* ===== Contact / Clinics ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__title { font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 1; font-weight: 400; color: var(--ink); }
.contact__sub { margin-top: 24px; color: var(--ink-soft); font-size: 15.5px; max-width: 42ch; line-height: 1.7; }
.contact__cta { margin-top: 36px; }

.clinics { display: grid; gap: 16px; }
.clinic {
background: var(--paper); padding: 28px 30px;
border: 1px solid var(--rule); position: relative;
transition: all .4s var(--ease);
display: grid; gap: 4px;
}
.clinic:hover, .clinic:active { background: var(--bg); border-color: var(--gold); transform: translateX(-4px); }
.clinic__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.clinic__tag { font-size: 11px; letter-spacing: 3px; color: var(--gold); }
.clinic__num { font-family: var(--display); font-size: 26px; color: var(--sage-soft); font-weight: 700; opacity: .65; }
.clinic__title { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.clinic__meta { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.clinic--online { background: var(--ink); border-color: var(--ink); }
.clinic--online .clinic__tag { color: var(--gold-soft); }
.clinic--online .clinic__num { color: var(--gold); opacity: .85; }
.clinic--online .clinic__title { color: var(--bg); }
.clinic--online .clinic__meta { color: var(--sage-soft); }
.clinic--online:hover { background: var(--ink); border-color: var(--gold); }
.clinic__wa {
display: inline-flex; align-items: center; gap: 10px;
margin-top: 14px; padding: 12px 18px;
border: 1px solid var(--gold); color: var(--gold);
font-family: var(--display); font-size: 16px; font-weight: 700;
width: fit-content; transition: all .35s var(--ease);
}
.clinic__wa:hover, .clinic__wa:active { background: var(--gold); color: var(--ink); }
.clinic__arr { font-family: var(--body); }

/* ===== Footer ===== */
.foot { border-top: 1px solid var(--rule); background: var(--paper); padding: 36px var(--pad); }
.foot__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__mono { font-family: var(--display); background: var(--ink); color: var(--bg); padding: 6px 12px; font-size: 12px; letter-spacing: 2px; }
.foot__name { font-family: var(--display); font-size: 14.5px; color: var(--ink); }
.foot__meta { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.foot__dot { color: var(--gold); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.reveal.is-in { animation: reveal-in 1.05s var(--ease) forwards; }
@keyframes reveal-in { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-in.is-in { opacity: 1; transform: translateY(0); }

/* ===== Booking Modal ===== */
.modal {
position: fixed; inset: 0; z-index: 300;
display: grid; place-items: center;
padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
position: absolute; inset: 0;
background: rgba(20, 28, 24, 0.55);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
animation: fade-in .35s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
position: relative;
background: var(--bg);
border: 1px solid var(--rule);
width: min(720px, 100%);
max-height: 92vh; overflow-y: auto;
padding: clamp(28px, 4vw, 48px);
box-shadow: 0 30px 80px -20px rgba(20,28,24,0.45);
animation: pop .45s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__panel::before {
content: '';
position: absolute; inset: 0;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
pointer-events: none; opacity: .5; mix-blend-mode: multiply;
}
.modal__panel > * { position: relative; }
.modal__close {
position: absolute; top: 14px; left: 14px;
width: 38px; height: 38px;
background: transparent; border: 1px solid var(--rule);
font-size: 22px; line-height: 1; color: var(--ink);
cursor: pointer; transition: all .25s var(--ease);
}
.modal__close:hover, .modal__close:active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.modal__head { margin-bottom: 28px; }
.modal__eyebrow {
display: inline-block; font-size: 11px; letter-spacing: 3px;
color: var(--gold); margin-bottom: 14px;
}
.modal__title { font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; font-weight: 400; color: var(--ink); }
.modal__sub { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; max-width: 52ch; }

/* ===== Form ===== */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field--sm { max-width: 100%; }
.field__lbl {
font-size: 12px; letter-spacing: 1.5px;
color: var(--ink-soft); font-weight: 500;
}
.field__lbl i { color: var(--gold); font-style: normal; margin-right: 2px; }
.field input,
.field select,
.field textarea {
font-family: var(--body); font-size: 16px; color: var(--ink);
background: var(--paper);
border: 1px solid var(--rule);
padding: 12px 14px;
width: 100%;
transition: border-color .25s var(--ease), background .25s var(--ease);
outline: none;
font-feature-settings: 'ss01';
}
.field input::placeholder,
.field textarea::placeholder { color: var(--sage-soft); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); background: var(--bg); }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="date"] { font-family: var(--body); }

fieldset.field { border: 0; padding: 0; }
.radios { display: grid; gap: 10px; }
.radio {
display: flex; align-items: center; gap: 10px;
padding: 12px 14px;
background: var(--paper);
border: 1px solid var(--rule);
cursor: pointer; font-size: 14.5px;
transition: all .25s var(--ease);
}
.radio:hover { border-color: var(--gold-soft); }
.radio input { accent-color: var(--gold); width: 16px; height: 16px; }
.radio input:checked ~ span { color: var(--ink); font-weight: 500; }
.radio:has(input:checked) { background: var(--bg); border-color: var(--gold); }

.form__foot {
border-top: 1px solid var(--rule);
padding-top: 18px;
display: grid; gap: 14px;
}
.form__hint { font-size: 12.5px; color: var(--ink-soft); }
.form__actions { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; }
.form__actions .btn { padding: 14px 24px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B0573E; background: rgba(176,87,62,0.06); animation: shake .4s ease; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.field.has-error .field__lbl { color: #B0573E; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
.nav__links { display: none; }
.nav__links.is-open {
display: flex;
position: absolute;
top: 100%; right: 0; left: 0;
flex-direction: column;
background: var(--bg);
padding: 24px var(--pad);
border-bottom: 1px solid var(--rule);
gap: 18px;
}
.nav__toggle { display: flex; }
.hero { padding-top: 120px; }
.hero__aside { display: none; }
.hero__ornament { opacity: .55; }
.hero__scroll { display: none; }
.hero__credentials { grid-template-columns: 1fr; gap: 14px; }
.about__grid, .cred__grid, .contact__grid { grid-template-columns: 1fr; }
.portrait, .cred__list { position: static; }
.portrait { max-width: 360px; }
.services__grid { grid-template-columns: 1fr 1fr; }
.about__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.quote__mark { font-size: 140px; }
}
@media (max-width: 620px) {
.services__grid { grid-template-columns: 1fr; }
.about__stats { grid-template-columns: 1fr; gap: 14px; }
.nav__name { display: none; }
.foot__inner { flex-direction: column; text-align: center; }
.form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
.reveal { opacity: 1; transform: none; filter: none; }
}

/* ===== Portrait photo override (added) ===== */
.portrait__frame {
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.portrait:hover .portrait__frame, .portrait:active .portrait__frame {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -28px rgba(31,42,36,.45);
}
.portrait__frame::before,
.portrait__frame::after {
  z-index: 3;
  width: 36px; height: 36px;
}
.portrait__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(0.15) contrast(1.02) saturate(0.95);
  transition: filter .8s var(--ease), transform 1.4s var(--ease);
  z-index: 1;
}
.portrait:hover .portrait__img, .portrait:active .portrait__img {
  filter: grayscale(0) contrast(1.05) saturate(1.05);
  transform: scale(1.04);
}
.portrait__frame > .portrait__img ~ .portrait__badge {
  position: absolute;
  bottom: 18px; right: 18px;
  z-index: 2;
  background: rgba(31, 42, 36, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--decor);
  font-size: 16px;
  letter-spacing: .5px;
  border: 1px solid var(--gold-soft);
}
/* gradient bottom veil */
.portrait__frame::after {
  background: linear-gradient(to top, rgba(20,28,24,0.55), transparent 50%);
  width: 100%; height: 50%;
  bottom: 0; left: 0;
  border: none !important;
  z-index: 2;
  pointer-events: none;
}
.portrait__frame::before {
  /* keep top-right gold corner */
}

/* photo float decoration on hover */
.about__portrait {
  position: relative;
}
.about__portrait::before {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  width: 70%; height: 70%;
  border: 1px solid var(--gold);
  z-index: -1;
  opacity: .5;
  pointer-events: none;
}
.about__portrait::after {
  content: '';
  position: absolute;
  bottom: -16px; left: -16px;
  width: 50%; height: 40%;
  background: radial-gradient(ellipse at 30% 60%, rgba(176,141,87,0.20), transparent 70%);
  z-index: -1;
  pointer-events: none;
}


/* ===== Social Icons in Nav ===== */
.nav__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--rule);
}
.nav__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.nav__social a svg {
  width: 16px;
  height: 16px;
}
.nav__social a:hover, .nav__social a:active {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===== Social Card in Clinics ===== */
.clinic--social {
  background: var(--paper);
  border-color: var(--rule);
}
.clinic--social .clinic__tag { color: var(--sage); }
.clinic--social .clinic__num { color: var(--sage-soft); }
.clinic__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.clinic__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.clinic__social a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.clinic__social a:hover, .clinic__social a:active {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--bg);
}

/* ===== Social Links in Footer ===== */
.foot__social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.foot__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.foot__social a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.foot__social a:hover, .foot__social a:active {
  color: var(--gold);
}

/* ===== Responsive Social ===== */
@media (max-width: 980px) {
  .nav__social {
    display: none;
  }
  .foot__inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .foot__social {
    order: -1;
    justify-content: center;
  }
}
@media (max-width: 620px) {
  .clinic__social {
    flex-direction: column;
  }
  .clinic__social a {
    justify-content: center;
  }
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  right: 50%;
  transform: translateX(50%);
  z-index: 999;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 24px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: top .3s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

