/*
Theme Name: az-diamond-docs
Text Domain: az-diamond-docs
Description: Custom theme for AZ Diamond Docs, LLC — Certified Legal Document Preparer in Tucson, Arizona.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ==========================================================================
   AZ Diamond Docs — design system
   All component styles live here (unlayered, so they win over Tailwind
   preflight in both draft and published modes).
   ========================================================================== */

:root {
	--navy: #14304f;
	--navy-deep: #122c4c;
	--navy-900: #0e2440;
	--navy-700: #1d4066;
	--cream: #f7f4ee;
	--cream-2: #f2ede4;
	--gold: #c89a5c;
	--gold-soft: #e0c49b;
	--gold-band: #d4a367;
	/* Darker gold reserved for small label text so it clears WCAG AA. */
	--gold-text: #a5762f;
	--ink: #16283d;
	--body: #5b6472;
	--muted: #7b8494;
	--line: #e6e0d6;
	--line-soft: #eeeae1;
	--white: #ffffff;

	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-script: "Dancing Script", "Brush Script MT", cursive;

	--container: 1400px;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow-card: 0 1px 2px rgba(20, 48, 79, .04), 0 8px 24px rgba(20, 48, 79, .05);
}

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

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

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

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--ink);
	margin: 0 0 .6em;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.65rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

/* Tailwind preflight strips list markers; restore them for plain prose lists. */
#main ul:not([class]), .article-body ul, .legal-body ul:not([class]) { list-style: disc outside; padding-left: 1.3em; }
#main ol:not([class]), .article-body ol, .legal-body ol:not([class]) { list-style: decimal outside; padding-left: 1.4em; }
#main ul:not([class]) li::marker, .legal-body ul:not([class]) li::marker { color: var(--gold); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- layout ---------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, .82); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .checklist li { color: rgba(255, 255, 255, .82); }
.section--navy > .container > .split p, .section--navy > .container > p { color: rgba(255, 255, 255, .82); }
.section--navy .checklist li::before { border-color: var(--gold); }

.eyebrow {
	font-family: var(--font-body);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-text);
	margin: 0 0 .9rem;
	display: block;
}
.section--navy .eyebrow, .cta-gold .eyebrow { color: var(--gold); }
.eyebrow--rule { display: flex; align-items: center; gap: .7rem; }
.eyebrow--rule::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--gold);
	display: block;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { text-align: center; }
.section-head p { color: var(--body); font-size: 1.02rem; }

.lead { font-size: 1.08rem; color: var(--body); }

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	font-family: var(--font-body);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1;
	padding: 1rem 1.6rem;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
	text-align: center;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #b98a4d; color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f3efe7; color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- header ---------- */

.topbar {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, .88);
	font-size: .78rem;
	letter-spacing: .02em;
}
.topbar .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.4rem;
	min-height: 38px;
	flex-wrap: wrap;
}
.topbar span { display: inline-flex; align-items: center; gap: 1.4rem; }
.topbar .sep { color: var(--gold); }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold); }

.siteheader {
	background: #fff;
	border-bottom: 1px solid var(--line-soft);
	position: sticky;
	top: 0;
	z-index: 60;
}
.siteheader > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand-name {
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.1;
}
.brand-name small { font-size: .72em; letter-spacing: .06em; }

.mainnav { display: flex; align-items: center; gap: 2rem; }
.mainnav > ul { list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; }
.mainnav > ul > li { margin: 0; position: relative; }
.mainnav > ul > li > a {
	font-size: .92rem;
	font-weight: 500;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .4rem 0;
}
.mainnav > ul > li > a:hover, .mainnav .current-menu-item > a { color: var(--gold); }
.mainnav .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	display: inline-block;
}

