/*
Theme Name: Dr. Pıçak
Theme URI: https://drpicak.com
Author: Mehmet Hakan Pıçak, MD
Description: Interventional radiology practice site for Dr. Mehmet Hakan Pıçak, MD — İzmir, Türkiye. Image-guided treatment pages, an international patient guide and a medical review request flow.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drpicak
Tags: one-column, custom-menu, translation-ready
*/

/* ─────────────────────────────  TOKENS  ───────────────────────────── */

:root {
	--navy:        #0E2149;
	--navy-deep:   #08182F;
	--navy-ink:    #08243B;
	--ink:         #12233F;
	--teal:        #14808F;
	--cyan:        #2EBFC9;
	--cyan-light:  #7FD3DC;
	--cyan-pale:   #8FD8E1;
	--slate-dark:  #3C4C61;
	--slate:       #5A6B80;
	/*
	 * A11.2-F38: these three were 3.09:1, 2.63:1 and 2.22:1 on white -- below
	 * the 4.5:1 AA body-text threshold -- and they carry the text that matters
	 * most: the medical disclaimer on every treatment page and the treatment
	 * fact labels. Darkened to clear
	 * AA on white while staying legible on the navy sections.
	 *   --muted       #8494AA -> #5F7085  (5.07:1)
	 *   --muted-light #93A1B2 -> #66778C  (4.58:1)
	 *   --num         #9FB0C2 -> #66778F  (4.56:1)
	 * The original light values are kept for dark backgrounds.
	 */
	--muted:       #5F7085;
	--muted-light: #66778C;
	--num:         #66778F;
	--muted-on-dark:       #8494AA;
	--muted-light-on-dark: #93A1B2;
	/* Focus ring: --cyan is 2.23:1 on white, below the 3:1 that SC 1.4.11
	   requires of a focus indicator. --teal (#14808F) is 4.65:1. */
	--focus:       #14808F;
	--line:        #E3E8EE;
	--line-soft:   #DCE3EB;
	--line-strong: #CFD9E3;
	--field-line:  #D5DDE6;
	--soft:        #F5F7F9;
	--white:       #FFFFFF;

	--on-dark:      #BCC8D8;
	--on-dark-soft: #A9B7C9;

	--serif: Newsreader, Georgia, serif;
	--sans:  "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: 40px;
	--header-h: 68px;
}

/* ─────────────────────────────  BASE  ───────────────────────────── */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	font-family: var(--sans);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, p { margin: 0; }

button { font-family: inherit; }

input, textarea, select { font-family: var(--sans); }
::placeholder { color: var(--muted-light); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Dark sections: the light greys still read well there and clear AA on navy. */
.section--dark .section-head__aside,
.section--dark .section-head__aside--sm,
.section--dark .note,
.site-footer .footer-links a { color: var(--muted-on-dark); }
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan-light); }
::selection { background: var(--cyan); color: var(--navy-ink); }

[id] { scroll-margin-top: 96px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px; inset-inline-start: 8px;
	z-index: 200;
	clip: auto;
	width: auto; height: auto;
	padding: 12px 20px;
	background: var(--navy);
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ─────────────────────────────  LAYOUT  ───────────────────────────── */

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-inline-start: var(--gutter);
	padding-inline-end: var(--gutter);
}

.wrap--narrow { max-width: 900px; }

.section { padding-top: 100px; padding-bottom: 90px; }
.section--tight { padding-top: 88px; padding-bottom: 88px; }
.section--band { padding-top: 48px; padding-bottom: 48px; }
.section--band-sm { padding-top: 44px; padding-bottom: 44px; }

.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: var(--white); }
.bordered-top    { border-top: 1px solid var(--line); }
.bordered-bottom { border-bottom: 1px solid var(--line); }

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 72px;
	align-items: start;
}
.split--center { align-items: center; }
.split--wide { gap: 80px; }

/* Three even columns of running text (memberships, focus lists). */
.cols-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 48px;
}

