/**
 * Homepage v3 - dr-amramal.com
 *
 * Design system: the site's own "Clinical Navy & Gold" system, lifted verbatim
 * from the published treatment pages (.dra-page on /bone-diseases/ and friends)
 * so the homepage reads as the same product, not a separate microsite.
 *
 * One deliberate deviation: those pages declare --font:'Cairo', but Cairo is
 * never enqueued anywhere on this site, so they silently fall back to a generic
 * system sans. This file uses LNA (Loew Next Arabic) - the font the theme
 * actually loads - so the page matches the real brand and the site header.
 *
 * CACHE WARNING: LiteSpeed has "Remove Query Strings" enabled site-wide, so the
 * ?ver= cache-buster is stripped from this file's URL and browsers hold it for a
 * year. If you edit this file, RENAME it (home-v4.css, ...) and update the two
 * references in functions.php - otherwise returning visitors keep the old CSS.
 *
 * Scope: every selector is prefixed .dra-home. Nothing here leaks onto other pages.
 * Arabic/RTL: no letter-spacing anywhere (it breaks Arabic letter joining);
 * Latin and numeric runs are isolated with direction:ltr.
 */

.dra-home {
	/* Palette - identical values to the treatment-page system */
	--navy: #1B3F6B;
	--navy-deep: #143152;
	--blue: #1F6FBF;
	--sky: #EBF4FF;
	--gold: #C9960C;
	--gold-dark: #b8840a;
	--gold-lt: #FFF8E1;
	--gold-hi: #FFD966;
	--gray50: #F8FAFC;
	--gray100: #F1F5F9;
	--gray300: #CBD5E1;
	--gray500: #64748B;
	--gray700: #334155;
	--gray900: #0F172A;
	--white: #FFFFFF;

	--radius: 14px;
	--shadow: 0 4px 24px rgb(27 63 107 / .10);
	--shadow-lg: 0 8px 40px rgb(27 63 107 / .16);

	--shell: 1160px;
	--band: clamp(3.25rem, 2rem + 4.5vw, 5.5rem);
	--ease: cubic-bezier(.16, 1, .3, 1);

	font-family: 'LNA', 'Cairo', system-ui, sans-serif;
	direction: rtl;
	color: var(--gray900);
	background: var(--white);
	font-size: 16px;
	line-height: 1.7;
}

/* Reset uses :where() so it carries ZERO specificity and can never outrank a
   component rule. A plain `.dra-home a` (0,1,1) would beat `.btn-gold` (0,1,0)
   and force every classed link to inherit its parent colour. */
:where(.dra-home) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
:where(.dra-home) :where(ul, ol) { list-style: none; }
:where(.dra-home) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.dra-home) :where(a) { color: inherit; text-decoration: none; }
:where(.dra-home) :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.dra-home *, .dra-home *::before, .dra-home *::after { box-sizing: border-box; }

/* Latin / numeric runs inside RTL text */
.dra-home .ltr { direction: ltr; unicode-bidi: isolate; }

.dra-home .shell { max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.dra-home .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: inherit; font-weight: 700; font-size: 15px;
	padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer;
	transition: background .22s, transform .22s var(--ease), box-shadow .22s, border-color .22s;
	white-space: nowrap;
}
.dra-home .btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 4px 20px rgb(201 150 12 / .4); }
.dra-home .btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgb(201 150 12 / .5); }
.dra-home .btn-line { background: transparent; color: var(--white); border: 2px solid rgb(255 255 255 / .5); }
.dra-home .btn-line:hover { background: rgb(255 255 255 / .1); border-color: var(--white); }
.dra-home .btn-navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.dra-home .btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dra-home .btn:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- Hero ---------- */
.dra-home .hero {
	background: linear-gradient(135deg, var(--navy) 0%, #1a5299 60%, var(--navy) 100%);
	padding: clamp(2.75rem, 1.5rem + 4vw, 4.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
	position: relative; overflow: hidden;
}
.dra-home .hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dra-home .hero .shell { display: grid; grid-template-columns: 1fr 370px; gap: 48px; align-items: center; position: relative; }
.dra-home .hero-content { color: var(--white); }
.dra-home .hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgb(201 150 12 / .2); border: 1px solid rgb(201 150 12 / .4);
	color: var(--gold-hi); font-size: 13px; font-weight: 700;
	padding: 6px 14px; border-radius: 30px; margin-bottom: 20px;
}
.dra-home .hero h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.35; margin-bottom: 12px; }
.dra-home .hero h1 b { color: var(--gold-hi); font-weight: 700; }
.dra-home .hero-subtitle { font-size: 16.5px; line-height: 1.9; opacity: .85; margin-bottom: 30px; max-width: 58ch; }
.dra-home .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.dra-home .stat-chip {
	display: flex; align-items: center; gap: 10px;
	background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .15);
	border-radius: 10px; padding: 12px 14px; backdrop-filter: blur(4px);
}
.dra-home .stat-chip i { font-size: 21px; color: var(--gold-hi); flex-shrink: 0; }
.dra-home .stat-chip .value { font-size: 18px; font-weight: 700; line-height: 1.15; direction: ltr; unicode-bidi: isolate; text-align: start; }
.dra-home .stat-chip .label { font-size: 12px; opacity: .75; }
.dra-home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.dra-home .hero-card {
	background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .15);
	border-radius: 20px; overflow: hidden; backdrop-filter: blur(8px);
}
.dra-home .hero-card img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; width: 100%; }
.dra-home .hero-card figcaption { background: var(--navy); padding: 15px 20px; text-align: center; }
.dra-home .hero-card strong { display: block; color: var(--white); font-size: 16px; font-weight: 700; }
.dra-home .hero-card figcaption span { color: var(--gold-hi); font-size: 13px; }

