/* Base: reset, tipografía, contenedor, botones, antetítulos, texto largo y animaciones de entrada. Mobile-first. */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	color-scheme: light;
}
:root[data-theme="dark"] {
	color-scheme: dark;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink-soft);
	font: 400 16px/1.65 var(--font-body);
	transition:
		background-color var(--motion),
		color var(--motion);
}
img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
button {
	cursor: pointer;
}
h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
}
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}
h1 {
	font-weight: 800;
	font-size: clamp(34px, 5vw, 62px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	font-variation-settings:
		"opsz" 144,
		"wdth" 108;
}
h2 {
	font-weight: 780;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	font-variation-settings:
		"opsz" 144,
		"wdth" 106;
}
h3 {
	font-weight: 700;
	font-size: 19px;
	line-height: 1.25;
	font-variation-settings: "wdth" 104;
}
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}
/* Sobre superficies de marca u oscuras el acento no se distingue del fondo: ahí el foco va en blanco. */
.panel :focus-visible,
.band :focus-visible,
.tagline :focus-visible,
.ftr :focus-visible,
.case--feat :focus-visible,
.mv__card :focus-visible,
.box--cta :focus-visible {
	outline-color: var(--on-brand);
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 50;
	padding: 10px 16px;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
}
.skip-link:focus {
	top: 12px;
}
.site-main {
	overflow-x: clip;
}
.site-main:focus {
	outline: 0;
}
.wrap {
	width: min(100% - var(--gutter) * 2, var(--container));
	margin-inline: auto;
}
.icon {
	width: 20px;
	height: 20px;
	flex: none;
}
.hl {
	color: var(--accent);
}
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}
.kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.meta {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-faint);
}
.meta b {
	color: var(--accent);
}
.empty-state {
	padding: 28px;
	border-radius: var(--radius-md);
	background: var(--bg-sunk);
	text-align: center;
}
.empty-state a,
.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
/* Los títulos de los menús los escribe el personal en WordPress con mayúsculas dispares
   ("CONTACTO", "Nuestra Empresa"): en todos los menús se muestran en tipo oración. */
.menu-label {
	display: inline-block;
	text-transform: lowercase;
}
.menu-label::first-letter {
	text-transform: uppercase;
}