/* ─────────────────────────────  TYPE  ───────────────────────────── */

.eyebrow {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--teal);
}
.eyebrow--light { color: var(--cyan-pale); }
.eyebrow--cyan  { color: var(--cyan-light); }

.eyebrow-rule {
	display: flex;
	align-items: center;
	gap: 12px;
}
.eyebrow-rule::before {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--cyan);
	flex: 0 0 auto;
}

.display {
	font-family: var(--serif);
	font-weight: 300;
	letter-spacing: -0.024em;
	line-height: 1.05;
	font-size: clamp(38px, 6.4vw, 66px);
	color: var(--white);
	text-wrap: pretty;
}
.display em { font-style: italic; color: var(--cyan-light); }

.display--page {
	font-size: clamp(34px, 5.4vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.h2 {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--navy);
	text-wrap: pretty;
}
.h2--sm { font-size: clamp(27px, 3vw, 38px); line-height: 1.14; }
.h2--xs { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: 0; }
.h2--on-dark { color: var(--white); }

.h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.22;
	color: var(--navy);
}
.h3--sm { font-size: 21px; line-height: 1.25; }

.lede {
	font-size: 17.5px;
	line-height: 1.65;
	color: var(--on-dark);
	text-wrap: pretty;
}

.prose {
	font-size: 16.5px;
	line-height: 1.72;
	color: var(--slate-dark);
	text-wrap: pretty;
}
.prose--muted { color: var(--slate); }

.note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--muted);
}

.measure { max-width: 620px; }
.measure--sm { max-width: 520px; }
.measure--xs { max-width: 340px; }

/* Section intro: eyebrow, heading, optional standfirst. */
.intro { max-width: 640px; margin-bottom: 56px; }
.intro .eyebrow { display: block; margin-bottom: 16px; }
.intro .h2 { margin-bottom: 18px; }
.intro .h2:last-child { margin-bottom: 0; }
.intro p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--slate);
}

.u-block { display: block; }
.u-mt { margin-top: 24px; }
.u-mt-lg { margin-top: 36px; }
.u-mb-xs { margin-bottom: 16px; }
.u-mb-sm { margin-bottom: 22px; }
.u-mb { margin-bottom: 32px; }
.u-mb-md { margin-bottom: 36px; }
.u-mb-lg { margin-bottom: 56px; }
.u-right { display: flex; justify-content: flex-end; margin-top: 28px; }

/* ─────────────────────────────  BUTTONS  ───────────────────────────── */

.btn {
	display: inline-block;
	white-space: nowrap;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 14.5px;
	font-weight: 600;
	padding: 17px 30px;
	cursor: pointer;
	transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.btn--cyan { background: var(--cyan); color: var(--navy-ink); }
.btn--cyan:hover { background: var(--cyan-light); color: var(--navy-ink); box-shadow: 0 14px 30px -16px rgba(46, 191, 201, .95); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--teal); color: var(--white); box-shadow: 0 14px 30px -16px rgba(20, 128, 143, .85); }

.btn--ghost {
	border-color: rgba(255, 255, 255, .32);
	color: var(--white);
	font-weight: 500;
}
.btn--ghost:hover {
	border-color: var(--cyan);
	color: var(--cyan-light);
	background: rgba(46, 191, 201, .08);
}

.btn--sm { font-size: 13.5px; padding: 13px 22px; letter-spacing: .01em; }
.btn--block { display: block; width: 100%; text-align: center; padding: 15px; font-size: 14px; }

.btn-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.link-arrow {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--teal);
}
.link-arrow:hover { color: var(--navy); }
.link-arrow--sm { font-size: 13px; }
.link-arrow--cyan { color: var(--cyan-light); }
.link-arrow--cyan:hover { color: var(--white); }

/* ─────────────────────────────  HEADER  ───────────────────────────── */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-logo { display: block; flex: 0 0 auto; color: inherit; }
.site-logo__img { height: 38px; width: auto; display: block; }

