/* =============================================================================
   SOBRE NOSOTROS - ESTILOS PRINCIPALES
	Archivo dedicado a la sección hero y barra de valores
   ========================================================================== */

/* ============================================================================
   1. VARIABLES Y ESTILOS GLOBALES
   ========================================================================== */

:root {
	--black: #0b0b0b;
	--panel: #101010;
	--panel-deep: #0d0d0d;
	--text: #f3f3f3;
	--muted: #b8b8b8;
	--muted-soft: #9a9a9a;
	--red: #e21c1c;
	--red-glow: rgba(226, 28, 28, .35);
	--border: rgba(255, 255, 255, .08);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
	background: var(--black);
	color: var(--text);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-header {
	position: absolute;
	top: 1rem;
	inset: 0 0 auto 0;
	z-index: 40;
	pointer-events: none;
}

.navbar {
	padding: 0;
}

.navbar-shell {
	width: min(calc(100% - 2rem), 1320px);
	max-width: 1320px;
	margin: 0 auto;
	padding: .95rem 1.35rem;
	background: rgba(5, 5, 5, .58);
	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	box-shadow: 0 18px 45px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .07);
	border-radius: 24px;
	pointer-events: auto;
}

.navbar-brand {
	padding: 0;
	margin: 0;
	flex-shrink: 0;
}

.navbar-brand img {
	height: 54px;
	width: auto;
}

.navbar-toggler {
	border: 0;
	box-shadow: none;
	padding: .45rem .65rem;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-collapse {
	justify-content: flex-end;
}

.navbar-nav .nav-link {
	position: relative;
	color: rgba(255, 255, 255, .85);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .75rem .9rem;
	transition: color .2s ease, opacity .2s ease;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: .72rem;
	right: .72rem;
	bottom: .4rem;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .22s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--red);
}

.btn-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	margin-left: 1rem;
	padding: .92rem 1.22rem;
	background: var(--red);
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	border: 0;
	border-radius: 0;
	box-shadow: 0 16px 30px rgba(226, 28, 28, .24);
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn-header:hover {
	transform: translateY(-2px);
	background: var(--red-dark);
	color: #fff;
	box-shadow: 0 18px 36px rgba(0, 0, 0, .24);
}

.sobre-page {
	min-height: 100vh;
	background: var(--black);
}



/* ============================================================================
   2. HERO SOBRE NOSOTROS
   ========================================================================== */

.hero-sobre {
	position: relative;
	overflow: hidden;
	padding-top: 7rem;
	background:
		url("https://santanareformas.s3.us-east-2.amazonaws.com/img/nosotros/hero/hero.png") center center / cover no-repeat;
}

.hero-sobre .row {
	min-height: clamp(560px, 86vh, 880px);
}

.hero-sobre::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 11, 11, .98) 0%, rgba(11, 11, 11, .9) 30%, rgba(11, 11, 11, .62) 52%, rgba(11, 11, 11, .28) 68%, rgba(11, 11, 11, 0) 80%);
	pointer-events: none;
	z-index: 1;
}

.hero-sobre::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .2) 100%);
	pointer-events: none;
	z-index: 1;
}

.hero-panel {
	position: relative;
	height: 100%;
	padding: clamp(3.5rem, 6vw, 5.6rem) clamp(2.6rem, 5vw, 4rem) clamp(3rem, 6vw, 4.4rem) clamp(2.6rem, 7vw, 6.4rem);
	background: transparent;
	border-right: 0;
	z-index: 2;
}

.hero-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, 0) 40%);
	pointer-events: none;
}

.hero-panel > * {
	position: relative;
	z-index: 1;
}

.hero-logo {
	width: clamp(88px, 12vw, 140px);
	height: auto;
	margin-bottom: 1.35rem;
	opacity: .92;
}

.kicker {
	margin: 0;
	font-size: .72rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--red);
}

.kicker-line {
	display: inline-block;
	width: 34px;
	height: 2px;
	background: var(--red);
	margin: .65rem 0 1.4rem;
}

.hero-panel h1 {
	margin: 0 0 1.5rem;
	font-family: "Playfair Display", "Times New Roman", serif;
	font-weight: 700;
	font-size: clamp(2.6rem, 4.2vw, 4.3rem);
	line-height: 1.05;
	letter-spacing: -.02em;
}

