/*
Theme Name: SiteMedic
Theme URI: https://example.com/sitemedic
Author: SiteMedic
Author URI: https://example.com
Description: A theme for a website diagnosis-and-repair service — Fix, Care, and Rescue plans for WordPress, WooCommerce, and Shopify sites. Built around a "diagnose first, then fix" story.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sitemedic
*/

/* =========================================================
   0. Design tokens
   Palette is clinical-calm rather than cozy-cream: a pale
   sage background reads like a clean exam room, deep green
   ink for trust, teal for the "we've got this" reassurance,
   and a burnt-orange alert reserved only for urgency (Rescue).
   ========================================================= */
:root {
	--ink: #16241f;
	--ink-soft: #3d4f47;
	--paper: #eef2ee;
	--paper-raised: #ffffff;
	--line: #c9cdc4;
	--teal: #2f6f5e;
	--teal-deep: #1f4d40;
	--alert: #d2542e;
	--alert-deep: #a63f20;
	--amber: #e8a93a;

	--font-display: 'Fraunces', 'Iowan Old Style', serif;
	--font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--radius-s: 4px;
	--radius-m: 10px;
	--container: 1180px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =========================================================
   1. Reset & base
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
}

button {
	font-family: inherit;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 0.5em;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
	max-width: 62ch;
}

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

/* =========================================================
   2. Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1rem;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}

.site-logo img {
	height: 32px;
	width: auto;
}

.site-logo__pulse {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.nav__menu {
	list-style: none;
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

.nav__menu a {
	text-decoration: none;
	font-weight: 500;
	color: var(--ink-soft);
	font-size: 0.96rem;
	transition: color 0.15s ease;
}

.nav__menu a:hover {
	color: var(--teal-deep);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.currency-switcher__select {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--paper-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%233d4f47' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
	background-size: 10px 7px;
	color: var(--ink);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.85rem;
	padding: 0.45rem 1.6rem 0.45rem 0.7rem;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.currency-switcher__select:hover,
.currency-switcher__select:focus-visible {
	border-color: var(--teal);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.4rem;
}

.nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ink);
	margin: 5px 0;
}

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.4rem;
	border-radius: var(--radius-s);
	font-weight: 600;
	font-size: 0.96rem;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn--primary {
	background: var(--teal);
	color: #fff;
}

.btn--primary:hover {
	background: var(--teal-deep);
}

.btn--alert {
	background: var(--alert);
	color: #fff;
}

.btn--alert:hover {
	background: var(--alert-deep);
}

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}

.btn--ghost:hover {
	border-color: var(--ink-soft);
}

.btn--block {
	width: 100%;
}

/* =========================================================
   4. Hero
   ========================================================= */
.hero {
	padding-block: clamp(3rem, 8vw, 6rem);
	position: relative;
	overflow: hidden;
}

.hero__pulse-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	display: flex;
	align-items: center;
	opacity: 0.5;
	-webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
	mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.hero__pulse-canvas {
	display: block;
	width: 100%;
	height: 130px;
}

.hero__pulse-fallback {
	width: 100%;
	height: 130px;
}

.hero__pulse-fallback path {
	fill: none;
	stroke: var(--teal);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero__eyebrow {
	display: inline-block;
	color: var(--teal-deep);
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 1rem;
}

.hero h1 {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	max-width: 14ch;
}

.hero h1 em {
	font-style: italic;
	color: var(--teal-deep);
}

.hero__lede {
	font-size: 1.15rem;
	color: var(--ink-soft);
	max-width: 48ch;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.75rem;
}

.hero__platforms {
	margin-top: 2.25rem;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	color: var(--ink-soft);
	font-size: 0.88rem;
}

.hero__platforms span.dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--line);
	display: inline-block;
}

.decision-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2.25rem;
}

.decision-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.1rem 1.25rem;
	text-decoration: none;
	color: var(--ink);
	transition: border-color 0.15s ease, transform 0.12s ease;
}

.decision-card:hover {
	border-color: var(--teal);
	transform: translateY(-2px);
}

.decision-card--alert:hover {
	border-color: var(--alert);
}

.decision-card strong {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.02rem;
}

.decision-card span {
	font-size: 0.86rem;
	color: var(--ink-soft);
}

/* --- Diagnostic report card (hero visual) --- */
.report-card {
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	box-shadow: 0 18px 40px -24px rgba(22, 36, 31, 0.35);
	overflow: hidden;
}