/* Fallback lockup, used until a logo file is supplied. */
.site-logo__lockup { display: block; }
.site-logo__name {
	display: block;
	font-family: var(--serif);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--navy);
}
.site-logo__role {
	display: block;
	margin-top: 3px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--teal);
}

.site-nav {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	justify-content: flex-end;
}
.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
	justify-content: flex-end;
	font-size: 14px;
	font-weight: 500;
}
.site-nav a {
	color: var(--slate-dark);
	transition: color .18s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--navy); }

.site-header__cta { flex: 0 0 auto; }

.language-switcher { flex: 0 0 auto; }
.language-switcher ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.language-switcher a { display: block; padding: 5px 6px; color: var(--slate-dark); font-size: 12px; white-space: nowrap; }
.language-switcher a:hover, .language-switcher a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }


.nav-toggle {
	display: none;
	flex: 0 0 auto;
	margin-inline-start: auto;
	width: 44px;
	height: 40px;
	padding: 0;
	background: none;
	border: 1px solid var(--line);
	border-radius: 2px;
	cursor: pointer;
	color: var(--navy);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { margin: 0 auto; position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────────  HERO  ───────────────────────────── */

.hero {
	position: relative;
	background: var(--navy);
	color: var(--white);
	overflow: hidden;
}
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.hero::before {
	background: radial-gradient(120% 90% at 78% 20%, rgba(27, 168, 184, .28) 0%, rgba(14, 33, 73, 0) 62%);
}
.hero::after {
	opacity: .5;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, rgba(255, 255, 255, 0) 1px 96px);
}
.hero__glow-line {
	position: absolute;
	inset-inline-start: 0; inset-inline-end: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(27, 168, 184, 0) 0%, rgba(27, 168, 184, .7) 45%, rgba(27, 168, 184, 0) 100%);
}
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: 64px;
	align-items: center;
	padding-top: 96px;
	padding-bottom: 88px;
}
.hero--page::before {
	background: radial-gradient(110% 100% at 88% 10%, rgba(27, 168, 184, .22) 0%, rgba(14, 33, 73, 0) 62%);
}
.hero--page::after { content: none; }

/* Interior pages: an optional back link sits above the two-column block. */
.hero__page-inner { position: relative; padding-top: 72px; padding-bottom: 80px; }
.hero__page-inner--tall { padding-top: 88px; padding-bottom: 84px; }
.hero__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: 64px;
	align-items: center;
}

.hero__back {
	font-size: 13px;
	font-weight: 600;
	color: var(--cyan-light);
	display: inline-block;
	margin-bottom: 44px;
}
.hero__back:hover { color: var(--white); }

.hero .eyebrow { margin-bottom: 30px; }
.hero .display { margin-bottom: 26px; }
.hero .lede { margin-bottom: 38px; }
.hero .btn-row { margin-bottom: 44px; }
.hero--page .eyebrow { margin-bottom: 20px; }
.hero--page .display { margin-bottom: 22px; }
.hero--page .lede { margin-bottom: 36px; }
.hero--page .lede:last-child { margin-bottom: 0; }

.hero__facts {
	display: flex;
	gap: 34px;
	flex-wrap: wrap;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__fact-label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 4px;
}
.hero__fact-note { font-size: 12.5px; color: var(--muted); }

.hero__figure {
	position: relative;
	min-width: 0;
}

/* Image frames. Height is fixed so an empty slot holds the same space. */
.figure {
	position: relative;
	min-width: 0;
	height: 520px;
	border-radius: 3px;
	overflow: hidden;
}
.figure--tall   { height: 480px; }
.figure--medium { height: 420px; }
.figure--wide   { height: 400px; }
.figure--short  { height: 380px; }
.figure--shadow { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.figure--bordered { border: 1px solid var(--line-soft); }

.hero__card {
	position: absolute;
	inset-inline-start: 20px;
	bottom: 34px;
	background: var(--white);
	color: var(--ink);
	padding: 20px 24px;
	border-inline-start: 3px solid var(--cyan);
	box-shadow: 0 24px 50px -20px rgba(8, 26, 50, .5);
	max-width: 250px;
}
.hero__card-name {
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.25;
}
.hero__card-role {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal);
	margin-top: 2px;
}

