/* ==========================================================================
   Surgery Wallah – base styles
   Colours, font, widths, paddings and radii come from CSS variables printed
   from Surgery Wallah Settings (inc/setup.php → sw_design_tokens_css).
   ========================================================================== */

/* ---------- Derived tokens ---------- */
:root {
	--sw-white: #ffffff;
	--sw-text: var(--sw-dark);
	--sw-muted: var(--sw-secondary);
	--sw-border: color-mix(in srgb, var(--sw-dark) 10%, transparent);
	--sw-primary-hover: color-mix(in srgb, var(--sw-primary) 85%, #000);
	--sw-gutter: 24px;
	--sw-frame: 16px; /* white space around the rounded hero card */
	--sw-shadow: 0 1px 2px rgba(15, 26, 32, .04), 0 14px 34px -14px rgba(15, 26, 32, .18);
	--sw-ease: cubic-bezier(.22, .61, .36, 1);
	--sw-glass: rgba(255, 255, 255, .2);
	--sw-adminbar: 0px;
}
.admin-bar { --sw-adminbar: 32px; }
@media (max-width: 782px) { .admin-bar { --sw-adminbar: 46px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sw-font);
	font-size: var(--sw-fs);
	line-height: 1.6;
	color: var(--sw-text);
	background: var(--sw-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--sw-ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--sw-primary); color: var(--sw-white); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.sw-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--sw-dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sw-skip:focus { left: 8px; }
.sw-icon { width: 1em; height: 1em; flex: none; }

/* ---------- Typography (one font family, weights do the work) ---------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--sw-font);
	color: var(--sw-dark);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
}
h1, .sw-h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; }
h2, .sw-h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -0.035em; }
h3, .sw-h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.02em; }
h4, .sw-h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sw-hl { color: var(--sw-primary); }
.sw-lead { font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.6; color: var(--sw-muted); }

/* Small outlined pill label above headings ("About Us", "Testimonial"…) */
.sw-tag {
	display: inline-flex; align-items: center;
	padding: 7px 18px;
	border: 1px solid var(--sw-border);
	border-radius: 999px;
	font-size: .9rem; line-height: 1.2;
	color: var(--sw-dark);
	background: var(--sw-white);
}

/* ---------- Layout ---------- */
.sw-container {
	width: 100%;
	max-width: calc(var(--sw-container) + var(--sw-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sw-gutter);
}
.sw-container--narrow { max-width: calc(820px + var(--sw-gutter) * 2); }

.sw-section { position: relative; padding-block: var(--sw-section-pad); }
.sw-section--tight-top { padding-top: calc(var(--sw-section-pad) * .5); }
.sw-section--tight-bottom { padding-bottom: calc(var(--sw-section-pad) * .5); }
.sw-section--flush-top { padding-top: 0 !important; }
.sw-section--flush-bottom { padding-bottom: 0 !important; }
/* (the hero card and sections without bottom space are excluded) */
.sw-section.sw-bg-white:not(.sw-hero-wrap, .sw-section--flush-bottom) + .sw-section.sw-bg-white:not(.sw-section--flush-top),
.sw-section.sw-bg-light:not(.sw-section--flush-bottom) + .sw-section.sw-bg-light:not(.sw-section--flush-top),
.sw-section.sw-bg-dark:not(.sw-section--flush-bottom) + .sw-section.sw-bg-dark:not(.sw-section--flush-top),
.sw-section.sw-bg-primary:not(.sw-section--flush-bottom) + .sw-section.sw-bg-primary:not(.sw-section--flush-top) { padding-top: 0; }
@media (max-width: 781px) {
	:root { --sw-gutter: 18px; --sw-frame: 10px; }
	.sw-section { padding-block: var(--sw-section-pad-m); }
	.sw-section--tight-top { padding-top: calc(var(--sw-section-pad-m) * .5); }
	.sw-section--tight-bottom { padding-bottom: calc(var(--sw-section-pad-m) * .5); }
}

.sw-bg-white   { background: var(--sw-white); }
.sw-bg-light   { background: var(--sw-light); }
.sw-bg-dark    { background: var(--sw-dark); color: rgba(255, 255, 255, .78); }
.sw-bg-primary { background: var(--sw-primary); color: rgba(255, 255, 255, .88); }
.sw-bg-dark :is(h1, h2, h3, h4, h5, h6),
.sw-bg-primary :is(h1, h2, h3, h4, h5, h6) { color: var(--sw-white); }

/* ---------- Buttons ---------- */
.sw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--sw-btn-radius);
	font-size: .95rem; font-weight: 500; line-height: 1.2;
	cursor: pointer;
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease), border-color .25s var(--sw-ease);
}
.sw-btn .sw-icon { width: 18px; height: 18px; }
.sw-btn--primary { background: var(--sw-primary); color: var(--sw-white); }
.sw-btn--primary:hover { background: var(--sw-primary-hover); }
.sw-btn--dark { background: var(--sw-dark); color: var(--sw-white); }
.sw-btn--dark:hover { background: color-mix(in srgb, var(--sw-dark) 80%, #fff); }
.sw-btn--outline { border-color: var(--sw-border); color: var(--sw-dark); background: var(--sw-white); }
.sw-btn--outline:hover { border-color: var(--sw-dark); }
.sw-btn--wa { background: #25D366; color: #fff; }
.sw-btn--wa:hover { background: #1fb457; }
.sw-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* White pill with a round accent arrow – the main call-to-action style */
.sw-pill-btn {
	display: inline-flex; align-items: center; gap: 16px;
	padding: 6px 6px 6px 26px;
	min-height: 52px;
	border-radius: var(--sw-btn-radius);
	background: var(--sw-white);
	color: var(--sw-dark);
	font-size: .95rem; font-weight: 500; line-height: 1.2;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
}
.sw-pill-btn i {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--sw-primary);
	color: var(--sw-white);
	transition: transform .35s var(--sw-ease);
}
.sw-pill-btn i .sw-icon { width: 18px; height: 18px; }
.sw-pill-btn:hover i { transform: rotate(-45deg); }
.sw-pill-btn--accent { background: var(--sw-primary); color: var(--sw-white); }
.sw-pill-btn--accent i { background: var(--sw-white); color: var(--sw-primary); }

/* ---------- Header ---------- */
.sw-header {
	position: absolute; z-index: 60;
	top: calc(var(--sw-frame) + 20px + var(--sw-adminbar)); left: 0; right: 0;
	color: var(--sw-white);
}
.sw-header__bar {
	width: 100%;
	max-width: calc(var(--sw-container) + var(--sw-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sw-gutter);
}
.sw-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 60px;
	border-radius: 999px;
	transition: background-color .3s var(--sw-ease), box-shadow .3s var(--sw-ease), padding .3s var(--sw-ease);
}
.sw-header__logo { flex: none; position: relative; }
.sw-logo { display: flex; align-items: center; gap: 10px; color: inherit; }
.sw-logo img { display: block; }
.sw-logo__text { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.sw-logo--auto-light img { filter: brightness(0) invert(1); }
.sw-header__logo-dark { display: none; }

/* Pill menu */
.sw-nav__list { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; }
.sw-nav__item { position: relative; }
.sw-nav__link {
	display: inline-flex; align-items: center; gap: 6px;
	height: 44px; padding: 0 20px;
	border-radius: 999px;
	background: var(--sw-glass);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: .94rem; line-height: 1; white-space: nowrap;
	color: inherit;
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease);
}
.sw-nav__chev { width: 14px; height: 14px; transition: transform .25s var(--sw-ease); }
.sw-nav__item:hover > .sw-nav__link,
.sw-nav__item:focus-within > .sw-nav__link { background: rgba(255, 255, 255, .32); }
.sw-nav__item.is-current > .sw-nav__link { background: var(--sw-white); color: var(--sw-dark); }
.sw-nav__item:hover .sw-nav__chev { transform: rotate(180deg); }

/* Dropdown card */
.sw-drop {
	position: absolute; top: calc(100% + 10px); left: 50%;
	min-width: 300px;
	padding: 8px;
	border-radius: 18px;
	background: var(--sw-white);
	color: var(--sw-dark);
	box-shadow: 0 24px 60px -20px rgba(15, 26, 32, .35);
	opacity: 0; visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .22s var(--sw-ease), transform .22s var(--sw-ease), visibility .22s;
}
.sw-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sw-nav__item:hover > .sw-drop,
.sw-nav__item:focus-within > .sw-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sw-drop__list { margin: 0; padding: 0; list-style: none; }
.sw-drop__link {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 11px 14px;
	border-radius: 11px;
	font-size: .93rem; line-height: 1.3;
}
.sw-drop__link .sw-icon { width: 15px; height: 15px; opacity: 0; transform: translate(-4px, 4px); transition: all .22s var(--sw-ease); color: var(--sw-primary); }
.sw-drop__link:hover, .sw-drop__link.is-current { background: var(--sw-light); }
.sw-drop__link:hover .sw-icon { opacity: 1; transform: none; }

.sw-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sw-header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; white-space: nowrap; }
.sw-header__phone .sw-icon { width: 16px; height: 16px; }
.sw-header__cta {
	display: inline-flex; align-items: center;
	height: 44px; padding: 0 22px;
	border-radius: 999px;
	background: var(--sw-white); color: var(--sw-dark);
	font-size: .94rem; font-weight: 500; white-space: nowrap;
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease);
}
.sw-header__cta:hover { background: var(--sw-primary); color: var(--sw-white); }
.sw-header__menu {
	display: none; place-items: center;
	width: 44px; height: 44px;
	border: 0; border-radius: 50%;
	background: var(--sw-white); color: var(--sw-dark);
}
.sw-header__menu .sw-icon { width: 20px; height: 20px; }

/* Solid header (pages without a photo hero) and the sticky bar after scrolling */
.sw-head-solid .sw-header { position: relative; top: 0; padding-top: 14px; color: var(--sw-dark); }
.sw-head-solid .sw-header__inner,
.sw-header.is-stuck .sw-header__inner {
	padding: 7px 7px 7px 20px;
	background: var(--sw-white);
	box-shadow: 0 0 0 1px var(--sw-border);
}
.sw-header.is-stuck { position: fixed; top: calc(10px + var(--sw-adminbar)); color: var(--sw-dark); animation: sw-drop-in .45s var(--sw-ease); }
.sw-header.is-stuck .sw-header__inner { box-shadow: 0 0 0 1px var(--sw-border), 0 18px 40px -22px rgba(15, 26, 32, .35); }
:is(.sw-head-solid, .is-stuck) .sw-header__logo-dark { display: block; }
:is(.sw-head-solid, .is-stuck) .sw-header__logo-light { display: none; }
:is(.sw-head-solid, .is-stuck) .sw-nav__link { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.sw-head-solid, .is-stuck) .sw-nav__item:hover > .sw-nav__link { background: var(--sw-light); }
:is(.sw-head-solid, .is-stuck) .sw-nav__item.is-current > .sw-nav__link { background: var(--sw-light); color: var(--sw-dark); }
:is(.sw-head-solid, .is-stuck) .sw-header__cta { background: var(--sw-dark); color: var(--sw-white); }
:is(.sw-head-solid, .is-stuck) .sw-header__cta:hover { background: var(--sw-primary); }
:is(.sw-head-solid, .is-stuck) .sw-header__menu { background: var(--sw-light); }
@keyframes sw-drop-in { from { transform: translateY(-120%); } to { transform: none; } }
/* Keep the logo size steady in the slimmer bars */
:is(.sw-head-solid, .is-stuck) .sw-logo img { max-height: 40px; width: auto !important; }

@media (max-width: 1180px) {
	.sw-nav__link { padding: 0 15px; }
	.sw-header__phone { display: none; }
}
@media (max-width: 1023px) {
	.sw-nav { display: none; }
	.sw-header__menu { display: grid; }
	.sw-header { top: calc(var(--sw-frame) + 12px + var(--sw-adminbar)); }
}
@media (max-width: 480px) {
	.sw-header__cta { display: none; }
	.sw-logo img { max-height: 36px; width: auto !important; }
}

/* ---------- Mobile drawer ---------- */
.sw-drawer { position: fixed; inset: 0; z-index: 100; }
.sw-drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 26, 32, .45); opacity: 0; transition: opacity .3s var(--sw-ease); }
.sw-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(400px, 100%);
	display: flex; flex-direction: column;
	background: var(--sw-white);
	transform: translateX(100%);
	transition: transform .35s var(--sw-ease);
	overflow-y: auto;
}
.sw-drawer.is-open .sw-drawer__backdrop { opacity: 1; }
.sw-drawer.is-open .sw-drawer__panel { transform: none; }
.sw-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--sw-border); }
.sw-drawer__head .sw-logo img { max-height: 38px; width: auto !important; }
.sw-drawer__close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sw-light); }
.sw-drawer__close .sw-icon { width: 20px; height: 20px; }
.sw-mnav { list-style: none; margin: 0; padding: 8px 20px; }
.sw-mnav__item { border-bottom: 1px solid var(--sw-border); }
.sw-mnav__row { display: flex; align-items: center; justify-content: space-between; }
.sw-mnav__row a { flex: 1; padding: 15px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }
.sw-mnav__item.is-current > .sw-mnav__row a { color: var(--sw-primary); }
.sw-mnav__toggle { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sw-light); }
.sw-mnav__toggle .sw-icon { width: 16px; height: 16px; transition: transform .25s var(--sw-ease); }
.sw-mnav__toggle[aria-expanded="true"] .sw-icon { transform: rotate(45deg); }
.sw-mnav__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--sw-light); }
.sw-mnav__sub a { display: block; padding: 8px 0; color: var(--sw-muted); font-size: .97rem; }
.sw-drawer__foot { margin-top: auto; padding: 20px; background: var(--sw-light); }
.sw-drawer__foot p { margin: 0 0 14px; font-size: .92rem; color: var(--sw-muted); }
.sw-drawer__btns { display: grid; gap: 10px; }
.sw-drawer__btns .sw-btn { width: 100%; }