.report-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--line);
	background: var(--ink);
	color: var(--paper);
}

.report-card__header strong {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.02rem;
}

.report-card__status {
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--alert);
	color: #fff;
}

.report-card__body {
	padding: 1.25rem;
	display: grid;
	gap: 0.9rem;
}

.report-row {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 0.75rem;
	font-size: 0.92rem;
	border-bottom: 1px dashed var(--line);
	padding-bottom: 0.75rem;
}

.report-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.report-row dt {
	color: var(--ink-soft);
	font-weight: 500;
}

.report-row dd {
	margin: 0;
	font-weight: 600;
}

.report-card__confidence {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.confidence-bar {
	flex: 1;
	height: 8px;
	background: var(--line);
	border-radius: 999px;
	overflow: hidden;
}

.confidence-bar span {
	display: block;
	height: 100%;
	width: 82%;
	background: var(--teal);
	border-radius: 999px;
}

.report-card__footer {
	padding: 1rem 1.25rem 1.25rem;
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* =========================================================
   5. Pulse divider — a recurring motif standing in for
   "we monitor / diagnose" rather than a plain <hr>.
   ========================================================= */
.pulse-divider {
	width: 100%;
	height: 28px;
	margin-block: 0;
}

.pulse-divider path {
	fill: none;
	stroke: var(--line);
	stroke-width: 2;
}

/* =========================================================
   6. Trust strip
   ========================================================= */
.trust-strip {
	padding-block: 1.5rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.trust-strip__inner {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: space-between;
}

.trust-strip__label {
	font-size: 0.85rem;
	color: var(--ink-soft);
	white-space: nowrap;
}

.trust-strip__logos {
	display: flex;
	gap: 2.25rem;
	flex-wrap: wrap;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ink-soft);
}

/* =========================================================
   7. Services (Fix / Care / Rescue) — alternating rows,
   each with its own accent, tied together by the pulse line
   instead of three identical cards.
   ========================================================= */
.services {
	padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section-head {
	max-width: 52ch;
	margin-bottom: 2.5rem;
}

.section-head__kicker {
	color: var(--teal-deep);
	font-weight: 600;
	font-size: 0.92rem;
	display: block;
	margin-bottom: 0.5rem;
}

.service-row {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	padding-block: 3rem;
	border-top: 1px solid var(--line);
	align-items: start;
}

.service-row:last-child {
	border-bottom: 1px solid var(--line);
}

.service-row--reverse .service-row__media {
	order: 2;
}

.service-row__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.88rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}

.service-row--fix .service-row__tag {
	background: rgba(47, 111, 94, 0.12);
	color: var(--teal-deep);
}

.service-row--care .service-row__tag {
	background: rgba(232, 169, 58, 0.18);
	color: #7a5613;
}

.service-row--rescue .service-row__tag {
	background: rgba(210, 84, 46, 0.14);
	color: var(--alert-deep);
}

.service-row h3 {
	font-size: 1.8rem;
	margin-bottom: 0.6rem;
}

.service-row__list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.service-row__list li {
	padding-left: 1.4rem;
	position: relative;
	color: var(--ink-soft);
}

.service-row__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
}

.price-scale {
	display: grid;
	gap: 0.75rem;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.25rem 1.4rem;
}

.price-scale__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.95rem;
	padding-block: 0.35rem;
	border-bottom: 1px dashed var(--line);
}

.price-scale__row:last-child {
	border-bottom: none;
}

.price-scale__row strong {
	white-space: nowrap;
}

.price-scale__note {
	font-size: 0.86rem;
	color: var(--ink-soft);
	margin: 0.9rem 0 0;
	max-width: none;
}

/* =========================================================
   8. How it works — a genuine sequence, numbers earned here.
   ========================================================= */
.how {
	padding-block: clamp(3rem, 8vw, 5.5rem);
	background: var(--paper-raised);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.how__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem;
	counter-reset: step;
}

.how__step {
	position: relative;
	padding-top: 2.75rem;
}

.how__step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1rem;
}

