/*
Theme Name: iaciclo360 Theme
Theme URI: https://iaciclo360.com/
Author: IACiclo360
Description: Tema de bloques ligero para la capa de presentación de IACiclo360.
Version: 0.2.0-dev
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: iaciclo360-theme
*/

/*
 * Component CSS consumes semantic variables emitted by theme.json.
 * Breakpoint literals mirror theme.json because CSS variables cannot be used
 * in media query conditions.
 */

:root {
	color-scheme: light dark;
}

:root[data-theme="light"],
.iac360-theme-preview--light {
	--wp--custom--color--background: var(--wp--preset--color--neutral-50);
	--wp--custom--color--surface: var(--wp--preset--color--white);
	--wp--custom--color--surface-subtle: var(--wp--preset--color--neutral-100);
	--wp--custom--color--surface-strong: var(--wp--preset--color--neutral-900);
	--wp--custom--color--text: var(--wp--preset--color--ink);
	--wp--custom--color--text-muted: var(--wp--preset--color--neutral-600);
	--wp--custom--color--text-inverse: var(--wp--preset--color--white);
	--wp--custom--color--border: var(--wp--preset--color--neutral-200);
	--wp--custom--color--border-strong: var(--wp--preset--color--neutral-300);
	--wp--custom--color--accent: var(--wp--preset--color--primary-700);
	--wp--custom--color--accent-hover: var(--wp--preset--color--primary-900);
	--wp--custom--color--accent-soft: var(--wp--preset--color--primary-100);
	--wp--custom--color--focus: var(--wp--preset--color--primary-600);
	--wp--custom--color--success-text: var(--wp--preset--color--success);
	--wp--custom--color--success-surface: var(--wp--preset--color--success-soft);
	--wp--custom--color--warning-text: var(--wp--preset--color--warning);
	--wp--custom--color--warning-surface: var(--wp--preset--color--warning-soft);
	--wp--custom--color--danger-text: var(--wp--preset--color--danger);
	--wp--custom--color--danger-surface: var(--wp--preset--color--danger-soft);
	--wp--custom--color--info-text: var(--wp--preset--color--info);
	--wp--custom--color--info-surface: var(--wp--preset--color--info-soft);
}

:root[data-theme="dark"],
.iac360-theme-preview--dark {
	--wp--custom--color--background: var(--wp--preset--color--neutral-950);
	--wp--custom--color--surface: var(--wp--preset--color--neutral-900);
	--wp--custom--color--surface-subtle: var(--wp--preset--color--neutral-800);
	--wp--custom--color--surface-strong: var(--wp--preset--color--neutral-100);
	--wp--custom--color--text: var(--wp--preset--color--neutral-100);
	--wp--custom--color--text-muted: var(--wp--preset--color--neutral-400);
	--wp--custom--color--text-inverse: var(--wp--preset--color--ink);
	--wp--custom--color--border: var(--wp--preset--color--neutral-700);
	--wp--custom--color--border-strong: var(--wp--preset--color--neutral-600);
	--wp--custom--color--accent: var(--wp--preset--color--primary-400);
	--wp--custom--color--accent-hover: var(--wp--preset--color--primary-100);
	--wp--custom--color--accent-soft: var(--wp--preset--color--primary-900);
	--wp--custom--color--focus: var(--wp--preset--color--primary-400);
	--wp--custom--color--success-text: var(--wp--preset--color--success-light);
	--wp--custom--color--success-surface: var(--wp--preset--color--success-dark);
	--wp--custom--color--warning-text: var(--wp--preset--color--warning-light);
	--wp--custom--color--warning-surface: var(--wp--preset--color--warning-dark);
	--wp--custom--color--danger-text: var(--wp--preset--color--danger-light);
	--wp--custom--color--danger-surface: var(--wp--preset--color--danger-dark);
	--wp--custom--color--info-text: var(--wp--preset--color--info-light);
	--wp--custom--color--info-surface: var(--wp--preset--color--info-dark);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--wp--custom--color--background: var(--wp--preset--color--neutral-950);
		--wp--custom--color--surface: var(--wp--preset--color--neutral-900);
		--wp--custom--color--surface-subtle: var(--wp--preset--color--neutral-800);
		--wp--custom--color--surface-strong: var(--wp--preset--color--neutral-100);
		--wp--custom--color--text: var(--wp--preset--color--neutral-100);
		--wp--custom--color--text-muted: var(--wp--preset--color--neutral-400);
		--wp--custom--color--text-inverse: var(--wp--preset--color--ink);
		--wp--custom--color--border: var(--wp--preset--color--neutral-700);
		--wp--custom--color--border-strong: var(--wp--preset--color--neutral-600);
		--wp--custom--color--accent: var(--wp--preset--color--primary-400);
		--wp--custom--color--accent-hover: var(--wp--preset--color--primary-100);
		--wp--custom--color--accent-soft: var(--wp--preset--color--primary-900);
		--wp--custom--color--focus: var(--wp--preset--color--primary-400);
		--wp--custom--color--success-text: var(--wp--preset--color--success-light);
		--wp--custom--color--success-surface: var(--wp--preset--color--success-dark);
		--wp--custom--color--warning-text: var(--wp--preset--color--warning-light);
		--wp--custom--color--warning-surface: var(--wp--preset--color--warning-dark);
		--wp--custom--color--danger-text: var(--wp--preset--color--danger-light);
		--wp--custom--color--danger-surface: var(--wp--preset--color--danger-dark);
		--wp--custom--color--info-text: var(--wp--preset--color--info-light);
		--wp--custom--color--info-surface: var(--wp--preset--color--info-dark);
	}
}

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