/* ---------- Floating buttons ---------- */
.sw-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 55;
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: #25D366; color: #fff;
	box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
	transition: transform .25s var(--sw-ease);
}
.sw-wa-float:hover { transform: scale(1.07); }
.sw-wa-float .sw-icon { width: 26px; height: 26px; }

/* ---------- Plain text pages (no section blocks) ---------- */
.sw-plain { padding-block: 60px; }
.sw-prose { line-height: 1.75; }
.sw-prose :is(h2, h3) { margin-top: 1.6em; }
.sw-prose a { color: var(--sw-primary); text-decoration: underline; text-underline-offset: 3px; }
.sw-prose ul, .sw-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.sw-prose img { border-radius: var(--sw-radius); }

/* ---------- Scroll animations ----------
   Any element with data-sw-anim="fade-up|fade|slide-left|slide-right|zoom"
   fades in when it scrolls into view (main.js adds .is-in). */
.js [data-sw-anim] {
	opacity: 0;
	transition: opacity .9s var(--sw-ease), transform .9s var(--sw-ease);
	transition-delay: var(--sw-delay, 0ms);
}
.js [data-sw-anim="fade-up"]     { transform: translateY(26px); }
.js [data-sw-anim="slide-left"]  { transform: translateX(-36px); }
.js [data-sw-anim="slide-right"] { transform: translateX(36px); }
.js [data-sw-anim="zoom"]        { transform: scale(.96); }
.sw-anim-fast [data-sw-anim] { transition-duration: .55s; }
.sw-anim-slow [data-sw-anim] { transition-duration: 1.4s; }
.js [data-sw-anim].is-in { opacity: 1; transform: none; }
.sw-no-anim [data-sw-anim],
.js .sw-no-anim [data-sw-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-sw-anim] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Video pop-up ---------- */
.sw-video { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(5, 15, 20, .8); }
.sw-video__inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; }
.sw-video__inner iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; background: #000; }
.sw-video__close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; }

