/* ==========================================================================
   Webdazy — Dr. Prachiti's Dental Clinic
   Design system + components. Bootstrap 5.3 provides the grid & utilities.
   ========================================================================== */

:root {
	--wd-ink: #0b2a33;
	--wd-ink-2: #12404b;
	--wd-teal: #0c8796;          /* panels with white text (AA) */
	--wd-teal-2: #0a7380;
	--wd-aqua: #1dbfcc;          /* original brand accent */
	--wd-aqua-soft: #d8f4f6;
	--wd-mist: #f0fbfb;          /* refined version of the old #F0FFFF hero */
	--wd-cream: #fbf8f3;
	--wd-gold: #c6a15b;
	--wd-text: #24414a;
	--wd-muted: #5b7078;
	--wd-line: #dfeaec;
	--wd-white: #ffffff;

	--wd-radius-sm: 12px;
	--wd-radius: 20px;
	--wd-radius-lg: 32px;
	--wd-shadow-sm: 0 4px 14px rgba(11, 42, 51, 0.06);
	--wd-shadow: 0 18px 50px -18px rgba(11, 42, 51, 0.28);
	--wd-shadow-lg: 0 40px 90px -30px rgba(11, 42, 51, 0.4);

	--wd-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--wd-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wd-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--wd-header-h: 104px;

	/* Bootstrap bridges */
	--bs-body-font-family: var(--wd-font-body);
	--bs-body-color: var(--wd-text);
	--bs-link-color: var(--wd-teal);
	--bs-link-color-rgb: 12, 135, 150;
	--bs-link-hover-color: var(--wd-ink);
	--bs-info: var(--wd-teal);
	--bs-info-rgb: 12, 135, 150;
	--bs-border-color: var(--wd-line);
}

html { scroll-padding-top: calc(var(--wd-header-h) + 16px); }

body.wd {
	font-family: var(--wd-font-body);
	color: var(--wd-text);
	background: var(--wd-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection { background: var(--wd-aqua); color: #fff; }

h1, h2, h3, h4, h5, h6 { color: var(--wd-ink); font-weight: 600; letter-spacing: -0.01em; }

.wd-display {
	font-family: var(--wd-font-display);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-size: clamp(2.25rem, 4.6vw, 4.25rem);
	color: var(--wd-ink);
	margin-bottom: 1.25rem;
}
.wd-display b, .wd-display strong { font-weight: 600; }
.wd-display em { font-style: italic; color: var(--wd-teal); }
.wd-display--md { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.wd-on-dark .wd-display, .wd-on-dark h1, .wd-on-dark h2, .wd-on-dark h3, .wd-on-dark h4 { color: #fff; }
.wd-on-dark .wd-display em { color: #bff1f5; }
.wd-on-dark { color: rgba(255, 255, 255, 0.86); }

.wd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wd-teal);
	margin-bottom: 1rem;
}
.wd-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--wd-gold); }
.wd-on-dark .wd-eyebrow { color: #c9f3f6; }

.wd-lead { font-size: 1.125rem; line-height: 1.75; color: var(--wd-muted); }
.wd-on-dark .wd-lead { color: rgba(255, 255, 255, 0.82); }

.wd-section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.wd-container { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Signature button (kept from original: label + square icon block)
   -------------------------------------------------------------------------- */
.wd-btn {
	--btn-bg: var(--wd-ink);
	display: inline-flex;
	align-items: stretch;
	gap: 0;
	background: var(--btn-bg);
	color: #fff !important;
	text-decoration: none;
	border-radius: 999px;
	overflow: hidden;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	box-shadow: 0 12px 30px -12px rgba(11, 42, 51, 0.55);
	transition: background 0.45s var(--wd-ease), transform 0.45s var(--wd-ease), box-shadow 0.45s var(--wd-ease);
	border: 0;
	cursor: pointer;
	position: relative;
	isolation: isolate;
}
.wd-btn__label { padding: 0.95rem 1.4rem 0.95rem 1.6rem; display: inline-flex; align-items: center; }
.wd-btn__icon {
	display: inline-grid;
	place-items: center;
	width: 3.1rem;
	background: rgba(255, 255, 255, 0.14);
	transition: background 0.45s var(--wd-ease);
}
.wd-btn__icon i { transition: transform 0.55s var(--wd-ease); }
.wd-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--wd-ease);
	z-index: -1;
}
.wd-btn:hover, .wd-btn:focus-visible { --btn-bg: var(--wd-teal); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(12, 135, 150, 0.7); }
.wd-btn:hover::after { transform: translateX(120%); }
.wd-btn:hover .wd-btn__icon i { transform: rotate(270deg); }
.wd-btn--light { --btn-bg: #fff; color: var(--wd-ink) !important; }
.wd-btn--light .wd-btn__icon { background: var(--wd-aqua-soft); }
.wd-btn--light:hover { --btn-bg: var(--wd-ink); color: #fff !important; }
.wd-btn--light:hover .wd-btn__icon { background: rgba(255, 255, 255, 0.14); }
.wd-btn--teal { --btn-bg: var(--wd-teal); }
.wd-btn--teal:hover { --btn-bg: var(--wd-ink); }
.wd-btn--sm .wd-btn__label { padding: 0.7rem 1.1rem 0.7rem 1.25rem; font-size: 0.875rem; }
.wd-btn--sm .wd-btn__icon { width: 2.6rem; }
.wd-btn[disabled] { opacity: 0.65; pointer-events: none; }

.wd-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--wd-teal);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: none;
	border: 0;
	padding: 0;
}
.wd-link i { transition: transform 0.45s var(--wd-ease); }
.wd-link:hover { color: var(--wd-ink); }
.wd-link:hover i { transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.wd-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 1100;
	background: linear-gradient(90deg, var(--wd-aqua), var(--wd-gold));
	transform-origin: 0 50%;
	transform: scaleX(0);
}

.wd-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	transition: box-shadow 0.4s var(--wd-ease), background 0.4s var(--wd-ease);
}
.admin-bar .wd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wd-header { top: 0; } }
.wd-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 42, 51, 0.35); background: rgba(255, 255, 255, 0.96); }

