/*
Theme Name: Anderson Lazaro
Theme URI: https://andersonlazaro.com
Description: Personal site theme for andersonlazaro.com. Implements the approved B+ visual system (RIVUS-inspired corporate blue). Block theme, no page builder, no third-party theme dependency, local fonts.
Author: Proyecto Emprendimiento
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: anderson-lazaro
*/

/* ==========================================================================
   B+ approved visual system. Visual source of truth:
   web/andersonlazaro/prototypes/b2-home/  (do not overwrite).
   ========================================================================== */

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
		U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Helvetica, Arial, sans-serif;

	--paper: #ffffff;
	--surface: #edf2f8;
	--hairline: #dee7f0;
	--ink: #0e2136;
	--ink-2: #0b1b2c;
	--hero-bg: #0d2137;

	--text: #132132;
	--text-2: #51617a;
	--on-dark: #c1cede;

	--accent: #2a5ea6;
	--accent-hover: #204b85;
	--accent-on-dark: #8fb4e4;

	/* B+: contact band is calm navy, not a full accent slab */
	--cta-bg: var(--ink);

	/* muted warm — used ONLY inside the Modern <-> Legacy section */
	--legacy-rgb: 158 122 80;
	--legacy-label: #cda27c;
	--modern-rgb: 62 118 200;
	--modern-label: #93baec;

	--wrap: 1180px;
	--gutter: 1.6rem;
	--section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Reset / base ------------------------------------------------- */

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}
html,
body {
	overflow-x: hidden;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3,
h4 {
	font-weight: 600;
	letter-spacing: -0.018em;
	margin: 0;
	color: var(--text);
}
p {
	margin: 0;
}
a {
	color: var(--accent);
}
a:hover {
	color: var(--accent-hover);
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}
.hero :focus-visible,
.pagehead :focus-visible,
.split :focus-visible,
.cta :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
	outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- Layout primitives ----------------------------------------- */

.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.site-main {
	max-width: none !important;
}
.site-main > .wp-block-post-content,
.wp-block-post-content {
	max-width: none;
}
.wp-block-group {
	margin-block: 0;
}
.wp-block-template-part {
	margin: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -3.5rem;
	z-index: 200;
	background: #fff;
	color: var(--text);
	padding: 0.65rem 1.1rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: top 0.2s ease;
}
.skip-link:focus {
	top: 1rem;
}

/* ---------- Eyebrow --------------------------------------------------- */

.eyebrow {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.9rem;
}
.eyebrow .idx {
	display: none;
}
.eyebrow--ondark,
.band-ink .eyebrow,
.hero .eyebrow,
.pagehead .eyebrow,
.split .eyebrow {
	color: var(--accent-on-dark);
}

/* ---------- Buttons ------------------------------------------------- */

.btn,
.wp-block-button__link,
.wp-element-button,
button.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: inherit;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1.2;
	padding: 0.95rem 1.7rem;
	border-radius: 7px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	background: var(--accent);
	color: #fff;
	transition: background-color 0.18s ease, border-color 0.18s ease,
		color 0.18s ease;
}
.btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--accent);
	color: #fff;
}
.btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--accent-hover);
	color: #fff;
}
.btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: #c9d3e2;
	color: var(--text);
}
.btn--ghost {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}
.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}
.band-ink .wp-block-button.is-style-outline .wp-block-button__link,
.hero .wp-block-button.is-style-outline .wp-block-button__link,
.pagehead .wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}
.band-ink .wp-block-button.is-style-outline .wp-block-button__link:hover,
.hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.pagehead .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--text);
	color: var(--text);
}
.btn--invert {
	background: #fff;
	color: var(--accent);
	border-color: #fff;
}
.btn--invert:hover {
	background: #e8eef8;
	color: var(--accent);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wp-block-buttons .wp-block-button {
	margin: 0;
}

.link-arrow {
	display: inline-block;
	margin-top: 0.4rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
}
.link-arrow::after {
	content: " \2192";
}
.link-arrow:hover {
	color: var(--accent-hover);
}

/* ---------- Header -------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.15rem 0;
}
.brand {
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
	text-decoration: none;
	transition: color 0.25s ease;
	white-space: nowrap;
}
.brand:hover {
	color: #fff;
}
.brand-mark {
	display: none;
}
.site-menu {
	display: flex;
	align-items: center;
	gap: 2.2rem;
}
.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.9rem;
}
.site-nav a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: #fff;
}
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}
.lang-switch a {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
}
.lang-switch a.is-current {
	color: #fff;
	font-weight: 600;
}
.lang-switch a:hover {
	color: #fff;
}
.lang-sep {
	opacity: 0.5;
}

.nav-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 7px;
	background: transparent;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
}
.nav-toggle-bar {
	display: block;
	width: 1.2rem;
	height: 2px;
	background: #fff;
}

.site-header.is-solid {
	background: #fff;
	box-shadow: 0 1px 0 var(--hairline), 0 10px 30px -20px rgba(15, 25, 45, 0.35);
}
.site-header.is-solid .brand {
	color: var(--text);
}
.site-header.is-solid .site-nav a {
	color: var(--text-2);
}
.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a[aria-current="page"] {
	color: var(--text);
}
.site-header.is-solid .lang-switch {
	color: var(--text-2);
}
.site-header.is-solid .lang-switch a {
	color: var(--text-2);
}
.site-header.is-solid .lang-switch a.is-current {
	color: var(--text);
}
.site-header.is-solid .nav-toggle {
	border-color: var(--hairline);
}
.site-header.is-solid .nav-toggle-bar {
	background: var(--text);
}

/* ---------- Hero (Home) ------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 88vh;
	overflow: hidden;
	background: var(--hero-bg);
	isolation: isolate;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--hero-bg) url("assets/hero-structure.svg") center / cover
		no-repeat;
}
.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
			103deg,
			rgb(12 31 52 / 0.96) 0%,
			rgb(12 31 52 / 0.88) 30%,
			rgb(12 31 52 / 0.62) 55%,
			rgb(12 31 52 / 0.22) 78%,
			rgb(12 31 52 / 0.06) 100%
		),
		linear-gradient(to top, rgb(8 18 33 / 0.55) 0%, rgb(8 18 33 / 0) 34%);
}
.hero__inner {
	padding-top: clamp(8.5rem, 17vh, 12rem);
	padding-bottom: clamp(4rem, 12vh, 7rem);
	max-width: 53rem;
}
.hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(2.25rem, 4.6vw, 3.4rem);
	line-height: 1.1;
	letter-spacing: -0.022em;
}
.hero__lede {
	margin-top: 1.6rem;
	max-width: 33rem;
	color: var(--on-dark);
	font-size: clamp(1.05rem, 1.55vw, 1.2rem);
	line-height: 1.62;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.4rem;
}

/* ---------- Page header (inner pages) ---------------------------- */

.pagehead {
	position: relative;
	background: var(--ink);
	color: #fff;
	overflow: hidden;
}
.pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			120% 90% at 100% 0%,
			rgba(62, 118, 200, 0.22),
			rgba(62, 118, 200, 0) 60%
		),
		linear-gradient(180deg, #0f2438 0%, #0b1b2c 100%);
	z-index: 0;
}
.pagehead__inner {
	position: relative;
	z-index: 1;
	padding-top: clamp(9rem, 20vh, 12rem);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
	max-width: 48rem;
}
.pagehead h1 {
	color: #fff;
	font-size: clamp(2.1rem, 4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0;
}
.pagehead .lede {
	margin-top: 1.3rem;
	max-width: 40rem;
	color: var(--on-dark);
	font-size: clamp(1.05rem, 1.5vw, 1.18rem);
	line-height: 1.6;
}

/* ---------- Section rhythm ------------------------------------- */

.section {
	padding-block: var(--section-y);
	background: var(--paper);
}
.section--surface,
.band-muted {
	background: var(--surface);
}
.section--paper {
	background: var(--paper);
}

.section-head {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	line-height: 1.12;
}

/* ---------- Two-column section layout (aside + main) --------- */

.cols {
	display: grid;
	grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
}
.cols__aside h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	line-height: 1.12;
}
.cols__note {
	margin-top: 1rem;
	max-width: 22rem;
	color: var(--text-2);
	font-size: 1.02rem;
	line-height: 1.55;
}
.cols__main > * + * {
	margin-top: 1.35rem;
}
.cols__main--prose p {
	max-width: 40rem;
	font-size: 1.13rem;
	line-height: 1.62;
	color: var(--text-2);
}
.cols__main--prose p.lede,
.cols__main--prose > p:first-child {
	font-size: 1.24rem;
	color: var(--text);
}
.cols__main--prose h3 {
	font-size: 1.3rem;
	margin-top: 2.4rem;
}
.cols__main--prose .link-arrow {
	margin-top: 0.6rem;
}