/* ---------- Footer (soft grey rounded card, like the hero) ---------- */
.sw-footer {
	margin: var(--sw-frame);
	padding-top: clamp(56px, 6vw, 84px);
	border-radius: var(--sw-radius);
	background: var(--sw-light);
	overflow: hidden;
}
.sw-footer__top {
	display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: clamp(28px, 5vw, 72px);
	padding-bottom: clamp(36px, 4vw, 52px);
	border-bottom: 1px solid var(--sw-border);
}
.sw-footer__title { margin: 0; font-size: clamp(2.1rem, 1.1rem + 2.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; }
.sw-footer__cta p { max-width: 460px; margin: 0 0 22px; color: var(--sw-muted); }
.sw-footer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-footer__btn2 {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 52px; padding: 0 22px;
	border: 1px solid var(--sw-border); border-radius: var(--sw-btn-radius);
	background: var(--sw-white);
	font-size: .95rem; font-weight: 500;
	transition: border-color .25s var(--sw-ease);
}
.sw-footer__btn2 .sw-icon { width: 20px; height: 20px; color: #25D366; }
.sw-footer__btn2:hover { border-color: var(--sw-dark); }

.sw-footer__grid {
	display: grid; grid-template-columns: .9fr 1fr 1.25fr 1.35fr; gap: clamp(28px, 3.5vw, 48px);
	padding-block: clamp(36px, 4vw, 52px) 8px;
}
.sw-footer__label { margin: 0 0 18px; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-muted); line-height: 1.4; }
.sw-flinks { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: .96rem; }
.sw-flinks a:hover { color: var(--sw-primary); }
.sw-footer__clinic { margin-bottom: 16px; font-size: .93rem; line-height: 1.5; }
.sw-footer__clinic strong { display: block; font-weight: 500; font-size: .97rem; margin-bottom: 2px; }
.sw-footer__clinic span { display: block; color: var(--sw-muted); }
.sw-footer__clinic em { display: block; font-style: normal; font-size: .86rem; color: var(--sw-primary); }
.sw-footer__hours { display: flex; gap: 10px; font-size: .9rem; line-height: 1.55; color: var(--sw-muted); }
.sw-footer__hours .sw-icon { width: 17px; height: 17px; margin-top: 3px; color: var(--sw-dark); }
.sw-footer__big {
	display: inline-block;
	font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.35rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
}
.sw-footer__big:hover { color: var(--sw-primary); }
.sw-footer__mail { display: block; margin-top: 12px; color: var(--sw-muted); font-size: .95rem; }
.sw-footer__mail:hover { color: var(--sw-primary); }
.sw-footer__social { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .95rem; }
.sw-footer__social ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sw-footer__social a {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 1px solid var(--sw-border); border-radius: 50%;
	background: var(--sw-white);
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease);
}
.sw-footer__social a:hover { background: var(--sw-dark); color: var(--sw-white); }
.sw-footer__social .sw-icon { width: 17px; height: 17px; }

