body {
	font-family: "Roboto", sans-serif;
	margin: 0;
}

@media (max-width: 900px) {
	.portfolioContainer { padding: 0 24px; }
	.portfolioHeader h2 { font-size: 36px; }
	.portfolioGrid { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
	.album { padding: 18px; }
	.album h2 { text-align: center; }
	.album .albumSubtitle { text-align: center; }
}

@media (max-width: 560px) {
	.portfolioHeader h2 { font-size: 28px; }
	.portfolioGrid { grid-template-columns: 1fr; }
	.card { aspect-ratio: 4/3; }
	.card-title { bottom: 8px; left: 8px; padding: 6px 8px; font-size: 12px; }
}

.navBar {
	display: flex;
	background-color: rgb(255, 255, 255);
	position: fixed;
	width: 100%;
	height: 56px;
	top: 0;
	margin: 0;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	padding: 0 14px;
	box-sizing: border-box;
	transition: height 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navBar.scrolled {
	height: 50px;
	background-color: rgba(255, 255, 255, 0.96);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.navBar .listBar {
	font-family: "Source Sans 3";
	text-transform: uppercase;
	letter-spacing: 0.6px;
	list-style: none;
	display: flex;
	font-size: 13px;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
}

.navBar .listBar li {
	display: flex;
	align-items: center;
	min-width: 0;
	height: 50px;
}

.listBar .contact {
	background: transparent;
	border-radius: 0;
	}

	.listBar .contact a {
	background: #e6e6e6;
	border-radius: 8px;
	color: #111;
}

.listBar .contact a:hover {
	background: #000;
	color: #fff;
}

.listBar .contact p {
	color: inherit;
}

.navBar .listBar p {
	margin: 0;
}

.navBar a {
	text-decoration: none;
	color: black;
}

.navBar .listBar li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.navBar .listBar .contact a {
	min-width: 132px;
	padding: 0 18px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	margin-left: 10px;
}

.logoNav {
	height: 42px;
	align-self: center;
}

.brandSub {
	font-family: "Source Sans 3", sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2b24;
	padding-left: 9px;
	border-left: 1px solid #e6e6e3;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	margin-right: 20px;
	padding: 6px;
	z-index: 1100;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: black;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
	opacity: 0;
}

.hamburger.open span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.hero {
	height: 90vh;
	background-image: url("/./pagina2/multimedia/f3/1.webp");
	background-size: cover;
	background-position: 50% 20%;
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
	font-weight: 100;
	position: relative;
	color: white;
	font-size: 48px;
	z-index: 2;
}

.pergolaTypes {
	padding: 80px 40px 30px;
	background: #fff;
}

.pergolaTypesHeader {
	text-align: center;
	margin-bottom: 80px;
}

.pergolaTypesHeader h2 {
	font-size: 36px;
	margin: 0;
}

.pergolaTypes .pergolaType {
	position: relative;
	max-width: 1100px;
	margin: 0 auto 80px;
}

.pergolaTypes .pergolaType:last-child {
	margin-bottom: 0;
}

.pergolaTypeImage {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
}

.pergolaTypeImage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pergolaTypeContent {
	position: absolute;
	left: 28px;
	bottom: 28px;
	max-width: 420px;
	padding: 18px 20px;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(2px);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	text-align: left;
}

.pergolaTypes .pergolaType:nth-of-type(even) .pergolaTypeContent {
	left: auto;
	right: 28px;
	text-align: left;
}

.pergolaTypeContent h2 {
	font-size: 32px;
	margin: 0 0 14px;
}

.pergolaTypeText {
	font-size: 18px;
	margin: 0 0 20px;
	color: rgba(0,0,0,0.8);
}

.pergolaTypeList {
	list-style: none;
	padding-left: 0;
	color: rgba(0,0,0,0.75);
	margin: 0;
}

.pergolaTypeList li {
	margin-bottom: 10px;
}

@media (max-width: 900px) {
	.pergolaTypes {
		padding: 80px 60px;
	}
	.pergolaTypeContent {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
		padding: 14px 16px;
	}
	.pergolaTypes .pergolaType:nth-of-type(even) .pergolaTypeContent {
		left: 16px;
		right: 16px;
		text-align: right;
	}
	.pergolaTypesHeader h2 {
		font-size: 32px;
	}
}

@media (max-width: 600px) {
	.pergolaTypes {
		padding: 60px 40px;
	}
	.pergolaTypesHeader {
		margin-bottom: 60px;
	}
	.pergolaTypesHeader h2 {
		font-size: 28px;
	}
	.pergolaTypeImage {
		aspect-ratio: 4 / 3;
	}
	.pergolaTypeContent h2 {
		font-size: 24px;
		margin-bottom: 8px;
	}
	.pergolaTypeText {
		font-size: 15px;
		margin-bottom: 12px;
	}
	.pergolaTypeList li {
		margin-bottom: 6px;
	}
}

.whyChoose {
	padding: 80px 0;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.whyContainer {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 80px;
	text-align: center;
}

.whyContainer h2 {
	font-size: 36px;
	margin-bottom: 40px;
}

.whyGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	align-items: stretch;
}

.whyCard {
	width: 100%;
	height: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	padding: 28px 18px;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	box-shadow: 0 10px 22px rgba(0,0,0,0.06);
	transition: none;
}

.whyIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(0,0,0,0.06);
	font-size: 26px;
	margin-bottom: 18px;
}

.whyCard p {
	margin: 0;
	font-size: 16px;
	color: rgba(0,0,0,0.75);
}

@media (max-width: 900px) {
	.whyGrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.whyGrid {
		grid-template-columns: 1fr;
	}
}

/* Portfolio grid + modal */
.portfolioSection {
	padding: 50px 0 100px;
	background: #fafafa;
}

.portfolioContainer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.portfolioHeader {
	text-align: center;
	margin-bottom: 28px;
}

.portfolioHeader h2 {
	font-size: 44px;
	margin: 0 0 8px;
	font-weight: 600;
	color: #111;
}

.portfolioSubtitle {
	color: rgba(0,0,0,0.55);
	font-size: 16px;
	max-width: 800px;
	margin: 0 auto;
}

.album {
	margin: 48px auto;
	max-width: 1100px;
	background: #ffffff;
	padding: 28px 28px 22px;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(16,24,32,0.06);
}

.album h2 {
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.4px;
	margin: 0 0 8px;
	text-align: left;
	color: #111;
}

.album .albumSubtitle {
	margin: 0 0 18px;
	color: rgba(0,0,0,0.6);
	font-size: 14px;
}

.album h2::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #000000, #575757);
	border-radius: 4px;
	margin-top: 12px;
}

.portfolioGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: center;
	align-items: stretch;
}