.mainnav .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 264px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: .6rem 0;
	display: block;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
	z-index: 70;
}
.mainnav li:hover > .sub-menu, .mainnav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.mainnav .sub-menu li { width: 100%; }
.mainnav .sub-menu a {
	display: block;
	padding: .55rem 1.15rem;
	font-size: .88rem;
	color: var(--body);
}
.mainnav .sub-menu a:hover { background: var(--cream); color: var(--navy); }
.mainnav .sub-menu .sub-menu { top: 0; left: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.15rem; flex: none; }
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .9rem;
	font-weight: 600;
	color: var(--navy);
}
.header-phone svg { width: 15px; height: 15px; color: var(--gold); }
.cta-short { display: none; }
.mega-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.mega-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.has-mega.is-open .mega-toggle svg { transform: rotate(180deg); }

/* ---------- services mega menu ---------- */

.mainnav .has-mega { position: static; }
.mainnav .has-mega > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	display: inline-block;
	margin-left: .35rem;
	transition: transform .18s ease;
}
.mainnav .has-mega:hover > a, .mainnav .has-mega:focus-within > a { color: var(--gold); }
.mainnav .has-mega:hover > a::after, .mainnav .has-mega:focus-within > a::after {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid var(--line-soft);
	box-shadow: 0 26px 44px rgba(20, 48, 79, .13);
	padding: 32px 0 38px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 80;
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mega .container { display: block; min-height: 0; }
.mega-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 250px));
	gap: 48px;
	justify-content: start;
	align-items: start;
}

.mega .mega-head {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	font-family: var(--font-display);
	font-size: 1.16rem;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.25;
	padding-bottom: 16px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.mega .mega-head:hover { color: var(--gold); }
.mega-ico { color: var(--navy); flex: none; margin-top: .15rem; }
.mega-ico svg { width: 19px; height: 19px; }

.mega .mega-col ul { list-style: none; display: block; margin: 0; padding: 0; }
.mega .mega-col li { margin: 0; border: 0; position: static; }
.mega .mega-col li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	padding: .6rem 0 .6rem .82rem;
	font-size: .9rem;
	font-weight: 400;
	color: var(--gold-text);
	position: relative;
	line-height: 1.35;
}
.mega .mega-col li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
}
.mega .mega-col li a:hover { color: var(--navy); }
.mega-arrow { width: 14px; height: 14px; color: var(--gold); flex: none; }
.mega-col li a:hover .mega-arrow { color: var(--gold); }

.navtoggle {
	display: none;
	background: none;
	border: 0;
	padding: .4rem;
	cursor: pointer;
	color: var(--navy);
}
.navtoggle svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */

.hero { background: var(--cream); padding: 80px 0 74px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero p { max-width: 34em; }
.hero .btn-row { margin-top: 2rem; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(20, 48, 79, .12); }
.hero-media {
	background: #fff;
	padding: 14px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.hero--inner { padding: 62px 0 58px; }
.hero--inner h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); }

.badge-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.9rem; }
.badge-row span { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--body); }
.badge-row svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------- trust strip ---------- */

.trustbar { background: var(--navy-deep); color: #fff; padding: 20px 0; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.trustbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 0; padding: 0; }
.trustbar li { display: inline-flex; align-items: center; gap: .55rem; font-size: .87rem; margin: 0; }
.trustbar svg { width: 16px; height: 16px; color: var(--gold); }
.script { font-family: var(--font-script); color: var(--gold); font-size: 1.5rem; line-height: 1; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	height: 100%;
}
/* Keep the last action in a card pinned to the bottom so cards in a row
   finish at the same baseline even when their copy differs in length. */
.grid .card > p:last-child, .grid .card > .btn-row:last-child, .grid .card > .card-link:last-child { margin-top: auto; }
.card--cream { background: var(--cream); border-color: var(--line); }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .94rem; }

.card-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--cream-2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.4rem;
	color: var(--gold);
}
.card-icon svg { width: 21px; height: 21px; }

.card-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: 1.4rem;
	font-size: .87rem;
	font-weight: 600;
	color: var(--gold);
}
.card-link { color: var(--gold-text); }
.card-link:hover { color: var(--navy); }