/* Giant faded name + bottom bar */
.sw-footer__base { position: relative; }
.sw-footer__mark {
	margin-bottom: -.12em;
	font-size: clamp(3rem, 14.4vw, 16rem); font-weight: 600;
	line-height: .9; letter-spacing: -0.055em;
	text-align: center; white-space: nowrap;
	background: linear-gradient(180deg, color-mix(in srgb, var(--sw-dark) 13%, var(--sw-light)) 0%, var(--sw-light) 92%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	user-select: none; pointer-events: none;
}
.sw-footer__bottom {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
	padding-block: 18px 6px;
	font-size: .86rem; color: var(--sw-muted);
}
.sw-footer__copy { margin: 0; }
.sw-footer__bottom .sw-flinks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; }
.sw-footer__bottom .sw-flinks a { text-decoration: underline; text-underline-offset: 3px; }
.sw-footer__disclaimer { margin: 0 auto; padding-bottom: 22px; font-size: .78rem; color: color-mix(in srgb, var(--sw-muted) 85%, var(--sw-light)); }

@media (max-width: 1023px) {
	.sw-footer__top { grid-template-columns: 1fr; align-items: start; }
	.sw-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.sw-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.sw-footer__col--clinics, .sw-footer__contact { grid-column: 1 / -1; }
	.sw-footer__bottom { flex-direction: column; align-items: flex-start; }
	.sw-footer__base { margin-top: 28px; }
}

/* Back to top */
.sw-to-top {
	position: fixed; right: 27px; bottom: 88px; z-index: 55;
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: 1px solid var(--sw-border); border-radius: 50%;
	background: var(--sw-white); color: var(--sw-dark);
	box-shadow: var(--sw-shadow);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .3s var(--sw-ease), transform .3s var(--sw-ease), visibility .3s;
}
.sw-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.sw-to-top .sw-icon { width: 18px; height: 18px; }

/* ---------- Round arrow buttons (carousels, reviews) ---------- */
.sw-why__arrow {
	display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	border: 1px solid var(--sw-border); background: var(--sw-white); color: var(--sw-dark);
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease), opacity .25s;
}
.sw-why__arrow .sw-icon { width: 20px; height: 20px; }
.sw-why__arrow--next { background: var(--sw-primary); border-color: var(--sw-primary); color: var(--sw-white); }
.sw-why__arrow:hover { background: var(--sw-dark); border-color: var(--sw-dark); color: var(--sw-white); }
.sw-why__arrow:disabled { opacity: .4; cursor: default; }