/* Media: real photo or a labelled placeholder holding the same box. */
.media { position: absolute; inset: 0; width: 100%; height: 100%; }
img.media { object-fit: cover; display: block; }

.media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(46, 191, 201, .08), rgba(14, 33, 73, .06)),
		var(--soft);
	border: 1px dashed var(--line-strong);
	color: var(--slate);
	font-size: 12.5px;
	line-height: 1.55;
	letter-spacing: .01em;
}

/* ─────────────────────────────  SECTION HEADS  ───────────────────────────── */

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 52px;
}
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head__aside {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--slate);
	max-width: 340px;
}
.section-head__aside--sm { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 300px; }

/* ─────────────────────────────  HAIRLINE GRID  ───────────────────────────── */

.grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.grid-cards--join { border-top: 0; }
.grid-cards--tight { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); background: var(--line-soft); border-color: var(--line-soft); }

.tcard {
	background: var(--white);
	padding: 36px 32px 32px;
	display: block;
	color: inherit;
	transition: background .2s ease, box-shadow .2s ease;
}
a.tcard:hover {
	background: #F5FBFC;
	box-shadow: inset 3px 0 0 var(--cyan);
	color: inherit;
}
.tcard__num {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--num);
	margin-bottom: 26px;
}
.tcard .h3 { margin-bottom: 12px; }
.tcard__text {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--slate);
	margin-bottom: 22px;
}
.tcard__more { font-size: 13px; font-weight: 600; color: var(--teal); }

.tcard--dark {
	background: var(--navy);
	padding: 36px 32px 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.tcard--dark p {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 300;
	line-height: 1.35;
	color: var(--white);
	margin-bottom: 24px;
}
.tcard--dark a { font-size: 13px; font-weight: 600; color: var(--cyan-light); }
.tcard--dark a:hover { color: var(--white); }

/* ─────────────────────────────  WHY IR  ───────────────────────────── */

.why {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 44px;
}
.why__item {
	border-top: 1px solid rgba(127, 211, 220, .45);
	padding-top: 22px;
}
.why__item h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--white);
}
.why__item p {
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--on-dark-soft);
}

/* ─────────────────────────────  PATHWAY  ───────────────────────────── */

.pathway {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.pathway__col {
	background: var(--white);
	padding: 34px 32px 36px;
}
.pathway__col--soft { background: var(--soft); }
.pathway__label {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 28px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--teal);
}
.pathway__label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line-strong);
}
.pathway__steps {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.pathway__num {
	font-family: var(--serif);
	font-size: 15px;
	color: var(--num);
	margin-bottom: 6px;
}
.pathway__steps h3 {
	font-size: 15.5px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--navy);
}
.pathway__steps p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--slate);
}

/* ─────────────────────────────  LISTS  ───────────────────────────── */

.rule-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 26px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.rule-list--plain { border: 0; padding: 0; }
.rule-list--top {
	border-bottom: 0;
	padding-bottom: 0;
	padding-top: 24px;
	margin-top: 30px;
	border-top-color: var(--line-soft);
	gap: 14px;
}
.rule-list li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	font-size: 15px;
	line-height: 1.6;
	color: var(--slate-dark);
}
.rule-list__mark {
	font-size: 12px;
	font-weight: 600;
	color: var(--cyan);
	flex: 0 0 auto;
}

.def-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.def-list li {
	display: flex;
	gap: 16px;
	align-items: baseline;
}
.def-list dt, .def-list__term {
	font-size: 15.5px;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 3px;
}
.def-list dd, .def-list__desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--slate);
	margin: 0;
}

