/*
Theme Name: THSC
Description: Hand-coded landing theme for telehealthseocompany.com.
Version: 0.1.1
Requires PHP: 8.0
License: Proprietary
Text Domain: thsc
*/

:root {
	--navy: #0f2a44;
	--navy-2: #173a5c;
	--navy-deep: #0a1d30;
	--teal: #2a9d8f;
	--teal-dark: #1f7a6f;
	--teal-soft: #dff2ef;
	--ink: #16202c;
	--muted: #5d6b7c;
	--line: #dde3ea;
	--paper: #f4f6f9;
	--card: #ffffff;
	--sand: #e9eef4;

	/* Display: condensed caps. Body: DM Sans. Labels: DM Mono. */
	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--serif: var(--display);
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--wrap: 1160px;
	--radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); }
a:hover { color: var(--navy); }

h1, h2 {
	font-family: var(--display);
	font-weight: 600;
	text-transform: uppercase;
	color: var(--navy);
	line-height: 1;
	letter-spacing: 0.005em;
	margin: 0 0 0.45em;
}
h1 { font-size: clamp(3rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h3 {
	font-family: var(--sans);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.3;
	color: var(--navy);
	margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 100;
	background: var(--navy);
	color: #fff;
	padding: 8px 14px;
	border-radius: 8px;
}

/* Buttons */

.btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	border: 2px solid transparent;
	cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 246, 249, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}
.brand {
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.45rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--navy);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.brand-mark {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--navy);
	position: relative;
	flex: none;
}
.brand-mark::before,
.brand-mark::after {
	content: "";
	position: absolute;
	background: var(--teal);
	border-radius: 2px;
}
.brand-mark::before { left: 13px; top: 7px; width: 4px; height: 16px; }
.brand-mark::after { left: 7px; top: 13px; width: 16px; height: 4px; }

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav a:not(.btn) {
	color: var(--ink);
	text-decoration: none;
	font-size: 0.95rem;
}
.nav a:not(.btn):hover { color: var(--teal-dark); }
.nav .btn { padding: 10px 20px; font-size: 0.95rem; }

@media (max-width: 860px) {
	.nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
	.brand { font-size: 1.15rem; white-space: nowrap; }
	.nav .btn { padding: 9px 14px; font-size: 0.85rem; white-space: nowrap; }
}

/* Sections */

section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #d9e2ec; }
.section-navy h2,
.section-navy h3 { color: #fff; }

.eyebrow {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal-dark);
	margin-bottom: 14px;
}
.section-navy .eyebrow { color: #7fd1c6; }

.lede {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 680px;
}
.section-navy .lede { color: #b8c6d4; }

.section-head { max-width: 760px; margin-bottom: 48px; }

/* Hero */

.hero {
	padding: 96px 0 80px;
	background:
		radial-gradient(900px 420px at 85% 10%, rgba(42, 157, 143, 0.16), transparent 70%),
		var(--paper);
}
.hero h1 { max-width: 820px; }
.hero .lede { font-size: 1.25rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.trust-strip {
	list-style: none;
	margin: 64px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	font-size: 0.95rem;
	color: var(--navy);
	font-weight: 600;
}
.trust-strip li { display: flex; align-items: center; gap: 10px; }
.trust-strip li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	flex: none;
}
@media (max-width: 860px) {
	.trust-strip { grid-template-columns: 1fr 1fr; }
}

/* Category tiles */

.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}
.tile {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
	background: var(--navy);
	overflow: hidden;
}
.tile::before {
	content: "";
	position: absolute;
	inset: auto -30% 45% auto;
	width: 140%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(127, 209, 198, 0.35), transparent 65%);
}
.tile:nth-child(2) { background: var(--teal-dark); }
.tile:nth-child(3) { background: var(--navy-2); }
.tile:nth-child(4) { background: #23465f; }
.tile:nth-child(5) { background: #1d5d63; }
.tile:nth-child(6) { background: var(--navy-deep); }
.tile .eyebrow { color: #a9e3da; margin-bottom: 6px; position: relative; }
.tile h3 {
	position: relative;
	font-family: var(--display);
	text-transform: uppercase;
	font-size: 1.6rem;
	line-height: 1;
	color: #fff;
	margin: 0 0 8px;
}
.tile p { position: relative; margin: 0; font-size: 0.88rem; color: #c9d6e2; line-height: 1.45; }
@media (max-width: 1060px) {
	.tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.tiles { grid-template-columns: 1fr 1fr; }
	.tile { aspect-ratio: 4 / 5; padding: 16px; }
}

/* Two-column text */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; gap: 24px; }
}

/* Cards */

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
	.grid,
	.grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.grid,
	.grid-2,
	.grid-4 { grid-template-columns: 1fr; }
}

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.section-navy .card {
	background: var(--navy-2);
	border-color: rgba(255, 255, 255, 0.08);
}
.section-navy .card p { color: #b8c6d4; }

.check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}
.check-list li {
	position: relative;
	padding-left: 34px;
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.check-list strong { color: var(--navy); }
.section-navy .check-list strong { color: #fff; }

/* Results */

.result {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	align-items: center;
}
.result figure {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px;
	box-shadow: 0 20px 50px -30px rgba(15, 42, 68, 0.35);
}
.result figure img { border-radius: 8px; }
.result figcaption { font-size: 0.85rem; color: var(--muted); padding: 10px 4px 0; }
.stat {
	font-family: var(--serif);
	font-size: clamp(2.6rem, 6vw, 4rem);
	color: var(--navy);
	line-height: 1;
	margin-bottom: 12px;
}
.tag {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	background: var(--sand);
	border: 1px solid var(--line);
	color: var(--navy);
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 18px;
}
@media (max-width: 860px) {
	.result { grid-template-columns: 1fr; }
}

/* Pricing */

.price-box {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 48px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
}
.price {
	font-family: var(--serif);
	font-size: 3rem;
	color: var(--navy);
	line-height: 1;
}
.price small { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); }
@media (max-width: 760px) {
	.price-box { grid-template-columns: 1fr; padding: 32px; }
}

/* Steps */

.steps {
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}
.steps li {
	counter-increment: step;
	position: relative;
	padding: 4px 0 0 60px;
	min-height: 44px;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #7fd1c6;
	color: #fff;
	font-family: var(--serif);
	font-size: 1.1rem;
	display: grid;
	place-items: center;
}

/* Form */

.form {
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius);
	padding: 32px;
	display: grid;
	gap: 16px;
}
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.form input,
.form select,
.form textarea {
	font: inherit;
	font-weight: 400;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
	width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hp { position: absolute; left: -9999px; }
.form .note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-msg {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-weight: 600;
}
.form-msg.ok { background: #e3f4f1; color: var(--teal-dark); }
.form-msg.err { background: #fbe9e7; color: #9c2b1c; }
@media (max-width: 640px) {
	.form .row { grid-template-columns: 1fr; }
}

/* FAQ */

.faq { max-width: 820px; }
.faq details {
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
}
.faq summary {
	cursor: pointer;
	list-style: none;
	font-family: var(--sans);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--navy);
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	font-family: var(--sans);
	color: var(--teal);
	font-size: 1.5rem;
	line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */

.site-footer {
	background: var(--navy);
	color: #9fb0c2;
	padding: 56px 0 40px;
	font-size: 0.92rem;
}
.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
}
.site-footer .brand { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: #d9e2ec; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.disclaimer { flex-basis: 100%; margin: 16px 0 0; font-size: 0.85rem; }

/* Generic pages */

.page-body { padding: 72px 0 96px; }
.page-body .wrap { max-width: 800px; }