/* ---------- Article card (blog block + blog pages) ---------- */
.sw-card-post {
	display: flex; flex-direction: column;
	padding: 10px;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
	background: var(--sw-white);
	transition: box-shadow .35s var(--sw-ease), transform .35s var(--sw-ease), border-color .35s;
}
.sw-card-post:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -26px rgba(15, 26, 32, .35); }
.sw-card-post__media { position: relative; display: block; aspect-ratio: 16 / 10.5; border-radius: calc(var(--sw-radius) - 6px); overflow: hidden; background: var(--sw-light); }
.sw-card-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sw-ease); }
.sw-card-post:hover .sw-card-post__media img { transform: scale(1.05); }
.sw-card-post__date {
	position: absolute; left: 12px; top: 12px;
	display: grid; justify-items: center;
	min-width: 52px; padding: 7px 8px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	font-size: .72rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .06em; color: var(--sw-muted);
}
.sw-card-post__date b { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--sw-dark); font-weight: 600; }
.sw-card-post__body { display: flex; flex-direction: column; flex: 1; padding: 18px 10px 10px; }
.sw-card-post__meta { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin: 0 0 10px; font-size: .8rem; color: var(--sw-muted); }
.sw-card-post__cat { white-space: nowrap; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--sw-primary) 12%, var(--sw-white)); color: color-mix(in srgb, var(--sw-primary) 70%, var(--sw-dark)); font-weight: 500; }
.sw-card-post__title { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.02em; }
.sw-card-post__title a:hover { color: var(--sw-primary); }
.sw-card-post__excerpt { margin: 0 0 18px; font-size: .92rem; line-height: 1.55; color: var(--sw-muted); }
.sw-card-post__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: .92rem; font-weight: 500; }
.sw-card-post__more i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sw-border); transition: all .3s var(--sw-ease); }
.sw-card-post__more .sw-icon { width: 14px; height: 14px; }
.sw-card-post:hover .sw-card-post__more i { background: var(--sw-primary); border-color: var(--sw-primary); color: #fff; transform: rotate(45deg); }

/* Breadcrumbs (shared by inner pages) */
.sw-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .85rem; color: var(--sw-muted); }
.sw-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.sw-crumbs a:hover { color: var(--sw-primary); }
.sw-crumbs [aria-current] { color: var(--sw-dark); }

/* Section heads reused from the blog block */
.sw-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 36px); }
.sw-blog__title { margin: 0; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.05; letter-spacing: -0.04em; }


/* ---------- Appointment form ---------- */
.sw-form-card {
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--sw-radius);
	background: var(--sw-white);
	border: 1px solid var(--sw-border);
	box-shadow: 0 40px 80px -50px rgba(10, 34, 51, .45);
}
.sw-form-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sw-border); }
.sw-form-card__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; background: var(--sw-primary); color: #fff; }
.sw-form-card__icon .sw-icon { width: 23px; height: 23px; }
.sw-form-card__title { margin: 0 0 4px; font-size: 1.45rem; letter-spacing: -0.025em; }
.sw-form-card__text { margin: 0; font-size: .9rem; color: var(--sw-muted); }
.sw-form { position: relative; }
.sw-form.is-hidden { display: none; }
.sw-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.sw-field { display: grid; gap: 6px; }
.sw-field--wide { grid-column: 1 / -1; }
.sw-field label { font-size: .84rem; font-weight: 500; color: var(--sw-dark); }
.sw-field label span { color: #D14343; }
.sw-field input, .sw-field select, .sw-field textarea {
	width: 100%; min-height: 50px;
	padding: 12px 16px;
	border: 1px solid color-mix(in srgb, var(--sw-dark) 14%, transparent);
	border-radius: 14px;
	background: var(--sw-light);
	font-size: .95rem; line-height: 1.4; color: var(--sw-dark);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.sw-field textarea { resize: vertical; min-height: 96px; }
.sw-field input::placeholder, .sw-field textarea::placeholder { color: color-mix(in srgb, var(--sw-muted) 75%, transparent); }
.sw-field input:focus, .sw-field select:focus, .sw-field textarea:focus { outline: 0; border-color: var(--sw-primary); background: var(--sw-white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sw-primary) 16%, transparent); }
.sw-select { position: relative; }
.sw-select select { padding-right: 42px; cursor: pointer; }
.sw-select .sw-icon { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--sw-muted); }
.sw-field__error { min-height: 0; font-size: .78rem; color: #D14343; }
.sw-field.has-error input, .sw-field.has-error select { border-color: #D14343; background: #FFF7F7; }
.sw-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .84rem; line-height: 1.5; color: var(--sw-muted); cursor: pointer; }
.sw-form__consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--sw-primary); flex: none; }
.sw-form__consent a { color: var(--sw-primary); text-decoration: underline; }
.sw-form__consent.has-error { color: #D14343; }
.sw-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.sw-form__submit { border: 0; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 500; }
.sw-form.is-sending .sw-form__submit { opacity: .7; pointer-events: none; }
.sw-form.is-sending .sw-form__submit i { animation: sw-spin 1s linear infinite; }
@keyframes sw-spin { to { transform: rotate(360deg); } }
.sw-form__note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--sw-muted); }
.sw-form__note .sw-icon { width: 16px; height: 16px; color: var(--sw-primary); }
.sw-form__alert { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFF4F2; color: #9A3B2C; font-size: .88rem; }
.sw-form-done { display: none; text-align: center; padding: 30px 10px; }
.sw-form-done.is-visible { display: grid; justify-items: center; gap: 10px; }
.sw-form-done__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: color-mix(in srgb, var(--sw-primary) 14%, var(--sw-white)); color: var(--sw-primary); }
.sw-form-done__icon .sw-icon { width: 32px; height: 32px; stroke-width: 2.4; }
.sw-form-done__title { margin: 6px 0 0; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.sw-form-done__text { margin: 0 0 8px; max-width: 380px; color: var(--sw-muted); }
@media (max-width: 560px) { .sw-form__grid { grid-template-columns: 1fr; } .sw-form__submit { width: 100%; justify-content: space-between; } }

/* ---------- Inner page parts (page heading, filter buttons, help strip) ---------- */
/* Inner page heading */
.sw-pagehead { padding-bottom: 28px; }
.sw-pagehead__row { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 20px 56px; }
.sw-pagehead .sw-tag { margin-bottom: 16px; }
.sw-pagehead__title { margin: 0; font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; }
.sw-pagehead__text { margin: 0; color: var(--sw-muted); line-height: 1.6; }

/* Specialty filter */
.sw-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sw-filter__btn {
	padding: 10px 18px;
	border: 1px solid var(--sw-border); border-radius: 999px;
	font-size: .9rem; line-height: 1.2;
	transition: background-color .25s var(--sw-ease), color .25s var(--sw-ease), border-color .25s;
}
.sw-filter__btn:hover { border-color: var(--sw-dark); }
.sw-filter__btn.is-active { background: var(--sw-dark); border-color: var(--sw-dark); color: var(--sw-white); }

/* "Not sure" help strip */
.sw-help {
	display: flex; align-items: center; justify-content: space-between; gap: 20px 40px;
	margin-top: 36px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px);
	border-radius: var(--sw-radius); background: var(--sw-light);
}
.sw-help__title { margin: 0 0 6px; font-size: clamp(1.3rem, 1rem + .8vw, 1.7rem); letter-spacing: -0.025em; }
.sw-help p { margin: 0; color: var(--sw-muted); }
.sw-help__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }


