@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
	--color-primary: #D72638;
	--color-accent: #2E7D32;
	--color-dark: #1B1B1B;
	--color-light: #FAF3E0;
	--color-white: #FFFFFF;
}

* {
	font-family: 'Inter', sans-serif;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

p {
	font-weight: 300;
	color: var(--color-dark);
}

/* --- FIX LOGO --- */
.logo {
	width: 160px;
	height: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.logo img {
	height: 100px;
	width: auto;
	display: block;
	max-width: 100%;
}
header .logo {
	font-size: 1.2em;
	line-height: 1;
}

header .logo span {
	font-weight: 700;
	font-size: 1.6em;
	line-height: 1;
}

@media (max-width: 480px) {
	.logo { width: 140px; }
	.logo img { height: 44px; }
}

/* ----- RESTO DEL CSS ----- */
.banner {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url(img/IMG-20250813-WA0003.jpg);
	background-size: cover;
}

.banner .content {
	max-width: 900px;
	text-align: center;
}

.banner .content h2 {
	font-family: 'Playfair Display', serif;
	font-size: 5em;
	color: var(--color-white);
	text-transform: capitalize;
}

.banner .content p {
	font-size: 1em;
	color: var(--color-white);
}

.btn {
	font-size: 1em;
	color: var(--color-white);
	background: var(--color-primary);
	display: inline-block;
	padding: 10px 30px;
	margin-top: 20px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
	transition: 0.5s;
}

.btn:hover {
	letter-spacing: 6px;
}

/* --- HEADER CON TRANSPARENCIA --- */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	z-index: 10000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: 0.5s;
	background-color: transparent;
	backdrop-filter: blur(6px);
}

header.sticky {
	background-color: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(6px);
	padding: 8px 40px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

header.sticky .logo {
	color: var(--color-dark);
}

header .navigation {
	display: flex;
}

header .navigation li {
	list-style: none;
	margin-left: 30px;
}

header .navigation li a {
	text-decoration: none;
	color: var(--color-white);
	font-weight: 400;
}

header.sticky .navigation li a {
	color: var(--color-dark);
}

header .navigation li a:hover {
	color: var(--color-primary);
}

section {
	padding: 100px;
	background-color: var(--color-light);
}

.row {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.row .col50 {
	position: relative;
	width: 48%;
}

.titleText {
	color: var(--color-dark);
	font-size: 2em;
	font-weight: 300;
	font-family: 'Playfair Display', serif;
}

.titleText span {
	color: var(--color-primary);
	font-weight: 700;
	font-size: 1.5em;
}

.imgBx img {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.title {
	text-align: center;
}

.menu .content {
	display: flex;
	justify-content: center;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	margin-top: 40px;
}

.menu .content .box {
	width: 340px;
	margin: 20px;
	border: 15px solid var(--color-white);
	box-shadow: 0 5px 35px rgba(0,0,0,0.08);
	background-color: var(--color-light);
}

.menu .content .box .imgBx {
	position: relative;
	width: 100%;
	height: 300px;
}

.menu .content .box .imgBx img {
	max-width: 100%;
	width: 100%;
	height: 100%;
}

.menu .content .box .text {
	padding: 15px 0 5px;
}

.menu .content .box .text h3 {
	font-weight: 400;
	color: var(--color-dark);
}

.expert .content {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 40px;
}

.expert .content .box {
	width: 250px;
	margin: 15px;
	background-color: var(--color-light);
}

.expert .content .box .imgBx {
	position: relative;
	width: 100%;
	height: 300px;
}

.expert .content .box .imgBx img {
	max-width: 100%;
	width: 100%;
	height: 100%;
}

.expert .content .box .text {
	padding: 15px 0 5px;
}

.expert .content .box .text h3 {
	font-weight: 400;
	color: var(--color-dark);
}

.testimonials {
	background: url(img/bg2.jpg);
	background-size: cover;
}

.white .titleText,
.white p {
	color: var(--color-white);
}

.testimonials .content {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: row;
	margin-top: 40px;
}

.testimonials .content .box {
	width: 340px;
	margin: 20px;
	padding: 40px;
	background: var(--color-white);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.testimonials .content .box .imgBx img {
	width: 80px;
	height: 80px;
	margin-bottom: 20px;
	border-radius: 50%;
	overflow: hidden;
}

.testimonials .content .box .text p {
	color: #666;
	font-style: italic;
}

.testimonials .content .box .text h3 {
	margin-top: 20px;
	color: var(--color-primary);
	font-size: 1em;
	font-weight: 600;
}

.contact {
	background: url(img/bg3.jpg);
	background-size: cover;
}

.contactForm {
	padding: 75px 50px;
	background: var(--color-white);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
	max-width: 500px;
	margin-top: 50px;
}

.contactForm h3 {
	color: var(--color-dark);
	font-size: 1.2em;
	margin-bottom: 20px;
	font-weight: 500;
}

.contactForm .inputBox {
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
	width: 100%;
	border: 1px solid #555;
	padding: 10px;
	color: var(--color-dark);
	outline: none;
	font-size: 16px;
	font-weight: 300;
	resize: none;
}

.contactForm .inputBox input[type="submit"] {
	font-size: 1em;
	color: var(--color-white);
	background: var(--color-primary);
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
	transition: 0.5s;
	max-width: 100px;
	font-weight: 500;
	border: none;
	cursor: pointer;
}

.copyrightText {
	padding: 8px 40px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	text-align: center;
	background-color: var(--color-light);
}

.copyrightText p {
	color: #333;
}

.copyrightText a {
	color: var(--color-primary);
	font-weight: 500;
	text-decoration: none;
}

/* Responsive ajustes */
@media screen and (max-width: 991px) {
	header,
	header.sticky {
		padding: 10px 20px;
	}

	header .navigation {
		display: none;
	}

	header .navigation.active {
		width: 100%;
		height: calc(100% - 68px);
		position: fixed;
		top: 68px;
		left: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		background: var(--color-white);
	}

	header .navigation li {
		margin-left: 0;
	}

	header .navigation li a {
		text-decoration: none;
		color: var(--color-dark);
		font-size: 1.6em;
		font-weight: 300;
	}

	.menuToggle {
		position: relative;
		width: 40px;
		height: 40px;
		background: url(img/menu.png);
		background-size: 30px;
		background-repeat: no-repeat;
		background-position: center;
		cursor: pointer;
	}

	.menuToggle.active {
		background: url(img/close.png);
		background-size: 25px;
		background-repeat: no-repeat;
		background-position: center;
	}

	header.sticky .menuToggle {
		filter: invert(1);
	}

	section {
		padding: 20px;
	}

	.banner .content h2 {
		font-size: 3em;
	}

	.row {
		flex-direction: column;
	}

	.row .col50 {
		width: 100%;
	}

	.col50 .imgBx {
		margin-top: 30px;
	}

	.menu .content {
		margin-top: 20px;
	}

	.menu .content .box {
		margin: 10px;
	}

	.menu .content .box .imgBx {
		height: 260px;
	}

	.titleText {
		font-size: 1.8em;
		line-height: 1.5em;
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 440px) {
	.testimonials .content .box {
		margin: 10px;
		padding: 20px;
	}

	.contactForm {
		padding: 35px 40px;
		margin-top: 20px;
		margin-bottom: 30px;
	}
}