.minicard {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--radius);
	padding: 22px 20px;
	text-align: center;
}
.minicard h4 { color: var(--gold); font-family: var(--font-body); font-size: .92rem; margin-bottom: .5rem; }
.minicard p { font-size: .8rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }

/* ---------- process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 34px; text-align: center; }
.steps > div { display: flex; flex-direction: column; align-items: center; }
.step-num {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--gold);
	color: var(--navy);
	font-family: var(--font-display);
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.3rem;
}
.steps h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; margin-bottom: .5rem; }
.steps p { font-size: .84rem; line-height: 1.55; max-width: 22em; }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--start { align-items: start; }
.split img { border-radius: var(--radius-lg); }

/* ---------- checklist ---------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: .72rem;
	font-size: .93rem;
	color: var(--body);
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .42em;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	transform: rotate(-45deg);
}
.checklist--2col { columns: 2; column-gap: 34px; }

/* ---------- quick facts ---------- */

.quickfacts { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.quickfacts .grid { grid-template-columns: repeat(6, 1fr); gap: 22px; }
.quickfacts dt {
	font-size: .78rem;
	color: var(--muted);
	font-weight: 500;
	margin-bottom: .3rem;
}
.quickfacts dd { margin: 0; font-size: .92rem; color: var(--ink); font-weight: 600; }
.quickfacts .note { margin: 20px 0 0; font-size: .74rem; font-style: italic; color: var(--muted); }

/* ---------- callout ---------- */

.callout {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 26px;
	margin: 1.6rem 0;
	box-shadow: var(--shadow-card);
}
.section--white .callout, .card .callout { background: var(--cream); box-shadow: none; }
.callout h4 { margin-bottom: .55rem; }
.callout p { font-size: .93rem; }

.callout--gold { border-left: 3px solid var(--gold); background: var(--cream); }

.notice { font-size: .84rem; font-style: italic; color: var(--muted); }

/* ---------- quote ---------- */

.quotebox {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	padding: 26px 28px;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.section--white .quotebox { background: var(--cream); border-color: var(--line); border-left-color: var(--gold); }
.quotebox p { font-style: italic; font-size: .95rem; color: var(--ink); }
.quotebox cite {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: 1.1rem;
	font-style: normal;
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--navy);
}
.quotebox cite::before { content: ""; width: 20px; height: 1px; background: var(--gold); }

.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.stat-tile { background: var(--cream-2); border-radius: var(--radius); padding: 20px 22px; }
.stat-tile strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.stat-tile span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

/* ---------- longform block ---------- */

.longform { display: grid; grid-template-columns: 300px 1fr; gap: 62px; align-items: start; }
.longform h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.longform h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 1.1rem; }
.longform .divider { border-top: 1px solid var(--line); margin: 2rem 0 1.6rem; }

/* ---------- pricing ---------- */

.pricebox {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 40px;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}
.pricebox .label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.pricebox .price { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin: .35rem 0 1.6rem; }