/* Full-width buttons (booking box, side boxes) */
.sw-bookbox__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	height: 50px; margin-bottom: 8px;
	border-radius: 999px; background: var(--sw-primary); color: #fff;
	font-weight: 500; font-size: .95rem;
	transition: background-color .25s var(--sw-ease), color .25s, border-color .25s;
}
.sw-bookbox__btn .sw-icon { width: 18px; height: 18px; }
.sw-bookbox__btn:hover { background: var(--sw-primary-hover); }
.sw-bookbox__btn--wa { background: #25D366; }
.sw-bookbox__btn--wa:hover { background: #1fb457; }
.sw-bookbox__btn--line { background: var(--sw-white); color: var(--sw-dark); border: 1px solid var(--sw-border); }
.sw-bookbox__btn--line:hover { background: var(--sw-dark); color: #fff; }

@media (max-width: 860px) { .sw-pagehead__row { grid-template-columns: 1fr; } .sw-help { flex-direction: column; align-items: flex-start; } }
@media (max-width: 620px) { .sw-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--sw-gutter) * -1); padding-inline: var(--sw-gutter); } .sw-filter::-webkit-scrollbar { display: none; } .sw-filter__btn { white-space: nowrap; } }

/* ---------- Text pages (policies) ---------- */
.sw-textpage-head .sw-container { max-width: calc(860px + var(--sw-gutter) * 2); }
.sw-textpage-head__title { margin: 0 0 14px; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; }
.sw-textpage-head__lead { margin: 0 0 16px; max-width: 680px; font-size: 1.08rem; line-height: 1.6; color: var(--sw-muted); }
.sw-textpage-head__date { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--sw-light); font-size: .84rem; color: var(--sw-muted); }
.sw-textpage-head__date .sw-icon { width: 15px; height: 15px; color: var(--sw-primary); }
.sw-container--narrow { max-width: calc(860px + var(--sw-gutter) * 2); }
.sw-legal { padding-top: 28px; border-top: 1px solid var(--sw-border); font-size: 1rem; line-height: 1.8; color: color-mix(in srgb, var(--sw-dark) 80%, var(--sw-white)); }
.sw-legal h2 { margin: 1.9em 0 .55em; font-size: clamp(1.3rem, 1.05rem + .7vw, 1.6rem); letter-spacing: -0.025em; color: var(--sw-dark); }
.sw-legal h2:first-child { margin-top: 0; }
.sw-legal h3 { margin: 1.4em 0 .4em; font-size: 1.12rem; color: var(--sw-dark); }
.sw-legal ul { list-style: none; padding: 0; }
.sw-legal ul li { position: relative; padding-left: 24px; margin-bottom: .5em; }
.sw-legal ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--sw-primary); }
.sw-legal .sw-callout { margin: 1.5em 0; padding: 18px 22px; border-radius: 16px; background: color-mix(in srgb, var(--sw-primary) 9%, var(--sw-white)); color: var(--sw-dark); }
.sw-legal .sw-callout p:last-child { margin: 0; }