/* Cards sizing when using flex: 4 columns desktop, 3 tablet, 2 small */
.card {
	flex: 0 1 calc(25% - 22px);
	max-width: 320px;
}

@media (max-width: 1100px) {
	.card { flex: 0 1 calc(33.333% - 22px); max-width: 360px; }
}

@media (max-width: 800px) {
	.card { flex: 0 1 calc(50% - 22px); max-width: 520px; }
}

@media (max-width: 560px) {
	.card { flex: 0 1 100%; max-width: 100%; }
}

.card {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	cursor: pointer;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(16,24,32,0.06);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	filter: grayscale(45%);
	transition: transform 0.5s cubic-bezier(.2,.9,.3,1), filter 0.35s ease;
	will-change: transform, filter;
	backface-visibility: hidden;
}

.card:hover img {
	transform: scale(1.06);
	filter: grayscale(0%);
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 38px rgba(16,24,32,0.10);
}

.card-title {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 8px 10px;
	background: rgba(0,0,0,0.6);
	color: white;
	font-size: 13px;
	border-radius: 8px;
	backdrop-filter: blur(4px);
}

.modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	justify-content: center;
	align-items: center;
}

.modal-content {
	background: white;
	padding: 20px;
	max-width: 800px;
	width: 90%;
	max-height: 90vh;
	overflow: auto;
	border-radius: 10px;
}