.plain-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--slate);
}
.plain-list--wide { gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }

.col-label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 16px;
}
.col-label--teal { color: var(--teal); }

ul.rule-list, ul.def-list, ul.plain-list, ul.footer-links, ul.site-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ─────────────────────────────  CALLOUT  ───────────────────────────── */

.callout {
	padding: 24px 26px;
	background: var(--white);
	border-inline-start: 3px solid var(--cyan);
}
.callout--soft { background: var(--soft); }
.callout__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 10px;
}
.callout p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--slate-dark);
}

.panel-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 24px;
}
.panel {
	border: 1px solid var(--line);
	padding: 24px;
}
.panel__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 10px;
}
.panel p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--slate);
	margin-bottom: 12px;
}

/* ─────────────────────────────  ABOUT / REVIEW BLOCKS  ───────────────────────────── */

.about-body .h2 { margin-bottom: 24px; }
.about-body .prose { max-width: 600px; margin-bottom: 18px; }
.about-body .prose + .prose { margin-bottom: 40px; }
.about-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 32px 48px;
	padding-top: 36px;
	border-top: 1px solid var(--line-soft);
}

.review-head .eyebrow { display: block; margin-bottom: 16px; }
.review-head .h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin-bottom: 22px; }
.review-head .prose { max-width: 480px; margin-bottom: 36px; }
.review-head .rule-list { margin-bottom: 32px; }

/* ─────────────────────────────  FORM  ───────────────────────────── */

.form-card {
	background: var(--soft);
	border: 1px solid var(--line);
	padding: 40px;
}
.form-card__title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 26px;
	line-height: 1.25;
	color: var(--navy);
	margin-bottom: 28px;
}
.field-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 18px;
	margin-bottom: 18px;
}
.field { display: block; margin-bottom: 18px; }
.field__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--field-line);
	background: var(--white);
	font-size: 14.5px;
	color: var(--ink);
	border-radius: 2px;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; }
/*
 * A11.2-F36: `outline: none` above beat :focus-visible on specificity, so form
 * fields had no focus indicator at all -- only a 2.23:1 border tint and a 16%
 * alpha glow. Someone filling in a medical enquiry by keyboard could not tell
 * which field they were in. The outline is back and the tint is now a
 * supporting cue, not the only one.
 */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--focus);
	box-shadow: 0 0 0 3px rgba(20, 128, 143, .18);
}
.field-row .field { margin-bottom: 0; }

.dropzone {
	border: 1px dashed #B9C6D4;
	background: var(--white);
	padding: 22px;
	text-align: center;
	margin-bottom: 22px;
}
.dropzone__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 6px;
}
.dropzone__hint { font-size: 13px; color: var(--muted); }
.dropzone input[type="file"] {
	display: block;
	margin: 12px auto 0;
	font-size: 13px;
	color: var(--slate);
	max-width: 100%;
}

.consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 24px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--slate);
}
.consent input { margin-top: 3px; flex: 0 0 auto; }

.form-card .btn--navy { width: 100%; padding: 17px; }
.form-note {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--muted);
	margin-top: 16px;
	text-align: center;
}

.form-message {
	padding: 16px 18px;
	border-radius: 2px;
	font-size: 14.5px;
	line-height: 1.6;
	margin-bottom: 24px;
}
.form-message--ok    { background: #E8F6F7; border-inline-start: 3px solid var(--cyan); color: var(--navy); }
.form-message--error { background: #FBECEC; border-inline-start: 3px solid #C2554E; color: #6B2A25; }

.contact-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15.5px;
	font-weight: 600;
}

/* ─────────────────────────────  TREATMENT PAGE  ───────────────────────────── */

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 28px 32px;
}
.fact__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}
.fact__value {
	font-family: var(--serif);
	font-size: 22px;
	color: var(--navy);
}

.tx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
}