/* ---------- 404 ---------- */
.sw-404 {
	display: grid; justify-items: center; text-align: center;
	padding: clamp(36px, 5vw, 64px) 20px clamp(32px, 4vw, 48px);
	border-radius: var(--sw-radius);
	background:
		radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--sw-primary) 16%, var(--sw-white)) 0%, transparent 70%),
		var(--sw-light);
}
.sw-404__code { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 18px); margin-bottom: 20px; font-size: clamp(5.5rem, 3rem + 9vw, 10rem); font-weight: 600; line-height: .9; letter-spacing: -0.06em; color: var(--sw-dark); }
.sw-404__code i {
	display: grid; place-items: center;
	width: .8em; height: .8em; border-radius: 50%;
	background: var(--sw-primary); color: #fff;
	box-shadow: 0 0 0 .1em color-mix(in srgb, var(--sw-primary) 18%, transparent);
	animation: sw-pulse 2.4s ease-in-out infinite;
}
.sw-404__code i .sw-icon { width: 45%; height: 45%; }
@keyframes sw-pulse { 50% { box-shadow: 0 0 0 .18em color-mix(in srgb, var(--sw-primary) 10%, transparent); } }
.sw-404 .sw-tag { margin-bottom: 14px; }
.sw-404__title { margin: 0 0 12px; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); letter-spacing: -0.04em; }
.sw-404__text { max-width: 520px; margin: 0 0 26px; color: var(--sw-muted); line-height: 1.6; }
.sw-404__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sw-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.sw-404__links a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--sw-white); border: 1px solid var(--sw-border); font-size: .9rem; transition: border-color .2s, color .2s; }
.sw-404__links .sw-icon { width: 14px; height: 14px; }
.sw-404__links a:hover { border-color: var(--sw-primary); color: var(--sw-primary); }
.sw-404__specs { margin-top: 28px; text-align: center; }
.sw-404__label { margin: 0 0 14px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-muted); }
.sw-chiplinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sw-chiplinks a { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px; border: 1px solid var(--sw-border); border-radius: 999px; font-size: .9rem; transition: background-color .25s, color .25s, border-color .25s; }
.sw-chiplinks i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--sw-primary) 12%, var(--sw-white)); color: color-mix(in srgb, var(--sw-primary) 75%, var(--sw-dark)); }
.sw-chiplinks .sw-icon { width: 16px; height: 16px; }
.sw-chiplinks a:hover { background: var(--sw-dark); border-color: var(--sw-dark); color: #fff; }

/* ==========================================================================
   Mobile polish (phones). Kept together so every small-screen fix is in one place.
   "body" prefix makes these win over the section stylesheets.
   ========================================================================== */
@media (max-width: 680px) {
	/* Hero: shorter card, chips wrap instead of running off the screen, room for the WhatsApp button */
	body .sw-hero { min-height: 0; }
	body .sw-hero__body { padding: 92px var(--sw-gutter) 22px; }
	body .sw-hero__main { flex: none; padding: 28px 0 26px; }
	body .sw-hero__chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 64px 0 0; gap: 6px; }
	body .sw-hero__chips :is(a, span) { padding: 7px 13px; font-size: .8rem; }

	/* Steps strip: a tidy 2 × 2 grid of numbered steps instead of a cut-off row */
	body .sw-steps-wrap .sw-container { padding-inline: var(--sw-gutter); }
	body .sw-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 0; counter-reset: step; }
	body .sw-steps::after { display: none; }
	body .sw-steps__ticks { display: none; }
	body .sw-steps__label {
		counter-increment: step;
		display: flex; align-items: center; gap: 8px;
		padding: 10px 12px; border: 1px solid var(--sw-border); border-radius: 12px;
		font-size: .82rem; white-space: normal; line-height: 1.25;
	}
	body .sw-steps__label::before {
		content: counter(step);
		display: grid; place-items: center; flex: none;
		width: 22px; height: 22px; border-radius: 50%;
		background: color-mix(in srgb, var(--sw-primary) 14%, var(--sw-white));
		color: color-mix(in srgb, var(--sw-primary) 75%, var(--sw-dark)); font-size: .72rem; font-weight: 600;
	}

	/* About statement photo: smaller on phones */
	body .sw-statement__feature { height: 300px; }
	body .sw-statement__text { font-size: 1.3rem; }

	/* Section heads with a button: stack on the left */
	body .sw-blog__head, body .sw-values__head, body .sw-why__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	body .sw-blog__head .sw-pill-btn { align-self: flex-start; }

	/* Doctor cards: two compact cards per row; details on the profile page */
	body .sw-doc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	body .sw-dcard { height: 280px; border-radius: 18px; }
	body .sw-dcard::before { width: 110%; top: 10%; }
	body .sw-dcard__img { height: 78%; }
	body .sw-dcard__top { left: 8px; right: 8px; top: 8px; }
	body .sw-dcard__spec { padding: 5px 9px; font-size: .66rem; max-width: calc(100% - 38px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body .sw-dcard__go { width: 30px; height: 30px; }
	body .sw-dcard__go .sw-icon { width: 14px; height: 14px; }
	body .sw-dcard__panel { left: 6px; right: 6px; bottom: 6px; padding: 10px 11px; border-radius: 13px; }
	body .sw-dcard__name { font-size: .98rem; }
	body .sw-dcard__role { font-size: .74rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	body .sw-dcard__more { display: none; }
	body .sw-dcard__badge { display: none; }
	body .sw-dcard__initials { font-size: 4.6rem; top: 18%; }
	body .sw-dcard__silhouette { top: calc(18% + 5rem); width: 38px; height: 38px; }
	body .sw-dcard__silhouette .sw-icon { width: 18px; height: 18px; }

	/* Specialty journey: compact rows */
	body .sw-journey__steps { gap: 18px; }
	body .sw-journey__steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
	body .sw-journey__dot { grid-row: span 2; width: 36px; height: 36px; margin: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sw-primary) 22%, transparent); }

	/* Specialty cards on the listing: shorter */
	body .sw-spec { height: 240px; }

	/* Footer: the big name fits the screen */
	body .sw-footer__mark { font-size: 12.2vw; letter-spacing: -0.05em; }
	body .sw-footer__title { font-size: 2rem; }

	/* Floating buttons: smaller so they cover less content */
	body .sw-wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
	body .sw-wa-float .sw-icon { width: 23px; height: 23px; }
	body .sw-to-top { right: 18px; bottom: 72px; width: 36px; height: 36px; }
}
@media (max-width: 380px) {
	body .sw-hero__title { font-size: 2.1rem; }
	body .sw-dcard { height: 250px; }
}
/* Article cards on phones: compact rows (photo left, title right) – blog block, blog pages, related posts */
@media (max-width: 620px) {
	body .sw-postgrid { grid-template-columns: 1fr; gap: 10px; }
	body .sw-card-post { flex-direction: row; align-items: stretch; gap: 12px; padding: 8px; border-radius: 16px; }
	body .sw-card-post:hover { transform: none; }
	body .sw-card-post__media { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; border-radius: 11px; }
	body .sw-card-post__date { left: 6px; top: 6px; min-width: 0; padding: 4px 6px; border-radius: 8px; font-size: .58rem; }
	body .sw-card-post__date b { font-size: .9rem; }
	body .sw-card-post__body { padding: 4px 4px 2px 0; }
	body .sw-card-post__meta { margin-bottom: 6px; font-size: .72rem; gap: 4px 8px; }
	body .sw-card-post__cat { padding: 2px 8px; font-size: .7rem; white-space: normal; }
	body .sw-card-post__title { margin: 0 0 6px; font-size: .98rem; line-height: 1.3; }
	body .sw-card-post__excerpt { display: none; }
	body .sw-card-post__more { font-size: .82rem; gap: 6px; }
	body .sw-card-post__more i { width: 24px; height: 24px; }
}
/* Why-us cards: always visible on phones (no deal-in animation) */
@media (max-width: 680px) {
	.js body .sw-why__track[data-sw-why] .sw-why__card { opacity: 1; transform: none; transition: none; }
	body .sw-why__card { height: 360px; flex-basis: 76vw; }
	body .sw-testi__photo { width: 110px; }
}
@media (max-width: 680px) {
	/* Banner buttons side by side */
	body .sw-shero__btns { flex-wrap: nowrap; gap: 8px; }
	body .sw-shero__btns .sw-pill-btn { padding-left: 18px; gap: 10px; font-size: .88rem; min-height: 48px; white-space: nowrap; }
	body .sw-shero__btns .sw-pill-btn i { width: 36px; height: 36px; }
	body .sw-shero__wa { flex: none; justify-content: center; width: 48px; min-height: 48px; padding: 0; font-size: 0; gap: 0; }
	body .sw-shero__wa .sw-icon { width: 22px; height: 22px; }
	body .sw-shero__main { padding: 24px 0; }
	body .sw-shero { min-height: 0; }
}

