/* Visión de Negocios — estilos base del child theme. */

:root {
	/* Paleta de marca (colores del logo) — fuente única de verdad para todo el child theme. */
	--vn-color-black: #000000;
	--vn-color-white: #ffffff;
	--vn-color-accent: #972825;
	--vn-color-accent-dark: #7a201e;
	--vn-color-text: var(--vn-color-black);
	--vn-color-text-muted: var(--vn-color-black);
	--vn-color-bg: #ffffff;
	--vn-color-bg-muted: var(--vn-color-white);
	--vn-color-border: rgba(0, 0, 0, .12);

	/*
	 * Puente hacia las variables de ColorMag (--cm-color-1, --cm-color-5, etc.),
	 * que el propio ColorMag inyecta vía :root en un <style> del Personalizador.
	 * Al redeclararlas aquí (mismo selector :root, cargado después), heredan
	 * nuestra paleta en todo el sitio: nav, botones, enlaces y hovers nativos
	 * de ColorMag, sin tener que sobrescribir decenas de selectores propios.
	 */
	--cm-color-1: var(--vn-color-accent);
	--cm-color-5: var(--vn-color-black);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--vn-color-bg); color: var(--vn-color-text); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
body.menu-open { overflow: hidden; }
a { color: var(--vn-color-accent); }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
.vn-author-initial { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--vn-color-accent); color: #fff; font-size: .85rem; font-weight: 800; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 5px; left: 5px; width: auto; height: auto; padding: 15px 23px 14px; clip: auto !important; background: #fff; color: #000; font-weight: 700; }
.alignwide { width: min(100%, 1100px); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.vn-site-footer { margin-top: 0; background: #000; color: #fff; }
.vn-site-footer__inner { width: min(100% - 3rem, 1200px); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) 0 0; }

.vn-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: 2.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.vn-site-footer__brand { max-width: 320px; }
.vn-site-footer__logo { margin-bottom: 1rem; }
.vn-site-footer__logo a { display: inline-block; }
.vn-site-footer__logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 58px; }
.vn-site-footer__title { margin: 0 0 .75rem; color: #fff; font-size: 1.35rem; }
.vn-site-footer__description { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .65); font-size: .92rem; line-height: 1.6; }

.vn-site-footer__socials { display: flex; gap: .6rem; }
.vn-site-footer__socials .vn-social-link { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; color: #fff; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.vn-site-footer__socials .vn-social-link:hover,
.vn-site-footer__socials .vn-social-link:focus-visible { border-color: var(--vn-color-accent); background: var(--vn-color-accent); color: #fff; transform: translateY(-2px); }

.vn-footer-col__title { margin: 0 0 1.15rem; color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.vn-footer-col__title::after { content: ""; display: block; width: 26px; height: 2px; margin-top: .65rem; background: var(--vn-color-accent); }

.vn-footer-list,
.vn-footer-menu { display: flex; flex-direction: column; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.vn-footer-list a,
.vn-footer-menu a { color: rgba(255, 255, 255, .7); font-size: .88rem; text-decoration: none; transition: color .15s ease; }
.vn-footer-list a:hover,
.vn-footer-menu a:hover { color: #fff; }

.vn-footer-widget__title { margin: 0 0 1.15rem; color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.vn-footer-widget__title::after { content: ""; display: block; width: 26px; height: 2px; margin-top: .65rem; background: var(--vn-color-accent); }
.vn-footer-widget { color: rgba(255, 255, 255, .7); font-size: .88rem; line-height: 1.6; }
.vn-footer-widget + .vn-footer-widget { margin-top: 1.75rem; }

.vn-site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; }
.vn-site-footer__copyright { margin: 0; color: rgba(255, 255, 255, .5); font-size: .8rem; }
.vn-back-to-top { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .7); font-size: .78rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; transition: color .15s ease; }
.vn-back-to-top:hover { color: var(--vn-color-accent); }

.vn-page { width: min(100% - 2rem, 900px); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 0; }
.vn-page__title { margin: 0 0 2rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.vn-page__content { max-width: 68ch; font-size: 1.1rem; line-height: 1.8; }
.vn-page__content > *:first-child { margin-top: 0; }
.vn-error-page { width: min(100% - 2rem, 720px); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.vn-error-page__code { margin: 0; color: var(--vn-color-accent); font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: .9; }
.vn-error-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.vn-error-page .search-form { display: flex; max-width: 520px; margin: 2rem auto; }
.vn-error-page .search-form label { flex: 1; }
.vn-error-page .search-field { width: 100%; min-height: 48px; padding: .7rem 1rem; border: 1px solid #000; border-radius: 3px 0 0 3px; }
.vn-error-page .search-submit { min-height: 48px; padding: .7rem 1.25rem; border: 0; border-radius: 0 3px 3px 0; background: var(--vn-color-accent); color: #fff; cursor: pointer; font-weight: 700; }
.vn-error-page__home { display: inline-block; padding: .7rem 1.1rem; background: var(--vn-color-accent); color: #fff; text-decoration: none; }