.steps {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.step {
	background: var(--white);
	padding: 24px 26px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 20px;
}
.step__num { font-family: var(--serif); font-size: 20px; color: var(--num); }
.step h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.step p { font-size: 14.5px; line-height: 1.65; color: var(--slate); }

.compare {
	border: 1px solid var(--line);
	transition: box-shadow .25s ease, border-color .25s ease;
	overflow-x: auto;
}
.compare:hover {
	box-shadow: 0 20px 44px -26px rgba(8, 26, 50, .38);
	border-color: #CFDAE5;
}
.compare table {
	width: 100%;
	min-width: 460px;
	border-collapse: collapse;
	text-align: start;
}
.compare thead tr { background: var(--navy); color: var(--white); }
.compare th {
	padding: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	overflow-wrap: anywhere;
	width: 28%;
}
.compare th:first-child { width: 34%; }
.compare th.compare__a { color: var(--cyan-light); }
.compare th.compare__b { color: var(--on-dark-soft); }
.compare td {
	padding: 16px;
	font-size: 14.5px;
	overflow-wrap: anywhere;
	color: var(--slate-dark);
	border-top: 1px solid var(--line);
	vertical-align: top;
}
.compare th[scope="row"] {
	padding: 16px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--navy);
	border-top: 1px solid var(--line);
	vertical-align: top;
	overflow-wrap: anywhere;
}
.compare tbody tr:nth-child(even) { background: var(--soft); }
.compare td.compare__b { color: var(--slate); }

.tx-aside {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.aside-card {
	border: 1px solid var(--line);
	padding: 30px 28px;
}
.aside-card--dark {
	background: var(--navy);
	color: var(--white);
	border: 0;
	padding: 32px 30px;
}
.aside-card__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 18px;
}
.aside-card--dark .aside-card__label { color: var(--cyan-light); margin-bottom: 14px; }
.aside-card--dark h2 {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 26px;
	line-height: 1.3;
	margin-bottom: 16px;
}
.aside-card--dark p {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--on-dark-soft);
	margin-bottom: 24px;
}
.aside-links {
	display: flex;
	flex-direction: column;
	gap: 11px;
	font-size: 14.5px;
}
.aside-links a { color: var(--slate-dark); transition: color .18s ease; }
.aside-links a:hover { color: var(--teal); }

/* Headings that open a new block inside the treatment body. */
.tx-heading { margin: 44px 0 28px; }

/* ─────────────────────────────  FAQ  ───────────────────────────── */

.faq { border-top: 1px solid var(--line-soft); }
.faq details {
	border-bottom: 1px solid var(--line-soft);
	padding: 22px 0;
}
.faq summary {
	list-style: none;
	cursor: pointer;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--navy);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary::after {
	content: "+";
	color: var(--cyan);
	flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--slate);
	margin-top: 14px;
	max-width: 700px;
}

/* ─────────────────────────────  TIMELINE (INTERNATIONAL)  ───────────────────────────── */

.timeline {
	display: grid;
	grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}
.timeline__when {
	padding: 28px 0;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--teal);
}
.timeline__what {
	padding: 28px 0 28px 40px;
	border-top: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
}
.timeline > :nth-last-child(2),
.timeline > :last-child { border-bottom: 1px solid var(--line); }
.timeline__what h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--navy);
}
.timeline__what p {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--slate);
	max-width: 660px;
}

.notes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 1px;
	background: var(--line-soft);
	border: 1px solid var(--line-soft);
	margin-bottom: 28px;
}
.notes-grid > div { background: var(--white); padding: 22px 24px; }
.notes-grid__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}
.notes-grid p { font-size: 14.5px; line-height: 1.6; color: var(--slate-dark); }

.dark-note {
	background: var(--navy);
	color: var(--white);
	padding: 28px 30px;
}
.dark-note__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan-light);
	margin-bottom: 12px;
}
.dark-note p { font-size: 15px; line-height: 1.7; color: var(--on-dark); }

