/* Dr. Sharkawy — main stylesheet */

:root {
	--navy: #0A0A0A;
	--navy-2: #161616;
	--navy-light: #262626;
	--gold: #2E6BE6;
	--gold-light: #7FA8F2;
	--cream: #FAF7F1;
	--cream-2: #F3EEE3;
	--ink: #16212E;
	--muted: #5B6B7D;
	--line: #E7E2D8;
	--white: #FFFFFF;
	--radius: 16px;
	--font-head-en: 'Archivo Black', sans-serif;
	--font-body-en: 'Jost', sans-serif;
	--font-ar: 'Cairo', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body-en);
	line-height: 1.7;
	font-size: 16px;
	overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .ds-logo__name {
	font-family: var(--font-ar);
	font-weight: 800;
}
h1, h2, h3 { font-family: var(--font-head-en); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { text-transform: none; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--navy); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.ds-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.ds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
	transition: all .2s ease; border: 2px solid transparent; cursor: pointer;
}
.ds-btn--primary { background: var(--gold); color: var(--navy); }
.ds-btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.ds-btn--ghost { border-color: var(--navy); color: var(--navy); }
.ds-btn--ghost:hover { background: var(--navy); color: var(--white); }
.ds-btn--light { background: var(--white); color: var(--navy); }
.ds-btn--light:hover { background: var(--gold-light); }
.ds-btn--sm { padding: 9px 18px; font-size: .8rem; }
.ds-btn--block { width: 100%; }

.ds-eyebrow {
	color: var(--gold); text-transform: uppercase; letter-spacing: .14em;
	font-size: .78rem; font-weight: 700; margin: 0 0 .6em;
}
.ds-eyebrow--center { text-align: center; }
.ds-section__title--center, .ds-section__sub--center { text-align: center; margin-left: auto; margin-right: auto; }
.ds-section__sub { color: var(--muted); max-width: 640px; }

/* Header */
.ds-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 20px rgba(11,35,64,.15); }
.ds-header__row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.ds-logo { display: flex; align-items: center; gap: 12px; }
.ds-logo__mark {
	width: 46px; height: 46px; border-radius: 50%; background: var(--gold);
	color: var(--navy); display: flex; align-items: center; justify-content: center;
	font-family: var(--font-head-en); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.ds-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.ds-logo__name { color: var(--white); font-weight: 700; font-size: 1.05rem; }
.ds-logo__title { color: var(--gold-light); font-size: .72rem; letter-spacing: .04em; }

.ds-nav__list { display: flex; gap: 32px; }
.ds-nav__list a { color: var(--white); font-weight: 500; font-size: .95rem; opacity: .9; }
.ds-nav__list a:hover { opacity: 1; color: var(--gold-light); }

.ds-header__actions { display: flex; align-items: center; gap: 14px; }
.ds-lang-switch {
	color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
	padding: 6px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
}
.ds-lang-switch:hover { background: rgba(255,255,255,.1); }
.ds-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.ds-burger span { width: 24px; height: 2px; background: var(--white); display: block; }

.ds-mobile-nav { display: none; background: var(--navy-2); padding: 16px 24px 24px; }
.ds-mobile-nav.is-open { display: block; }
.ds-mobile-nav__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.ds-mobile-nav__list a { color: var(--white); display: block; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }

/* Hero */
.ds-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 72px 0 90px; position: relative; overflow: hidden; }
.ds-hero::after {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(46,107,230,.18), transparent 55%);
	pointer-events: none;
}
.ds-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.ds-hero .ds-eyebrow { color: var(--gold-light); }
.ds-hero__headline { color: var(--white); margin-bottom: .4em; }
.ds-hero__sub { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 520px; }
.ds-hero__actions { display: flex; gap: 14px; margin: 28px 0 40px; flex-wrap: wrap; }
.ds-hero__actions .ds-btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.ds-hero__actions .ds-btn--ghost:hover { background: var(--white); color: var(--navy); }
.ds-hero__stats { display: flex; gap: 36px; }
.ds-hero__stats div { display: flex; flex-direction: column; }
.ds-hero__stats strong { font-family: var(--font-head-en); font-size: 1.8rem; color: var(--gold-light); }
.ds-hero__stats span { color: rgba(255,255,255,.7); font-size: .82rem; }

