/* ==========================================================
   GLP Clinic – Dr. Sangram Keshari Biswal theme
   ========================================================== */

:root {
	/* Palette: MediCenter-style blues on white */
	--navy-900: #1d2b4a;
	--navy-800: #3156a3;
	--navy-700: #0384ce;
	--teal-600: #0375b5;
	--teal-500: #42b3e5;
	--teal-100: #e9f6fc;
	--ink: #3a3f47;
	--muted: #6b7280;
	--line: #e4e9f0;
	--bg: #ffffff;
	--bg-soft: #f4f7fb;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow-sm: 0 1px 2px rgba(29, 43, 74, .06), 0 2px 8px rgba(29, 43, 74, .05);
	--shadow-md: 0 14px 34px -14px rgba(29, 43, 74, .28);
	--font-head: "PT Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
h1, h2, h3 { color: var(--navy-800); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 780px; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

.icon { display: inline-flex; width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
	letter-spacing: .02em;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: .98rem; line-height: 1; cursor: pointer;
	transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(66, 179, 229, .7); }
.btn--primary:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--ghost:hover { background: var(--navy-800); color: #fff; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: #fff; color: var(--navy-800); }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #dbe5f1; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: flex-end; column-gap: 28px; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar__item:first-child { margin-right: auto; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #dbe5f1; }
a.topbar__item:hover { color: #fff; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand__logo { max-height: 56px; width: auto; }
.brand__mark {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--navy-800); color: #fff; box-shadow: inset 0 0 0 3px var(--teal-500);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__mark--text { width: 50px; height: 50px; font-family: var(--font-body); font-weight: 800; font-size: .95rem; letter-spacing: .04em; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.brand__sub { font-size: .76rem; color: var(--muted); letter-spacing: .03em; font-weight: 600; }
.brand__name { letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav-menu a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; padding: 6px 0; }
.nav-menu a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--teal-500); transition: width .25s;
}
.nav-menu a:hover::after, .nav-menu .current-menu-item > a::after { width: 100%; }
.nav-menu .sub-menu { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section bits ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow {
	display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
	text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px;
}
.section-title { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head .section-title::after { content: ""; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: var(--teal-500); }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 620px; }
.section-head { text-align: center; margin: 0 auto 52px; max-width: 700px; }
.section-head .section-intro { margin-inline: auto; }
.sub-title { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(66, 179, 229, .14), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(49, 86, 163, .08), transparent 60%),
		var(--bg-soft);
	padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 110px);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(29, 43, 74, .08) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 4.2rem); letter-spacing: -.01em; }
.hero__text { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 26px; flex-wrap: wrap; color: var(--navy-700); font-weight: 500; font-size: .95rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { color: var(--teal-500); width: 1.3em; height: 1.3em; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); }
.portrait {
	outline: 1px solid rgba(66, 179, 229, .55); outline-offset: 10px;
	aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
	overflow: hidden; background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
	box-shadow: var(--shadow-md); position: relative;
}
.portrait::before {
	content: ""; position: absolute; inset: -40% -40% auto auto; width: 90%; aspect-ratio: 1;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15);
	box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.portrait__placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.portrait__placeholder span { font-family: var(--font-head); font-weight: 400; font-size: 6rem; color: rgba(255, 255, 255, .9); letter-spacing: .04em; }
.portrait__card {
	position: absolute; left: -24px; bottom: 34px; background: #fff; border-radius: var(--radius);
	padding: 14px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
	border-left: 4px solid var(--teal-500);
}
.portrait__card-name { font-weight: 700; color: var(--navy-800); }
.portrait__card-role { font-size: .85rem; color: var(--muted); line-height: 1.4; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); border-top: 1px solid rgba(66, 179, 229, .35); border-bottom: 1px solid rgba(66, 179, 229, .35); color: #fff; padding: 38px 0; }
.stats__grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats__grid--1 { grid-template-columns: 1fr; }
.stats__grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: #9bd8f5; line-height: 1.1; }
.stat__label { color: #dbe5f1; font-size: .92rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__frame {
	position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
	background: var(--teal-100);
}
.about__frame::after {
	content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255, 255, 255, .7);
	border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__pattern { width: 100%; height: 100%; display: grid; place-items: center; color: var(--teal-600); }