.hero-panel h1 span {
	color: var(--red);
}

.hero-text {
	margin: 0 0 2.2rem;
	max-width: 32rem;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--muted);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4rem;
	margin-bottom: 2rem;
}

.stat-item {
	display: grid;
	gap: .35rem;
	justify-items: start;
}

.stat-item i {
	color: var(--red);
	font-size: 1.1rem;
}

.stat-item strong {
	font-size: 1rem;
	font-weight: 700;
}

.stat-item span {
	font-size: .78rem;
	line-height: 1.4;
	color: var(--muted-soft);
}

.panel-divider {
	width: 72%;
	max-width: 320px;
	height: 1px;
	background: var(--border);
	margin: 1.2rem 0 1.3rem;
}

.cta-link {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .78rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 700;
	color: #f6f6f6;
	transition: transform .25s ease, color .25s ease;
}

.cta-link i {
	color: var(--red);
}

.cta-link:hover {
	transform: translateX(4px);
	color: #ffffff;
}


/* ============================================================================
   3. BARRA DE VALORES
   ========================================================================== */

.values-bar {
	background: #0a0a0a;
	border-top: 1px solid var(--border);
	padding: 2rem 0;
}

.value-item {
	display: flex;
	gap: 1rem;
	padding: 1.85rem 1.6rem;
	align-items: flex-start;
	height: 100%;
}

.value-icon {
	color: var(--red);
	font-size: 1.4rem;
	line-height: 1;
	margin-top: .15rem;
}

.value-item h3 {
	margin: 0 0 .4rem;
	font-size: 1rem;
	font-weight: 700;
}

.value-item p {
	margin: 0;
	color: var(--muted);
	font-size: .88rem;
	line-height: 1.6;
}

/* ============================================================================
   4. RESPONSIVE
   ========================================================================== */

@media (max-width: 1199.98px) {
	.hero-media {
		min-height: 520px;
	}

	.stats-grid {
		gap: 1rem;
	}
}

@media (max-width: 991.98px) {
	.site-header {
		top: .65rem;
	}

	.navbar-shell {
		width: min(calc(100% - 1rem), 1320px);
		padding: .85rem 1rem;
		border-radius: 22px;
	}

	.navbar-collapse {
		padding: 1rem 0 .2rem;
		width: 100%;
	}

	.navbar-nav .nav-link {
		padding: .58rem 0;
	}

	.navbar-nav .nav-link::after {
		left: 0;
		right: 0;
		bottom: .18rem;
	}

	.btn-header {
		width: 100%;
		margin: .7rem 0 0;
		justify-content: center;
	}

	.hero-panel {
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.hero-media {
		min-height: 420px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.panel-divider {
		width: 100%;
		max-width: none;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.values-bar .col-md-6:nth-child(2) .value-item,
	.values-bar .col-md-6:nth-child(4) .value-item {
		border-left: 1px solid var(--border);
	}

	.values-bar .col-md-6:nth-child(n+3) .value-item {
		border-top: 1px solid var(--border);
	}
}

@media (max-width: 767.98px) {
	.site-header {
		top: .45rem;
	}

	.navbar-brand img {
		height: 46px;
	}

	.navbar-shell {
		width: min(calc(100% - .75rem), 1320px);
		padding: .75rem .85rem;
		border-radius: 20px;
	}

	.navbar-nav .nav-link {
		font-size: .76rem;
	}

	.hero-panel {
		padding: 3rem 2rem;
	}

	.hero-media::before {
		opacity: .7;
	}

	.value-item {
		border-top: 1px solid var(--border);
	}

	.values-bar .col-md-6:first-child .value-item {
		border-top: 0;
	}
}

@media (min-width: 992px) {
	.values-bar .col-lg-3:not(:first-child) .value-item {
		border-left: 1px solid var(--border);
	}
}

@media (max-width: 575.98px) {
	.hero-panel h1 {
		font-size: 2.4rem;
	}

	.hero-text {
		font-size: .98rem;
	}

	.cta-link {
		letter-spacing: .16em;
	}
}
