/**
 * Dental tourism page — SPA-canonical styles.
 *
 * Mirrors components/DentalTourism.jsx exactly. The SPA uses `mobile = window.innerWidth <= 900`
 * as its breakpoint; we use `@media (max-width: 900px)` here to match. Where the SPA branches
 * on `mobile ? X : Y`, the desktop value is the default and the mobile value goes in the
 * @media block.
 *
 * Convention: every section + subsection has a stable class name so the PHP template can
 * stay readable (no more inline-style spam).
 */

/* ── 1. Hero ───────────────────────────────────────────────────── */
.va-dt-hero {
	position: relative;
	padding: 40px 48px 32px;
	background: linear-gradient(180deg, #f8efde 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line-soft);
}
.va-dt-hero-inner { max-width: 1180px; margin: 0 auto; }
.va-dt-hero-eyebrow { color: var(--terracotta); margin-bottom: 16px; }
.va-dt-hero-h1 {
	font-size: 68px;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	font-weight: 400;
	max-width: 900px;
}
.va-dt-hero-sub {
	margin: 0 0 28px;
	font-size: 19px;
	line-height: 1.55;
	color: var(--muted);
	max-width: 680px;
}
.va-dt-hero-cta {
	padding: 14px 26px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;       /* SPA renders this as <button>; we render <a>, so re-assert button-default alignment */
	display: inline-flex;     /* SPA .btn uses inline-flex (see styles.css) — match it */
	align-items: center;
	gap: 4px;
}
.va-dt-hero-trust {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	font-size: 13px;
	color: var(--muted);
	align-items: center;
}
.va-dt-hero-trust .sep { opacity: 0.4; }
.va-dt-hero-disclaimer {
	margin: 24px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--muted);
	max-width: 720px;
}
.va-dt-hero-disclaimer a { color: var(--terracotta); text-decoration: underline; }

/* ── Section wrapper (replaces SPA DTSection helper) ────────────── */
.va-dt-section {
	padding: 88px 48px;
	background: var(--paper);
	border-top: 1px solid var(--line-soft);
}
/* The cost-comparison section sits directly under the hero — the value-prop
 * → data jump is what the page is really selling, so we tighten the gap and
 * drop the divider line for a continuous read. */
