/**
 * MyWell base stylesheet — mobile-first.
 *
 * Brand palette: deep purple, teal, mint, amber.
 * Base styles target small screens; min-width media queries layer on
 * larger-screen enhancements.
 */

/* -------------------------------------------------------------------------
 * Design tokens
 * ---------------------------------------------------------------------- */
:root {
	/* Brand palette */
	--color-purple:        #4b2e83; /* deep purple — primary */
	--color-purple-dark:   #36205e;
	--color-purple-light:  #6b4cae;
	--color-teal:          #0f9b8e; /* teal — secondary / links */
	--color-teal-dark:     #0a6f66;
	--color-mint:          #b8f2d8; /* mint — soft accent / backgrounds */
	--color-mint-light:    #e6faf0;
	--color-amber:         #ffb627; /* amber — stars / highlights */
	--color-amber-dark:    #e09600;
	--color-lime:          #c4e017; /* lime yellow — button call to action */
	--color-lime-dark:     #a8c20a;

	/* Brand tints */
	--color-purple-tint:   #f1ecfb; /* pill / tag background */

	/* Neutrals */
	--color-ink:           #1f2430;
	--color-muted:         #5c6473;
	--color-line:          #e7ebf0;
	--color-surface:       #ffffff;
	--color-bg:            #e4f5f1; /* soft mint page background */
	--color-bg-soft:       #f4fbf7; /* very light green, almost white */
	--color-bg-purple:     #f3eefb; /* very light purple */

	/* Typography */
	--font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-heading: "Fraunces", Georgia, "Times New Roman", serif;
	--line-base: 1.6;

	/* Layout */
	--wrap-max: 1100px;
	--space: 1rem;
	--space-lg: 2rem;
	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 4px 18px rgba(31, 36, 48, 0.06);
	--shadow-lg: 0 14px 40px rgba(31, 36, 48, 0.10);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden; /* guard against full-bleed band breakout overflow */
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: var(--line-base);
	color: var(--color-ink);
	background: var(--color-bg);
	/* Sticky footer: fill the viewport so the footer never leaves a gap below. */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-teal);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--color-teal-dark);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 500; /* Fraunces, medium */
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--color-purple);
	margin: 0 0 0.5em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }

p,
ul,
ol {
	margin: 0 0 1rem;
}

/* -------------------------------------------------------------------------
 * Accessibility helpers
 * ---------------------------------------------------------------------- */
.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: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--color-purple);
	color: #fff;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--color-amber);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
 * Layout
 * ---------------------------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding-inline: var(--space);
}

.site-main {
	padding-block: var(--space-lg);
	flex: 1 0 auto; /* grow to fill, pushing the footer to the bottom */
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */
.site-header {
	background: #fff;
	color: var(--color-ink);
	box-shadow: var(--shadow);
}

.site-header a {
	color: var(--color-purple);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space);
	padding-block: calc(var(--space) * 0.6); /* thinner header */
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space);
}

.site-header__cta {
	white-space: nowrap;
	padding: 0.5rem 1.15rem; /* shorter than the default button to slim the header */
	font-size: 0.9rem;
}

/* Logo image */
.site-logo {
	display: inline-flex;
	align-items: center;
}

.site-logo img,
.site-header .custom-logo {
	display: block;
	height: 32px; /* matches the thinner header */
	width: auto;
}

.site-title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--color-purple);
}

.site-title a:hover,
.site-title a:focus {
	color: var(--color-teal);
	text-decoration: none;
}

.site-description {
	margin: 0;
	width: 100%;
	font-size: 0.85rem;
	color: var(--color-muted);
}

/* Mobile navigation (collapsed by default) */
.site-nav__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid rgba(31, 36, 48, 0.2);
	border-radius: var(--radius);
	cursor: pointer;
}

.site-nav__toggle-bar,
.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
	content: "";
	display: block;
	height: 2px;
	width: 100%;
	background: var(--color-purple);
	transition: transform 0.2s ease;
}