/* ---------- Editorial rows (domains, expertise groups) -------- */

.rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hairline);
}
.rows > li,
.rows__item {
	display: grid;
	grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	gap: 0.6rem 2.5rem;
	align-items: baseline;
	padding: 1.9rem 0;
	border-bottom: 1px solid var(--hairline);
}
.rows h3 {
	font-size: 1.5rem;
	letter-spacing: -0.012em;
	margin: 0;
}
.rows p {
	max-width: 30rem;
	color: var(--text-2);
	font-size: 1.05rem;
	line-height: 1.5;
	margin: 0;
}
.rows .group-note {
	margin: 0 0 0.75rem;
	color: var(--text-2);
	font-size: 1.05rem;
}
.rows ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rows ul li {
	color: var(--text-2);
	font-size: 1.02rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--hairline);
}
.rows ul li:last-child {
	border-bottom: 0;
}

/* ---------- Career chronology (Experience) ------------------- */

.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hairline);
}
.timeline > li {
	display: grid;
	grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	gap: 0.5rem 2.5rem;
	align-items: baseline;
	padding: 1.9rem 0;
	border-bottom: 1px solid var(--hairline);
}
.timeline__when {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--text-2);
	white-space: nowrap;
}
.timeline__where {
	margin: 0.3rem 0 0;
	font-size: 0.92rem;
	color: var(--text-2);
}
.timeline h3 {
	margin: 0 0 0.45rem;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
}
.timeline h3 .timeline__co {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--text-2);
}
.timeline__ctx {
	margin: 0 0 0.6rem;
	font-size: 0.9rem;
	color: var(--text-2);
}
.timeline p:not(.timeline__when):not(.timeline__where):not(.timeline__ctx) {
	margin: 0;
	max-width: 42rem;
	color: var(--text-2);
	font-size: 1.04rem;
	line-height: 1.58;
}
@media (max-width: 620px) {
	.timeline > li {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.35rem;
	}
	.timeline__where {
		margin-top: 0.15rem;
	}
	.timeline h3 {
		margin-top: 0.5rem;
	}
}