.modal img {
	width: 100%;
	max-height: 70vh;
	object-fit: contain;
	margin-bottom: 10px;
	border-radius: 8px;
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.modal-header h2 {
	font-size: 18px;
	margin: 0;
	text-align: center;
	flex: 1;
	color: #333;
}

.modal-title-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.modal-counter {
	font-size: 12px;
	color: rgba(0,0,0,0.6);
	margin-top: 4px;
}

.modal-nav {
	background: rgba(255, 255, 255, 0.8);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.modal-nav:hover {
	background: rgba(255, 255, 255, 1);
}

.close {
	float: right;
	cursor: pointer;
	font-size: 20px;
}


.ctaSection {
	padding: 90px 0;
	background: #f8f9fa;
}

.ctaContainer {
	max-width: 760px;
	margin: 0 auto;
	padding: 42px 48px;
	text-align: center;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ctaEyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-family: "Source Sans 3", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	color: rgba(0, 0, 0, 0.55);
}

.ctaContainer h2 {
	margin: 0;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 300;
	color: #111;
}

.ctaText {
	margin: 18px auto 30px;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.7);
}

.ctaButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	background: #18BD12;
	border: 1px solid #18BD12;
	border-radius: 999px;
	font-family: "Source Sans 3", sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.ctaButton:hover {
	background: #139C0E;
	color: #fff;
	transform: translateY(-2px);
	border: 1px solid #139C0E;

}

.reveal {
	opacity: 0;
	transform: translateY(80px);
	transition: all 0.9s cubic-bezier(.2, .6, .2, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.footer {
	background: #000;
	color: #fff;
	padding: 70px 50px 30px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	gap: 50px;
}

.footer h3,
.footer h4 {
	margin-bottom: 18px;
	font-weight: 500;
}

.footer h3 {
	font-size: 22px;
}

.footer h4 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

.footer p,
.footer a {
	color: #cfcfcf;
	font-size: 15px;
	line-height: 1.8;
	text-decoration: none;
	display: block;
}

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

.footer-bottom {
	max-width: 1200px;
	margin: 55px auto 0;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 25px;
}

.footer-bottom p {
	margin: 0;
	font-size: 14px;
	color: #cfcfcf;
}

.footer-social {
	display: flex;
	gap: 22px;
}

.footer-social a {
	font-size: 14px;
	color: #cfcfcf;
	text-decoration: none;
}

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

@media (max-width: 900px) {
	.footer-container {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.footer {
		padding: 34px 22px 20px;
	}

	.footer-container {
		grid-template-columns: 1fr 1fr;
		gap: 20px 24px;
	}

	.footer h3 {
		font-size: 18px;
		margin-bottom: 10px;
	}

	.footer h4 {
		margin-bottom: 10px;
	}

	.footer p,
	.footer a {
		font-size: 13px;
		line-height: 1.55;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 22px;
		padding-top: 16px;
		gap: 12px;
	}

	.footer-social {
		gap: 18px;
	}
}

.whatsappIcon {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 6;
}

.whatsappIcon img {
	width: 55px;
	height: 55px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 50px;
}

.whatsappIcon img:hover {
	filter: brightness(1.2) sepia(10%) saturate(2);
}

@media (max-width: 680px) {
	body {
		overflow-x: hidden;
	}

	body.menu-open::after {
		content: "";
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 980;
	}

	.navBar .listBar {
		display: flex;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		height: 100vh;
		width: 62%;
		max-width: 210px;
		background: white;
		flex-direction: column;
		padding: 60px 0 24px;
		box-shadow: -14px 0 34px rgba(0, 0, 0, 0.22);
		gap: 0;
		justify-content: flex-start;
		align-items: stretch;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 990;
		overflow-y: auto;
	}

	.navBar .listBar.active {
		transform: translateX(0);
	}

	.navBar .listBar li {
		padding: 0;
		width: 100%;
		min-width: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		border-bottom: none;
		flex: 0 0 auto;
	}

	.navBar .listBar li:last-child {
		border-bottom: none;
	}

	.navBar .listBar li a {
		padding: 16px 18px;
		width: 100%;
		height: auto;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: background-color 0.25s ease;
		border-radius: 0;
		min-width: auto;
	}

	.navBar .listBar li a p {
		margin: 0;
		padding: 0;
	}

	.navBar .listBar li:not(.contact) a {
		background: transparent;
		color: black;
	}

	.navBar .listBar .contact {
		border-radius: 0;
	}

	.navBar .listBar .contact a {
		background: transparent;
		color: black;
		min-width: auto;
		padding: 0 18px;
	}

	.hamburger {
		display: flex;
	}
}

@media (max-width: 900px) {
	.hero h1 {
		width: 600px;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.galleryGrid {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.galleryGrid img {
		width: 75%;
	}

	.ctaSection {
		padding: 70px 24px 90px;
	}

	.ctaContainer {
		padding: 30px 22px;
		border-radius: 16px;
	}

	.ctaContainer h2 {
		font-size: 32px;
	}

	.ctaText {
		font-size: 16px;
		margin-bottom: 24px;
	}

	.ctaButton {
		width: 100%;
		max-width: 340px;
		font-size: 17px;
		padding: 13px 20px;
	}

}