.ask-strip {
	margin-top: 48px;
	padding: 36px 38px;
	background: var(--soft);
	border-inline-start: 3px solid var(--cyan);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.ask-strip__title {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 300;
	color: var(--navy);
	margin-bottom: 6px;
}
.ask-strip p { font-size: 15px; color: var(--slate); }

/* ─────────────────────────────  PROFILE / CONTACT  ───────────────────────────── */

.credentials {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}
.credential { padding: 32px 26px; border-inline-start: 1px solid var(--line); }
.credential:first-child { padding-inline-start: 0; border-inline-start: 0; }
.credential__value {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 34px;
	color: var(--navy);
	margin-bottom: 6px;
}
.credential__label { font-size: 13.5px; color: var(--slate); }

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 32px;
	margin-top: 52px;
	padding-top: 34px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-grid__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan-light);
	margin-bottom: 12px;
}
.contact-grid__value {
	font-size: 16px;
	font-weight: 500;
	color: var(--white);
	transition: color .18s ease;
}
a.contact-grid__value:hover { color: var(--cyan-light); }
.contact-grid__note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ─────────────────────────────  CTA + FOOTER  ───────────────────────────── */

.cta {
	background: var(--navy-deep);
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(90% 140% at 20% 50%, rgba(27, 168, 184, .22) 0%, rgba(8, 24, 47, 0) 60%);
}
.cta__inner {
	position: relative;
	padding-top: 76px;
	padding-bottom: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}
.cta h2 {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.15;
	margin-bottom: 10px;
}
.cta p { font-size: 16px; line-height: 1.6; color: var(--on-dark-soft); }

.site-footer {
	background: var(--navy);
	color: var(--white);
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__top {
	padding: 64px var(--gutter) 28px;
	max-width: var(--wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: 56px;
}
.footer-brand__rule {
	display: block;
	width: 34px;
	height: 2px;
	background: var(--cyan);
	margin-bottom: 22px;
}
.footer-brand__name {
	font-family: var(--serif);
	font-size: 23px;
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 8px;
}
.footer-brand__role {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cyan-light);
	margin-bottom: 22px;
}
.footer-brand p {
	font-size: 14px;
	line-height: 1.7;
	color: var(--on-dark-soft);
	margin-bottom: 22px;
	max-width: 320px;
}
.footer-brand__contact {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 14px;
}
.footer-brand__contact a { color: var(--white); }
.footer-brand__contact a:hover { color: var(--cyan-light); }

.footer-col__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan-light);
	margin-bottom: 18px;
}
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
}
.footer-links a { color: var(--on-dark); transition: color .18s ease; }
.footer-links a:hover { color: var(--white); }

.site-footer__bottom {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 24px var(--gutter) 40px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: #7C8DA3;
}
.site-footer__disclaimer { max-width: 620px; flex: 1 1 320px; text-align: end; }

/* ─────────────────────────────  EDITOR CONTENT (fallback pages)  ───────────────────────────── */

.entry-content { font-size: 16.5px; line-height: 1.72; color: var(--slate-dark); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-family: var(--serif); font-weight: 300; font-size: 34px; color: var(--navy); }
.entry-content h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-content li + li { margin-top: .5em; }
.entry-content img { border-radius: 3px; }