/* ---------- Split: Modern <-> Legacy -------------------------- */

.split {
	padding-block: var(--section-y);
	background: var(--ink);
	color: #dfe6f0;
}
.split__title {
	margin-top: 0.8rem;
	max-width: 26ch;
	color: #fff;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	line-height: 1.14;
}
.split__panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.split__panel {
	padding-top: clamp(2.2rem, 4vw, 3.4rem);
	padding-bottom: 0.5rem;
}
.split__panel--modern {
	padding-right: clamp(1.5rem, 4vw, 3.5rem);
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	background: radial-gradient(
		130% 90% at 0% 0%,
		rgb(var(--modern-rgb) / 0.22),
		rgb(var(--modern-rgb) / 0) 62%
	);
}
.split__panel--legacy {
	padding-left: clamp(1.5rem, 4vw, 3.5rem);
	background: radial-gradient(
		130% 90% at 100% 0%,
		rgb(var(--legacy-rgb) / 0.2),
		rgb(var(--legacy-rgb) / 0) 62%
	);
}
.split__label {
	margin: 0 0 1.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.split__panel--modern .split__label {
	color: var(--modern-label);
}
.split__panel--legacy .split__label {
	color: var(--legacy-label);
}
.split .stack {
	margin: 0 0 1.6rem;
	padding: 0;
	list-style: none;
}
.split .stack li {
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 1.15rem;
	font-weight: 500;
	color: #eef2f8;
}
.split .stack li:first-child {
	padding-top: 0;
}
.split__caption {
	max-width: 22rem;
	color: #9aa7b8;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
}

/* ---------- Duo columns (light modern/legacy, Experience) ---- */

.duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border-top: 1px solid var(--hairline);
}
.duo__col {
	padding: 1.8rem clamp(1.25rem, 3vw, 2.5rem) 1.8rem 0;
}
.duo__col + .duo__col {
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
	padding-right: 0;
	border-left: 1px solid var(--hairline);
}
.duo__col::before {
	content: "";
	display: block;
	width: 2.25rem;
	height: 3px;
	margin-bottom: 1.1rem;
	background: var(--accent);
}
.duo__col--legacy::before {
	background: var(--legacy-label);
}
.duo__col h3 {
	margin: 0 0 0.9rem;
	font-size: 1.2rem;
}
.duo__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.duo__col li {
	color: var(--text-2);
	font-size: 1.03rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--hairline);
}
.duo__col li:last-child {
	border-bottom: 0;
}