.pricetable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pricetable th, .pricetable td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.pricetable thead th {
	background: var(--navy-deep);
	color: #fff;
	font-family: var(--font-body);
	font-size: .74rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 600;
}
.pricetable td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); }
.pricetable th:last-child { text-align: right; white-space: nowrap; }
.pricetable thead th:last-child { color: #fff; }
.pricetable tbody tr:nth-child(even) { background: var(--cream); }
.pricetable tbody tr:nth-child(even):hover { background: var(--cream-2); }
.pricetable tbody tr:last-child td { border-bottom: 0; }
.pricetable tbody tr:hover { background: var(--cream); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 34px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 34px 22px 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .95rem;
	color: var(--ink);
	position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 28px;
	width: 8px;
	height: 8px;
	border-right: 1.8px solid var(--muted);
	border-bottom: 1.8px solid var(--muted);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq .answer { padding: 0 0 22px; font-size: .93rem; color: var(--body); }

/* ---------- CTA bands ---------- */

.cta-gold {
	background: var(--gold-band);
	color: #fff;
	padding: 66px 0;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
	background-size: 22px 22px;
}
.cta-gold .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.cta-gold h2 { color: #fff; }
.cta-gold p { color: rgba(255, 255, 255, .92); font-size: 1rem; margin: 0; }
.cta-gold .btn-row { justify-content: flex-end; }

.cta-white { background: #fff; padding: 72px 0; border-top: 1px solid var(--line-soft); }
.cta-white .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.cta-white .btn-row { justify-content: flex-end; }

.cta-navy { background: var(--navy-deep); padding: 76px 0; text-align: center; }
.cta-navy h2 { color: #fff; }
.cta-navy p { color: rgba(255, 255, 255, .76); max-width: 640px; margin: 0 auto 2rem; }
.cta-navy .btn-row { justify-content: center; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line-soft); font-size: .8rem; color: var(--muted); }
.breadcrumbs .container { padding-top: 14px; padding-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 .5rem; color: var(--line); }
.breadcrumbs .current { color: var(--navy); font-weight: 500; }

/* ---------- blog ---------- */

.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 52px; }
.chip {
	display: inline-flex;
	align-items: center;
	padding: .55rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 500;
	color: var(--body);
	background: #fff;
}
.chip:hover, .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.postcard {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.postcard-media { aspect-ratio: 16 / 9; background: var(--cream-2); overflow: hidden; }
.postcard-media img { width: 100%; height: 100%; object-fit: cover; }
.postcard-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.postcard .cat {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold-text);
	font-weight: 600;
	margin-bottom: .7rem;
	display: block;
}
.postcard h3 { font-size: 1.16rem; margin-bottom: .6rem; line-height: 1.3; }
.postcard h3 a { color: var(--ink); }
.postcard h3 a:hover { color: var(--gold); }
.postcard p { font-size: .9rem; }
.postcard-meta {
	margin-top: auto;
	padding-top: 18px;
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .78rem;
	color: var(--muted);
	border-top: 1px solid var(--line-soft);
}
.postcard-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

.empty-state { text-align: center; padding: 70px 0; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 56px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: .87rem;
	color: var(--body);
	background: #fff;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- single post ---------- */

.article-hero { background: var(--cream); padding: 60px 0 54px; text-align: center; }
.article-hero h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.article-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .7rem;
	font-size: .82rem;
	color: var(--muted);
	margin-top: 1.3rem;
}

.article-body { max-width: 780px; margin: 0 auto; padding: 66px 0 76px; font-size: 1.02rem; }
.article-body h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.article-body h3 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.35em; }
.article-body li { margin-bottom: .55em; }
.article-body blockquote {
	margin: 2rem 0;
	padding: 1.2rem 1.6rem;
	border-left: 3px solid var(--gold);
	background: var(--cream);
	font-style: italic;
	color: var(--ink);
}
.article-body img { border-radius: var(--radius-lg); margin: 2rem 0; }

.author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--cream);
	border-radius: var(--radius-lg);
	padding: 28px 30px;
	margin-top: 48px;
}

/* ---------- legal / TOC pages ---------- */

.legal { display: grid; grid-template-columns: 280px 1fr; gap: 62px; align-items: start; padding: 66px 0 80px; }
.legal-side { position: sticky; top: 110px; }
.legal-side h4 {
	font-family: var(--font-body);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-text);
	margin-bottom: 1rem;
}
.legal-side ul { list-style: none; margin: 0 0 2.4rem; padding: 0; }
.legal-side li { margin-bottom: .55rem; }
.legal-side a { font-size: .87rem; color: var(--body); }
.legal-side a:hover { color: var(--gold); }
.legal-body h2 { font-size: 1.45rem; margin-top: 2.6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body { font-size: .97rem; }

/* ---------- contact ---------- */

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: .9rem; margin-bottom: 1.3rem; align-items: flex-start; font-size: .94rem; }
.info-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .22rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	font-family: var(--font-body);
	font-size: .93rem;
	padding: .85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(200, 154, 92, .35); border-color: var(--gold); }