.how__step h4 {
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.how__step p {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* =========================================================
   9. Care pricing table
   ========================================================= */
.pricing {
	padding-block: clamp(3rem, 8vw, 5.5rem);
}

.table-wrap {
	overflow-x: auto;
	margin-top: 2rem;
	border-radius: var(--radius-m);
}

.compare-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
}

.compare-table th,
.compare-table td {
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid var(--line);
	font-size: 0.92rem;
	text-align: center;
	vertical-align: middle;
}

.compare-table thead th {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.05rem;
	vertical-align: bottom;
	padding-top: 1.25rem;
}

.compare-table thead th:first-child {
	visibility: hidden;
}

.compare-table .plan-price {
	display: block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--teal-deep);
	margin-top: 0.4rem;
}

.compare-table .plan-sub {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.78rem;
	color: var(--ink-soft);
}

.compare-table .badge-recommended {
	display: block;
	width: max-content;
	margin: 0.35rem auto 0;
	font-size: 0.7rem;
	font-weight: 600;
	color: #fff;
	background: var(--teal);
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
}

.compare-table tbody th {
	font-weight: 500;
	color: var(--ink-soft);
	text-align: left;
	white-space: nowrap;
}

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

.compare-table tfoot td {
	border-bottom: none;
	padding-top: 1.25rem;
}

.compare-table .is-featured {
	background: rgba(47, 111, 94, 0.07);
}

.pricing__footnote {
	margin-top: 1.25rem;
	font-size: 0.86rem;
	color: var(--ink-soft);
	max-width: 60ch;
}

.agencies__table-wrap {
	margin-top: 3rem;
}

/* =========================================================
   10. Rescue banner
   ========================================================= */
.rescue-banner {
	background: var(--ink);
	color: var(--paper);
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.rescue-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.rescue-banner h2 {
	color: var(--paper);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	max-width: 18ch;
	margin-bottom: 0.4rem;
}

.rescue-banner p {
	color: #c9d3cc;
	max-width: 46ch;
}

/* =========================================================
   11. Agencies section
   ========================================================= */
.agencies {
	padding-block: clamp(3rem, 8vw, 5.5rem);
	border-bottom: 1px solid var(--line);
}

.agencies__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.agencies__quote {
	border-left: 3px solid var(--teal);
	padding-left: 1.25rem;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-style: italic;
	color: var(--ink-soft);
}

/* =========================================================
   12. Diagnosis form (Get Help page)
   ========================================================= */
.diagnosis {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.diagnosis__intro {
	max-width: 60ch;
	margin-bottom: 2.5rem;
}

.diagnosis-form {
	max-width: 640px;
	display: grid;
	gap: 1.5rem;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-field {
	display: grid;
	gap: 0.5rem;
}

.form-field label {
	font-weight: 600;
	font-size: 0.95rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	padding: 0.75rem 0.9rem;
	font-family: inherit;
	font-size: 1rem;
	background: var(--paper);
	color: var(--ink);
}

.form-field textarea {
	min-height: 120px;
	resize: vertical;
}

.option-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.6rem;
}

.option-grid input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.option-grid label {
	display: block;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	padding: 0.65rem 0.9rem;
	text-align: center;
	font-weight: 500;
	font-size: 0.92rem;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.option-grid input:checked + label {
	border-color: var(--teal);
	background: rgba(47, 111, 94, 0.1);
	color: var(--teal-deep);
}

.option-grid input:focus-visible + label {
	outline: 3px solid var(--teal);
	outline-offset: 2px;
}

.urgency-grid label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.form-success {
	background: rgba(47, 111, 94, 0.1);
	border: 1px solid var(--teal);
	color: var(--teal-deep);
	border-radius: var(--radius-m);
	padding: 1.25rem 1.5rem;
	max-width: 640px;
	margin-bottom: 2rem;
	font-weight: 500;
}

.form-notice {
	background: rgba(210, 84, 46, 0.08);
	border: 1px solid var(--alert);
	color: var(--alert-deep);
	border-radius: var(--radius-m);
	padding: 1.25rem 1.5rem;
	max-width: 640px;
	margin-bottom: 2rem;
	font-weight: 500;
}

.form-context {
	max-width: 640px;
	font-size: 0.92rem;
	color: var(--ink-soft);
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 0.9rem 1.1rem;
	margin-bottom: 1.5rem;
}

/* =========================================================
   12b. Ticket tracking page
   ========================================================= */
.tt-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
}

.tt-badge--green {
	background: rgba(47, 111, 94, 0.14);
	color: var(--teal-deep);
}

.tt-badge--amber {
	background: rgba(232, 169, 58, 0.2);
	color: #7a5613;
}

.tt-badge--red {
	background: rgba(210, 84, 46, 0.14);
	color: var(--alert-deep);
}

.tt-badge--blue {
	background: rgba(47, 111, 94, 0.1);
	color: var(--teal-deep);
}

.tt-badge--grey {
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--ink-soft);
}

.ticket-track {
	max-width: 640px;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	display: grid;
	gap: 0.9rem;
}

.ticket-track__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px dashed var(--line);
	padding-bottom: 0.9rem;
}