/* ---------- Capability grid (Home "Capacidades") ------------- */

.capgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.6rem 3rem;
}
.capgrid article h3 {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
}
.capgrid article h3::before {
	content: "";
	display: block;
	width: 2rem;
	height: 2px;
	margin-bottom: 1rem;
	background: var(--accent);
}
.capgrid article p {
	margin: 0;
	color: var(--text-2);
	font-size: 1.04rem;
	line-height: 1.55;
}

/* ---------- Statement / note --------------------------------- */

.statement {
	max-width: 46rem;
	margin: 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--accent);
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
	line-height: 1.42;
	font-weight: 500;
	color: var(--text);
	letter-spacing: -0.01em;
}
.note,
p.note,
.availability-note,
.cols__main--prose p.note {
	max-width: 42rem;
	margin: 0;
	padding: 1rem 1.2rem;
	border-left: 3px solid var(--accent);
	background: var(--surface);
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--text);
}
.section--surface .note,
.section--surface p.note {
	background: #ffffff;
}

/* ---------- Tag list ---------------------------------------- */

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding: 0;
	margin: 1.6rem 0 0;
	list-style: none;
}
.tag-list li {
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 0.4rem 0.9rem;
	border-radius: 5px;
	font-size: 0.9rem;
	color: #dfe6f0;
}

/* ---------- CTA band --------------------------------------- */

.cta {
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
	background: var(--cta-bg);
	color: #fff;
}
.cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2.5rem;
}
.cta h2 {
	margin: 0 0 0.55rem;
	max-width: 24ch;
	color: #fff;
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
	line-height: 1.18;
}
.cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.08rem;
}

/* ---------- Contact --------------------------------------- */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
.contact-aside p {
	color: var(--text-2);
	font-size: 1.05rem;
	line-height: 1.6;
}
.contact-aside p + p {
	margin-top: 1rem;
}
.contact-meta {
	margin-top: 1.75rem;
	border-top: 1px solid var(--hairline);
}
.contact-meta .tech-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--hairline);
	font-size: 0.95rem;
}
.contact-meta .tech-label {
	color: var(--text-2);
}
.contact-meta .tech-value {
	color: var(--text);
	text-align: right;
}