html {
	background: var(--wp--custom--color--background);
}

body {
	min-height: 100vh;
	background: var(--wp--custom--color--background);
	color: var(--wp--custom--color--text);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: var(--wp--custom--border--strong) solid var(--wp--custom--color--focus);
	outline-offset: var(--wp--preset--spacing--20);
}

a {
	text-underline-offset: var(--wp--preset--spacing--20);
	transition:
		color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing),
		text-decoration-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

a:hover {
	color: var(--wp--custom--color--accent-hover);
	text-decoration: underline;
}

.iac360-main {
	min-height: calc(100vh - var(--wp--custom--layout--header-height));
}

.is-style-iac360-container {
	width: min(100%, var(--wp--style--global--wide-size));
	margin-inline: auto;
	padding-inline: var(--wp--custom--layout--container-inline);
}

.is-style-iac360-section {
	padding-block: var(--wp--custom--layout--section-block);
}

.is-style-iac360-card,
.is-style-iac360-kpi-card,
.is-style-iac360-feature-card,
.is-style-iac360-pricing-card,
.is-style-iac360-testimonial-card,
.is-style-iac360-empty-state {
	position: relative;
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--custom--color--surface);
	box-shadow: var(--wp--preset--shadow--xs);
}

/* Firma visual: marcas de esquina tipo plano técnico, en dos esquinas opuestas. */
.is-style-iac360-card::before,
.is-style-iac360-card::after,
.is-style-iac360-feature-card::before,
.is-style-iac360-feature-card::after,
.is-style-iac360-pricing-card::before,
.is-style-iac360-pricing-card::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	pointer-events: none;
}

.is-style-iac360-card::before,
.is-style-iac360-feature-card::before,
.is-style-iac360-pricing-card::before {
	top: -1px;
	left: -1px;
	border-top: 2px solid var(--wp--custom--color--accent);
	border-left: 2px solid var(--wp--custom--color--accent);
}

.is-style-iac360-card::after,
.is-style-iac360-feature-card::after,
.is-style-iac360-pricing-card::after {
	bottom: -1px;
	right: -1px;
	border-bottom: 2px solid var(--wp--custom--color--accent);
	border-right: 2px solid var(--wp--custom--color--accent);
}

.is-style-iac360-card,
.is-style-iac360-feature-card,
.is-style-iac360-testimonial-card {
	padding: var(--wp--preset--spacing--60);
}

.is-style-iac360-card,
.is-style-iac360-feature-card {
	transition:
		border-color var(--wp--custom--motion--duration-base) var(--wp--custom--motion--easing),
		box-shadow var(--wp--custom--motion--duration-base) var(--wp--custom--motion--easing),
		transform var(--wp--custom--motion--duration-base) var(--wp--custom--motion--easing);
}

.is-style-iac360-card:hover,
.is-style-iac360-feature-card:hover {
	border-color: var(--wp--custom--color--border-strong);
	box-shadow: var(--wp--preset--shadow--sm);
	transform: translateY(calc(var(--wp--custom--border--strong) * -1));
}

.is-style-iac360-kpi-card {
	padding: var(--wp--preset--spacing--50);
}

.is-style-iac360-kpi-card .iac360-kpi-value {
	color: var(--wp--custom--color--text);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: var(--wp--custom--typography--weight-bold);
	font-variant-numeric: tabular-nums;
	line-height: var(--wp--custom--typography--line-height-compact);
}