.ticket-track__row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ticket-track__row > span:first-child {
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-weight: 500;
	flex-shrink: 0;
}

.ticket-track__row--full {
	flex-direction: column;
	align-items: flex-start;
}

.ticket-track__row--full p {
	margin: 0.4rem 0 0;
	max-width: none;
}

.ticket-messages {
	max-width: 640px;
}

.ticket-messages h2 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.ticket-message {
	border-radius: var(--radius-m);
	padding: 0.9rem 1.1rem;
	margin-bottom: 0.75rem;
	border: 1px solid var(--line);
}

.ticket-message--staff {
	background: rgba(47, 111, 94, 0.06);
	border-color: rgba(47, 111, 94, 0.3);
}

.ticket-message--customer {
	background: var(--paper-raised);
}

.ticket-message__meta {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.78rem;
	color: var(--ink-soft);
	margin-bottom: 0.4rem;
}

.ticket-message__meta strong {
	color: var(--ink);
}

.ticket-message__body {
	font-size: 0.95rem;
}

.ticket-reply-form {
	margin-top: 1.25rem;
	display: grid;
	gap: 0.6rem;
}

.ticket-reply-form label {
	font-weight: 600;
	font-size: 0.9rem;
}

.ticket-reply-form textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	padding: 0.7rem 0.9rem;
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--paper-raised);
	color: var(--ink);
	resize: vertical;
}

.ticket-reply-form .btn {
	justify-self: start;
}

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer {
	background: var(--ink);
	color: #c9d3cc;
	padding-block: 3rem 2rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand {
	font-family: var(--font-display);
	font-size: 1.3rem;
	color: var(--paper);
	margin-bottom: 0.6rem;
}

.footer__tagline {
	max-width: 32ch;
	color: #9fb0a7;
	font-size: 0.92rem;
}

.footer__widget-title {
	color: var(--paper);
	font-size: 1rem;
	margin-bottom: 0.9rem;
}

.footer__widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.footer__widget a {
	text-decoration: none;
	color: #c9d3cc;
	font-size: 0.92rem;
}

.footer__widget a:hover {
	color: var(--paper);
}

.footer__bottom {
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: #83937f;
}

/* =========================================================
   14. Generic page/post content (page.php, single.php)
   ========================================================= */
.content-area {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.content-area .container {
	max-width: 760px;
}

.entry-header h1 {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.entry-content h2 {
	font-size: 1.6rem;
	margin-top: 2rem;
}

.entry-content h3 {
	font-size: 1.25rem;
	margin-top: 1.5rem;
}

.entry-content ul,
.entry-content ol {
	color: var(--ink-soft);
}

.post-list {
	display: grid;
	gap: 2rem;
}

.post-list article {
	border-bottom: 1px solid var(--line);
	padding-bottom: 2rem;
}

.post-list h2 a {
	text-decoration: none;
	font-size: 1.5rem;
}

.post-meta {
	color: var(--ink-soft);
	font-size: 0.88rem;
	margin-bottom: 0.5rem;
}

/* =========================================================
   15. Responsive
   ========================================================= */
@media (max-width: 900px) {
	.hero__grid,
	.service-row,
	.service-row--reverse .service-row__media,
	.agencies__grid {
		grid-template-columns: 1fr;
	}

	.service-row--reverse .service-row__media {
		order: 0;
	}

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

	.decision-row {
		grid-template-columns: 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 720px) {
	.nav__menu,
	.header__actions .btn--ghost {
		display: none;
	}

	.currency-switcher__select {
		font-size: 0.78rem;
		padding: 0.4rem 1.4rem 0.4rem 0.55rem;
	}

	.nav-toggle {
		display: block;
	}

	.site-header.is-open .nav__menu {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 1.5rem var(--gutter);
		gap: 1.25rem;
	}

	.how__steps {
		grid-template-columns: 1fr;
	}

	.trust-strip__inner {
		justify-content: flex-start;
	}

	.rescue-banner__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