.wd-header__inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 76px; }
.wd-brand { display: flex; align-items: center; flex: 0 0 auto; }
.wd-brand img { width: clamp(200px, 22vw, 290px); height: auto; transition: width 0.4s var(--wd-ease); }
.wd-header.is-scrolled .wd-brand img { width: clamp(180px, 18vw, 240px); }
.wd-brand__text { font-family: var(--wd-font-display); font-size: 1.4rem; color: var(--wd-ink); text-decoration: none; }

.wd-header__right { display: none; flex: 1 1 auto; flex-direction: column; justify-content: flex-end; max-width: 980px; }
@media (min-width: 992px) { .wd-header__right { display: flex; } }

.wd-topbar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-height: 80px;
	overflow: hidden;
	transition: max-height 0.45s var(--wd-ease), opacity 0.35s ease;
}
.wd-header.is-scrolled .wd-topbar { max-height: 0; opacity: 0; }
.wd-topbar__item { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.25rem; text-decoration: none; color: var(--wd-ink); border-left: 1px solid var(--wd-line); }
.wd-topbar__item:first-child { border-left: 0; }
.wd-topbar__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--wd-aqua-soft); color: var(--wd-teal); font-size: 1.1rem; transition: transform 0.45s var(--wd-ease), background 0.3s; }
.wd-topbar__item:hover .wd-topbar__icon { transform: rotate(-12deg) scale(1.06); background: var(--wd-aqua); color: #fff; }
.wd-topbar__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--wd-muted); font-weight: 600; }
.wd-topbar__value { display: block; font-weight: 600; font-size: 0.92rem; color: var(--wd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wd-navbar {
	background: linear-gradient(100deg, var(--wd-teal) 0%, var(--wd-teal-2) 100%);
	border-top-left-radius: 26px;
	padding: 0 1.25rem 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.wd-navbar .wd-nav { flex-direction: row; gap: 0.15rem; }
.wd-navbar .nav-link {
	color: rgba(255, 255, 255, 0.86);
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	padding: 1.05rem 0.7rem !important;
	position: relative;
	transition: color 0.3s;
}
.wd-navbar .nav-link::after {
	content: "";
	position: absolute;
	left: 0.7rem;
	right: 0.7rem;
	bottom: 0.7rem;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--wd-ease);
}
.wd-navbar .nav-link:hover, .wd-navbar .nav-link.active { color: #fff; }
.wd-navbar .nav-link:hover::after, .wd-navbar .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.wd-navbar .wd-btn { --btn-bg: #fff; color: var(--wd-ink) !important; box-shadow: none; }
.wd-navbar .wd-btn .wd-btn__icon { background: var(--wd-aqua-soft); }
.wd-navbar .wd-btn:hover { --btn-bg: var(--wd-ink); color: #fff !important; }
.wd-btn__label { white-space: nowrap; }
@media (max-width: 1279.98px) {
	.wd-navbar .wd-btn { display: none; }
	.wd-navbar .nav-link { padding-inline: 0.55rem !important; font-size: 0.86rem; }
	.wd-navbar .nav-link::after { left: 0.55rem; right: 0.55rem; }
	.wd-topbar__item { padding-inline: 0.85rem; }
	.wd-topbar__icon { width: 36px; height: 36px; }
}

.wd-burger { display: inline-grid; place-items: center; width: 52px; height: 52px; margin: auto 1rem auto 0; border-radius: 50%; border: 1px solid var(--wd-line); background: #fff; color: var(--wd-ink); font-size: 1.5rem; }
@media (min-width: 992px) { .wd-burger { display: none; } }

.wd-offcanvas { --bs-offcanvas-width: min(420px, 92vw); background: var(--wd-ink); color: #fff; }
.wd-offcanvas .offcanvas-header { padding: 1.5rem; }
.wd-offcanvas .btn-close { filter: invert(1); opacity: 0.8; }
.wd-offcanvas .wd-nav { gap: 0.15rem; }
.wd-offcanvas .nav-link { color: rgba(255, 255, 255, 0.9); font-family: var(--wd-font-display); font-size: 1.6rem; font-weight: 300; padding: 0.45rem 0 !important; }
.wd-offcanvas .nav-link.active, .wd-offcanvas .nav-link:hover { color: var(--wd-aqua); }
.wd-offcanvas__contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; display: flex; gap: 0.75rem; align-items: center; padding: 0.4rem 0; }
.wd-offcanvas__contact i { color: var(--wd-aqua); }

/* --------------------------------------------------------------------------
   Hero (home) — same two-column layout as the original
   -------------------------------------------------------------------------- */
.wd-hero {
	background: var(--wd-mist);
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 6rem);
}
.wd-hero::before, .wd-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(10px);
	pointer-events: none;
}
.wd-hero::before { width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(29, 191, 204, 0.22), transparent 65%); }
.wd-hero::after { width: 480px; height: 480px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(198, 161, 91, 0.16), transparent 65%); }
.wd-hero .wd-display { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.wd-hero__media { position: relative; min-height: 340px; }
@media (min-width: 992px) { .wd-hero__media { min-height: 520px; } }
.wd-hero__media img { position: absolute; top: 0; bottom: 0; width: 72%; height: 100%; object-fit: contain; will-change: transform; }
.wd-hero__media img:first-child { left: 0; animation: wd-float 7s ease-in-out infinite; }
.wd-hero__media img:last-child { right: 0; animation: wd-float 7s ease-in-out -3.5s infinite; }
@keyframes wd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.wd-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.wd-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: #fff; box-shadow: var(--wd-shadow-sm); font-size: 0.85rem; font-weight: 600; color: var(--wd-ink); }
.wd-chip i { color: var(--wd-teal); }

/* --------------------------------------------------------------------------
   Split panels (About / Technology)
   -------------------------------------------------------------------------- */
.wd-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .wd-split { grid-template-columns: 1fr 1fr; min-height: 100vh; } }
.wd-split__panel { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; }
.wd-split__panel--teal {
	background:
		radial-gradient(900px 500px at 0% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
		linear-gradient(150deg, var(--wd-teal) 0%, var(--wd-teal-2) 55%, var(--wd-ink-2) 100%);
	position: relative;
	overflow: hidden;
}
.wd-split__panel--teal::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -120px;
	width: 380px;
	height: 380px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.04), 0 0 0 120px rgba(255, 255, 255, 0.03);
}
.wd-split__panel--light { background: var(--wd-cream); }

.wd-feature { padding: 1.5rem; border-radius: var(--wd-radius); transition: background 0.45s var(--wd-ease), box-shadow 0.45s var(--wd-ease), transform 0.45s var(--wd-ease); height: 100%; }
.wd-feature:hover { background: #fff; box-shadow: var(--wd-shadow); transform: translateY(-4px); }
.wd-feature__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: var(--wd-teal); background: linear-gradient(135deg, var(--wd-aqua-soft), #fff); box-shadow: inset 0 0 0 1px rgba(12, 135, 150, 0.12); margin-bottom: 1.1rem; }
.wd-feature h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.wd-feature p { color: var(--wd-muted); margin: 0; line-height: 1.7; font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Welcome / stats band
   -------------------------------------------------------------------------- */
.wd-welcome { background: linear-gradient(90deg, var(--wd-mist) 50%, var(--wd-aqua-soft) 50%); }
.wd-welcome__card { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); border-radius: var(--wd-radius-lg); box-shadow: var(--wd-shadow); overflow: hidden; }
.wd-welcome__col { padding: clamp(2rem, 4vw, 3.5rem); height: 100%; }
.wd-checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.wd-checklist li { display: flex; gap: 0.75rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px dashed var(--wd-line); font-weight: 600; color: var(--wd-ink); }
.wd-checklist li i { color: var(--wd-teal); font-size: 1.1rem; }
.wd-stat-big { font-family: var(--wd-font-display); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; color: var(--wd-teal); font-weight: 600; }
.wd-stat-big small { font-size: 0.45em; vertical-align: top; color: var(--wd-gold); }
.wd-hours { background: linear-gradient(160deg, var(--wd-teal), var(--wd-ink-2)); color: #fff; }
.wd-hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); text-align: left; }
.wd-hours__row:last-child { border-bottom: 0; }
.wd-hours__day { font-weight: 700; color: #fff; }
.wd-hours__time { text-align: right; white-space: nowrap; color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }
.wd-open-now { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 0.8rem; font-weight: 600; }
.wd-open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7ef0a2; box-shadow: 0 0 0 4px rgba(126, 240, 162, 0.25); }
.wd-open-now.is-closed::before { background: #ffb3a7; box-shadow: 0 0 0 4px rgba(255, 179, 167, 0.25); }

/* --------------------------------------------------------------------------
   Video band
   -------------------------------------------------------------------------- */
.wd-video { position: relative; overflow: hidden; min-height: 70vh; display: grid; place-items: center; isolation: isolate; }
@media (min-width: 992px) { .wd-video { min-height: 100vh; } }
.wd-video__bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.wd-video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 42, 51, 0.35), rgba(12, 135, 150, 0.72)); }
.wd-play { position: relative; width: 96px; height: 96px; display: grid; place-items: center; background: #fff; color: var(--wd-teal); border-radius: 50%; font-size: 1.8rem; text-decoration: none; z-index: 2; transition: transform 0.45s var(--wd-ease); }
.wd-play:hover { transform: scale(1.08); color: var(--wd-ink); }
.wd-play i { margin-left: 5px; }
.wd-play__wave { position: absolute; inset: -70px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%; animation: wd-wave 3.2s ease-out infinite; opacity: 0; z-index: -1; }
.wd-play__wave:nth-child(2) { animation-delay: 1s; }
.wd-play__wave:nth-child(3) { animation-delay: 2s; }
@keyframes wd-wave { 0% { transform: scale(0.35); opacity: 0; } 40% { opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.wd-video__caption { position: absolute; bottom: 2.5rem; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--wd-font-display); font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 300; }

/* --------------------------------------------------------------------------
   Services band + cards
   -------------------------------------------------------------------------- */
.wd-services { background: linear-gradient(180deg, var(--wd-aqua-soft) 0%, var(--wd-mist) 100%); overflow: hidden; }
.wd-card {
	background: #fff;
	border-radius: var(--wd-radius);
	padding: 2rem 1.75rem;
	height: 100%;
	position: relative;
	border: 1px solid rgba(12, 135, 150, 0.1);
	box-shadow: var(--wd-shadow-sm);
	transition: transform 0.55s var(--wd-ease), box-shadow 0.55s var(--wd-ease);
	overflow: hidden;
}
.wd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--wd-aqua), var(--wd-gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--wd-ease); }
.wd-card:hover { transform: translateY(-6px); box-shadow: var(--wd-shadow); }
.wd-card:hover::before { transform: scaleX(1); }
.wd-card__num { font-family: var(--wd-font-display); font-size: 2.6rem; color: var(--wd-aqua-soft); line-height: 1; position: absolute; right: 1.25rem; top: 1rem; font-weight: 600; }
.wd-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; padding-right: 3.25rem; }
.wd-card p { color: var(--wd-muted); line-height: 1.7; font-size: 0.97rem; }
.wd-doctor-portrait { border-radius: var(--wd-radius-lg); overflow: hidden; box-shadow: var(--wd-shadow-lg); background: var(--wd-teal); position: relative; }
.wd-doctor-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-doctor-portrait__tag { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-radius: 16px; padding: 0.9rem 1rem; }
.wd-doctor-portrait__tag strong { display: block; color: var(--wd-ink); font-family: var(--wd-font-display); font-size: 1.1rem; }
.wd-doctor-portrait__tag span { font-size: 0.82rem; color: var(--wd-teal); font-weight: 600; }