.is-style-iac360-pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--60);
}

.is-style-iac360-pricing-card.is-featured {
	border-color: var(--wp--custom--color--accent);
	box-shadow: var(--wp--preset--shadow--md);
}

.is-style-iac360-testimonial-card {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

.is-style-iac360-empty-state {
	display: grid;
	justify-items: center;
	padding: var(--wp--preset--spacing--70);
	text-align: center;
}

.is-style-iac360-icon-wrapper {
	display: inline-grid;
	width: var(--wp--custom--icon--size);
	height: var(--wp--custom--icon--size);
	margin: 0;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--accent-soft);
	color: var(--wp--custom--color--accent);
	place-items: center;
}

.is-style-iac360-badge,
.is-style-iac360-tag,
.is-style-iac360-eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: var(--wp--custom--typography--weight-bold);
	letter-spacing: 0.08em;
	line-height: var(--wp--custom--typography--line-height-compact);
}

.is-style-iac360-badge,
.is-style-iac360-tag {
	border-radius: var(--wp--custom--radius--pill);
}

.is-style-iac360-badge {
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	background: var(--wp--custom--color--accent-soft);
	color: var(--wp--custom--color--accent);
	text-transform: uppercase;
}

.is-style-iac360-tag {
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	background: var(--wp--custom--color--surface);
	color: var(--wp--custom--color--text-muted);
}

.is-style-iac360-eyebrow {
	color: var(--wp--custom--color--accent);
	text-transform: uppercase;
}

.is-style-iac360-notice {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--50);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--surface-subtle);
}

.is-style-iac360-notice.is-info {
	border-color: var(--wp--custom--color--info-text);
	background: var(--wp--custom--color--info-surface);
	color: var(--wp--custom--color--info-text);
}

.is-style-iac360-notice.is-success {
	border-color: var(--wp--custom--color--success-text);
	background: var(--wp--custom--color--success-surface);
	color: var(--wp--custom--color--success-text);
}

.is-style-iac360-notice.is-warning {
	border-color: var(--wp--custom--color--warning-text);
	background: var(--wp--custom--color--warning-surface);
	color: var(--wp--custom--color--warning-text);
}

.is-style-iac360-notice.is-danger {
	border-color: var(--wp--custom--color--danger-text);
	background: var(--wp--custom--color--danger-surface);
	color: var(--wp--custom--color--danger-text);
}

.wp-block-button[class*="is-style-iac360-"] .wp-block-button__link,
.iac360-nav-cta .wp-block-navigation-item__content {
	display: inline-flex;
	min-height: var(--wp--custom--control--min-height);
	align-items: center;
	justify-content: center;
	padding: var(--wp--custom--control--padding-block) var(--wp--custom--control--padding-inline);
	border: var(--wp--custom--border--thin) solid transparent;
	border-radius: var(--wp--custom--radius--md);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--typography--weight-semibold);
	line-height: var(--wp--custom--typography--line-height-control);
	text-decoration: none;
	transition:
		background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing),
		border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing),
		color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--easing);
}

.wp-block-button.is-style-iac360-primary .wp-block-button__link,
.iac360-nav-cta .wp-block-navigation-item__content {
	background: var(--wp--custom--color--accent);
	color: var(--wp--custom--color--text-inverse);
}

.wp-block-button.is-style-iac360-primary .wp-block-button__link:hover,
.iac360-nav-cta .wp-block-navigation-item__content:hover {
	background: var(--wp--custom--color--accent-hover);
	color: var(--wp--custom--color--text-inverse);
	text-decoration: none;
}

.wp-block-button.is-style-iac360-secondary .wp-block-button__link {
	border-color: var(--wp--custom--color--border-strong);
	background: var(--wp--custom--color--surface);
	color: var(--wp--custom--color--text);
}

.wp-block-button.is-style-iac360-secondary .wp-block-button__link:hover {
	border-color: var(--wp--custom--color--accent);
	color: var(--wp--custom--color--accent);
	text-decoration: none;
}

.wp-block-button.is-style-iac360-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--custom--color--accent);
}

.wp-block-button.is-style-iac360-ghost .wp-block-button__link:hover {
	background: var(--wp--custom--color--accent-soft);
	text-decoration: none;
}

.iac360-site-header {
	position: relative;
	z-index: var(--wp--custom--z-index--header);
	border-bottom: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	background: var(--wp--custom--color--surface);
}

