/* Medinet Hospitals — main styles
   Palette from the logo: indigo (swoosh, MEDI), green (family), red (NET HOSPITAL, used only for alerts). */

@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-var.woff2") format("woff2");
	font-weight: 400 760;
	font-stretch: 85% 100%;
	font-style: normal;
	font-display: swap;
}

:root {
	--indigo: #28166c;
	--indigo-deep: #1f1157;
	--night: #190e45;
	--green: #03913a;
	--green-ink: #047532;
	--green-light: #55d58c;
	--green-soft: #e6f4ea;
	--red: #c9261c;
	--ink: #231e3d;
	--muted: #57536f;
	--mist: #f4f2fa;
	--mist-2: #ebe8f6;
	--line: #e0dcee;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 24px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 8vw, 112px);
	--font: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--shadow: 0 1px 2px rgba(40, 22, 108, .06), 0 10px 28px -14px rgba(40, 22, 108, .28);
	--focus: 0 0 0 3px #fff, 0 0 0 5px var(--green);
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-variant-ligatures: no-common-ligatures;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	font-weight: 400;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; color: var(--indigo); font-weight: 700; line-height: 1.1; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon .ia { stroke: var(--green); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
	background: var(--indigo); color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Type */
.h2 {
	font-size: clamp(1.95rem, 1.35rem + 1.7vw, 2.8rem);
	font-stretch: 87%;
	font-weight: 700;
	letter-spacing: -.012em;
	line-height: 1.06;
	margin-bottom: .45em;
}
.h3 { font-size: 1.25rem; font-weight: 640; font-stretch: 94%; line-height: 1.25; margin-bottom: .4em; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }

.text-link {
	display: inline-flex; align-items: center; gap: .45em;
	font-weight: 620; color: var(--indigo); text-decoration: none;
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.text-link:hover { color: var(--green-ink); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: var(--green-light); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.35em;
	border: 1.5px solid transparent; border-radius: 999px;
	font-size: 1rem; font-weight: 620; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.0625rem; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--night); color: #fff; }
.btn--primary .icon .ia { stroke: var(--green-light); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--mist); color: var(--indigo); }
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { background: var(--green-soft); color: var(--indigo); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.is-scrolled .site-header { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(40, 22, 108, .5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: block; flex: none; border-radius: 6px; }
.logo__img { width: auto; height: 52px; }
.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; gap: 4px; }
.nav__link {
	position: relative; display: block; padding: 10px 14px;
	color: var(--indigo); font-weight: 580; font-size: 1rem; text-decoration: none; border-radius: 8px;
}
.nav__link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover { color: var(--indigo); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__extra { display: none; }
.site-header__call { flex: none; }
.menu-toggle {
	display: none; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--line); border-radius: 12px;
	background: #fff; color: var(--indigo); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.nav-open .menu-toggle__open { display: none; }
.nav-open .menu-toggle__close { display: block; }

/* Hero */
.hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__title {
	font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5rem);
	font-stretch: 85%;
	font-weight: 720;
	line-height: .98;
	letter-spacing: -.02em;
	margin-bottom: .32em;
}
.hero__intro { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--muted); max-width: 30em; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__facts { list-style: none; display: grid; gap: 10px; font-size: 1rem; }
.hero__facts li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.hero__facts .icon { color: var(--indigo); }
.hero__facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.hero__facts a:hover { color: var(--green-ink); border-bottom-color: currentColor; }

.hero-art { position: relative; width: 100%; max-width: 620px; margin-left: auto; }
.hero-art__svg { width: 100%; height: auto; overflow: visible; }
.hero-art__sun { fill: var(--mist); }
.hero-art__arc { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 11; }
.hero-art__ground { fill: var(--indigo); }
.hero-art__people { fill: var(--green); }
.stages { position: absolute; inset: 0; list-style: none; }
.stage { position: absolute; left: var(--x); top: var(--y); width: 13.5%; transform: translate(-50%, -50%); }
.stage__link { position: relative; display: block; text-decoration: none; border-radius: 50%; }
.stage__dot {
	display: grid; place-items: center; width: 100%; aspect-ratio: 1;
	background: #fff; border: 1.5px solid var(--line); border-radius: 50%;
	box-shadow: var(--shadow); color: var(--indigo);
	transition: border-color .2s ease, transform .2s ease;
}
.stage__dot .icon { width: 52%; height: 52%; }
.stage__label {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px;
	font-size: clamp(.75rem, .6rem + .45vw, .95rem); font-weight: 620; color: var(--indigo); white-space: nowrap;
}
.stage__link:hover .stage__dot { border-color: var(--green); transform: scale(1.06); }
.stage__link:hover .stage__label { color: var(--green-ink); }
.stage__link:focus-visible { box-shadow: none; }
.stage__link:focus-visible .stage__dot { box-shadow: var(--focus); }

/* One load-in moment on the home page: the family appears, then each stage of life around them. */
@media (prefers-reduced-motion: no-preference) {
	.hero-art__family { animation: mh-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
	.hero-art__arc { animation: mh-fade 1s .25s ease both; }
	.stage { animation: mh-pop .5s calc(.45s + var(--i) * .11s) cubic-bezier(.3, 1.4, .5, 1) both; }
}
@keyframes mh-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mh-pop {
	from { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hero-art__family { transform-box: fill-box; }

/* Icon tiles */
.tile-icon {
	display: inline-grid; place-items: center; flex: none;
	width: 52px; height: 52px; border-radius: 14px;
	background: var(--mist); color: var(--indigo);
}
.tile-icon .icon { width: 26px; height: 26px; }
.tile-icon--lg { width: 64px; height: 64px; border-radius: 18px; }
.tile-icon--lg .icon { width: 32px; height: 32px; }

/* What we do */
.services-intro { background: var(--mist); }
.services-intro .tile-icon { background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split__aside .lead { margin-bottom: 1.5em; }
.service-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.service-list__item { border-top: 1px solid var(--line); }
.service-list__link { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px 0 24px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.service-list__text { display: grid; gap: 4px; }
.service-list__name { font-size: 1.125rem; font-weight: 640; font-stretch: 94%; color: var(--indigo); line-height: 1.25; }
.service-list__short { font-size: 1rem; color: var(--muted); line-height: 1.5; }
.service-list__link:hover .service-list__name { color: var(--green-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.service-list__link:hover .tile-icon { background: var(--green-soft); }

/* Subscription plans */
.plans { background: var(--indigo); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; }
.plans .h2 { color: #fff; }
.plans .lead { color: rgba(255, 255, 255, .82); }
.plans__head { max-width: 46em; margin-bottom: clamp(36px, 4vw, 56px); }
.plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan__summary { font-size: 1.125rem; color: #fff; margin: 28px 0 8px; max-width: 30em; }
.plan__label { font-size: 1rem; font-weight: 640; color: #fff; margin: 18px 0 10px; }
.plan__cta { margin-top: 28px; }
.plans__more { margin: clamp(32px, 4vw, 48px) 0 0; }

.member-card {
	position: relative; overflow: hidden; isolation: isolate;
	width: 100%; max-width: 460px; aspect-ratio: 1.586;
	padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 28px);
	background: #fff; color: var(--indigo); border-radius: 20px;
	box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .55);
}
.member-card--maternity { background: #eef8f1; }
.member-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(16px, 3vw, 30px); }
.member-card__brand { width: auto; height: clamp(15px, 1.5vw, 19px); }
.member-card__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--mist); color: var(--indigo);
}
.member-card--maternity .member-card__icon { background: #fff; }
.member-card__icon .icon { width: 24px; height: 24px; }
.member-card__type { margin: 0 0 4px; font-size: .875rem; font-weight: 560; color: var(--muted); }
.member-card__name { font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.3rem); font-stretch: 85%; font-weight: 720; letter-spacing: -.01em; line-height: 1; max-width: 62%; }
.member-card__meta { margin: 10px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); max-width: 48%; }
.member-card__mark { position: absolute; z-index: -1; right: -3%; bottom: -7%; width: 50%; height: auto; }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.45; }
.checklist .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--green); }
.plans .checklist .icon { color: var(--green-light); }
.checklist--no .icon { color: var(--muted); }
.plans .checklist--no .icon { color: rgba(255, 255, 255, .55); }

/* Vision and principles */
.vision__head { max-width: 50em; margin-bottom: clamp(36px, 4vw, 56px); }
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.principle { border-top: 2px solid var(--indigo); padding-top: 24px; }
.principle .tile-icon { margin-bottom: 20px; }
.principle p { color: var(--muted); margin: 0; }
.vision__more { margin: clamp(32px, 4vw, 48px) 0 0; }

/* Reviews */
.reviews { background: var(--mist); }
.reviews__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 16px; }
.review { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 28px 28px 26px; background: #fff; border-radius: var(--radius-lg); }
.review__mark { width: 34px; height: 34px; color: var(--green); margin-bottom: 18px; }
.review__quote { margin: 0 0 20px; }
.review__quote p { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-stretch: 92%; font-weight: 560; line-height: 1.3; color: var(--indigo); }
.review__name { margin-top: auto; font-size: 1rem; color: var(--muted); }

/* HMO partners */
.partners { padding-bottom: calc(var(--section) * .45); }
.partners__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.partners__text p { color: var(--muted); margin: 0; }
.partners__logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.partners__logo { display: grid; place-items: center; height: 112px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.partners__logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Visit band */
.visit .visit__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.visit { padding-top: calc(var(--section) * .5); }
.visit__grid { background: var(--mist); border-radius: var(--radius-lg); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.visit .wrap.visit__grid { width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.facts { list-style: none; display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; background: #fff; border-radius: var(--radius); }
.fact__body { display: grid; gap: 2px; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.fact__label { font-size: .875rem; color: var(--muted); }
.fact a { color: var(--indigo); font-weight: 600; text-decoration: none; }
.fact a:hover { color: var(--green-ink); text-decoration: underline; }
.fact__body a { overflow-wrap: break-word; }

/* Inner page heading */
.page-head { background: var(--mist); overflow: hidden; }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head__title { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); font-stretch: 85%; font-weight: 720; letter-spacing: -.018em; line-height: 1; margin: 10px 0 .3em; }
.page-head__intro { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); color: var(--muted); max-width: 36em; margin: 0; }
.page-head__art { position: relative; width: clamp(220px, 24vw, 320px); margin-bottom: -8px; }
.page-head__medal {
	position: relative; z-index: 1; display: grid; place-items: center;
	width: 44%; aspect-ratio: 1; margin: 0 auto -9% 32%;
	background: #fff; border-radius: 50%; box-shadow: var(--shadow); color: var(--indigo);
}
.page-head__medal .icon { width: 50%; height: 50%; }
.page-head__swoosh { width: 100%; height: auto; }
.page-head__swoosh path { fill: var(--indigo); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9375rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9a96b3; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--indigo); }

/* Footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green-light); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 56px); }
.logo--footer .logo__img { height: 48px; }
.site-footer__brand p { margin: 20px 0 22px; max-width: 26em; }
.site-footer__title { font-size: 1rem; font-weight: 640; color: #fff; margin-bottom: 14px; }
.site-footer__title--sub { margin-top: 24px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__list a, .site-footer__link { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .icon { width: 18px; height: 18px; color: rgba(255, 255, 255, .7); }
.site-footer .icon .ia { stroke: var(--green-light); }
.site-footer__hours { list-style: none; display: grid; gap: 4px; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.social a:hover { border-color: var(--green-light); background: rgba(255, 255, 255, .06); text-decoration: none; }
.social .icon { width: 20px; height: 20px; color: #fff; }
.site-footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; font-size: .9375rem; color: rgba(255, 255, 255, .64); }
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .12); }
.site-footer__base p { margin: 0; }

/* Content pages */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.75rem; font-stretch: 90%; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); }

/* Services page */
.services-page__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title { font-size: .9375rem; font-weight: 640; color: var(--muted); margin: 0 0 10px; }
.toc ul { list-style: none; display: grid; gap: 2px; }
.toc a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.3; }
.toc a .icon { width: 22px; height: 22px; color: var(--indigo); }
.toc a:hover { background: var(--mist); color: var(--indigo); }
.toc a.is-active { background: var(--mist); color: var(--indigo); font-weight: 620; }
.service { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.service:first-child { border-top: 0; padding-top: 0; }
.service__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-stretch: 88%; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 .5em; }
.service__body > p { max-width: 40em; }
.service .checklist { margin: 4px 0 0; }
.callout { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 22px 0 0; padding: 16px 18px; background: var(--mist); border-radius: var(--radius); font-size: 1rem; max-width: 40em; }
.callout .icon { width: 22px; height: 22px; color: var(--indigo); margin-top: 1px; }
.callout a { font-weight: 620; }
.callout--urgent { background: #fdf0ef; }
.callout--urgent .icon { color: var(--red); }

/* About */
.about-story__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-story__text p:not(.lead) { max-width: 38em; }
.about-story__art { margin: 0; padding: clamp(28px, 4vw, 56px); background: var(--mist); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; }
.about-story__art img { width: 88%; height: auto; }
.mission { padding-top: 0; }
.band { background: var(--indigo); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band .h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .82); margin: 0; }
.band .btn .icon .ia { stroke: var(--green); }

/* Subscription page */
.steps-section { padding-bottom: calc(var(--section) * .6); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 12px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { content: ""; position: absolute; top: 23px; left: 56px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 2px, transparent 2px 10px); }
.step:last-child::before { display: none; }
.step__num { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-stretch: 90%; font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }
.request { background: var(--mist); }
.request__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.request__intro .facts { margin-top: 28px; }
.form-panel { padding: clamp(24px, 3.5vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-panel > .h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }

/* Forms */
.mh-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full, .mh-form__either, .mh-form__foot { grid-column: 1 / -1; }
.field label, .choices legend { font-size: 1rem; font-weight: 620; color: var(--indigo); }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.field__hint { margin: 0; font-size: .9375rem; color: var(--muted); }
.mh-form__either { margin: -8px 0 0; }
.field input, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px;
	background: #fff; border: 1.5px solid #cfcae2; border-radius: 12px;
	font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #a9a3c9; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(40, 22, 108, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { margin: 0; font-size: .9375rem; font-weight: 560; color: var(--red); }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.choices legend { padding: 0; margin-bottom: 8px; }
.choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 16px; border: 1.5px solid #cfcae2; border-radius: 999px; background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .15s ease, background-color .15s ease; }
.choice:hover .choice__box { border-color: var(--indigo); }
.choice input:checked + .choice__box { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.choice:hover input:checked + .choice__box { background: var(--night); border-color: var(--night); }
.choice input:focus-visible + .choice__box { box-shadow: var(--focus); }
.choices--cards .choices__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choices--cards .choice__box { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 12px; border-radius: 16px; padding: 16px; height: 100%; }
.choices--cards .choice__box .icon { width: 28px; height: 28px; color: var(--indigo); }
.choice__text { display: grid; gap: 2px; }
.choice__label { font-weight: 620; color: inherit; }
.choices--cards .choice__label { font-weight: 640; color: var(--indigo); }
.choice__note { font-size: .875rem; color: var(--muted); }
.choices--cards .choice input:checked + .choice__box { background: var(--mist); color: var(--ink); box-shadow: inset 0 0 0 1px var(--indigo); }
.choices--cards .choice input:checked + .choice__box .choice__label::after { content: " ✓"; color: var(--green); }
.has-error .choice__box { border-color: var(--red); }
.mh-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.mh-form__note { margin: 0; font-size: .9375rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 18px; border-radius: var(--radius); font-size: 1rem; }
.notice p { margin: 0; }
.notice .icon { width: 22px; height: 22px; flex: none; }
.notice--ok { background: var(--green-soft); color: #0b4f26; }
.notice--ok .icon { color: var(--green); }
.notice--err { background: #fdf0ef; color: #8a1c14; border-left: 4px solid var(--red); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__details .facts { margin-bottom: 32px; }
.contact__details .fact { background: var(--mist); }
.contact__details .fact .tile-icon { background: #fff; }
.fact__more { display: inline-block; margin-top: 4px; font-size: 1rem; }
.contact__social-title { font-size: 1.0625rem; }
.social--dark a { border-color: var(--line); }
.social--dark .icon { color: var(--indigo); }
.social--dark a:hover { border-color: var(--indigo); background: var(--mist); }
.map-section { padding-bottom: var(--section); }
.map { overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); height: clamp(320px, 40vw, 460px); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Lists, 404, articles */
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.link-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--indigo); font-weight: 620; text-decoration: none; }
.link-card .icon { width: 28px; height: 28px; }
.link-card:hover { background: var(--mist); color: var(--indigo); }
.post-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-card__date { font-size: .9375rem; color: var(--muted); margin: 0 0 6px; }
.post-card a { text-decoration: none; }
.empty { max-width: 36em; }
.article__image { margin-bottom: 32px; }
.article__image img { border-radius: var(--radius-lg); }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.page-numbers.current { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* Responsive */
@media (max-width: 1100px) {
	.site-header__inner { gap: 16px; }
	.nav__link { padding: 10px 10px; }
	.nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 1023px) {
	:root { --header-h: 72px; }
	.logo__img { height: 44px; }
	.menu-toggle { display: inline-flex; }
	.site-header__call { margin-left: auto; }
	.nav {
		position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 49;
		margin: 0; padding: 12px var(--gutter) 32px; overflow-y: auto;
		background: #fff; border-top: 1px solid var(--line);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
	}
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { border-bottom: 1px solid var(--line); }
	.nav__link { padding: 18px 4px; font-size: 1.25rem; font-stretch: 92%; }
	.nav__link::after { display: none; }
	.nav__link.is-current { color: var(--green-ink); }
	.nav__extra { display: grid; gap: 14px; margin-top: 24px; }
	.nav__contact { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
	.nav__contact .icon { color: var(--indigo); }
	.hero__grid { grid-template-columns: 1fr; }
	.hero-art { margin: 8px auto 0; max-width: 560px; }
	.split { grid-template-columns: 1fr; }
	.split__aside { position: static; }
	.partners { padding-bottom: calc(var(--section) * .45); }
.partners__inner { grid-template-columns: 1fr; }
	.visit .visit__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.services-page__grid { grid-template-columns: 1fr; }
	.toc { position: static; }
	.toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-story__grid, .request__grid, .contact__grid { grid-template-columns: 1fr; }
	.about-story__art { max-width: 420px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.step:nth-child(2)::before { display: none; }
	.link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body { font-size: 1.0625rem; }
	.service-list { grid-template-columns: 1fr; }
	.plans__grid { grid-template-columns: 1fr; }
	.principles { grid-template-columns: 1fr; }
	.reviews__list { grid-template-columns: 1fr; }
	.page-head__inner { grid-template-columns: 1fr; }
	.page-head__art { display: none; }
	.toc ul { grid-template-columns: 1fr; }
	.service { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
	.steps { grid-template-columns: 1fr; }
	.step { padding: 0 0 0 68px; min-height: 48px; }
	.step::before { display: none; }
	.mh-form { grid-template-columns: 1fr; }
	.choices--cards .choices__list { grid-template-columns: 1fr; }
	.post-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.site-header__call { width: 48px; min-height: 48px; padding: 0; }
	.site-header__call-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.logo__img { height: 38px; }
	.hero__actions .btn { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.stage { width: 15%; }
	.visit .wrap.visit__grid { padding-left: 18px; padding-right: 18px; }
	.fact { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.fact .tile-icon { width: 44px; height: 44px; border-radius: 12px; }
	.visit__actions .btn { width: 100%; }
	.link-grid { grid-template-columns: 1fr; }
	.mh-form__foot .btn { width: 100%; }
	.band__inner .btn { width: 100%; }
}

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