#dental-cost.va-dt-section {
	padding-top: 32px;
	border-top: 0;
}
.va-dt-section--warm { background: var(--paper-warm, #f5ebd7); }
.va-dt-section-inner { max-width: 1180px; margin: 0 auto; }
.va-dt-section-eyebrow { margin-bottom: 12px; }
.va-dt-section-h2 {
	font-size: 48px;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 16px;
	font-weight: 400;
}
.va-dt-section-lede {
	max-width: 720px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	margin: 0 0 32px;
}

/* ── Lead-form section wrappers ─────────────────────────────────── */
.va-dt-form-section { padding: 56px 48px; background: var(--paper); }
.va-dt-form-section--mid { padding: 40px 48px; background: var(--paper-warm, #f5ebd7); }
.va-dt-form-section--bottom { padding: 72px 48px 32px; background: var(--paper); }
.va-dt-form-inner { max-width: 720px; margin: 0 auto; }

/* Above-form disclaimer panel */
.va-dental-form-disclaimer {
	background: #fdf6e7;
	border: 1px solid var(--line);
	border-left: 3px solid var(--terracotta);
	padding: 16px 20px;
	border-radius: 4px;
	margin-bottom: 18px;
}
.va-dental-form-disclaimer .eyebrow {
	color: var(--terracotta);
	margin-bottom: 6px;
	font-size: 11px;
}
.va-dental-form-disclaimer p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--ink);
}

/* ── Dental lead form (mirrors SPA DentalLeadForm) ─────────────── */
.va-dental-form {
	background: var(--paper-warm, #f5ebd7);
	border: 1px solid var(--line);
	padding: 28px;
	border-radius: 4px;
}
.va-dental-form-eyebrow {
	color: var(--terracotta);
	margin-bottom: 8px;
}
.va-dental-form-h {
	font-size: 28px;
	margin: 0 0 6px;
	font-weight: 400;
}
.va-dental-form-lede {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}
.va-dental-form-row { margin-top: 14px; }
.va-dental-form-row:first-of-type { margin-top: 0; }
.va-dental-form-row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.va-dental-form-row--phone {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;
}
.va-dental-form-field { display: block; }
.va-dental-form-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
	font-weight: 600;
}
.va-dental-form-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 15px;
	font-family: inherit;
	color: var(--ink);
	border-radius: 2px;
	box-sizing: border-box;
}
.va-dental-form-input:focus {
	outline: none;
	border-color: var(--terracotta);
}
.va-dental-form-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.va-dental-form-chip {
	padding: 7px 12px;
	font-size: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	border-radius: 2px;
	font-weight: 400;
	font-family: inherit;
	transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.va-dental-form-chip:hover { border-color: var(--terracotta); }
.va-dental-form-chip.is-on {
	background: var(--terracotta);
	border-color: var(--terracotta);
	color: #fff;
	font-weight: 600;
}
.va-dental-form-submit {
	margin-top: 20px;
}
.va-dental-form-privacy {
	margin: 14px 0 0;
	font-size: 11px;
	color: var(--muted);
	line-height: 1.5;
}

/* ── 2. Cost table ──────────────────────────────────────────────── */
.va-dt-cost-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 4px;
}
.va-dt-cost {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: #fff;
}
.va-dt-cost thead tr { background: var(--paper-warm, #f5ebd7); }
.va-dt-cost th {
	text-align: right;
	padding: 14px 16px;
	font-weight: 600;
	border-bottom: 1px solid var(--line);
}
.va-dt-cost th.va-dt-cost-th-proc { text-align: left; }
.va-dt-cost th.va-dt-cost-th-al {
	font-weight: 700;
	background: var(--terracotta);
	color: #fff;
}
.va-dt-cost td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--line-soft);
	text-align: right;
	color: var(--muted);
}
.va-dt-cost td.va-dt-cost-td-proc {
	text-align: left;
	font-weight: 500;
	color: var(--ink);
}
.va-dt-cost td.va-dt-cost-td-al {
	font-weight: 700;
	color: var(--terracotta);
	background: #fdf4ee;
}
.va-dt-cost tr.va-dt-cost-row--alt { background: #fafafa; }
.va-dt-cost-footnote {
	font-size: 12px;
	color: var(--muted);
	margin-top: 14px;
	line-height: 1.55;
}

/* ── 3. How it works ────────────────────────────────────────────── */
.va-dt-how-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-top: 8px;
}
.va-dt-how-step { border-top: 2px solid var(--terracotta); padding-top: 16px; }
.va-dt-how-num {
	font-family: var(--font-mono, monospace);
	font-size: 12px;
	color: var(--terracotta);
	margin-bottom: 10px;
	letter-spacing: 0.1em;
}
.va-dt-how-title {
	font-size: 22px;
	line-height: 1.15;
	margin: 0 0 8px;
	font-weight: 400;
	letter-spacing: -0.01em;
}
.va-dt-how-body { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── 4. What's included ─────────────────────────────────────────── */
.va-dt-inc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.va-dt-inc-card {
	padding: 20px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 4px;
}
.va-dt-inc-icon { font-size: 24px; margin-bottom: 12px; }
.va-dt-inc-title { font-size: 18px; margin: 0 0 8px; font-weight: 500; }
.va-dt-inc-body { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── 5. Trust ───────────────────────────────────────────────────── */
.va-dt-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.va-dt-trust-h3 { font-size: 22px; margin: 0 0 10px; font-weight: 400; }
.va-dt-trust-p { margin: 0 0 20px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.va-dt-trust-p--last { margin: 0; }
.va-dt-trust-list {
	margin: 0 0 20px 20px;
	padding: 0;
	font-size: 15px;
	color: var(--ink);
	line-height: 1.7;
}

/* ── 6. Stories ─────────────────────────────────────────────────── */
.va-dt-stories-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.va-dt-story {
	padding: 24px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 4px;
}
.va-dt-story-head { display: flex; gap: 14px; margin-bottom: 14px; align-items: center; }
.va-dt-story-photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.va-dt-story-name { font-weight: 600; font-size: 15px; }
.va-dt-story-meta { font-size: 12px; color: var(--muted); }
.va-dt-story-quote {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
	font-style: italic;
}
.va-dt-video {
	margin-top: 32px;
	padding: 40px;
	border: 1px dashed var(--line);
	background: #fafafa;
	text-align: center;
	border-radius: 4px;
}
.va-dt-video video {
	width: 100%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
	background: #222;
}
.va-dt-video-caption { margin-top: 12px; font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

/* ── 7. FAQ ─────────────────────────────────────────────────────── */
.va-dt-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.va-dt-faq summary {
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	color: var(--ink);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}
.va-dt-faq summary::-webkit-details-marker { display: none; }
.va-dt-faq summary .plus { color: var(--terracotta); font-weight: 400; flex-shrink: 0; }
.va-dt-faq p {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--muted);
	line-height: 1.65;
	padding-right: 24px;
}

/* ── 8. Partner clinics ─────────────────────────────────────────── */
.va-dt-clinics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.va-dt-clinic {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.va-dt-clinic-img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
}
.va-dt-clinic-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.va-dt-clinic-city { margin-bottom: 6px; }
.va-dt-clinic-name { font-size: 20px; margin: 0 0 6px; font-weight: 500; }
.va-dt-clinic-head { font-size: 13px; color: var(--ink); margin-bottom: 10px; }
.va-dt-clinic-row { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.va-dt-clinic-row strong { color: var(--ink); }
.va-dt-clinic-row--langs { margin-bottom: 16px; }
.va-dt-clinic-actions { margin-top: auto; }
.va-dt-clinic-cta {
	padding: 10px 18px;
	font-size: 13px;
	display: inline-block;
}

/* ── 9. Combine + itinerary ─────────────────────────────────────── */
.va-dt-itin {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 32px;
	margin-bottom: 24px;
}
.va-dt-itin-eye { color: var(--terracotta); margin-bottom: 8px; }
.va-dt-itin-h3 { font-size: 30px; margin: 0 0 16px; font-weight: 400; }
.va-dt-itin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.va-dt-itin-day strong { display: block; margin-bottom: 6px; }
.va-dt-itin-day p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

.va-dt-cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.va-dt-cs-card {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	text-decoration: none;
	color: var(--ink);
	display: block;
}
.va-dt-cs-card--wide { grid-column: span 2; }
.va-dt-cs-eye { margin-bottom: 8px; }
.va-dt-cs-h4 { font-size: 18px; margin: 0 0 6px; font-weight: 500; }
.va-dt-cs-body { margin: 0; font-size: 13px; color: var(--muted); }

/* ── Full disclaimer block ──────────────────────────────────────── */
.va-dt-disclaimer-block {
	padding: 56px 48px;
	background: #faf4e6;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.va-dt-disclaimer-inner { max-width: 860px; margin: 0 auto; }
.va-dt-disclaimer-eye { color: var(--terracotta); margin-bottom: 10px; }
.va-dt-disclaimer-h2 {
	font-size: 32px;
	line-height: 1.15;
	margin: 0 0 18px;
	font-weight: 400;
	letter-spacing: -0.01em;
}
.va-dt-disclaimer-p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ink);
}

/* ── Partner CTA strip ──────────────────────────────────────────── */
.va-dt-partner-strip {
	padding: 48px;
	background: var(--ionian-deep);
	color: #fff;
}
.va-dt-partner-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.va-dt-partner-eye { color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.va-dt-partner-h3 { font-size: 30px; margin: 0; color: #fff; font-weight: 400; }
.va-dt-partner-body { margin: 6px 0 0; color: rgba(255,255,255,0.75); font-size: 14px; }
.va-dt-partner-cta { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────────
 * Mobile: matches SPA when window.innerWidth <= 900
 * Every branch below has its desktop counterpart above.
 * ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.va-dental-form { padding: 20px; }
	.va-dental-form-h { font-size: 22px; }
	.va-dental-form-row--2col { grid-template-columns: 1fr; }
	.va-dental-form-row--phone { grid-template-columns: 1fr; }
	.va-dental-form-submit { width: 100%; }

	.va-dt-hero { padding: 48px 20px 56px; }
	.va-dt-hero-h1 { font-size: 40px; }
	.va-dt-hero-sub { font-size: 16px; }
	.va-dt-hero-trust { gap: 12px; }

	.va-dt-section { padding: 56px 20px; }
	.va-dt-section-h2 { font-size: 32px; }
	.va-dt-section-lede { font-size: 15px; }

	.va-dt-form-section { padding: 40px 20px; }
	.va-dt-form-section--mid { padding: 40px 20px; }
	.va-dt-form-section--bottom { padding: 48px 20px 24px; }

	.va-dt-cost { font-size: 13px; min-width: 560px; }

	.va-dt-how-grid { grid-template-columns: 1fr; gap: 24px; }

	.va-dt-inc-grid { grid-template-columns: 1fr; }

	.va-dt-trust-grid { grid-template-columns: 1fr; }

	.va-dt-stories-grid { grid-template-columns: 1fr; }
	.va-dt-video { padding: 24px; }

	.va-dt-faq summary { font-size: 16px; }

	.va-dt-clinics-grid { grid-template-columns: 1fr; }

	.va-dt-itin { padding: 24px; }
	.va-dt-itin-h3 { font-size: 24px; }
	.va-dt-itin-grid { grid-template-columns: 1fr; }

	.va-dt-cs-grid { grid-template-columns: 1fr; }
	.va-dt-cs-card--wide { grid-column: auto; }

	.va-dt-disclaimer-block { padding: 40px 20px; }
	.va-dt-disclaimer-h2 { font-size: 26px; }

	.va-dt-partner-strip { padding: 32px 20px; }
	.va-dt-partner-inner { flex-direction: column; align-items: flex-start; }
	.va-dt-partner-h3 { font-size: 24px; }
}