.site-nav__toggle-bar::before { transform: translateY(-7px); }
.site-nav__toggle-bar::after  { transform: translateY(5px); }

.site-nav__menu {
	list-style: none;
	margin: var(--space) 0 0;
	padding: 0;
	width: 100%;
	display: none;
}

.site-nav.is-open .site-nav__menu {
	display: block;
}

.site-nav__menu li {
	border-top: 1px solid var(--color-line);
}

.site-nav__menu a {
	display: block;
	padding: 0.75rem 0;
	color: var(--color-purple);
}

.site-nav__menu a:hover,
.site-nav__menu a:focus {
	color: var(--color-teal);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Cards / post list
 * ---------------------------------------------------------------------- */
.page-header {
	margin-bottom: var(--space-lg);
}

.page-title {
	font-size: 2.2rem; /* match the main-page heading scale */
}

.archive-description {
	margin-top: 0.5rem;
	max-width: 60ch;
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------
 * Article: blog post / page singular
 * ---------------------------------------------------------------------- */
.post-hero {
	max-width: 760px; /* align with the text panel width */
	margin: 0 auto var(--space-lg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.post-hero img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

.post-panel {
	max-width: 760px;
	margin-inline: auto;
}

.post-single__header {
	margin-bottom: var(--space);
}

.post-meta {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.post-single__footer {
	max-width: 760px;
	margin: var(--space-lg) auto 0;
}

/* Readable long-form content */
.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content a {
	color: var(--color-teal-dark);
	text-decoration: underline;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 0.5rem 0 0.5rem 1.25rem;
	border-left: 4px solid var(--color-mint);
	color: var(--color-muted);
	font-style: italic;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4rem;
}

/* Tables typed in the editor get the same treatment as the cost table. */
.entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.25rem 0;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 0.95rem;
}

.entry-content table th,
.entry-content table td {
	padding: 0.85rem var(--space);
	text-align: left;
	border-bottom: 1px solid var(--color-line);
}

.entry-content table thead th,
.entry-content table tr:first-child th {
	background: var(--color-mint-light);
	color: var(--color-purple);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--color-line);
}

.entry-content table tbody tr:nth-child(even) {
	background: var(--color-bg-soft);
}

.entry-content table tr:last-child th,
.entry-content table tr:last-child td {
	border-bottom: 0;
}

/* Keep wide tables scrollable instead of breaking the layout on mobile. */
.entry-content table {
	display: block;
	overflow-x: auto;
}

@media (min-width: 600px) {
	.entry-content table {
		display: table;
	}
}

.post-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.card {
	background: var(--color-surface);
	border: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.card__media img {
	width: 100%;
	object-fit: cover;
}

.card__body {
	padding: var(--space-lg);
}

.entry-title {
	margin-top: 0;
}

.entry-title a {
	color: var(--color-purple);
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--color-teal);
	text-decoration: none;
}

.entry-summary {
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.button,
button,
input[type="submit"] {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--color-lime);
	color: var(--color-purple-dark);
	font-weight: 700;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.button:active,
button:active {
	transform: translateY(1px);
}

.button:hover,
.button:focus,
button:hover,
input[type="submit"]:hover {
	background: var(--color-lime-dark);
	color: var(--color-purple-dark);
	text-decoration: none;
}

.button--ghost {
	background: transparent;
	color: var(--color-purple);
	border: 1px solid var(--color-purple);
}

.button--ghost:hover,
.button--ghost:focus {
	background: var(--color-purple);
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Design system: panels, labels, pills, detail rows
 * ---------------------------------------------------------------------- */
.panel {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: var(--space-lg);
	margin-bottom: var(--space-lg);
}

/* Small uppercase section label (e.g. ABOUT CLINIC, CLINICAL SPECIALTIES) */
.section-label {
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-purple);
}

/* Tag / specialty pills */
.pill-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.pill {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--color-purple-tint);
	color: var(--color-purple);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

a.pill:hover,
a.pill:focus {
	background: var(--color-purple);
	color: #fff;
	text-decoration: none;
}

/* Non-link pills (plain tags) read as labels, not buttons */
span.pill {
	background: var(--color-mint-light);
	color: var(--color-teal-dark);
}

/* Detail row with circular icon */
.detail-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: var(--space);
}

.detail-row:last-child {
	margin-bottom: 0;
}

.detail-row__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 999px;
	background: var(--color-mint-light);
	color: var(--color-teal-dark);
	font-size: 1.1rem;
}

.detail-row__body {
	flex: 1 1 auto;
}

.detail-row__body p {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Pagination
 * ---------------------------------------------------------------------- */
.pagination {
	margin-top: var(--space-lg);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	color: var(--color-purple);
}

.pagination .page-numbers.current {
	background: var(--color-purple);
	color: #fff;
	border-color: var(--color-purple);
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.site-footer {
	background: #14121f; /* near-black footer */
	color: #b6bac8;
	flex-shrink: 0; /* never collapse; part of the sticky-footer layout */
}

.site-footer__inner {
	padding-block: calc(var(--space-lg) * 1.5);
}

/* Columns: Contact | Explore | Brand */
.site-footer__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.footer-col__title {
	font-family: var(--font-sans);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #fff;
	margin: 0 0 var(--space);
}

.footer-col__text {
	color: #b6bac8;
	margin: 0 0 var(--space);
}

.footer-col__label {
	margin: 0 0 0.15rem;
	font-size: 0.8rem;
	color: #8b8fa3;
}

.footer-col__email {
	margin: 0;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.site-footer a {
	color: #d7dae4;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #fff;
}

/* Highlighted Explore link */
.footer-link--accent {
	font-weight: 700;
	background: linear-gradient( 90deg, var(--color-teal) 0%, #4be0a8 100% );
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--color-teal);
}

.footer-link--accent:hover,
.footer-link--accent:focus {
	-webkit-text-fill-color: #fff;
	color: #fff;
}

/* Brand wordmark */
.footer-col--brand {
	display: flex;
	align-items: flex-start;
}

.site-footer .custom-logo {
	display: block;
	height: 48px;
	width: auto;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.footer-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 12px;
	background: linear-gradient( 135deg, var(--color-purple-light), var(--color-teal) );
	color: #fff;
	font-size: 1.1rem;
}

.footer-brand__name {
	background: linear-gradient( 90deg, var(--color-purple-light), #b08be6 );
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
}

.site-footer__divider {
	border: 0;
	border-top: 1px solid rgba( 255, 255, 255, 0.1 );
	margin: var(--space-lg) 0;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-footer__copyright {
	margin: 0;
	font-size: 0.85rem;
	color: #8b8fa3;
}

.site-footer__legal {
	margin: 0;
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.site-footer__sep {
	color: #50546a;
}

.site-footer__muted {
	color: #8b8fa3;
}

/* -------------------------------------------------------------------------
 * Badges
 * ---------------------------------------------------------------------- */
.badge {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.6rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 999px;
	background: var(--color-mint);
	color: var(--color-purple-dark);
}

.badge--partner {
	background: var(--color-amber);
	color: var(--color-purple-dark);
}

/* -------------------------------------------------------------------------
 * Clinic card
 * ---------------------------------------------------------------------- */
.clinic-single__city {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	color: var(--color-muted);
}

/* The card never uses the serif heading font. */
.clinic-card,
.clinic-card .clinic-card__title {
	font-family: var(--font-sans);
}

.clinic-card {
	display: flex;
	flex-direction: column;
}

.clinic-card__media {
	position: relative;
}

.clinic-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.clinic-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: inline-block;
	padding: 0.35rem 0.8rem;
	background: var(--color-purple);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 999px;
	box-shadow: var(--shadow);
}

.clinic-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: var(--space);
}

.clinic-card__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.clinic-card__logo {
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	border: 1px solid var(--color-line);
	overflow: hidden;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.clinic-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.clinic-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.clinic-card__title a {
	color: var(--color-purple);
}

.clinic-card__location {
	margin: 0.15rem 0 0;
	font-size: 0.85rem;
	color: var(--color-muted);
}

.clinic-card__pin {
	color: var(--color-teal);
}

.clinic-card__rating {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
}

.clinic-card__stars span {
	color: var(--color-line);
}

.clinic-card__stars .is-on {
	color: var(--color-amber);
}

.clinic-card__rating-value {
	font-weight: 700;
	color: var(--color-ink);
}

.clinic-card__rating-count {
	color: var(--color-muted);
}

.clinic-card__services {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.clinic-card__service {
	padding: 0.25rem 0.6rem;
	background: var(--color-purple-tint);
	color: var(--color-purple);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 6px;
}

.clinic-card__service-more {
	font-size: 0.78rem;
	color: var(--color-muted);
}

.clinic-card__foot {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid var(--color-line);
}

.clinic-card__price {
	font-weight: 700;
	color: var(--color-muted);
	letter-spacing: 0.05em;
}

.clinic-card__langs {
	font-size: 0.85rem;
	color: var(--color-muted);
}

.clinic-card__more {
	margin-left: auto;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-teal-dark);
}

.clinic-card__more:hover,
.clinic-card__more:focus {
	color: var(--color-teal);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * City filter (clinic archive)
 * ---------------------------------------------------------------------- */
.city-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--space-lg);
}

.city-filter__label {
	font-weight: 700;
	color: var(--color-purple);
}

.city-filter__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.city-filter__item {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	background: var(--color-surface);
	color: var(--color-purple);
	font-size: 0.9rem;
}

.city-filter__item:hover,
.city-filter__item:focus {
	border-color: var(--color-teal);
	color: var(--color-teal-dark);
	text-decoration: none;
}

.city-filter__item.is-active {
	background: var(--color-purple);
	border-color: var(--color-purple);
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Checker CTA
 * ---------------------------------------------------------------------- */
.checker-cta {
	margin-block: var(--space-lg);
	background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
	border-radius: var(--radius);
	color: #fff;
	box-shadow: var(--shadow);
}

.checker-cta__inner {
	padding: var(--space-lg);
	text-align: center;
}

.checker-cta__heading {
	color: #fff;
	margin-top: 0;
}

.checker-cta__text {
	color: var(--color-mint-light);
	margin-bottom: var(--space);
}

/* -------------------------------------------------------------------------
 * Quotes CTA (vetted partner clinics, dark card)
 * ---------------------------------------------------------------------- */
.quotes-cta {
	margin-block: var(--space-lg);
	background: linear-gradient( 135deg, #3a2a63 0%, #221638 60%, #1b1230 100% );
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	color: #fff;
}

.quotes-cta__inner {
	max-width: 640px;
	margin-inline: auto;
	padding: calc(var(--space-lg) * 1.5) var(--space-lg);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space);
}

.quotes-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 16px;
	background: rgba( 255, 255, 255, 0.08 );
	font-size: 1.5rem;
}

.quotes-cta__heading {
	margin: 0;
	color: #fff;
	font-family: var(--font-sans);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 1.3rem;
}

.quotes-cta__text {
	margin: 0;
	color: #d2c9e8;
	font-weight: 600;
}

.quotes-cta__badge {
	display: inline-block;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	background: rgba( 18, 120, 100, 0.35 );
	color: #5fe3c2;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.quotes-cta__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	margin-top: 0.25rem;
}

.quotes-cta__input {
	flex: 1 1 240px;
	min-width: 0;
	padding: 0.8rem 1.1rem;
	border: 0;
	border-radius: 999px;
	font: inherit;
	background: #fff;
	color: var(--color-ink);
}

.quotes-cta__submit {
	flex: 0 0 auto;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--color-lime);
	color: var(--color-purple-dark);
	font-weight: 700;
	cursor: pointer;
}

.quotes-cta__submit:hover,
.quotes-cta__submit:focus {
	background: var(--color-lime-dark);
}

/* -------------------------------------------------------------------------
 * Single clinic
 * ---------------------------------------------------------------------- */
.clinic-single__feature {
	margin: 0 0 var(--space-lg);
	border-radius: var(--radius);
	overflow: hidden;
}

.clinic-section__heading {
	margin-top: var(--space-lg);
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--color-mint);
}

.clinic-single__listed-note {
	padding: var(--space);
	background: var(--color-mint-light);
	border-radius: var(--radius);
	color: var(--color-purple-dark);
}

.clinic-single__footer {
	margin-top: var(--space-lg);
}

/* Gallery */
.clinic-gallery__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space);
}

.clinic-gallery__item {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.clinic-gallery__item figcaption {
	padding: 0.5rem var(--space);
	font-size: 0.85rem;
	color: var(--color-muted);
	background: var(--color-surface);
}

/* Price tiers */
.price-tiers {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space);
}

.price-tier {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: var(--space);
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-left: 4px solid var(--color-amber);
	border-radius: var(--radius);
}

.price-tier__name {
	font-weight: 700;
	color: var(--color-purple);
}

.price-tier__price {
	font-size: 1.2rem;
	color: var(--color-teal-dark);
	font-weight: 700;
}

.price-tier__notes {
	font-size: 0.85rem;
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------
 * Procedure / City single
 * ---------------------------------------------------------------------- */
.procedure-single__feature,
.city-single__feature {
	margin: 0 0 var(--space-lg);
	border-radius: var(--radius);
	overflow: hidden;
}

.procedure-single__header {
	margin-bottom: var(--space-lg);
}

.procedure-clinics {
	margin-block: var(--space-lg);
}

.procedure-single__footer {
	margin-top: var(--space-lg);
}

.procedure-hero,
.city-hero {
	margin: 0 0 var(--space-lg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.procedure-hero img,
.city-hero img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

/* Standout price-range badge */
.procedure-price {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	padding: 0.55rem 1.1rem;
	background: var(--color-purple);
	border-radius: 999px;
	box-shadow: var(--shadow);
}

.procedure-price__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-mint);
}

.procedure-price__value {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

/* Savings percentage highlight inside body copy */
.savings-mark {
	background: var(--color-lime);
	color: var(--color-purple-dark);
	font-weight: 700;
	padding: 0.05em 0.35em;
	border-radius: 6px;
}

/* -------------------------------------------------------------------------
 * FAQ block
 * ---------------------------------------------------------------------- */
.faq-block {
	margin-block: var(--space-lg);
}

.faq-item {
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.faq-item__question {
	padding: var(--space);
	font-weight: 700;
	color: var(--color-purple);
	cursor: pointer;
	list-style: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::after {
	content: "+";
	float: right;
	color: var(--color-teal);
	font-weight: 700;
}

.faq-item[open] .faq-item__question::after {
	content: "\2212"; /* minus */
}

.faq-item__answer {
	padding: 0 var(--space) var(--space);
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------
 * Cost comparison table
 * ---------------------------------------------------------------------- */
.cost-table-wrap {
	margin-block: var(--space-lg);
	overflow-x: auto;
}

.cost-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	overflow: hidden;
}

.cost-table__caption {
	caption-side: top;
	text-align: left;
	padding: var(--space) var(--space) 0.5rem;
	font-weight: 700;
	color: var(--color-purple);
}

.cost-table th,
.cost-table td {
	padding: 0.85rem var(--space);
	text-align: left;
	border-bottom: 1px solid var(--color-line);
}

/* Price column: right-aligned, emphasised */
.cost-table th:last-child,
.cost-table td:last-child {
	text-align: right;
	font-weight: 700;
	color: var(--color-teal-dark);
	white-space: nowrap;
}

.cost-table thead th {
	background: var(--color-mint-light);
	color: var(--color-purple);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.cost-table tbody tr:nth-child(even) {
	background: var(--color-bg-soft);
}

.cost-table tbody th {
	font-weight: 600;
}

.cost-table tbody tr:last-child th,
.cost-table tbody tr:last-child td {
	border-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Treatment combo page
 * ---------------------------------------------------------------------- */
.breadcrumb {
	font-size: 0.85rem;
	color: var(--color-muted);
	margin-bottom: var(--space);
}

.breadcrumb__sep {
	margin: 0 0.4rem;
	color: var(--color-line);
}

.breadcrumb__current {
	color: var(--color-purple);
	font-weight: 700;
}

.treatment-combo__intro {
	font-size: 1.05rem;
}

/* Consistent spacing between combo sections */
.treatment-combo > section,
.treatment-combo > .panel,
.treatment-combo > .checker-cta {
	margin-bottom: var(--space-lg);
}

.treatment-combo__header {
	margin-bottom: var(--space);
}

.travel-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space);
}

.travel-card {
	padding: var(--space);
	background: var(--color-mint-light);
	border-radius: var(--radius);
}

.travel-card h3 {
	margin-top: 0;
	color: var(--color-teal-dark);
}

.related-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.related-links a {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	background: var(--color-surface);
}

/* Auto internal-linking block (relationship-derived) */
.related-links-block {
	margin-block: var(--space-lg);
}

.related-links-block__group {
	margin-bottom: var(--space);
}

.related-links-block__label {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.related-links-block .related-links a:hover,
.related-links-block .related-links a:focus {
	border-color: var(--color-teal);
	color: var(--color-teal-dark);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Clinic profile
 * ---------------------------------------------------------------------- */
/* Hero gallery: large main image + row of thumbnails */
.clinic-hero {
	margin-bottom: var(--space-lg);
}

.clinic-hero__main {
	position: relative;
	margin: 0 0 0.75rem;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.clinic-hero__main img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.clinic-hero__badge {
	position: absolute;
	top: var(--space);
	left: var(--space);
	z-index: 2;
	display: inline-block;
	padding: 0.4rem 0.9rem;
	background: var(--color-purple);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	box-shadow: var(--shadow);
}

.clinic-hero__thumbs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.clinic-hero__thumb {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.clinic-hero__thumb img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.clinic-single__verified {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.25rem 0 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-teal-dark);
}

.clinic-single__verified-tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 999px;
	background: var(--color-mint);
	color: var(--color-teal-dark);
	font-size: 0.8rem;
}

.clinic-single__description {
	font-size: 1.05rem;
	margin-bottom: 0;
}

/* Panel-based profile layout */
.clinic-panel .entry-title {
	margin-bottom: 0.5rem;
}

.clinic-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: var(--space-lg);
}

.clinic-block {
	margin-bottom: var(--space-lg);
}

.clinic-block:last-child {
	margin-bottom: 0;
}

.clinic-panel__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.clinic-location__city a {
	font-weight: 700;
	color: var(--color-purple);
}

.clinic-location__address {
	color: var(--color-muted);
}

.clinic-location .clinic-map {
	margin-top: var(--space);
}

.clinic-details__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space);
}

.clinic-details__item {
	padding: var(--space);
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
}

.clinic-details__item h3 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: var(--color-teal-dark);
}

.clinic-details__item p {
	margin: 0 0 0.25rem;
}

.clinic-hours {
	list-style: none;
	margin: 0;
	padding: 0;
}

.clinic-hours li {
	display: flex;
	justify-content: space-between;
	gap: var(--space);
	padding: 0.2rem 0;
	border-bottom: 1px dashed var(--color-line);
}

.clinic-hours li:last-child {
	border-bottom: 0;
}

.clinic-hours__day {
	font-weight: 700;
	color: var(--color-purple);
}

/* Map — fixed height so it never collapses; does not block render. */
.clinic-map-section {
	margin-block: var(--space-lg);
}

.clinic-map {
	width: 100%;
	height: 320px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-mint-light);
}

.clinic-single__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space);
	margin-block: var(--space-lg);
}

.clinic-services {
	margin-block: var(--space-lg);
}

.clinic-single__ctas .checker-cta {
	flex: 1 1 100%;
	margin-block: 0;
}

/* -------------------------------------------------------------------------
 * Front page
 * ---------------------------------------------------------------------- */
/* Full-bleed colour bands: each section breaks out of the constrained main
 * to span the whole screen width, with alternating background colours. */
.home .site-main {
	padding-block: 0;
}

.home-band {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-block: var(--space-lg); /* tighter on mobile; bumped on larger screens */
}

.home-band--green {
	background: var(--color-bg-soft); /* light, almost-white green */
}

.home-band--purple {
	background: var(--color-bg-purple); /* light purple */
}

.home-band--teal {
	background: var(--color-teal); /* solid teal statement band */
	color: #fff;
}

.home-band--violet {
	background: var(--color-purple); /* same deep purple as the Featured Partner badge */
	color: #fff;
}

/* Let this statement headline use the full width so it fits on one line. */
.home-band--violet .home-intro__inner {
	max-width: none;
}

/* Centered intro statement */
.home-intro__inner {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.home-intro__title {
	margin: 0 0 var(--space);
	color: #fff;
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.9rem;
	line-height: 1.15;
}

.home-intro__text {
	margin: 0;
	color: rgba( 255, 255, 255, 0.88 );
	font-size: 1.1rem;
}

.home-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	align-items: center;
}

.home-hero__media img,
.home-hero__placeholder {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.home-hero__media img {
	max-height: 420px;
	object-fit: cover;
}

/* Decorative fallback when no hero image is set */
.home-hero__placeholder {
	aspect-ratio: 4 / 3;
	background: linear-gradient( 135deg, var(--color-mint) 0%, var(--color-teal) 100% );
	opacity: 0.85;
	display: none; /* decorative — hidden on mobile, shown alongside text on larger screens */
}

.home-hero__title {
	font-size: 2.2rem;
	color: var(--color-purple);
	margin: 0 0 var(--space);
	max-width: 14ch;
}

.home-hero__lead {
	font-size: 1.1rem;
	color: var(--color-muted);
	max-width: 48ch;
}

.home-hero__emphasis {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-ink);
	max-width: 48ch;
}

.home-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space);
	margin-top: var(--space-lg);
}