.iac360-header-inner {
	min-height: var(--wp--custom--layout--header-height);
}

.iac360-brand {
	flex-shrink: 0;
}

.iac360-brand .wp-block-site-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--typography--weight-bold);
	letter-spacing: var(--wp--custom--typography--letter-spacing-tight);
}

.iac360-brand .wp-block-site-logo img {
	width: auto;
	max-height: var(--wp--custom--icon--size);
}

.iac360-brand a,
.wp-block-navigation a {
	color: var(--wp--custom--color--text);
}

.wp-block-navigation a:hover {
	color: var(--wp--custom--color--accent);
}

.wp-block-navigation__responsive-container.is-menu-open {
	z-index: var(--wp--custom--z-index--overlay);
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--custom--color--surface);
	color: var(--wp--custom--color--text);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: var(--wp--preset--spacing--30);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	min-height: var(--wp--custom--control--min-height);
	display: flex;
	align-items: center;
}

.iac360-site-footer {
	border-top: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	background: var(--wp--custom--color--surface);
}

.iac360-footer-inner {
	padding-block: var(--wp--preset--spacing--70);
}

.iac360-footer-meta {
	color: var(--wp--custom--color--text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.iac360-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--card-min)), 1fr));
	gap: var(--wp--preset--spacing--50);
}

.iac360-section--subtle {
	background: var(--wp--custom--color--surface-subtle);
}

.iac360-section-heading {
	max-width: var(--wp--style--global--content-size);
}

.iac360-section-heading p {
	color: var(--wp--custom--color--text-muted);
}

.iac360-hero {
	overflow: hidden;
	background: var(--wp--custom--color--surface);
}

.iac360-hero-copy {
	max-width: var(--wp--style--global--content-size);
}

.iac360-hero-copy > p:not(.is-style-iac360-eyebrow) {
	color: var(--wp--custom--color--text-muted);
	font-size: var(--wp--preset--font-size--lg);
}

.iac360-cta {
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--color--surface-subtle);
	color: var(--wp--custom--color--text);
	box-shadow: var(--wp--preset--shadow--sm);
}

.iac360-cta :where(h2, p) {
	color: inherit;
}

.iac360-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--card-min)), 1fr));
	gap: var(--wp--preset--spacing--40);
}

.iac360-form-field {
	display: grid;
	gap: var(--wp--preset--spacing--20);
}

.iac360-form-field label {
	color: var(--wp--custom--color--text);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--typography--weight-semibold);
}

.iac360-form-field :where(input, select, textarea) {
	width: 100%;
	min-height: var(--wp--custom--control--min-height);
	padding: var(--wp--custom--control--padding-block) var(--wp--preset--spacing--40);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border-strong);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--surface);
	color: var(--wp--custom--color--text);
	font: inherit;
}

.iac360-form-field :where(input, select, textarea)::placeholder {
	color: var(--wp--custom--color--text-muted);
}

.iac360-form-field.is-error :where(input, select, textarea) {
	border-color: var(--wp--custom--color--danger-text);
}

.iac360-field-help,
.iac360-field-error {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
}

.iac360-field-help {
	color: var(--wp--custom--color--text-muted);
}

.iac360-field-error {
	color: var(--wp--custom--color--danger-text);
	font-weight: var(--wp--custom--typography--weight-semibold);
}

.iac360-theme-preview {
	padding: var(--wp--preset--spacing--60);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--color--background);
	color: var(--wp--custom--color--text);
}

.iac360-swatch {
	min-height: var(--wp--custom--icon--size-large);
	padding: var(--wp--preset--spacing--40);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--md);
}

.iac360-development-banner {
	border-bottom: var(--wp--custom--border--thin) solid var(--wp--custom--color--warning-text);
	background: var(--wp--custom--color--warning-surface);
	color: var(--wp--custom--color--warning-text);
}

.iac360-legal-main {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80);
}

.iac360-legal-document {
	display: grid;
	gap: var(--wp--preset--spacing--60);
}

.iac360-legal-breadcrumbs {
	color: var(--wp--custom--color--text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.iac360-legal-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.iac360-legal-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.iac360-legal-breadcrumbs li:not(:last-child)::after {
	content: "/";
	color: var(--wp--custom--color--border-strong);
}

.iac360-legal-breadcrumbs [aria-current="page"] {
	color: var(--wp--custom--color--text);
	font-weight: var(--wp--custom--typography--weight-semibold);
}

.iac360-legal-header {
	max-width: var(--wp--custom--layout--legal-content);
}

.iac360-legal-header h1 {
	margin-block: var(--wp--preset--spacing--30) 0;
}

.iac360-legal-header > p:last-child {
	color: var(--wp--custom--color--text-muted);
}

.iac360-legal-metadata {
	padding: var(--wp--preset--spacing--50);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--color--surface-subtle);
}

.iac360-legal-metadata dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	margin: 0;
}

