/* ==========================================================================
	SERVICIOS - DISEÑO FIEL AL MOCKUP
   Estructura: header + hero + servicios + proceso + proyectos + CTA + footer
   ========================================================================== */

:root {
	--bg-dark: #070707;
	--bg-deep: #040404;
	--text-dark: #111111;
	--text-soft: #6d6d6d;
	--text-white-soft: rgba(255, 255, 255, .78);
	--red: #e1141c;
	--red-dark: #ba0f15;
	--white: #ffffff;
	--border: rgba(17, 17, 17, .11);
	--shadow-soft: 0 12px 34px rgba(0, 0, 0, .08);
	--shadow-medium: 0 18px 44px rgba(0, 0, 0, .14);
	--footer-border: rgba(255, 255, 255, .12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", sans-serif;
	color: var(--text-dark);
	background: #f8f8f8;
	overflow-x: hidden;
}

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

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

.container {
	position: relative;
	z-index: 1;
}

/* Header */
.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);
}

/* Hero */



.hero-services {
	position: relative;
	min-height: 760px;
	display: flex;
	align-items: end;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .8) 34%, rgba(0, 0, 0, .5) 58%, rgba(0, 0, 0, .16) 84%, rgba(0, 0, 0, .03) 100%),
		url("https://santanareformas.s3.us-east-2.amazonaws.com/img/inicio/hero/hero.png") center center / cover no-repeat,
		url("https://santanareformas.s3.us-east-2.amazonaws.com/img/inicio/hero/hero.png") center center / cover no-repeat;
	overflow: hidden;
}

.hero-services::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 32%),
		radial-gradient(circle at 28% 35%, rgba(255, 255, 255, .12), transparent 28%);
	pointer-events: none;
}

.hero-services::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .9) 100%);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding-top: 10rem;
	padding-bottom: 4.2rem;
}

.hero-services h1 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2.7rem, 5.35vw, 5.4rem);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -.02em;
	color: #fff;
}

.hero-services p {
	margin: 1.1rem 0 0;
	font-size: 1.38rem;
	font-weight: 600;
	line-height: 1.5;
	color: rgba(255, 255, 255, .92);
}

.hero-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 3.3rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: capitalize;
}

.hero-breadcrumb a,
.hero-breadcrumb span {
	color: rgba(255, 255, 255, .8);
}

.hero-breadcrumb strong {
	color: #fff;
}

/* Sección servicios */
.services-overview {
	padding: 5.4rem 0 4.6rem;
	background: #fff;
}

.section-head {
	max-width: 780px;
	margin: 0 auto;
}

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

.section-head h2 {
	margin: .9rem 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.55rem);
	line-height: 1.05;
	letter-spacing: -.02em;
	color: #1a1a1a;
}

.section-subtitle {
	margin: 1.3rem auto 0;
	max-width: 710px;
	font-size: 1.1rem;
	line-height: 1.72;
	color: var(--text-soft);
}

.service-grid {
	margin-top: 3.5rem;
}

/* Forzamos 5 columnas en xl para calcar la maqueta */
@media (min-width: 1200px) {
	.service-grid > .col-xl {
		width: 20%;
		flex: 0 0 auto;
	}
}

.service-item {
	height: 100%;
	text-align: center;
	padding: .2rem .85rem;
	transition: transform .25s ease;
}

.service-item:hover {
	transform: translateY(-4px);
}

.service-item i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.9rem;
	color: var(--red);
	margin-bottom: .95rem;
}

.service-item h3 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.48rem;
	line-height: 1.12;
	color: #212121;
}

.service-item p {
	margin: .65rem auto 0;
	max-width: 15.2rem;
	font-size: .89rem;
	line-height: 1.62;
	color: #696969;
}

/* Sección proceso */
.process-section {
	position: relative;
	padding: 3.2rem 0 2.85rem;
	background:
		linear-gradient(90deg, rgba(4, 4, 4, .98) 0%, rgba(9, 9, 9, .92) 38%, rgba(6, 7, 12, .95) 100%),
		radial-gradient(circle at right, rgba(30, 52, 89, .28), transparent 44%);
	color: #fff;
}

.process-head {
	max-width: 720px;
}

.kicker-red {
	color: var(--red);
}

.process-head h2 {
	margin: .35rem 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2rem, 3.7vw, 3.35rem);
	line-height: 1.05;
}

.process-head p {
	margin: .8rem 0 0;
	font-size: 1.45rem;
	color: rgba(255, 255, 255, .86);
}

.process-grid {
	margin-top: 2.4rem;
}

.process-step {
	position: relative;
	height: 100%;
	padding: .3rem 1.1rem .45rem;
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.process-step::after {
	content: "\2192";
	position: absolute;
	right: -1rem;
	top: 1rem;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, .35);
}

.process-grid > div:last-child .process-step::after {
	display: none;
}

.process-grid > div:last-child .process-step {
	border-right: 0;
}

.step-number {
	display: block;
	font-size: 2rem;
	font-family: "Playfair Display", Georgia, serif;
	line-height: 1;
	color: rgba(255, 255, 255, .58);
	margin-bottom: .7rem;
}

.process-step i {
	font-size: 1.9rem;
	color: var(--red);
}

.process-step h3 {
	margin: .75rem 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.45rem;
	line-height: 1.08;
}

.process-step p {
	margin: .55rem 0 0;
	font-size: .94rem;
	line-height: 1.62;
	color: rgba(255, 255, 255, .72);
}

/* Sección proyectos */
.projects-section {
	padding: 4.7rem 0 5rem;
	background: #fff;
}

.projects-head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: end;
	margin-bottom: 1.8rem;
}

.projects-head h2 {
	margin: .35rem 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2rem, 3.9vw, 3.45rem);
	line-height: 1.04;
}