.home-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 1rem;
	margin-bottom: var(--space);
}

.home-section__title {
	margin: 0;
	font-size: 2.2rem; /* match the hero heading */
}

.home-section__intro {
	max-width: 60ch;
	margin: -0.25rem 0 var(--space-lg);
}

.home-section__intro p {
	margin: 0 0 0.35rem;
	color: var(--color-muted);
}

.home-section__lead {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-purple) !important;
}

/* "View all" link — bottom-right of the section, italic */
.home-section__foot {
	margin: var(--space) 0 0;
	text-align: right;
}

.home-section__more {
	font-style: italic;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-teal-dark);
}

.home-section__more:hover,
.home-section__more:focus {
	color: var(--color-teal);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Blog section (before footer)
 * ---------------------------------------------------------------------- */
.blog-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space);
	padding-bottom: var(--space);
	margin-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-line);
}

.blog-section__title {
	margin: 0;
	font-style: italic;
}

.blog-section__more {
	padding: 0.5rem 1.2rem;
	font-size: 0.9rem;
}

.blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.blog-card {
	display: flex;
	align-items: flex-start;
	gap: var(--space);
}

.blog-card__media {
	flex: 0 0 120px;
	width: 120px;
}

.blog-card__media img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: var(--radius);
	display: block;
}