.post-list { display: flex; flex-direction: column; gap: 40px; }
.post-list article { border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.post-list h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.25; color: var(--navy); margin-bottom: 8px; }
.post-list time { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.pagination { margin-top: 48px; font-size: 14.5px; font-weight: 600; }
.pagination .page-numbers { padding: 0 8px; }

/* ─────────────────────────────  RESPONSIVE  ───────────────────────────── */

@media (max-width: 1080px) {
	.tx-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.tx-aside { position: static; }
}

@media (min-width: 901px) and (max-width: 1240px) {
	.site-header__inner { flex-wrap: wrap; gap: 16px; padding-inline: 24px; }
	.nav-toggle { display: block; order: 4; }
	.site-nav {
		display: none;
		order: 5;
		flex: 1 0 100%;
		border-top: 1px solid var(--line);
		margin-top: 8px;
		padding-top: 4px;
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
	.site-nav li { width: 100%; }
	.site-nav a { display: block; padding: 13px 0; font-size: 15px; }
	.language-switcher { order: 2; margin-inline-start: auto; }
	.site-header__cta { order: 3; }
}

@media (max-width: 900px) {
	:root { --gutter: 24px; }

	.nav-toggle { display: block; }
	.site-header__inner { flex-wrap: wrap; gap: 16px; }
	.site-logo__img { height: 32px; }
	.site-logo__name { font-size: 17px; }
	.site-nav {
		display: none;
		order: 3;
		flex: 1 0 100%;
		border-top: 1px solid var(--line);
		margin-top: 8px;
		padding-top: 4px;
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
	}
	.site-nav li { width: 100%; }
	.site-nav a { display: block; padding: 13px 0; font-size: 15px; }
	.language-switcher { order: 4; flex-basis: 100%; }
	.site-header__cta {
		/*
		 * A11.2-F37: this was `display: none` below 900px, revealed only once
		 * the hamburger was opened -- the primary call to action on a
		 * patient-acquisition site, invisible on phones. It stays in the
		 * header now, just compact.
		 */
		order: 3;
		flex: 0 0 auto;
		text-align: center;
		margin-inline-start: auto;
		padding-inline-start: 14px;
		padding-inline-end: 14px;
		font-size: 13px;
	}
	.site-nav.is-open ~ .site-header__cta { margin-bottom: 10px; }

	.section { padding-top: 72px; padding-bottom: 64px; }
	.section--tight { padding-top: 64px; padding-bottom: 64px; }
	.hero__inner { padding-top: 64px; padding-bottom: 64px; gap: 44px; }
	.hero__page-inner,
	.hero__page-inner--tall { padding-top: 48px; padding-bottom: 56px; }
	.hero__grid { gap: 44px; }
	.hero__back { margin-bottom: 28px; }

	.split, .split--wide { gap: 48px; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
	.section-head__aside, .section-head__aside--sm { max-width: none; }

	.timeline { grid-template-columns: minmax(0, 1fr); }
	.timeline__when { padding-bottom: 0; border-bottom: 0 !important; }
	.timeline__what { padding-inline-start: 0; padding-top: 12px; border-top: 0; border-inline-start: 0; }
	.timeline > :nth-last-child(2) { border-bottom: 0; }

	.credential { padding: 24px 0; border-inline-start: 0; border-top: 1px solid var(--line); }
	.credential:first-child { border-top: 0; }

	.form-card { padding: 28px 22px; }
	.ask-strip { padding: 28px 24px; }
	.site-footer__bottom { flex-direction: column; }
	.site-footer__disclaimer { text-align: start; }
}

@media (max-width: 640px) {
	.figure { height: 400px; }
	.figure--tall, .figure--medium, .figure--wide { height: 320px; }
	.figure--short { height: 260px; }
	.hero__card { inset-inline-start: 12px; inset-inline-end: 12px; bottom: 12px; max-width: none; }
	.hero__facts { gap: 20px; }
	.tcard, .tcard--dark { padding: 28px 22px; }
	.pathway__col { padding: 28px 22px 30px; }
	.cta__inner { padding-top: 56px; padding-bottom: 56px; }
	.site-footer__top { gap: 40px; padding-top: 48px; }
}

/* Arabic pages share the same layout with a script-appropriate, local font. */
html[lang^="ar"] {
  --sans: "IBM Plex Sans Arabic", "Instrument Sans", sans-serif;
  --serif: "IBM Plex Sans Arabic", sans-serif;
}
html[dir="rtl"] .timeline__what { box-shadow: inset -3px 0 0 var(--cyan); }
