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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-family);
	font-weight: 400;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--bg-color);
}

/* Anti-copia disuasivo (WEBMENTE) — excepción en formularios */
body.wpc-content-protect {
	-webkit-user-select: none;
	user-select: none;
}

body.wpc-content-protect input,
body.wpc-content-protect textarea,
body.wpc-content-protect select,
body.wpc-content-protect [contenteditable='true'],
body.wpc-content-protect [contenteditable=''],
body.wpc-content-protect .contacto-form,
body.wpc-content-protect [data-contact-form] {
	-webkit-user-select: text;
	user-select: text;
}

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

a {
	color: inherit;
}

button {
	font: inherit;
	cursor: pointer;
}

.container {
	width: min(100% - 2rem, var(--container-max));
	margin-inline: auto;
}

.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;
}

.page-main {
	flex: 1;
	padding-top: var(--nav-offset);
}

.glass-effect {
	background: var(--glass-bg);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
}

.section {
	padding-block: var(--section-padding);
}

.section--alt {
	background: rgba(255, 255, 255, 0.45);
}

.section__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.section__eyebrow {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--primary);
}

.section__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--text-primary);
}

.section__lead {
	margin: 0;
	max-width: 42rem;
	font-size: 1.1rem;
	color: var(--text-secondary);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 0.75rem;
	border: 0;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn--primary {
	background: var(--primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--primary-hover);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.7);
	color: var(--text-primary);
	border: 1px solid var(--glass-border);
}

.btn--ghost:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.wpc-shell-hidden .site-header,
.wpc-shell-hidden .wpc-site-footer {
	display: none;
}

.wpc-shell-hidden .page-main {
	padding-top: 0;
}

@media (max-width: 900px) {
	:root {
		--nav-offset: 9.5rem;
	}
}

@media (max-width: 720px) {
	:root {
		--nav-offset: 8.5rem;
	}
}