.blog-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.blog-card__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.blog-card__title a {
	color: var(--color-ink);
}

.blog-card__title a:hover,
.blog-card__title a:focus {
	color: var(--color-purple);
	text-decoration: none;
}

.blog-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-card__cta {
	padding: 0.45rem 1rem;
	font-size: 0.82rem;
}

/* -------------------------------------------------------------------------
 * Procedure (service) card — horizontal: image left, info right
 * ---------------------------------------------------------------------- */
/* Image fills the left; info sizes to its content on the right (no clipping). */
.procedure-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-height: 12rem;
}

.procedure-card__media {
	flex: 0 0 45%;
	max-width: 45%;
}

.procedure-card__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.procedure-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.procedure-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: var(--space);
}

.procedure-card__title {
	margin: 0;
	font-family: var(--font-sans); /* match the clinic card title (not the serif) */
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.procedure-card__title a {
	color: var(--color-purple);
}

.procedure-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.procedure-card__rating {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
}

.procedure-card__stars span {
	color: var(--color-line);
}

.procedure-card__stars .is-on {
	color: var(--color-amber);
}

.procedure-card__rating-value {
	font-weight: 700;
	color: var(--color-ink);
}

.procedure-card__rating-count {
	color: var(--color-muted);
}

.procedure-card__foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.6rem;
	border-top: 1px solid var(--color-line);
}