.contact-form {
	max-width: 34rem;
}
.form-row {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1.3rem;
}
.form-row label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-2);
}
.form-row input,
.form-row select,
.form-row textarea {
	width: 100%;
	font: inherit;
	padding: 0.7rem 0.85rem;
	border: 1px solid #cdd8e6;
	border-radius: 6px;
	background: #fff;
	color: var(--text);
}
.form-row textarea {
	resize: vertical;
	min-height: 8rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
	border-color: var(--accent);
}
.contact-form button {
	margin-top: 0.25rem;
}
.form-status {
	padding: 0.85rem 1rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-size: 0.98rem;
}
.form-status--success {
	background: #e7f4ec;
	color: #1c5b34;
}
.form-status--error {
	background: #fbe9e9;
	color: #7a2020;
}

/* ---------- Footer --------------------------------------- */

.site-footer {
	padding-block: 3.25rem 2.25rem;
	background: var(--ink-2);
	color: #9aa7b8;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2.5rem;
}
.footer-brand .brand {
	color: #fff;
	font-size: 1.05rem;
}
.footer-brand p {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	max-width: 22rem;
}
.footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
	text-align: right;
}
.footer-links .site-nav {
	justify-content: flex-end;
	gap: 1.4rem;
}
.footer-links .site-nav a {
	color: #c3ccd9;
	font-size: 0.95rem;
	text-transform: none;
	letter-spacing: normal;
}
.footer-links .site-nav a:hover,
.footer-links .site-nav a[aria-current="page"] {
	color: #fff;
}
.footer-links .lang-switch {
	color: #6b768a;
	font-size: 0.9rem;
}
.footer-links .lang-switch a {
	color: #9aa7b8;
}
.footer-links .lang-switch a.is-current {
	color: #fff;
}
.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.85rem;
	color: #6b768a;
}
.footer-bottom p {
	margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex;
	}
	.site-menu {
		position: absolute;
		inset: 100% 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.4rem 0 1rem;
		background: var(--ink);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}
	.site-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.site-header.is-solid .site-menu {
		background: #fff;
		box-shadow: 0 16px 30px -16px rgba(15, 25, 45, 0.25);
	}
	.site-menu .site-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}
	.site-menu .site-nav a {
		display: block;
		padding: 0.95rem var(--gutter);
	}
	.site-header.is-solid .site-menu .site-nav a {
		color: var(--text-2);
	}
	.site-menu .lang-switch {
		padding: 0.9rem var(--gutter) 0;
	}
	.site-header.is-solid .site-menu .lang-switch a {
		color: var(--text-2);
	}
	.site-header.is-solid .site-menu .lang-switch a.is-current {
		color: var(--text);
	}
}

@media (max-width: 860px) {
	.cols,
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.8rem;
	}
	.split__panels {
		grid-template-columns: minmax(0, 1fr);
	}
	.split__panel--modern {
		padding-right: 0;
		padding-bottom: clamp(2rem, 6vw, 2.6rem);
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}
	.split__panel--legacy {
		padding-left: 0;
	}
	.duo {
		grid-template-columns: minmax(0, 1fr);
	}
	.duo__col {
		padding: 1.6rem 0;
		border-bottom: 1px solid var(--hairline);
	}
	.duo__col + .duo__col {
		padding-left: 0;
		border-left: 0;
	}
	.duo__col:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 620px) {
	:root {
		--gutter: 1.25rem;
	}
	.hero {
		min-height: 84vh;
	}
	.hero__inner {
		padding-top: 7.25rem;
	}
	.hero__actions .btn,
	.hero__actions .wp-block-button,
	.hero__actions .wp-block-button__link {
		flex: 1 1 auto;
	}
	.rows > li,
	.rows__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.4rem;
	}
	.capgrid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.2rem;
	}
	.cta__inner {
		gap: 1.75rem;
	}
	.cta .btn,
	.cta .wp-block-button,
	.cta .wp-block-button__link {
		width: 100%;
	}
	.footer-inner {
		flex-direction: column;
		gap: 1.75rem;
	}
	.footer-links {
		align-items: flex-start;
		text-align: left;
	}
	.footer-links .site-nav {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