/* --------------------------------------------------------------------------
   Gallery (masonry, same arrangement as original) + lightbox
   -------------------------------------------------------------------------- */
.wd-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .wd-gallery { grid-template-columns: repeat(4, 1fr); } }
.wd-gallery__col { display: grid; gap: 1rem; align-content: start; }
.wd-gallery__item { display: block; border-radius: var(--wd-radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--wd-mist); }
.wd-gallery__item img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--wd-ease), filter 0.6s; }
.wd-gallery__item::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(11, 42, 51, 0.35); opacity: 0; transition: opacity 0.45s; }
.wd-gallery__item:hover img { transform: scale(1.08); }
.wd-gallery__item:hover::after { opacity: 1; }

.wd-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 22, 27, 0.92); display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.wd-lightbox.is-open { display: flex; animation: wd-fade 0.35s ease; }
.wd-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: var(--wd-shadow-lg); }
.wd-lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center; transition: background 0.3s; }
.wd-lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.wd-lightbox__close { top: 20px; right: 20px; }
.wd-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.wd-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes wd-fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Before / after comparison (vanilla, touch-friendly)
   -------------------------------------------------------------------------- */
.wd-results { background: linear-gradient(160deg, var(--wd-teal) 0%, var(--wd-ink-2) 100%); }
.wd-compare { position: relative; max-width: 860px; margin: 0 auto; border-radius: var(--wd-radius-lg); overflow: hidden; box-shadow: var(--wd-shadow-lg); user-select: none; touch-action: pan-y; --pos: 50%; aspect-ratio: 16 / 10; background: #0b2a33; }
.wd-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wd-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.wd-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); cursor: ew-resize; }
.wd-compare__knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--wd-teal); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25), var(--wd-shadow); }
.wd-compare__label { position: absolute; top: 1rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(11, 42, 51, 0.6); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.wd-compare__label--before { left: 1rem; }
.wd-compare__label--after { right: 1rem; }
.wd-compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* --------------------------------------------------------------------------
   Blog cards (home rail + blog listing)
   -------------------------------------------------------------------------- */
.wd-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1.5rem; scrollbar-width: thin; }
@media (min-width: 992px) { .wd-rail { grid-auto-columns: calc((100% - 3rem) / 3); } }
.wd-rail > * { scroll-snap-align: start; }
.wd-post { display: flex; flex-direction: column; background: #fff; border-radius: var(--wd-radius); overflow: hidden; height: 100%; text-decoration: none; color: inherit; box-shadow: var(--wd-shadow-sm); border: 1px solid var(--wd-line); transition: transform 0.55s var(--wd-ease), box-shadow 0.55s var(--wd-ease); }
.wd-post:hover { transform: translateY(-6px); box-shadow: var(--wd-shadow); color: inherit; }
.wd-post__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--wd-mist); }
.wd-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--wd-ease); }
.wd-post:hover .wd-post__media img { transform: scale(1.06); }
.wd-post__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.wd-post__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--wd-muted); font-weight: 600; margin-bottom: 0.75rem; }
.wd-post__cat { color: var(--wd-teal); }
.wd-post h3 { font-family: var(--wd-font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.25; margin-bottom: 0.6rem; }
.wd-post p { color: var(--wd-muted); font-size: 0.95rem; line-height: 1.65; }
.wd-post .wd-link { margin-top: auto; }

.wd-post--featured { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .wd-post--featured { grid-template-columns: 1.2fr 1fr; } .wd-post--featured .wd-post__media { aspect-ratio: auto; min-height: 420px; } }
.wd-post--featured .wd-post__body { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; }
.wd-post--featured h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.wd-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wd-filter a { padding: 0.5rem 1.05rem; border-radius: 999px; border: 1px solid var(--wd-line); text-decoration: none; color: var(--wd-ink); font-weight: 600; font-size: 0.88rem; transition: all 0.3s; background: #fff; }
.wd-filter a:hover, .wd-filter a.is-active { background: var(--wd-ink); border-color: var(--wd-ink); color: #fff; }

.wd-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.75rem; margin: 0 0.2rem; border-radius: 999px; border: 1px solid var(--wd-line); text-decoration: none; color: var(--wd-ink); font-weight: 600; }
.wd-pagination .page-numbers.current, .wd-pagination .page-numbers:hover { background: var(--wd-teal); border-color: var(--wd-teal); color: #fff; }

/* Article */
.wd-article-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.wd-article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.wd-article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 42, 51, 0.2) 0%, rgba(11, 42, 51, 0.88) 100%); }
.wd-article-hero h1 { color: #fff; font-family: var(--wd-font-display); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }
.wd-prose { font-size: 1.1rem; line-height: 1.85; color: #2b4a53; }
.wd-prose > * + * { margin-top: 1.25em; }
.wd-prose h2, .wd-prose h3 { font-family: var(--wd-font-display); font-weight: 400; margin-top: 2em; }
.wd-prose img { max-width: 100%; height: auto; border-radius: var(--wd-radius); }
.wd-prose blockquote { border-left: 3px solid var(--wd-gold); padding: 0.25rem 0 0.25rem 1.5rem; font-family: var(--wd-font-display); font-size: 1.35rem; font-style: italic; color: var(--wd-ink); }
.wd-prose a { color: var(--wd-teal); text-underline-offset: 3px; }
.wd-author-box { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border-radius: var(--wd-radius); background: var(--wd-mist); }
.wd-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wd-teal); color: #fff; font-family: var(--wd-font-display); font-size: 1.4rem; flex: none; }
.wd-share a { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--wd-line); color: var(--wd-ink); text-decoration: none; margin-right: 0.35rem; transition: all 0.3s; }
.wd-share a:hover { background: var(--wd-teal); border-color: var(--wd-teal); color: #fff; }
.wd-aside-card { border-radius: var(--wd-radius); padding: 1.75rem; }
.wd-aside-card--cta { background: linear-gradient(150deg, var(--wd-teal), var(--wd-ink-2)); color: #fff; }
.wd-aside-card--cta h3 { color: #fff; font-family: var(--wd-font-display); font-weight: 400; }
.wd-mini-post { display: flex; gap: 0.9rem; align-items: center; padding: 0.85rem 0; border-top: 1px solid var(--wd-line); text-decoration: none; color: var(--wd-ink); }
.wd-mini-post img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.wd-mini-post strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.wd-mini-post small { color: var(--wd-muted); }
.wd-mini-post:hover strong { color: var(--wd-teal); }

/* --------------------------------------------------------------------------
   Inner page hero (Why choose us, Treatments, Gallery, …)
   -------------------------------------------------------------------------- */
.wd-page-hero {
	background:
		radial-gradient(700px 360px at 85% 10%, rgba(29, 191, 204, 0.18), transparent 70%),
		radial-gradient(600px 300px at 10% 90%, rgba(198, 161, 91, 0.12), transparent 70%),
		var(--wd-mist);
	padding-block: clamp(4rem, 9vw, 7rem);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.wd-page-hero .wd-eyebrow { justify-content: center; }
.wd-page-hero .wd-eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--wd-gold); }
.wd-page-hero h1 { font-family: var(--wd-font-display); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.wd-page-hero h1 em { font-style: italic; color: var(--wd-teal); }
.wd-crumbs { display: inline-flex; gap: 0.5rem; font-size: 0.85rem; color: var(--wd-muted); margin-bottom: 1.5rem; }
.wd-crumbs a { color: var(--wd-muted); text-decoration: none; }
.wd-crumbs a:hover { color: var(--wd-teal); }

/* Doctor profile (Why choose us) */
.wd-profile { background: linear-gradient(70deg, #fafaf9 30%, transparent 30%), linear-gradient(30deg, #f4f4f3 60%, #e0f0f3 60%); }
.wd-profile__img { border-radius: var(--wd-radius-lg); box-shadow: var(--wd-shadow-lg); width: 100%; }
.wd-profile__badge { position: absolute; right: -10px; bottom: 24px; background: var(--wd-ink); color: #fff; border-radius: 18px; padding: 1rem 1.25rem; box-shadow: var(--wd-shadow); }
.wd-profile__badge b { font-family: var(--wd-font-display); font-size: 2rem; line-height: 1; display: block; color: var(--wd-aqua); }
.wd-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wd-tags span { padding: 0.4rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--wd-line); font-size: 0.85rem; font-weight: 600; color: var(--wd-ink); }

/* Treatments */
.wd-treat { background: #fff; border-radius: var(--wd-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--wd-line); box-shadow: var(--wd-shadow-sm); transition: transform 0.55s var(--wd-ease), box-shadow 0.55s var(--wd-ease); }
.wd-treat:hover { transform: translateY(-6px); box-shadow: var(--wd-shadow); }
.wd-treat__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wd-ink); position: relative; }
.wd-treat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--wd-ease); }
.wd-treat:hover .wd-treat__media img { transform: scale(1.07); }
.wd-treat__idx { position: absolute; left: 1rem; top: 1rem; background: rgba(255, 255, 255, 0.9); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.75rem; font-weight: 700; color: var(--wd-teal); }
.wd-treat__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.wd-treat__body h3 { font-size: 1.15rem; }
.wd-treat__body p { color: var(--wd-muted); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.wd-search { position: relative; max-width: 420px; }
.wd-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--wd-muted); }
.wd-search input, .wd-form.wd-search .form-control { padding-left: 2.8rem; }
.wd-search i { z-index: 2; }

/* Success stories */
.wd-quote { max-width: 900px; margin: 0 auto; text-align: center; font-family: var(--wd-font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 300; line-height: 1.5; color: var(--wd-ink); position: relative; }
.wd-quote::before { content: "\201C"; display: block; font-size: 5rem; line-height: 0.6; color: var(--wd-aqua); margin-bottom: 1rem; }
.wd-story { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--wd-line); }
@media (min-width: 768px) { .wd-story { grid-template-columns: 7fr 5fr; } .wd-story--rev { grid-template-columns: 5fr 7fr; } .wd-story--rev .wd-story__text { order: 2; } }
.wd-story__media { border-radius: var(--wd-radius-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--wd-shadow-lg); background: var(--wd-mist); }
.wd-story__media img, .wd-story__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-story h2 { font-family: var(--wd-font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.wd-story h2 span { color: var(--wd-muted); font-weight: 300; }

/* Contact */
.wd-contact-card { background: #fff; border-radius: var(--wd-radius); padding: 2rem; text-align: center; height: 100%; box-shadow: var(--wd-shadow-sm); border: 1px solid var(--wd-line); transition: transform 0.5s var(--wd-ease), box-shadow 0.5s var(--wd-ease); text-decoration: none; display: block; color: inherit; }
.wd-contact-card:hover { transform: translateY(-6px); box-shadow: var(--wd-shadow); color: inherit; }
.wd-contact-card__icon { width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--wd-aqua-soft); color: var(--wd-teal); }
.wd-contact-card small { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--wd-muted); font-size: 0.72rem; }
.wd-contact-card strong { display: block; font-size: 1.1rem; color: var(--wd-ink); margin-top: 0.35rem; word-break: break-word; }
.wd-map { border-radius: var(--wd-radius-lg); overflow: hidden; box-shadow: var(--wd-shadow); min-height: 420px; height: 100%; }
.wd-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.9); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.wd-form .form-control, .wd-form .form-select {
	border-radius: 14px;
	border: 1px solid var(--wd-line);
	padding: 0.95rem 1.1rem;
	font-size: 1rem;
	background-color: #fff;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.wd-form .form-floating > label { padding: 1rem 1.1rem; color: var(--wd-muted); }
.wd-form .form-floating > .form-control, .wd-form .form-floating > .form-select { height: calc(3.6rem + 2px); }
.wd-form .form-floating > textarea.form-control { height: 150px; }
.wd-form .form-control:focus, .wd-form .form-select:focus { border-color: var(--wd-aqua); box-shadow: 0 0 0 4px rgba(29, 191, 204, 0.18); }
.wd-form .is-invalid { border-color: #d9534f !important; }
.wd-form .invalid-feedback { display: block; }
.wd-form-note { font-size: 0.82rem; color: var(--wd-muted); }
.wd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wd-alert { border-radius: 14px; padding: 1rem 1.25rem; font-weight: 600; display: flex; gap: 0.75rem; align-items: flex-start; animation: wd-fade 0.4s ease; }
.wd-alert--ok { background: #e7f7ee; color: #17603a; }
.wd-alert--err { background: #fdecec; color: #8e1f1f; }
.wd-form-panel { background: #fff; border-radius: var(--wd-radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--wd-shadow); }

/* Quick enquiry band */
.wd-cta-band { background: var(--wd-ink); color: #fff; position: relative; overflow: hidden; }
.wd-cta-band::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -250px; top: -350px; background: radial-gradient(circle, rgba(29, 191, 204, 0.35), transparent 65%); }
.wd-cta-band .form-control, .wd-cta-band .form-select { background-color: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.wd-cta-band .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.wd-cta-band .form-select option { color: var(--wd-ink); }
.wd-cta-band .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.wd-form .form-floating > .form-control::placeholder { color: transparent; }
.wd-cta-band .form-floating > label { color: rgba(255, 255, 255, 0.65); }
.wd-cta-band .form-floating > .form-control:focus ~ label,
.wd-cta-band .form-floating > .form-control:not(:placeholder-shown) ~ label,
.wd-cta-band .form-floating > .form-select ~ label { color: rgba(255, 255, 255, 0.75); }
.wd-cta-band .form-floating > .form-control:focus ~ label::after,
.wd-cta-band .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.wd-cta-band .form-floating > .form-select ~ label::after { background: transparent; }

/* Modal */
.wd-modal .modal-content { border: 0; border-radius: var(--wd-radius-lg); overflow: hidden; box-shadow: var(--wd-shadow-lg); }
.wd-modal__media { min-height: 220px; background: var(--wd-ink) center / cover no-repeat; position: relative; }
.wd-modal__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11, 42, 51, 0.85)); }
.wd-modal__media h2 { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; z-index: 1; color: #fff; font-family: var(--wd-font-display); font-weight: 400; margin: 0; }
.wd-modal .btn-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; background-color: #fff; border-radius: 50%; padding: 0.75rem; opacity: 1; }
.wd-modal__list { list-style: none; padding: 0; margin: 0 0 1rem; }
.wd-modal__list li { padding: 0.35rem 0; display: flex; gap: 0.6rem; }
.wd-modal__list i { color: var(--wd-teal); }

/* Blog submission */
.wd-editor .ql-toolbar.ql-snow { border-radius: 14px 14px 0 0; border-color: var(--wd-line); background: var(--wd-mist); font-family: var(--wd-font-body); }
.wd-editor .ql-container.ql-snow { border-radius: 0 0 14px 14px; border-color: var(--wd-line); min-height: 320px; font-family: var(--wd-font-body); font-size: 1.05rem; }
.wd-editor .ql-editor { min-height: 320px; line-height: 1.8; }
.wd-drop { border: 2px dashed var(--wd-line); border-radius: var(--wd-radius); padding: 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.3s, background 0.3s; position: relative; background: var(--wd-mist); }
.wd-drop:hover, .wd-drop.is-over { border-color: var(--wd-aqua); background: #fff; }
.wd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wd-drop img { max-height: 220px; border-radius: 12px; margin-top: 1rem; }
.wd-steps { display: grid; gap: 1rem; counter-reset: s; }
.wd-steps li { list-style: none; display: flex; gap: 1rem; align-items: flex-start; }
.wd-steps li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--wd-aqua-soft); color: var(--wd-teal); font-weight: 700; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.wd-footer { background: #071d23; color: rgba(255, 255, 255, 0.72); position: relative; overflow: hidden; }
.wd-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 140%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(198, 161, 91, 0.6), transparent); }
.wd-footer h2 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--wd-font-body); font-weight: 700; margin-bottom: 1.25rem; }
.wd-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.3s; }
.wd-footer a:hover { color: var(--wd-aqua); }
.wd-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.wd-footer__links a { display: inline-flex; align-items: center; }
.wd-footer__links a::before { content: ""; width: 0; height: 1px; flex: none; margin-right: 0; background: var(--wd-aqua); transition: width 0.4s var(--wd-ease), margin 0.4s var(--wd-ease); }
.wd-footer__links a:hover::before { width: 14px; margin-right: 0.5rem; }
.wd-footer__logo img { width: 110px; height: auto; }
.wd-footer__tag { font-family: var(--wd-font-display); font-size: 1.35rem; color: #fff; font-weight: 300; line-height: 1.35; margin-top: 1.25rem; }
.wd-footer .form-control { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; border-radius: 999px; padding: 0.85rem 1.25rem; }
.wd-footer .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.wd-footer .form-control:focus { border-color: var(--wd-aqua); box-shadow: 0 0 0 4px rgba(29, 191, 204, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; }
.wd-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.wd-social { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff !important; transition: all 0.35s var(--wd-ease); }
.wd-social:hover { background: var(--wd-aqua); border-color: var(--wd-aqua); transform: translateY(-3px); }
.wd-social img { border-radius: 4px; }
.wd-credit { color: var(--wd-aqua) !important; }

/* Floating actions */
.wd-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: grid; gap: 0.65rem; }
.wd-fab a, .wd-fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; font-size: 1.4rem; box-shadow: var(--wd-shadow); transition: transform 0.4s var(--wd-ease), opacity 0.4s; text-decoration: none; }
.wd-fab a:hover, .wd-fab button:hover { transform: translateY(-3px) scale(1.04); }
.wd-fab__wa { background: #25d366; color: #fff; }
.wd-fab__wa:hover { color: #fff; }
.wd-fab__top { background: #fff; color: var(--wd-ink); opacity: 0; pointer-events: none; }
.wd-fab__top.is-visible { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.wd-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--wd-ease), transform 1.1s var(--wd-ease); transition-delay: var(--d, 0s); }
.wd-js [data-reveal="left"] { transform: translateX(-40px); }
.wd-js [data-reveal="right"] { transform: translateX(40px); }
.wd-js [data-reveal="zoom"] { transform: scale(0.94); }
.wd-js [data-reveal].is-in { opacity: 1; transform: none; }

/* 404 */
.wd-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--wd-mist); }
.wd-404 b { font-family: var(--wd-font-display); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--wd-teal); font-weight: 300; }

/* Accessibility */
.wd-skip { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--wd-ink); color: #fff; padding: 0.75rem 1rem; border-radius: 0 0 12px 0; }
.wd-skip:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid rgba(29, 191, 204, 0.55); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.wd-js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
	:root { --wd-header-h: 76px; }
	.wd-welcome { background: var(--wd-mist); }
}

/* Small-screen refinements */
.wd-post__meta { flex-wrap: wrap; row-gap: 0.25rem; }
.wd-post__meta span:first-child { white-space: nowrap; }
@media (max-width: 575.98px) {
	.wd-footer .wd-btn { justify-content: space-between; }
	.wd-hero__media { min-height: 280px; }
	.wd-section { padding-block: 3.5rem; }
}
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--wd-line); border-radius: 14px; padding: 0.85rem 1rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