/* ---------- Trust bar ---------- */
.dra-home .trust-bar { background: var(--navy); border-top: 3px solid var(--gold); }
.dra-home .trust-bar .shell { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; padding-inline: 0; }
.dra-home .trust-bar .shell::-webkit-scrollbar { display: none; }
.dra-home .trust-item {
	display: flex; align-items: center; gap: 12px; padding: 17px 26px;
	color: var(--white); border-inline-start: 1px solid rgb(255 255 255 / .1);
	flex: 1 1 0; min-width: 0; justify-content: center; transition: background .2s;
}
/* Items must be allowed to shrink, or the last credential is clipped mid-word
   by the scroller instead of wrapping. */
.dra-home .trust-item > div { min-width: 0; }
.dra-home .trust-item:first-child { border-inline-start: none; }
.dra-home .trust-item:hover { background: rgb(255 255 255 / .07); }
.dra-home .trust-item i { font-size: 21px; color: var(--gold-hi); flex-shrink: 0; }
.dra-home .trust-item .t-value { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.dra-home .trust-item .t-label { font-size: 12px; opacity: .7; }

/* ---------- Section frame ---------- */
.dra-home .section { padding: var(--band) 0; }
.dra-home .section-alt { background: var(--gray50); }
.dra-home .section-header { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.dra-home .section-tag {
	display: inline-block; background: var(--sky); color: var(--blue);
	font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 20px; margin-bottom: 14px;
}
.dra-home .section-header h2 { font-size: clamp(23px, 2.6vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: 12px; }
.dra-home .section-header p { font-size: 15.5px; color: var(--gray500); line-height: 1.85; }

/* ---------- About ---------- */
.dra-home .about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.dra-home .intro-copy { color: var(--gray700); font-size: 15.5px; line-height: 1.95; }
.dra-home .intro-copy p + p { margin-top: 14px; }
.dra-home .intro-copy a { color: var(--blue); font-weight: 600; border-bottom: 1px solid rgb(31 111 191 / .3); }
.dra-home .intro-copy a:hover { border-bottom-color: var(--blue); }
.dra-home .about-cta { margin-top: 26px; }

.dra-home .certs { border: 1px solid var(--gray100); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); padding: 18px; }
.dra-home .certs h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.dra-home .certs h3 i { color: var(--gold); }
.dra-home .certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dra-home .certs-grid a { border: 1px solid var(--gray100); border-radius: 8px; overflow: hidden; background: var(--gray50); transition: border-color .2s, transform .2s var(--ease); }
.dra-home .certs-grid a:hover { border-color: var(--blue); transform: translateY(-2px); }
.dra-home .certs-grid img { aspect-ratio: 4 / 3; object-fit: contain; padding: 4px; width: 100%; }

/* ---------- Services hub (matches /bone-diseases/ exactly) ---------- */
.dra-home .hub-cat { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.dra-home .hub-cat .hc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dra-home .hub-cat .hc-icon i { font-size: 24px; color: var(--blue); }
.dra-home .hub-cat h3 { font-size: 21px; font-weight: 700; color: var(--navy); }
.dra-home .hub-cat .hc-count { background: var(--gold-lt); color: var(--gold); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }

/* Fixed 3 across, not auto-fill: the knee group has 9 services, and auto-fill
   resolves to 4 columns at this width, leaving a single orphan card stranded on
   its own row. 9 and 3 both divide evenly by 3, and the 2-item group still
   reads as a deliberate pair. */
.dra-home .hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.dra-home .hub-grid:last-child { margin-bottom: 0; }
.dra-home .hub-card {
	background: var(--white); border: 1px solid var(--gray100); border-radius: var(--radius);
	padding: 24px 22px; box-shadow: var(--shadow);
	display: flex; flex-direction: column; gap: 10px; position: relative;
	transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.dra-home .hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.dra-home .hub-card:focus-within { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.dra-home .hcard-icon i { font-size: 30px; color: var(--blue); }
.dra-home .hub-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.55; }
.dra-home .hub-card p { font-size: 13.5px; color: var(--gray500); line-height: 1.75; flex: 1; }
.dra-home .hcard-link { font-size: 13.5px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.dra-home .hcard-link::after { content: '\2190'; transition: transform .2s; }
.dra-home .hub-card:hover .hcard-link::after { transform: translateX(-4px); }
.dra-home a.hcard-cover { position: absolute; inset: 0; border-radius: var(--radius); }
.dra-home a.hcard-cover:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dra-home .hub-more { text-align: center; margin-top: 44px; }

/* ---------- Treatment journey ---------- */
.dra-home .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }
.dra-home .step-card {
	background: var(--white); border: 1px solid var(--gray100); border-radius: var(--radius);
	padding: 30px 22px 24px; box-shadow: var(--shadow); position: relative;
	transition: transform .22s var(--ease), box-shadow .22s;
}
.dra-home .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dra-home .step-number {
	position: absolute; top: -15px; inset-inline-start: 22px;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--gold); color: var(--white); font-size: 14px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgb(201 150 12 / .35);
}
.dra-home .step-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.dra-home .step-icon i { font-size: 22px; color: var(--blue); }
.dra-home .step-card h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.dra-home .step-card p { font-size: 14px; color: var(--gray500); line-height: 1.8; }

/* ---------- Clinics ---------- */
.dra-home .clinics { display: grid; grid-template-columns: repeat(auto-fit, minmax(278px, 1fr)); gap: 20px; }
.dra-home .clinic {
	background: var(--white); border: 1px solid var(--gray100); border-top: 3px solid var(--blue);
	border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 26px 24px; display: flex; flex-direction: column; gap: 13px;
}
.dra-home .clinic h3 { font-size: 18px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.dra-home .clinic h3 i { color: var(--gold); font-size: 17px; }
.dra-home .clinic .addr { font-size: 14px; color: var(--gray500); line-height: 1.8; }
.dra-home .hours { display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed var(--gray300); padding-top: 13px; }
.dra-home .hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; }
.dra-home .hours dt { color: var(--gray700); font-weight: 600; }
.dra-home .hours dd { color: var(--navy); font-weight: 700; }
.dra-home .clinic .na { font-size: 13.5px; color: var(--gray500); background: var(--gray50); border-radius: 8px; padding: 11px 13px; line-height: 1.7; }
.dra-home .clinic .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.dra-home .clinic .go:hover { color: var(--navy); }

/* ---------- Videos ---------- */
.dra-home .videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(278px, 1fr)); gap: 20px; }
.dra-home .video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.dra-home .video img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), opacity .3s; }
.dra-home .video:hover img { transform: scale(1.05); opacity: .78; }
.dra-home .video button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dra-home .video button span {
	width: 62px; height: 62px; border-radius: 50%; background: rgb(201 150 12 / .95);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 24px rgb(0 0 0 / .3);
	transition: transform .22s var(--ease), background .22s;
}
.dra-home .video button:hover span { transform: scale(1.1); background: var(--gold); }
.dra-home .video button:focus-visible span { outline: 3px solid var(--white); outline-offset: 3px; }
.dra-home .video button i { color: var(--white); font-size: 21px; margin-inline-start: 3px; }
.dra-home .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.dra-home .faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.dra-home .faq-item { background: var(--white); border: 1px solid var(--gray100); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dra-home .faq-item[open] { border-color: var(--blue); }
.dra-home summary.faq-question {
	display: flex; align-items: center; gap: 14px; padding: 18px 22px;
	cursor: pointer; list-style: none;
	font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.6;
	transition: background .2s;
}
.dra-home summary.faq-question::-webkit-details-marker { display: none; }
.dra-home summary.faq-question::marker { content: ''; }
.dra-home summary.faq-question:hover { background: var(--sky); }
.dra-home summary.faq-question:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.dra-home .q-icon {
	width: 34px; height: 34px; border-radius: 9px; background: var(--sky); color: var(--blue);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	font-size: 14px; font-weight: 700; transition: background .2s, color .2s;
}
.dra-home .faq-item[open] .q-icon { background: var(--blue); color: var(--white); }
.dra-home .q-text { flex: 1; }
.dra-home .chevron { color: var(--gray500); flex-shrink: 0; transition: transform .25s var(--ease), color .2s; }
.dra-home .faq-item[open] .chevron { transform: rotate(180deg); color: var(--blue); }
.dra-home .faq-answer { padding: 0 22px 20px; color: var(--gray700); font-size: 14.5px; line-height: 1.9; }
.dra-home .faq-answer p + p { margin-top: 10px; }
.dra-home .faq-answer ul { list-style: disc; padding-inline-start: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.dra-home .faq-answer a { color: var(--blue); font-weight: 600; }
.dra-home .faq-answer strong { color: var(--navy); }

/* ---------- Articles ---------- */
.dra-home .posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(278px, 1fr)); gap: 22px; }
.dra-home .post {
	background: var(--white); border: 1px solid var(--gray100); border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
	transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.dra-home .post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.dra-home .post:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dra-home .post img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.dra-home .post-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.dra-home .post-date { font-size: 12px; color: var(--gold); font-weight: 700; }
.dra-home .post h3 { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.dra-home .post p { font-size: 13.5px; color: var(--gray500); line-height: 1.75; flex: 1; }
.dra-home .post .go { font-size: 13.5px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.dra-home .post .go::after { content: '\2190'; transition: transform .2s; }
.dra-home .post:hover .go::after { transform: translateX(-4px); }

/* ---------- Closing CTA ---------- */
.dra-home .cta-section {
	background: linear-gradient(135deg, var(--navy) 0%, #1a5299 60%, var(--navy) 100%);
	padding: var(--band) 0; position: relative; overflow: hidden;
}
.dra-home .cta-section::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* 800px, not 720: at 720 the three contact chips wrap 2 + 1, which reads as a
   mistake rather than a row. */
.dra-home .cta-inner { position: relative; text-align: center; max-width: 800px; margin: 0 auto; color: var(--white); }
.dra-home .cta-tag {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgb(201 150 12 / .2); border: 1px solid rgb(201 150 12 / .4);
	color: var(--gold-hi); font-size: 13px; font-weight: 700;
	padding: 6px 16px; border-radius: 30px; margin-bottom: 16px;
}
.dra-home .cta-inner h2 { font-size: clamp(23px, 2.8vw, 34px); font-weight: 700; line-height: 1.45; margin-bottom: 12px; }
.dra-home .cta-inner > p { font-size: 16px; opacity: .85; line-height: 1.85; margin-bottom: 28px; }
.dra-home .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.dra-home .contact-options { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dra-home .contact-options a {
	display: inline-flex; align-items: center; gap: 9px;
	background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18);
	border-radius: 10px; padding: 11px 16px; font-size: 14px; font-weight: 600;
	color: var(--white); transition: background .2s, border-color .2s;
}
.dra-home .contact-options a:hover { background: rgb(255 255 255 / .18); border-color: rgb(255 255 255 / .4); }
.dra-home .contact-options i { color: var(--gold-hi); font-size: 16px; }
.dra-home .contact-options .val { direction: ltr; unicode-bidi: isolate; font-weight: 700; }

/* ---------- Scroll reveal ----------
   Scroll-driven animation instead of an IntersectionObserver that toggles
   opacity. The critical property: if the browser does not support view()
   timelines, or the animation never runs, NO styles apply and the content is
   simply visible. A JS observer that fails leaves whole sections blank - on a
   medical site that is not an acceptable failure mode. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.dra-home .rise {
			animation: dra-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 45%;
		}
	}
}
@keyframes dra-rise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.dra-home .hero .shell { grid-template-columns: 1fr; gap: 34px; }
	.dra-home .hero-card { max-width: 330px; margin-inline: auto; }
	.dra-home .about-grid { grid-template-columns: 1fr; gap: 32px; }
	.dra-home .certs-grid { grid-template-columns: repeat(5, 1fr); }
	.dra-home .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.dra-home .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.dra-home .hero-stats { grid-template-columns: 1fr; }
	.dra-home .hero-actions .btn { flex: 1 1 100%; }
	.dra-home .section-header { margin-bottom: 32px; }
	.dra-home .hub-cat { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
	.dra-home .hub-cat .hc-icon { width: 44px; height: 44px; }
	.dra-home .hub-cat h3 { font-size: 18px; }
	.dra-home .hub-grid { margin-bottom: 40px; }
	.dra-home .certs-grid { grid-template-columns: repeat(3, 1fr); }
	.dra-home summary.faq-question { padding: 15px 16px; font-size: 14.5px; gap: 10px; }
	.dra-home .faq-answer { padding: 0 16px 16px; }
	.dra-home .contact-options { flex-direction: column; }
	.dra-home .contact-options a { justify-content: center; }
	.dra-home .trust-item { padding: 15px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.dra-home .rise { opacity: 1; transform: none; transition: none; }
	.dra-home *, .dra-home *::before, .dra-home *::after { transition: none !important; animation: none !important; }
	.dra-home .hub-card:hover, .dra-home .step-card:hover, .dra-home .post:hover, .dra-home .btn:hover { transform: none; }
}