.all-projects {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #1d1d1d;
	white-space: nowrap;
	transition: transform .2s ease, color .2s ease;
}

.all-projects:hover {
	transform: translateX(4px);
	color: var(--red);
}

.project-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-medium);
}

.project-card img {
	width: 100%;
	height: 245px;
	object-fit: cover;
	transition: transform .35s ease;
}

.project-card:hover img {
	transform: scale(1.04);
}

.project-card h3 {
	margin: 1rem .95rem 1.05rem;
	text-align: center;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.34rem;
	line-height: 1.08;
	color: #232323;
}

/* CTA rojo */
.cta-strip {
	position: relative;
	padding: 2.6rem 0;
	background: linear-gradient(90deg, #d70e18 0%, #ef101d 60%, #d90f18 100%);
	overflow: hidden;
}

.cta-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			90deg,
			transparent 0 14px,
			rgba(255, 255, 255, .16) 14px 16px,
			transparent 16px 28px
		) left bottom / 370px 44px no-repeat,
		linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)) left bottom / 100% 1px no-repeat;
	opacity: .34;
}

.cta-strip-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	min-height: 102px;
}

.cta-strip h2 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2rem, 3.3vw, 3rem);
	line-height: 1.04;
	color: #fff;
}

.cta-strip p {
	margin: .65rem 0 0;
	font-size: 1.08rem;
	color: rgba(255, 255, 255, .88);
}

.btn-light {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.85rem;
	background: #fff;
	color: #1b1b1b;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: transform .2s ease;
}

.btn-light:hover {
	transform: translateY(-2px);
	color: #111;
}

/* Footer */
.site-footer {
	background: linear-gradient(180deg, #060606 0%, #080808 100%);
	color: rgba(255, 255, 255, .8);
	padding: 3.6rem 0 1.25rem;
}

.footer-top {
	padding-bottom: 1.55rem;
	border-bottom: 1px solid var(--footer-border);
}

.footer-logo {
	height: 58px;
	width: auto;
}

.site-footer p {
	margin: .9rem 0 0;
	font-size: .92rem;
	line-height: 1.62;
	color: rgba(255, 255, 255, .68);
}

.site-footer h4 {
	margin: 0 0 .9rem;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer li {
	margin-bottom: .56rem;
}

.site-footer a,
.site-footer span {
	font-size: .93rem;
	color: rgba(255, 255, 255, .72);
	transition: color .2s ease;
}

.site-footer a:hover {
	color: #fff;
}

.footer-socials {
	display: flex;
	gap: .65rem;
	margin-top: 1.1rem;
}

.footer-socials a,
.whatsapp-circle {
	width: 2.3rem;
	height: 2.3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	transition: transform .2s ease, border-color .2s ease;
}

.footer-socials a:hover,
.whatsapp-circle:hover {
	transform: translateY(-2px);
	border-color: var(--red);
}

.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
}

.footer-contact-list i {
	margin-top: .15rem;
	color: rgba(255, 255, 255, .57);
}

.whatsapp-circle {
	margin-top: .9rem;
	width: 3rem;
	height: 3rem;
	font-size: 1.1rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 1rem;
	flex-wrap: wrap;
}

.footer-bottom p {
	margin: 0;
	font-size: .87rem;
}

.footer-legal {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-wrap: wrap;
}

.footer-legal span {
	display: block;
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, .2);
}

/* Responsive */
@media (max-width: 1199.98px) {
	.project-card img {
		height: 208px;
	}

	.service-item h3 {
		font-size: 1.34rem;
	}
}

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

	.navbar-shell {
		width: min(calc(100% - 1rem), 1320px);
		max-width: 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-services {
		min-height: 660px;
		background-position: 63% center, 63% center, 63% center;
	}

	.hero-content {
		padding-top: 9rem;
	}

	.hero-services p {
		font-size: 1.17rem;
	}

	.hero-breadcrumb {
		margin-top: 3rem;
	}

	.process-step::after {
		display: none;
	}

	.process-step {
		border-right: 0;
	}

	.process-head p {
		font-size: 1.15rem;
	}

	.cta-strip-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.btn-light {
		width: 100%;
		justify-content: center;
	}
}

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

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

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

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

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

	.hero-services {
		min-height: 620px;
		background-position: 68% center, 68% center, 68% center;
	}

	.hero-services h1 {
		max-width: 8ch;
	}

	.services-overview {
		padding: 4.35rem 0 3.9rem;
	}

	.section-subtitle {
		font-size: .97rem;
	}

	.service-item {
		padding-inline: .4rem;
	}

	.service-item h3 {
		font-size: 1.18rem;
	}

	.service-item p {
		font-size: .86rem;
	}

	.process-section {
		padding: 2.8rem 0 2.45rem;
	}

	.process-step {
		padding-inline: .35rem;
	}

	.process-step h3 {
		font-size: 1.4rem;
	}

	.projects-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.project-card img {
		height: 178px;
	}

	.project-card h3 {
		font-size: 1.2rem;
	}

	.cta-strip {
		padding: 2.25rem 0;
	}

	.site-footer {
		padding-top: 3rem;
	}
}

@media (max-width: 575.98px) {
	.navbar-brand img {
		height: 44px;
	}

	.hero-content {
		padding-top: 7.9rem;
		padding-bottom: 3.25rem;
	}

	.hero-services p {
		font-size: 1.04rem;
	}

	.hero-breadcrumb {
		font-size: .68rem;
		margin-top: 2.4rem;
	}

	.process-head h2,
	.projects-head h2,
	.section-head h2,
	.cta-strip h2 {
		font-size: 2rem;
	}

	.footer-bottom p,
	.footer-legal a,
	.site-footer span {
		font-size: .82rem;
	}
}