.ds-hero__visual { position: relative; display: flex; justify-content: center; }
.ds-hero__portrait {
	width: 100%; max-width: 340px; aspect-ratio: 4/5; border-radius: 28px;
	background: linear-gradient(160deg, var(--navy-light), var(--navy));
	border: 2px solid rgba(46,107,230,.4);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	position: relative;
}
.ds-hero__portrait-mark { font-family: var(--font-head-en); font-size: 3.4rem; color: var(--gold-light); font-weight: 700; }
.ds-hero__portrait-note { color: rgba(255,255,255,.55); font-size: .82rem; text-align: center; padding: 0 20px; }
.ds-hero__portrait--photo {
	background-size: cover; background-position: center top; background-repeat: no-repeat;
	filter: grayscale(.15) contrast(1.04);
}
.ds-hero__badge {
	position: absolute; bottom: -18px; left: -18px; background: var(--white); color: var(--navy);
	border-radius: 16px; padding: 14px 20px; box-shadow: 0 12px 30px rgba(0,0,0,.2);
	display: flex; flex-direction: column; min-width: 150px;
}
html[dir="rtl"] .ds-hero__badge { left: auto; right: -18px; }
.ds-hero__badge-num { font-family: var(--font-head-en); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.ds-hero__badge-txt { font-size: .74rem; color: var(--muted); }

/* Trust bar */
.ds-trustbar { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 18px 0; }
.ds-trustbar--page { border-top: 1px solid var(--line); border-bottom: 0; }
.ds-trustbar__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ds-trustbar__row span { font-size: .8rem; color: var(--navy); font-weight: 600; letter-spacing: .02em; }

/* Section spacing */
.ds-section { padding: 88px 0; }
.ds-page-hero { background: var(--cream-2); padding: 64px 0 48px; text-align: center; border-bottom: 1px solid var(--line); }
.ds-page-hero__sub { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* About teaser */
.ds-about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.ds-about-teaser__text p { color: var(--muted); }
.ds-link-arrow { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.ds-credentials-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ds-credentials-list--page li { font-size: 1rem; }
.ds-check { color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* About page */
.ds-about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ds-hero__portrait--page { background: linear-gradient(160deg, var(--navy), var(--navy-2)); max-width: 100%; }
.ds-about-grid__text h3 { margin-top: 1.6em; }

/* Clinic gallery (About page) */
.ds-clinic-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.ds-clinic-gallery__item {
	display: block; aspect-ratio: 4/3; border-radius: var(--radius); background-color: var(--navy);
	background-size: cover; background-position: center; background-repeat: no-repeat;
	filter: grayscale(.2) contrast(1.03); transition: transform .3s ease;
}
.ds-clinic-gallery__item:hover { transform: translateY(-4px); }

/* Before / after (real patient results, About page) */
.ds-section--alt { background: var(--cream-2); }
.ds-ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.ds-ba-card { margin: 0; }
.ds-ba-card__img {
	display: block; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); background-color: var(--navy);
	background-size: cover; background-position: center; background-repeat: no-repeat;
	box-shadow: 0 8px 24px rgba(10,10,10,.12); transition: transform .3s ease;
}
.ds-ba-card__img:hover { transform: translateY(-4px); }
.ds-ba-card figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* Services grid */
.ds-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ds-services-grid--full { margin-top: 0; }
.ds-service-card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; position: relative; transition: all .2s ease;
}
.ds-service-card:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgba(11,35,64,.1); transform: translateY(-4px); }
.ds-service-card:hover .ds-service-card__visual-bg { transform: scale(1.06); }
.ds-service-card:hover .ds-service-card__icon-badge { transform: scale(1.08); }
.ds-service-card__visual {
	position: relative; aspect-ratio: 16/10; min-height: 190px; overflow: hidden; background: var(--navy);
	display: block;
}
.ds-service-card__visual-bg {
	position: absolute; inset: 0; display: block; width: 100%; height: 100%;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	filter: grayscale(.3) contrast(1.05); transition: transform .4s ease;
}
.ds-service-card__visual::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(195deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.75) 100%),
		radial-gradient(circle at 80% 15%, rgba(46,107,230,.3), transparent 55%);
}
.ds-service-card__icon-badge {
	position: absolute; z-index: 1; bottom: 14px; inset-inline-start: 16px;
	width: 42px; height: 42px; padding: 9px; box-sizing: border-box; border-radius: 50%;
	background: rgba(10,10,10,.55); border: 1px solid rgba(127,168,242,.4); color: var(--gold-light);
	backdrop-filter: blur(2px); transition: transform .25s ease;
}
.ds-service-card__icon-badge svg { width: 100%; height: 100%; display: block; }
.ds-service-card__num {
	position: absolute; top: 16px; inset-inline-end: 18px; color: rgba(255,255,255,.75); z-index: 1;
	font-family: var(--font-head-en); font-size: 1.2rem; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.ds-service-card h3, .ds-service-card ul { padding-left: 28px; padding-right: 28px; }
.ds-service-card h3 { margin: 22px 0 12px; font-size: 1.1rem; padding-top: 0; }
.ds-service-card ul { padding-bottom: 28px; }
.ds-service-card ul li { font-size: .88rem; color: var(--muted); padding: 5px 0 5px 18px; position: relative; }
.ds-service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
html[dir="rtl"] .ds-service-card ul li { padding: 5px 18px 5px 0; }
html[dir="rtl"] .ds-service-card ul li::before { left: auto; right: 0; }

/* Reels / videos */
.ds-section--reels { background: var(--navy); }
.ds-section__title--light { color: var(--white); }
.ds-section__sub--light { color: rgba(255,255,255,.65); }
.ds-reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.ds-reels-grid--full { margin-top: 0; }
.ds-reel-card {
	position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden;
	background: linear-gradient(165deg, var(--navy-light), var(--navy-2));
	border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: flex-end;
	padding: 20px; transition: transform .2s ease, border-color .2s ease;
}
.ds-reel-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.ds-reel-card:hover .ds-reel-card__bg { transform: scale(1.07); }
.ds-reel-card__bg {
	position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat;
	filter: grayscale(.25) contrast(1.05); transition: transform .4s ease;
}
.ds-reel-card::after {
	content: ''; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(195deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.9) 78%);
}
.ds-reel-card--transformation::after {
	background: linear-gradient(195deg, rgba(42,34,16,.15) 0%, rgba(10,10,10,.92) 78%);
}
.ds-reel-card__play {
	position: absolute; z-index: 2; top: 16px; inset-inline-end: 16px;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(10,10,10,.5); border: 1px solid rgba(255,255,255,.25); color: var(--white);
	display: flex; align-items: center; justify-content: center; font-size: .72rem; backdrop-filter: blur(2px);
}
.ds-reel-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.ds-reel-card__body strong {
	font-family: var(--font-head-en); color: var(--white); font-size: 1.05rem; text-transform: uppercase; line-height: 1.2;
	text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
html[lang="ar"] .ds-reel-card__body strong { text-transform: none; font-weight: 800; }
.ds-reel-card__body span { color: rgba(255,255,255,.7); font-size: .82rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ds-reels-cta { text-align: center; margin-top: 40px; }

/* CTA band */
.ds-cta { background: var(--navy); color: var(--white); padding: 56px 0; }
.ds-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ds-cta h2 { color: var(--white); margin-bottom: .2em; }
.ds-cta p { color: rgba(255,255,255,.75); margin: 0; }

/* Contact */
.ds-placeholder-note { background: #FFF6DE; border: 1px solid var(--gold); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-size: .85rem; margin-bottom: 36px; }
.ds-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.ds-contact-info__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ds-contact-info__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.ds-contact-map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ds-contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.ds-contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.ds-contact-form input, .ds-contact-form textarea {
	border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .95rem; background: var(--cream);
}
.ds-contact-form input:focus, .ds-contact-form textarea:focus { outline: 2px solid var(--gold); }
.ds-form-success { background: #E8F6EC; border: 1px solid #4C9A6A; color: #1E5B37; padding: 12px 16px; border-radius: 10px; font-size: .9rem; }

/* Footer */
.ds-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.ds-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ds-footer__name { color: var(--white); font-weight: 700; margin: 12px 0 2px; }
.ds-footer__title { color: var(--gold-light); font-size: .82rem; margin-bottom: 16px; }
.ds-footer__social { display: flex; gap: 10px; }
.ds-footer__social a {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
	display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .74rem; text-transform: uppercase;
}
.ds-footer__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.ds-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; }
.ds-footer__col ul li { padding: 7px 0; }
.ds-footer__col a { color: rgba(255,255,255,.7); font-size: .9rem; }
.ds-footer__col a:hover { color: var(--gold-light); }
.ds-footer__contact li { color: rgba(255,255,255,.7); font-size: .9rem; padding: 7px 0; }
.ds-footer__bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: .8rem; flex-wrap: wrap; gap: 8px; }
.ds-footer__bottom a { color: rgba(255,255,255,.6); }

/* WhatsApp FAB */
.ds-whatsapp-fab {
	position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,.4);
}

/* 404 */
.ds-404 { text-align: center; }
.ds-404 h1 { font-size: 5rem; }

/* Responsive */
@media (max-width: 960px) {
	.ds-nav { display: none; }
	.ds-burger { display: flex; }
	.ds-hero__grid, .ds-about-teaser, .ds-about-grid, .ds-contact-grid { grid-template-columns: 1fr; }
	.ds-services-grid { grid-template-columns: repeat(2, 1fr); }
	.ds-reels-grid { grid-template-columns: repeat(2, 1fr); }
	.ds-footer__grid { grid-template-columns: 1fr; }
	.ds-header__actions .ds-btn { display: none; }
	.ds-clinic-gallery { grid-template-columns: repeat(2, 1fr); }
	.ds-ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.ds-services-grid { grid-template-columns: 1fr; }
	.ds-reels-grid { grid-template-columns: 1fr; }
	.ds-hero { padding: 48px 0 64px; }
	.ds-section { padding: 56px 0; }
	.ds-cta__row { text-align: center; justify-content: center; }
	.ds-clinic-gallery { grid-template-columns: 1fr 1fr; }
	.ds-ba-grid { grid-template-columns: 1fr 1fr; }
}