.procedure-card__price {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--color-teal-dark);
	white-space: nowrap;
}

.procedure-card__more {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--color-teal-dark);
}

.procedure-card__more:hover,
.procedure-card__more:focus {
	color: var(--color-teal);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Tablet and up (>= 600px)
 * ---------------------------------------------------------------------- */
@media (min-width: 600px) {
	h1 { font-size: 2.2rem; }
	h2 { font-size: 1.6rem; }

	.page-title {
		font-size: 2.6rem;
	}

	.home-band {
		padding-block: calc(var(--space-lg) * 1.5);
	}

	.post-list {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Service cards stay full-width (one per row) until desktop, so they don't
	   get cramped — same wide layout as the desktop card. */
	.procedure-list {
		grid-template-columns: 1fr;
	}

	.site-footer__cols {
		grid-template-columns: 1.4fr 1fr auto;
		gap: calc(var(--space-lg) * 1.5);
	}

	.footer-col--brand {
		justify-content: flex-end;
	}

	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.clinic-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.price-tiers {
		grid-template-columns: repeat(2, 1fr);
	}

	.travel-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.clinic-details__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.clinic-hero__thumbs {
		grid-template-columns: repeat(4, 1fr);
	}

	.home-intro__title {
		font-size: 2.6rem;
	}

	.home-section__title {
		font-size: 3rem;
	}

	.home-hero__title {
		font-size: 3rem;
	}
}

/* -------------------------------------------------------------------------
 * Desktop and up (>= 900px) — show inline nav, hide the toggle
 * ---------------------------------------------------------------------- */
@media (min-width: 900px) {
	.site-nav__toggle {
		display: none;
	}

	.site-nav__menu {
		display: flex !important;
		width: auto;
		margin: 0;
		gap: 1.5rem;
		align-items: center;
	}

	.site-nav__menu li {
		border-top: 0;
	}

	.site-nav__menu a {
		padding: 0.25rem 0;
	}

	.post-list {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Hero becomes two columns only on desktop. */
	.home-hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
		gap: calc(var(--space-lg) * 1.5);
	}

	.home-hero__placeholder {
		display: block;
	}

	/* Two-square service cards need room — 2 across. */
	.procedure-list {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Blog posts — 2 across, like the reference. */
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: calc(var(--space-lg) * 2);
	}

	.clinic-panel__cols {
		grid-template-columns: 1.3fr 1fr;
	}

	.clinic-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.price-tiers {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* -------------------------------------------------------------------------
 * Reduced motion
 * ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
