/* =========================================================
   REALTOR CENTER — LOGO OFICIAL NUEVO
   Aplica logo institucional a header, menú y footer.
========================================================= */

:root {
	--rc-logo-dark: #0B0B0B;
	--rc-logo-lime: #D9A84E;
	--rc-logo-ice: #F2F2F2;
}

/* Oculta logos anteriores sin romper estructura */
.site-branding img,
.rc-brand img,
.header-logo img,
.rcf-brand img,
.custom-logo,
.custom-logo-link img {
	opacity: 0 !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	max-width: 0 !important;
	max-height: 0 !important;
	pointer-events: none !important;
}

/* Header */
.site-branding,
.rc-brand,
.header-logo,
.custom-logo-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 330px !important;
	min-width: 330px !important;
	height: 86px !important;
	background-image: url("../img/brand/realtor-center-logo-oficial.svg") !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: contain !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
}

/* Evita que el logo se vea como imagen pegada */
.site-header .site-branding,
.rc-header .rc-brand,
.rc-site-header .rc-brand,
header.site-header .site-branding {
	margin: 0 !important;
	padding: 0 !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Header spacing premium */
.site-header,
.rc-header,
.rc-site-header,
header.site-header {
	background: #FFFFFF !important;
	border-bottom: 1px solid rgba(11, 11, 11, 0.10) !important;
	box-shadow: 0 12px 34px rgba(11, 11, 11, 0.07) !important;
}

/* Footer */
.rcf-brand,
.footer-brand,
.site-footer .site-branding {
	display: block !important;
	width: 310px !important;
	height: 82px !important;
	background-image: url("../img/brand/realtor-center-logo-oficial-white.svg") !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: contain !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
	margin-bottom: 20px !important;
}

/* Si el footer usa fondo claro accidentalmente, usa el logo oscuro */
.site-footer:not(.rcf-footer) .site-branding,
.footer:not(.rcf-footer) .footer-brand {
	background-image: url("../img/brand/realtor-center-logo-oficial.svg") !important;
}

/* Ajustes responsivos */
@media (max-width: 1180px) {
	.site-branding,
	.rc-brand,
	.header-logo,
	.custom-logo-link {
		width: 285px !important;
		min-width: 285px !important;
		height: 76px !important;
	}
}

@media (max-width: 768px) {
	.site-branding,
	.rc-brand,
	.header-logo,
	.custom-logo-link {
		width: 245px !important;
		min-width: 245px !important;
		height: 68px !important;
	}

	.rcf-brand,
	.footer-brand,
	.site-footer .site-branding {
		width: 255px !important;
		height: 72px !important;
	}
}

@media (max-width: 420px) {
	.site-branding,
	.rc-brand,
	.header-logo,
	.custom-logo-link {
		width: 215px !important;
		min-width: 215px !important;
		height: 62px !important;
	}
}
