/**
 * BCorp MX — estilos complementarios
 * No reemplaza el template; solo ajustes para landing Google Ads
 */

/* ── Layout: banner legal + header en flujo normal ── */
.main-page-wrapper {
	position: relative;
}

.legal-banner {
	position: relative;
	z-index: 1002;
}

.theme-main-menu {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: 1001;
	background: #fff;
	box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
}

.theme-main-menu .main-header-area {
	padding: 0.75rem 24px !important;
}

.theme-main-menu .main-header-area > .container-fluid > .row {
	align-items: center !important;
	flex-wrap: nowrap;
}

.theme-main-menu .logo-area {
	line-height: 1.2;
}

.theme-main-menu .logo-area .front {
	display: inline-flex;
	align-items: center;
}

.theme-main-menu .main-menu ul li a {
	padding: 0.75rem 0 !important;
}

.theme-main-menu .right-nav {
	justify-content: flex-end !important;
	width: 100%;
}

.theme-main-menu .quote__btn .ht_btn {
	padding: 0.75rem 1.75rem !important;
	white-space: nowrap;
}

/* Hero: el template reserva 210px para header absoluto; ya no hace falta */
.theme__main__banner .pt-210 {
	padding-top: 3rem !important;
}

@media (min-width: 992px) {
	.theme__main__banner .pt-210 {
		padding-top: 3.5rem !important;
	}

	.theme__main__banner .pt-lg-120 {
		padding-top: 4rem !important;
	}
}

@media (min-width: 1400px) {
	.theme-main-menu .main-header-area {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
}

.logo-text {
	font-size: 1.35rem;
	font-weight: 700;
	color: #0a1628;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.logo-text span {
	display: block;
	font-size: 0.7rem;
	font-weight: 500;
	color: #c9a227;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.legal-banner {
	background: #0a1628;
	color: #fff;
	font-size: 0.8125rem;
	line-height: 1.5;
	padding: 0.65rem 0;
	text-align: center;
}

.legal-banner p {
	margin: 0;
	opacity: 0.92;
}

.legal-box {
	background: #f4f6f9;
	border-left: 4px solid #c9a227;
	padding: 1.25rem 1.5rem;
	border-radius: 0 6px 6px 0;
}

.legal-box p {
	margin: 0;
	font-size: 0.9375rem;
	color: #334155;
	line-height: 1.6;
}

.hero-microcopy {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	max-width: 540px;
}

.hero-microcopy strong {
	color: #0a1628;
	font-weight: 600;
}

.landing-form .form-control,
.landing-form .form-select,
.landing-form textarea.form-control {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	font-size: 0.9375rem;
	width: 100%;
	background: #fff;
}

.landing-form .form-control:focus,
.landing-form .form-select:focus {
	border-color: #1e3a5f;
	outline: none;
	box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.landing-form label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #0a1628;
	margin-bottom: 0.35rem;
	display: block;
}

.landing-form .form-group {
	margin-bottom: 1rem;
}

.form-disclaimer {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.55;
	margin-top: 1rem;
}

.footer-legal-text {
	font-size: 0.8125rem;
	line-height: 1.55;
	opacity: 0.85;
}

.cta-track {
	cursor: pointer;
}

/* Fotografías reales — reemplazo de placeholders del template */
.photo-real,
picture.photo-real,
.about__img__wrapper picture img,
.project__thumb picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme__main__banner .hero__img picture {
	display: block;
	max-width: 668px;
}

.theme__main__banner .hero__img .photo-real {
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(10, 22, 40, 0.15);
}

.about__section__one .about__img__wrapper picture {
	display: block;
	width: 100%;
	height: 100%;
}

.about__section__one .about__img__wrapper .about__one__01,
.about__section__one .about__img__wrapper .about__one__02,
.about__section__one .about__img__wrapper .about__one__03 {
	min-height: 180px;
}

.project__thumb picture {
	display: block;
	width: 100%;
}

.project__thumb .photo-real {
	aspect-ratio: 4 / 3;
}

.user__review .rounded-circle {
	object-fit: cover;
}

@media (max-width: 1199px) {
	.quote__btn .ht_btn {
		font-size: 0.8125rem;
		padding: 0.6rem 1rem;
	}
}

@media (max-width: 767px) {
	.theme-main-menu .logo-text {
		font-size: 1rem;
	}

	.theme-main-menu .logo-text span {
		font-size: 0.6rem;
	}

	.banner__main__title {
		font-size: 1.75rem !important;
		line-height: 1.25 !important;
	}

	.hero-microcopy {
		font-size: 0.75rem;
	}
}

/* Páginas legales */
.legal-page-content h2 {
	font-size: 1.15rem;
	margin: 2rem 0 0.75rem;
	color: #0a1628;
}

.legal-page-content ul {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}

.legal-page-content li {
	margin-bottom: 0.35rem;
}

/* Banner de cookies — fijado al pie */
#cookie-banner.cookie-banner {
	position: fixed !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	top: auto !important;
	z-index: 2147483000 !important;
	background: #ffffff !important;
	border-top: 1px solid rgba(10, 22, 40, 0.1);
	box-shadow: 0 -8px 32px rgba(10, 22, 40, 0.18);
	padding: 1rem 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

#cookie-banner[hidden] {
	display: none !important;
}

#cookie-banner .cookie-banner__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

#cookie-banner .cookie-banner__text {
	flex: 1 1 360px;
	min-width: 260px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #334155;
}

#cookie-banner .cookie-banner__text p {
	margin: 0 0 0.35rem;
}

#cookie-banner .cookie-banner__text p:last-child {
	margin-bottom: 0;
}

#cookie-banner .cookie-banner__text a {
	color: #163f34;
	font-weight: 600;
	text-decoration: underline;
}

#cookie-banner .cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	flex-shrink: 0;
}

#cookie-banner .cookie-btn {
	font-family: "Geologica", "Manrope", "Inter", sans-serif !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	padding: 0.65rem 1.4rem !important;
	border-radius: 30px !important;
	cursor: pointer !important;
	border: 2px solid #163f34 !important;
	line-height: 1.2 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	min-height: 40px;
}

#cookie-banner .cookie-btn--outline {
	background: #ffffff !important;
	color: #163f34 !important;
}

#cookie-banner .cookie-btn--outline:hover,
#cookie-banner .cookie-btn--outline:focus {
	background: #f0f2e8 !important;
	color: #163f34 !important;
}

#cookie-banner .cookie-btn--primary {
	background: #bee847 !important;
	color: #0a1628 !important;
}

#cookie-banner .cookie-btn--primary:hover,
#cookie-banner .cookie-btn--primary:focus {
	background: #163f34 !important;
	color: #ffffff !important;
	border-color: #163f34 !important;
}

@media (max-width: 767px) {
	#cookie-banner .cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
	}

	#cookie-banner .cookie-banner__actions {
		width: 100%;
	}

	#cookie-banner .cookie-btn {
		flex: 1;
		text-align: center;
	}
}