/* ---------- Footer wordmark: clearly visible, letters rise in one by one, then a light sweep ---------- */
.sw-footer__mark {
	position: relative;
	display: flex; justify-content: center;
	background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box;
	overflow: hidden;
	padding-top: .06em;
}
.sw-footer__mark span {
	display: inline-block;
	background: linear-gradient(180deg, var(--sw-dark) 0%, color-mix(in srgb, var(--sw-dark) 70%, var(--sw-primary)) 60%, color-mix(in srgb, var(--sw-primary) 55%, var(--sw-light)) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: .9;
}
.sw-footer__mark .is-space { width: .26em; }
.js .sw-footer__mark span { transform: translateY(105%); opacity: 0; transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .8s ease; transition-delay: calc(var(--i, 0) * 55ms); }
.js .sw-footer__mark.is-in span { transform: none; opacity: .9; }
/* soft light sweep across the name after it appears */
.sw-footer__mark::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
	transform: translateX(-120%);
	pointer-events: none;
}
.sw-footer__mark.is-in::after { animation: sw-sweep 2.4s ease 1.2s 1 both; }
@keyframes sw-sweep { to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
	.js .sw-footer__mark span { transform: none; opacity: .9; transition: none; }
	.sw-footer__mark.is-in::after { animation: none; }
}
.sw-footer__mark { margin: 0 auto; padding: .04em 0 .14em; font-size: clamp(3rem, 12.6vw, 14rem); line-height: 1.02; }
@media (max-width: 680px) { body .sw-footer__mark { font-size: 11.6vw; } }
.sw-footer__mark { padding-bottom: .24em; margin-bottom: -.08em; }
.sw-has-form .sw-footer__top { display: none; }
.sw-has-form .sw-footer { padding-top: clamp(36px, 4vw, 52px); }
.sw-has-form .sw-footer__grid { padding-top: 0; }
