/* AZ Divorce System - Frontend styles */

/* Match Kadence/theme accent for consistency */
.azd-cost-calculator,
.azd-client-dashboard,
.azd-dashboard-links a {
	--azd-accent: var(--global-palette1, #1a7efb);
	--azd-accent-hover: var(--global-palette2, #1565c0);
}

.azd-cost-calculator {
	max-width: 420px;
	margin: 0 auto;
	padding: 2rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.azd-cost-calculator h3 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.azd-cost-field {
	margin-bottom: 1rem;
}

.azd-cost-field label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 500;
}

.azd-cost-field select {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.azd-cost-calc-button {
	padding: 0.75rem 1.5rem;
	background: var(--azd-accent, #1a7efb);
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	margin-bottom: 1rem;
	transition: background 0.2s ease;
}

.azd-cost-calc-button:hover {
	background: var(--azd-accent-hover, #1565c0);
}

.azd-cost-results {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
}

.azd-start-divorce-button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--azd-accent, #1a7efb);
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	margin-top: 0.5rem;
	transition: background 0.2s ease;
}

.azd-start-divorce-button:hover {
	background: var(--azd-accent-hover, #1565c0);
}

/* ========================================
   Client Portal
   ======================================== */

.azd-client-portal {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
}

@media (max-width: 782px) {
	.azd-client-portal {
		grid-template-columns: 1fr;
		padding: 1rem;
	}
}

/* Sidebar */
.azd-portal-sidebar {
	position: sticky;
	top: 2rem;
	height: fit-content;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width: 782px) {
	.azd-portal-sidebar {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		justify-content: center;
	}
}

.azd-portal-nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

@media (max-width: 782px) {
	.azd-portal-nav {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
}

.azd-nav-link {
	display: block;
	padding: 0.5rem 0.75rem;
	color: var(--azd-accent, #1a7efb);
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.95rem;
	transition: background 0.2s, color 0.2s;
}

.azd-nav-link:hover {
	background: rgba(26, 126, 251, 0.08);
	color: var(--azd-accent-hover, #1565c0);
}

.azd-portal-logout {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.azd-nav-logout {
	color: #666;
	font-size: 0.9rem;
}

.azd-nav-logout:hover {
	color: #c62828;
	background: rgba(198, 40, 40, 0.06);
}

/* Main content */
.azd-portal-main {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Cards */
.azd-portal-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.azd-card-title {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.azd-card-desc {
	margin: 0 0 1rem;
	color: #666;
	font-size: 0.95rem;
}

/* Dashboard */
.azd-dashboard-summary .azd-card-title {
	font-size: 1.5rem;
}

.azd-dashboard-intro {
	margin: 0 0 1.25rem;
	color: #555;
}

.azd-dashboard-stage-highlight {
	background: #eef5ff;
	border: 1px solid #c7dcff;
	border-left: 4px solid var(--azd-accent, #1a7efb);
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin: 0 0 1rem;
}

.azd-dashboard-stage-line {
	margin: 0.1rem 0;
	font-size: 0.95rem;
	color: #243b64;
}

.azd-dashboard-stage-item + .azd-dashboard-stage-item {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #d7e6ff;
}

.azd-dashboard-stage-item-active {
	background: #ffffff;
	border: 1px solid #9fc0ff;
	border-left: 4px solid #1a7efb;
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	box-shadow: 0 1px 6px rgba(26, 126, 251, 0.14);
}

.azd-dashboard-stage-item-active .azd-dashboard-stage-title {
	color: #1d4fa8;
}

.azd-dashboard-stage-title {
	margin: 0 0 0.2rem;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: #4a628d;
}

.azd-dashboard-progress {
	margin: 1rem 0 1.25rem;
	padding: 0.85rem 1rem;
	background: #f8fbff;
	border: 1px solid #d7e6ff;
	border-radius: 10px;
}

.azd-dashboard-progress .azd-case-progress-tracker {
	display: block;
	margin-top: 0.5rem;
}

.azd-dashboard-progress .azd-step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.azd-dashboard-progress .azd-step + .azd-step {
	margin-top: 0.7rem;
}

.azd-dashboard-progress .azd-step:not(:last-child)::after {
	content: "↓";
	position: absolute;
	left: 10px;
	bottom: -0.95rem;
	color: #86a2cf;
	font-size: 0.85rem;
	line-height: 1;
}

.azd-dashboard-stats {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.azd-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.azd-stat-label {
	font-size: 0.85rem;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.azd-stat-value {
	font-weight: 600;
	font-size: 1.05rem;
}

.azd-badge {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
}

.azd-badge-success {
	background: #e8f5e9;
	color: #2e7d32;
}

.azd-badge-warning {
	background: #fff3e0;
	color: #e65100;
}

.azd-payment-notice {
	margin: 0 0 0.9rem;
	padding: 0.65rem 0.8rem;
	border-radius: 8px;
	font-size: 0.92rem;
}

.azd-payment-notice-success {
	background: #e8f5e9;
	color: #1f6b26;
	border: 1px solid #b7dfbb;
}

.azd-payment-notice-error {
	background: #fff3f1;
	color: #8d2f2a;
	border: 1px solid #f2c0bc;
}

.azd-dashboard-quicklinks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.azd-quicklink {
	padding: 0.4rem 0.75rem;
	background: rgba(26, 126, 251, 0.1);
	color: var(--azd-accent, #1a7efb);
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.9rem;
	transition: background 0.2s;
}

.azd-quicklink:hover {
	background: rgba(26, 126, 251, 0.18);
}

/* Case progress tracker */
.azd-case-progress {
	margin: 0;
}

.azd-stage-highlight {
	background: #eef5ff;
	border: 1px solid #c7dcff;
	border-left: 4px solid var(--azd-accent, #1a7efb);
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
}

.azd-stage-current,
.azd-stage-timeline {
	margin: 0.1rem 0;
	font-size: 0.95rem;
}

.azd-case-progress-tracker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.azd-step {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 1 auto;
	min-width: 0;
}

.azd-step-marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #666;
	font-size: 0.85rem;
	font-weight: 600;
	flex-shrink: 0;
}

.azd-step-completed .azd-step-marker {
	background: #2e7d32;
	color: #fff;
}

.azd-step-current .azd-step-marker {
	background: var(--azd-accent, #1a7efb);
	color: #fff;
}

.azd-step-label {
	font-size: 0.9rem;
	color: #555;
}

.azd-step-current .azd-step-label {
	color: #1a1a1a;
	font-weight: 500;
}

@media (max-width: 600px) {
	.azd-case-progress-tracker {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* Messages – chat-like thread */
.azd-message-thread {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
	max-height: 400px;
	overflow-y: auto;
	padding-right: 0.25rem;
}

.azd-message-thread::-webkit-scrollbar {
	width: 6px;
}

.azd-message-thread::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.azd-message {
	padding: 1rem 1.25rem;
	border-radius: 12px;
	max-width: 85%;
}

/* Client messages (You) – right-aligned */
.azd-message.azd-message-client {
	align-self: flex-end;
	background: rgba(26, 126, 251, 0.1);
	border: 1px solid rgba(26, 126, 251, 0.2);
	border-bottom-right-radius: 4px;
}

/* Staff messages – left-aligned */
.azd-message.azd-message-staff {
	align-self: flex-start;
	background: #f5f5f5;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-bottom-left-radius: 4px;
}

.azd-message-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.azd-message-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.azd-message-client .azd-message-badge {
	background: rgba(26, 126, 251, 0.2);
	color: var(--azd-accent, #1a7efb);
}

.azd-message-staff .azd-message-badge {
	background: rgba(0, 0, 0, 0.08);
	color: #555;
}

.azd-message-author {
	font-size: 0.95rem;
	font-weight: 500;
}

.azd-message-date {
	font-size: 0.8rem;
	color: #888;
}

.azd-message-body {
	font-size: 0.95rem;
	line-height: 1.55;
}

.azd-message-body p {
	margin: 0 0 0.5rem;
}

.azd-message-body p:last-child {
	margin-bottom: 0;
}

/* Reply form – clearer separation */
.azd-messages-reply-section {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.azd-send-message-form .azd-form-row {
	margin-bottom: 1rem;
}

.azd-send-message-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	font-size: 0.9rem;
}

.azd-send-message-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
}

.azd-send-message-form textarea:focus {
	outline: none;
	border-color: var(--azd-accent, #1a7efb);
	box-shadow: 0 0 0 3px rgba(26, 126, 251, 0.15);
}

.azd-notice-success {
	padding: 0.75rem 1rem;
	background: #e8f5e9;
	color: #2e7d32;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.azd-notice-error {
	padding: 0.75rem 1rem;
	background: #ffebee;
	color: #c62828;
	border-radius: 8px;
	margin-bottom: 1rem;
}

/* Payments */
.azd-payment-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Profile */
.azd-profile-fields {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem 1.5rem;
	margin: 0 0 1rem;
}

.azd-profile-fields dt {
	font-weight: 500;
	color: #555;
}

.azd-profile-fields dd {
	margin: 0;
}

.azd-profile-actions {
	margin: 0;
}

/* Buttons */
.azd-btn {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.azd-btn-primary {
	background: var(--azd-accent, #1a7efb);
	color: #fff;
}

.azd-btn-primary:hover {
	background: var(--azd-accent-hover, #1565c0);
	color: #fff;
}

.azd-btn-secondary {
	background: transparent;
	color: var(--azd-accent, #1a7efb);
	border: 2px solid var(--azd-accent, #1a7efb);
}

.azd-btn-secondary:hover {
	background: rgba(26, 126, 251, 0.08);
	color: var(--azd-accent-hover, #1565c0);
}

.azd-form-actions {
	margin-top: 0.5rem;
}

/* Empty state */
.azd-empty-state {
	color: #666;
	font-style: italic;
	margin: 0;
}

/* Documents – polished portal layout */
.azd-documents-content {
	margin-top: 1rem;
}

.azd-documents-content .w3eden {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.azd-documents-content .wpdm_packages_shortcode {
	margin: 0;
	padding: 0;
}

.azd-documents-content .wpdm-package,
.azd-documents-content .wpfd-category {
	margin: 0 0 0.75rem;
}

.azd-documents-content .wpdm-package:last-child,
.azd-documents-content .wpfd-category:last-child {
	margin-bottom: 0;
}

/* Document cards – clean, modern */
.azd-documents-content .card {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	margin-bottom: 0.875rem;
	overflow: hidden;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.azd-documents-content .card:hover {
	border-color: rgba(26, 126, 251, 0.3);
	box-shadow: 0 4px 12px rgba(26, 126, 251, 0.08);
}

.azd-documents-content .card:last-child {
	margin-bottom: 0;
}

.azd-documents-content .card-body {
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.azd-documents-content .card-body .media {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 1rem;
}

.azd-documents-content .card-body .img-48,
.azd-documents-content .card-body [class*="img-"] {
	min-width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(26, 126, 251, 0.1);
	border-radius: 10px;
}

.azd-documents-content .card-body .img-48 img {
	max-width: 36px;
	max-height: 36px;
	object-fit: contain;
}

.azd-documents-content .media-heading,
.azd-documents-content .package-title,
.azd-documents-content h3.media-heading {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.azd-documents-content .media-heading a,
.azd-documents-content .package-title a {
	color: inherit;
	text-decoration: none;
}

.azd-documents-content .media-heading a:hover,
.azd-documents-content .package-title a:hover {
	color: var(--azd-accent, #1a7efb);
}

.azd-documents-content .media-body {
	flex: 1;
	min-width: 0;
}

.azd-documents-content .text-muted,
.azd-documents-content .text-white-50,
.azd-documents-content .meta {
	color: #666 !important;
	font-size: 0.8rem;
}

.azd-documents-content .card-footer {
	padding: 0.875rem 1.5rem;
	background: rgba(0, 0, 0, 0.02);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Download button – compact, not full-width bar */
.azd-documents-content .btn,
.azd-documents-content .wpdm-download-link,
.azd-documents-content a.wpdm-download-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.5rem 1.15rem !important;
	width: auto !important;
	max-width: none !important;
	min-width: fit-content;
	background: var(--azd-accent, #1a7efb) !important;
	color: #fff !important;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none !important;
	transition: background 0.2s, transform 0.15s;
}

.azd-documents-content .btn:hover,
.azd-documents-content .wpdm-download-link:hover,
.azd-documents-content a.wpdm-download-link:hover {
	background: var(--azd-accent-hover, #1565c0) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

/* Card footer – keep date and download side by side, button compact */
.azd-documents-content .card-footer .row {
	display: flex !important;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	margin: 0;
}

.azd-documents-content .card-footer [class*="col-"] {
	flex: 0 0 auto !important;
	max-width: none !important;
	padding: 0;
}

.azd-documents-content .card-footer .col-6:first-child {
	flex: 1 1 auto;
}

.azd-documents-content .card-footer .col-6:last-child {
	flex: 0 0 auto;
	text-align: right;
}

/* Single-column grid for package list (not card-footer inner row) */
.azd-documents-content [id^="content_"] > .row {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.azd-documents-content [id^="content_"] > .row > [class*="col-"] {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
}

/* Login */
.azd-login-wrapper {
	max-width: 420px;
	margin: 2rem auto;
	padding: 1rem;
}

.azd-login-box {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.azd-login-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}

.azd-login-desc {
	margin: 0 0 1.5rem;
	color: #666;
	font-size: 0.95rem;
}

.azd-login-box .login-username,
.azd-login-box .login-password,
.azd-login-box .login-remember {
	margin-bottom: 1rem;
}

.azd-login-box label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.azd-login-box input[type="text"],
.azd-login-box input[type="password"] {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
}

.azd-login-box .login-submit {
	margin-top: 1rem;
}

.azd-login-box .login-submit .button {
	padding: 0.65rem 1.5rem;
	background: var(--azd-accent, #1a7efb);
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
}

.azd-login-box .login-submit .button:hover {
	background: var(--azd-accent-hover, #1565c0);
	color: #fff;
}

/* Pending state */
.azd-portal-pending {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 2rem;
}

.azd-portal-pending-inner {
	text-align: center;
	max-width: 400px;
	padding: 2.5rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.azd-portal-pending-inner h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
}

.azd-portal-pending-inner p {
	margin: 0 0 1.5rem;
	color: #666;
}

/* ========================================
   Homepage - Professional Landing Layout
   ======================================== */

.home .entry-content .azd-home {
	margin: 0;
	padding: 72px 24px;
	--azd-home-primary: #1e3a5f;
	--azd-home-secondary: #f4f6f8;
	--azd-home-cta: #f59e0b;
	--azd-home-cta-hover: #d68908;
	--azd-home-bg: #ffffff;
}

/* Hide Kadence page title/header strip on Home only */
.home .entry-hero,
.home .entry-header,
.home h1.entry-title,
.home .page-title {
	display: none !important;
}

/* Keep main site header/nav links visible on Home */
.home .site-header a,
.home .site-header .menu a,
.home .site-header .main-navigation a,
.home .site-header .kt-menu a {
	color: var(--azd-home-primary, #1e3a5f) !important;
}

/* Brand/logo text color aligned with palette */
.home .site-header .site-title,
.home .site-header .site-title a {
	color: var(--azd-home-primary, #1e3a5f) !important;
}

.home .site-header .site-title:hover,
.home .site-header .site-title a:hover {
	color: var(--azd-home-cta, #f59e0b) !important;
}

/* Footer cleanup: keep copyright, remove theme credit + social icons */
.site-footer .footer-widget-area.footer-social,
.site-footer .footer-social-wrap,
.site-footer .footer-social-inner-wrap {
	display: none !important;
}

.site-footer .footer-html,
.site-footer .site-info,
.site-footer .site-info-inner {
	display: block !important;
}

/* Hide Kadence credit link/text and replace with clean copyright line */
.site-footer .footer-html-inner p {
	font-size: 0 !important;
	margin: 0;
}

.site-footer .footer-html-inner p::before {
	content: "\00A9 2026 AZ Divorce Docs";
	font-size: 13px;
	line-height: 1.5;
	color: var(--global-palette6, #6b7280);
}

.site-footer .footer-html-inner a[href*="kadencewp.com"] {
	display: none !important;
}

.home .entry-content .azd-home-wrap {
	max-width: 1160px;
	margin: 0 auto;
}

.azd-home h1,
.azd-home h2,
.azd-home h3 {
	line-height: 1.2;
	margin-top: 0;
}

.azd-home-hero {
	background: linear-gradient(135deg, #eef3f8 0%, #ffffff 58%, #f4f6f8 100%);
	position: relative;
	overflow: hidden;
}

.azd-home-hero .azd-home-wrap {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.azd-home-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(30, 58, 95, 0.18) 0%, rgba(30, 58, 95, 0) 70%);
	pointer-events: none;
}

.azd-eyebrow {
	margin: 0 0 14px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--azd-home-primary, #1e3a5f);
}

.azd-home-hero h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	max-width: 900px;
	margin-bottom: 18px;
	color: var(--azd-home-primary, #1e3a5f);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.azd-subheadline {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: #46566f;
	max-width: 760px;
	margin-bottom: 28px;
	margin-left: auto;
	margin-right: auto;
}

.azd-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
	justify-content: center;
}

.azd-home .azd-btn-primary,
.azd-home .azd-btn-secondary {
	padding: 0.78rem 1.25rem;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	text-decoration: none !important;
}

.azd-home .azd-btn-primary {
	background: var(--azd-home-cta, #f59e0b);
	color: #fff;
}

.azd-home .azd-btn-primary:hover {
	background: var(--azd-home-cta-hover, #d68908);
	color: #fff;
}

.azd-home .azd-btn-secondary {
	background: #fff;
	border-color: rgba(30, 58, 95, 0.32);
	color: var(--azd-home-primary, #1e3a5f);
}

.azd-home .azd-btn-secondary:hover {
	background: var(--azd-home-secondary, #f4f6f8);
	color: var(--azd-home-primary, #1e3a5f);
}

/* In main CTA groups, keep all buttons visually consistent */
.azd-home .azd-hero-cta .azd-btn-secondary {
	background: var(--azd-home-cta, #f59e0b);
	color: #fff;
	border-color: var(--azd-home-cta, #f59e0b);
}

.azd-home .azd-hero-cta .azd-btn-secondary:hover {
	background: var(--azd-home-cta-hover, #d68908);
	color: #fff;
	border-color: var(--azd-home-cta-hover, #d68908);
}

.azd-trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	max-width: 1000px;
	width: 100%;
	justify-content: center;
}

.azd-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	color: #2a3f5e;
	background: #fff;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	text-align: left;
	flex: 0 1 280px;
	max-width: 280px;
}

.azd-icon {
	color: var(--azd-home-cta, #f59e0b);
	font-weight: 700;
	line-height: 1.2;
}

.azd-section-divider {
	border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.azd-home-process {
	background: var(--azd-home-bg, #fff);
}

.azd-home-process h2,
.azd-home-pricing h2,
.azd-home-services h2,
.azd-home-area h2,
.azd-home-final-cta h2 {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	margin-bottom: 26px;
	color: var(--azd-home-primary, #1e3a5f);
}

.azd-process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.azd-process-grid article {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	padding: 16px 18px;
	background: #fff;
	display: flex;
	align-items: center;
	gap: 12px;
}

.azd-process-grid article span {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--azd-home-primary, #1e3a5f);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

.azd-process-grid article p {
	margin: 0;
	font-weight: 500;
	color: #26324c;
}

.azd-home-pricing {
	background: var(--azd-home-secondary, #f4f6f8);
}

.azd-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	margin-bottom: 26px;
}

.azd-pricing-grid article {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
	position: relative;
}

.azd-pricing-grid article::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--azd-home-primary, #1e3a5f), #2f537f);
	border-radius: 14px 14px 0 0;
}

.azd-pricing-grid h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.azd-price {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--azd-home-primary, #1e3a5f);
	margin: 0;
}

.azd-price-note {
	margin-top: 6px;
	color: #5a6478;
	font-size: 0.92rem;
}

.azd-center {
	text-align: center;
}

.azd-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.azd-service-grid a {
	display: block;
	padding: 16px 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	color: #24314d;
	background: #fff;
	transition: all 0.2s ease;
}

.azd-service-grid a strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1rem;
}

.azd-service-grid a small {
	display: block;
	color: #56627c;
	font-weight: 400;
	line-height: 1.45;
}

.azd-service-grid a:hover {
	border-color: rgba(30, 58, 95, 0.35);
	transform: translateY(-1px);
	color: var(--azd-home-primary, #1e3a5f);
}

.azd-home-area {
	background: var(--azd-home-secondary, #f4f6f8);
}

.azd-home-area p {
	margin: 0;
	font-size: 1.08rem;
	color: #2f3a4f;
}

.azd-home-final-cta {
	background: var(--azd-home-primary, #1e3a5f);
	color: #fff;
	text-align: center;
}

.azd-home-final-cta h2 {
	color: #fff;
}

.azd-final-sub {
	margin: -8px 0 22px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
}

.azd-cta-center {
	justify-content: center;
}

.azd-home-final-cta .azd-btn-secondary {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
	background: transparent;
}

.azd-home-final-cta .azd-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

@media (max-width: 782px) {
	.home .entry-content .azd-home {
		padding: 52px 16px;
	}

	.azd-hero-cta {
		flex-direction: column;
	}

	.azd-hero-cta a {
		width: 100%;
		text-align: center;
	}

	.azd-trust-list {
		max-width: 100%;
	}

	.azd-trust-list li {
		flex: 1 1 100%;
		max-width: 100%;
	}
}