.iac360-legal-metadata div {
	min-width: 0;
}

.iac360-legal-metadata dt {
	color: var(--wp--custom--color--text-muted);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: var(--wp--custom--typography--weight-bold);
	letter-spacing: var(--wp--custom--typography--letter-spacing-label);
	text-transform: uppercase;
}

.iac360-legal-metadata dd {
	margin: var(--wp--preset--spacing--20) 0 0;
	overflow-wrap: anywhere;
	font-weight: var(--wp--custom--typography--weight-semibold);
}

.iac360-legal-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--wp--custom--layout--legal-sidebar)) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--70);
	align-items: start;
}

.iac360-legal-toc {
	position: sticky;
	top: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--40));
	padding: var(--wp--preset--spacing--50);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--surface);
}

.iac360-legal-toc p {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.iac360-legal-toc ul {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	margin-block-end: 0;
	padding-inline-start: var(--wp--preset--spacing--50);
}

.iac360-legal-toc a {
	display: inline-flex;
	min-height: var(--wp--custom--control--min-height);
	align-items: center;
}

.iac360-legal-content {
	width: min(100%, var(--wp--custom--layout--legal-content));
	min-width: 0;
}

.iac360-legal-content :where(h2, h3, h4) {
	scroll-margin-top: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--50));
}

.iac360-legal-content :where(a, code) {
	overflow-wrap: anywhere;
}

.iac360-legal-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.iac360-legal-placeholder {
	padding: var(--wp--preset--spacing--60);
	border: var(--wp--custom--border--thin) dashed var(--wp--custom--color--border-strong);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--surface-subtle);
}

.iac360-legal-placeholder p {
	color: var(--wp--custom--color--text-muted);
}

.iac360-legal-contact {
	padding: var(--wp--preset--spacing--60);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--color--surface);
}

.iac360-legal-navigation {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--layout--legal-sidebar)), 1fr));
	gap: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--60);
	border-top: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
}

.iac360-legal-navigation > * {
	min-width: 0;
}

.iac360-legal-navigation a {
	display: flex;
	min-height: var(--wp--custom--control--min-height);
	align-items: center;
	overflow-wrap: anywhere;
	font-weight: var(--wp--custom--typography--weight-semibold);
}

.iac360-legal-navigation__index {
	justify-content: center;
	text-align: center;
}

.iac360-legal-navigation__next {
	justify-content: flex-end;
	text-align: right;
}

.iac360-legal-footer {
	border-top: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	background: var(--wp--custom--color--surface-subtle);
}

.iac360-legal-footer__inner {
	padding-block: var(--wp--preset--spacing--50);
}

.iac360-legal-footer__inner p {
	margin: 0;
	color: var(--wp--custom--color--text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.iac360-legal-footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	margin: 0;
	padding: 0;
	list-style: none;
}

.iac360-legal-footer-navigation a {
	display: inline-flex;
	min-height: var(--wp--custom--control--min-height);
	align-items: center;
}

.iac360-legal-index {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

.iac360-legal-index > .wp-block-group {
	padding: var(--wp--preset--spacing--50);
	border: var(--wp--custom--border--thin) solid var(--wp--custom--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--color--surface);
}

.iac360-legal-index h2 {
	margin-block-start: 0;
}

@media (max-width: 64rem) {
	.iac360-header-inner {
		gap: var(--wp--preset--spacing--40);
	}

	.iac360-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.iac360-site-header .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.iac360-legal-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--60);
	}

	.iac360-legal-toc {
		position: static;
	}
}

@media (max-width: 48rem) {
	.is-style-iac360-card,
	.is-style-iac360-feature-card,
	.is-style-iac360-pricing-card,
	.is-style-iac360-testimonial-card {
		padding: var(--wp--preset--spacing--50);
	}

	.iac360-footer-inner > .wp-block-group {
		align-items: flex-start;
		flex-direction: column;
	}

	.iac360-legal-main {
		padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
	}

	.iac360-legal-metadata dl,
	.iac360-legal-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.iac360-legal-navigation__index,
	.iac360-legal-navigation__next {
		justify-content: flex-start;
		text-align: left;
	}
}

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