.about__pattern svg { width: 40%; height: auto; opacity: .6; }
.about__text { color: var(--muted); font-size: 1.03rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
	width: 24px; height: 24px; padding: 5px; border-radius: 50%; margin-top: 1px;
	background: var(--teal-100); color: var(--teal-600);
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
	position: relative; overflow: hidden;
}
.card::before {
	content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
	background: linear-gradient(90deg, var(--teal-500), var(--navy-700));
	transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
	width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
	background: var(--teal-100); color: var(--teal-600); margin-bottom: 20px;
}
.card__icon .icon { width: 30px; height: 30px; }
.card__title { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }
.card__text { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Why ---------- */
.why { background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #e6eef8; }
.section-head--light .section-title { color: #fff; }
.section-head--light .eyebrow { color: #9bd8f5; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__item {
	padding: 30px 24px; border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(66, 179, 229, .25);
}
.why__icon { color: #9bd8f5; margin-bottom: 16px; }
.why__icon .icon { width: 34px; height: 34px; }
.why__item h3 { color: #fff; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; }
.why__item p { margin: 0; font-size: .96rem; color: #c7d3e3; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); position: relative; }
.testi::before { content: "“"; position: absolute; top: 4px; right: 22px; font-family: var(--font-head); font-size: 5rem; color: var(--teal-500); opacity: .25; line-height: 1; }
.testi blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.testi figcaption { font-weight: 600; color: var(--navy-800); }

/* ---------- Appointment ---------- */
.appointment { background: var(--bg-soft); }
.appt__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list > li > .icon {
	width: 46px; height: 46px; padding: 12px; border-radius: 12px;
	background: #fff; color: var(--teal-600); box-shadow: var(--shadow-sm);
}
.contact-list strong { display: block; color: var(--navy-800); font-size: .9rem; margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--muted); }
.contact-list a:hover { color: var(--teal-600); }

.appt-form {
	background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md); display: grid; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appt-form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.appt-form input, .appt-form select, .appt-form textarea {
	font: inherit; font-weight: 400; font-size: .98rem; color: var(--ink);
	padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdff;
	transition: border-color .2s, box-shadow .2s; width: 100%;
}
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus {
	outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(66, 179, 229, .15); background: #fff;
}
.form-small { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.form-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.form-notice--success { background: #e6f6ee; color: #146c43; border: 1px solid #b7e4cb; }
.form-notice--error { background: #fdecec; color: #a12626; border: 1px solid #f3c0c0; }

.online-book {
	background: linear-gradient(140deg, var(--navy-800), var(--navy-700)); color: #e6eef8;
	border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow-md);
}
.online-book__text strong { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.online-book__text span { font-size: .95rem; }
.contact-block { margin-top: 36px; }
.contact-block__title { font-family: var(--font-head); font-weight: 400; font-size: 2rem; margin-bottom: 10px; }
.contact-block__note {
	display: flex; gap: 10px; align-items: flex-start; background: var(--teal-100); color: var(--navy-800);
	border-left: 4px solid var(--teal-500); border-radius: 10px; padding: 12px 16px; font-size: .95rem; margin-bottom: 18px;
}
.contact-block__note .icon { color: var(--teal-600); margin-top: 3px; }
.contact-block__note a { font-weight: 700; text-decoration: underline; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.2); }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); padding: 70px 0 60px; color: #fff; }
.page-hero .eyebrow { color: #9bd8f5; }
.page-hero__title { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); }
.entry-thumb { margin-bottom: 32px; }
.entry-back { margin-top: 40px; }
.link-arrow { font-weight: 600; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card__thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 24px; }
.post-card__date { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }
.post-card__title a { color: var(--navy-800); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6d8; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 70px 0 50px; }
.footer-name { font-family: var(--font-head); font-weight: 400; color: #fff; font-size: 1.7rem; margin-bottom: 2px; }
.footer-title { color: #9bd8f5; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-clinic { color: #e6eef8; font-size: .9rem; margin-top: -6px; }
.footer-note { font-size: .85rem; line-height: 1.6; max-width: 320px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .nav-menu { flex-direction: column; gap: 10px; }
.site-footer a { color: #b9c6d8; }
.site-footer a:hover { color: #fff; }
.site-footer .nav-menu a::after { display: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: #9bd8f5; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center;
	box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }


/* ---------- Slider (MediCenter-style) ---------- */
.slider { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.slider__track { position: relative; min-height: clamp(560px, 76vh, 700px); }
.slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease;
	background:
		radial-gradient(700px 520px at 78% 40%, rgba(66, 179, 229, .16), transparent 65%),
		radial-gradient(900px 600px at 0% 100%, rgba(49, 86, 163, .7), transparent 70%),
		linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 100%);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide--image::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(19, 32, 60, .92) 0%, rgba(19, 32, 60, .7) 45%, rgba(19, 32, 60, .15) 100%);
}
.slide__art {
	position: absolute; right: 6%; top: 50%; transform: translateY(-58%);
	width: min(38vw, 440px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center; color: rgba(155, 216, 245, .55);
	border: 1px solid rgba(155, 216, 245, .35);
	box-shadow: 0 0 0 36px rgba(155, 216, 245, .05), 0 0 0 72px rgba(155, 216, 245, .03), inset 0 0 80px rgba(66, 179, 229, .12);
}
.slide__art svg { width: 42%; height: auto; stroke-width: 1; }
.slide__inner { position: relative; z-index: 2; padding: 60px 0 150px; }
.slide__copy { max-width: 640px; }
.slide__copy .eyebrow { color: #9bd8f5; }
.slide__copy .eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: #9bd8f5; vertical-align: middle; margin-right: 12px; }
.slide__title { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.12; margin-bottom: 18px; }
.slide__text { color: #e6eef8; font-size: 1.12rem; max-width: 560px; margin-bottom: 30px; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.slide .slide__copy > * { transform: translateY(18px); opacity: 0; transition: transform .8s ease, opacity .8s ease; }
.slide.is-active .slide__copy > * { transform: none; opacity: 1; }
.slide.is-active .slide__copy > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__copy > *:nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide__copy > *:nth-child(4) { transition-delay: .36s; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; color: var(--navy-900); }
.slider__arrow {
	position: absolute; top: 44%; z-index: 4; width: 50px; height: 50px; border-radius: 50%;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(155, 216, 245, .5); color: #9bd8f5;
	font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.slider__arrow:hover { background: #9bd8f5; color: var(--navy-900); }
.slider__arrow--prev { left: 22px; }
.slider__arrow--next { right: 22px; }
.slider__dots { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 118px; display: flex; gap: 10px; }
.slider__dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #9bd8f5; background: transparent; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.slider__dot.is-active { width: 30px; border-radius: 6px; background: #9bd8f5; }

/* ---------- Info boxes ---------- */
.infoboxes { position: relative; z-index: 5; margin-top: -86px; }
.infoboxes__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 50px -20px rgba(19, 32, 60, .55); }
.infobox { padding: 34px 32px 30px; color: #e6eef8; font-size: .96rem; position: relative; }
.infobox--1 { background: var(--navy-800); }
.infobox--2 { background: var(--navy-700); }
.infobox--3 { background: #42b3e5; color: #fff; }
.online-book .btn--primary { background: #fff; color: var(--navy-800); box-shadow: none; }
.online-book .btn--primary:hover { background: var(--teal-100); color: var(--navy-800); }
.infobox + .infobox::before { display: none; content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; border-left: 1px solid rgba(155, 216, 245, .2); }
.infobox__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.infobox__head .icon { width: 28px; height: 28px; color: #fff; }
.infobox__head h3 { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; margin: 0; }
.infobox p { margin-bottom: 14px; }
.infobox__hours { list-style: none; margin: 0; padding: 0; }
.infobox__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.infobox__hours li:last-child { border-bottom: 0; }
.infobox__hours li span:last-child { color: #fff; font-weight: 600; text-align: right; }
.infobox__phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: #fff; margin-bottom: 6px; }
.infobox__phone:hover { color: var(--navy-900); }
.infobox__link { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.infobox__link:hover { color: #fff; border-color: #fff; }

/* ---------- About portrait & stats ---------- */
.about__media { position: relative; justify-self: center; width: min(100%, 420px); }
.about__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__stat { display: flex; flex-direction: column; }
.about__stat-value { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--navy-700); }
.about__stat-label { color: var(--muted); font-size: .88rem; margin-top: 6px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.slide, .slide__bg, .slide .slide__copy > * { transition: none !important; }
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.infoboxes__grid { grid-template-columns: 1fr; }
	.infobox + .infobox::before { display: none; }
	.slider__arrow { display: none; }
	.slide__art { width: 70vw; right: -18vw; opacity: .45; }
	.about__media { margin-bottom: 30px; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px;
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
		display: none;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .nav-menu { flex-direction: column; gap: 0; }
	.primary-nav .nav-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.primary-nav .nav-menu a::after { display: none; }
	.nav-cta { margin-top: 18px; }
	.hero__inner, .about__grid, .appt__grid { grid-template-columns: 1fr; }
	.hero__visual { order: -1; width: min(100%, 340px); }
	.portrait__card { left: 50%; transform: translateX(-50%); bottom: -20px; white-space: nowrap; }
	.hero__visual { margin-bottom: 24px; }
	.about__media { max-width: 420px; }
	.stats__grid, .stats__grid--3, .stats__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.slider__track { min-height: 690px; }
	.slide__inner { padding: 40px 0 170px; }
	.slider__dots { bottom: 112px; }
	.slide__art { display: none; }
	.about__media { width: min(80%, 300px); }
	.slide__actions .btn { flex: 1 1 100%; }
	.infobox { padding: 28px 24px; }
	body { font-size: 16px; }
	.topbar__inner { justify-content: center; }
	.topbar__item:first-child, .topbar__hours { display: none; }
	.cards, .why__grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
	.brand__name { font-size: 1.12rem; }
	.brand__sub { font-size: .66rem; letter-spacing: .02em; }
	.stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
	.stat__value { font-size: 1.8rem; }
	.stat__label { font-size: .8rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.footer-bottom .container { justify-content: center; text-align: center; }
}