/* ---------- footer ---------- */

.sitefooter { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 68px 0 0; font-size: .88rem; }
.sitefooter .grid { grid-template-columns: 1.5fr 1.1fr 1.1fr 1.1fr; gap: 48px; }
.sitefooter h4 {
	font-family: var(--font-body);
	font-size: .76rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1.4rem;
	padding-bottom: .7rem;
	position: relative;
}
.sitefooter h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.sitefooter a { color: rgba(255, 255, 255, .72); }
.sitefooter a:hover { color: var(--gold); }
.sitefooter ul { list-style: none; margin: 0; padding: 0; }
.sitefooter li { margin-bottom: .7rem; }
.sitefooter .brand-name { color: #fff; }
.sitefooter .brand svg { color: #fff; }
.footer-blurb { margin: 1.4rem 0 1.6rem; max-width: 30ch; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.social { display: flex; gap: .6rem; }
.social a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.social a:hover { background: #b98a4d; color: #fff; }
.social svg { width: 15px; height: 15px; }
.footer-bottom {
	margin-top: 56px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 26px 0 34px;
	text-align: center;
	font-size: .76rem;
	color: rgba(255, 255, 255, .55);
	line-height: 1.7;
}
.footer-bottom p { margin: 0 0 .35rem; }

/* ---------- blog layout ---------- */

.blog-layout { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.post-stack { display: grid; gap: 32px; }
.post-stack .postcard-media { aspect-ratio: 21 / 9; }

.blog-search { display: flex; gap: .6rem; max-width: 520px; margin: 2.2rem auto 0; }
.blog-search input {
	flex: 1;
	font-family: var(--font-body);
	font-size: .93rem;
	padding: .9rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.blog-search input:focus { outline: 2px solid rgba(200, 154, 92, .35); border-color: var(--gold); }
.blog-search .btn { width: auto; }

.blog-side { display: grid; gap: 26px; position: sticky; top: 110px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 28px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.side-cats a {
	display: block;
	padding: .6rem .9rem;
	border-radius: var(--radius);
	font-size: .87rem;
	color: var(--body);
	background: var(--cream);
}
.side-cats a:hover { background: var(--cream-2); color: var(--navy); }
.side-cats a.is-active { background: var(--navy); color: #fff; }

.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.recent-list li { display: flex; gap: 14px; margin: 0; }
.recent-thumb { width: 62px; height: 62px; border-radius: var(--radius); overflow: hidden; flex: none; background: var(--cream-2); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-list .cat { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: .25rem; }
.recent-title { display: block; font-family: var(--font-display); font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.recent-title:hover { color: var(--gold); }
.recent-date { display: block; font-size: .74rem; color: var(--muted); margin-top: .3rem; }

.side-card--navy { background: var(--navy-deep); border-color: var(--navy-deep); color: rgba(255, 255, 255, .74); text-align: center; }
.side-card--navy h3 { color: #fff; font-size: .98rem; }
.side-card--navy p { font-size: .85rem; }
.side-card--navy .avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem;
}
.side-card--navy .avatar svg { width: 30px; height: 30px; }
.side-card--navy .btn-row { margin-top: 1.4rem; }
.side-card--navy .btn { width: 100%; }

.disclaimer-card { display: flex; gap: 18px; align-items: flex-start; max-width: 900px; margin: 0 auto; }
.disclaimer-card svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: .2rem; }
.disclaimer-card p { font-size: .88rem; }

/* ---------- long-form service copy ---------- */

.prose { max-width: 860px; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin-top: 2rem; }
.prose p { font-size: 1rem; }
.prose ul { margin-bottom: 1.4rem; }
.prose li { font-size: 1rem; }
.prose > :first-child { margin-top: 0; }

.prose-wide { max-width: 100%; }
.prose-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 62px; align-items: start; }
.prose-aside { position: sticky; top: 120px; display: grid; gap: 22px; }

@media (max-width: 1024px) {
	.prose-split { grid-template-columns: 1fr; gap: 40px; }
	.prose-aside { position: static; }
}

/* ---------- utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 1.2rem; }
.mt-4 { margin-top: 1.8rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
	.mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 1024px) {
	.longform { grid-template-columns: 1fr; gap: 40px; }
	.legal { grid-template-columns: 1fr; gap: 36px; }
	.legal-side { position: static; }
	.quickfacts .grid { grid-template-columns: repeat(3, 1fr); }
	.blog-layout { grid-template-columns: 1fr; gap: 48px; }
	.blog-side { position: static; grid-template-columns: repeat(2, 1fr); }
	.sitefooter .grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1120px) {
	.navtoggle { display: inline-flex; }
	.mainnav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-card);
		padding: 12px 24px 22px;
	}
	.siteheader > .container { position: relative; }
	.siteheader.is-open .mainnav { display: block; }
	.mainnav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.mainnav > ul > li { border-bottom: 1px solid var(--line-soft); }
	.mainnav > ul > li > a { padding: .85rem 0; }
	.mainnav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 .6rem .9rem;
		min-width: 0;
	}
	.mainnav > ul > li.has-mega { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.mainnav .has-mega > a::after { display: none; }
	.mega-toggle { display: inline-flex; }
	.mega {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: 0;
		padding: 0;
		display: none;
		width: 100%;
	}
	.has-mega.is-open > .mega { display: block; padding: 0 0 1rem; }
	.has-mega:hover > .mega:not(.is-open) { display: none; }
	.has-mega.is-open:hover > .mega { display: block; }
	.mega .container { padding: 0; }
	.mega-grid { grid-template-columns: 1fr; gap: 22px; }
	.mega .mega-head { font-size: 1rem; padding-bottom: 10px; margin-bottom: 10px; }
	.mainnav .has-mega > a::after { float: right; margin-top: .5rem; }
	.header-phone { display: none; }
}

@media (max-width: 820px) {
	.section { padding: 62px 0; }
	.hero { padding: 54px 0 50px; }
	.hero .container, .split, .grid-2, .grid-3,
	.cta-gold .container, .cta-white .container,
	.form-grid { grid-template-columns: 1fr; gap: 34px; }
	.cta-gold .btn-row, .cta-white .btn-row { justify-content: flex-start; }
	.hero-media { order: -1; }
	.checklist--2col { columns: 1; }
	.trustbar .container { justify-content: center; text-align: center; }
	.trustbar ul { justify-content: center; gap: 1.4rem; }
}

@media (max-width: 640px) {
	.quickfacts .grid { grid-template-columns: repeat(2, 1fr); }
	.grid-4, .steps { grid-template-columns: 1fr; }
	.sitefooter .grid { grid-template-columns: 1fr; }
	.faq { padding: 4px 22px; }
	.card { padding: 26px 24px; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
	.header-actions .btn, .blog-search .btn { width: auto; }
	.header-actions .btn { padding: .8rem 1rem; font-size: .82rem; }
}

/* Small phones: shorten the header CTA so the bar never overflows. */
@media (max-width: 620px) {
	.siteheader > .container { gap: .7rem; }
	.header-actions { min-width: 0; }
	.header-actions .btn { padding: .75rem .95rem; font-size: .8rem; }
	.cta-full { display: none; }
	.cta-short { display: inline; }
	.topbar .container { font-size: .7rem; gap: .5rem; padding-top: 6px; padding-bottom: 6px; }
	.topbar span { gap: .5rem; flex-wrap: wrap; justify-content: center; }
	.blog-side { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
	.container { padding: 0 16px; }
	.brand svg { width: 28px; height: 28px; }
	.brand-name { font-size: .82rem; }
	.brand { gap: .45rem; }
	.topbar .container { font-size: .7rem; gap: .7rem; }
	.topbar span { gap: .7rem; }
}
