/*
 * Pavan Real Estate 2026
 * Override CSS for the refreshed home template and shared navbar.
 * Loaded after the Webflow export CSS as the override layer for the 2026 refresh.
 */

/* Navbar */

.header:has(.pavan-navbar-container) {
	padding-top: 0;
	padding-bottom: 0;
}

.pavan-navbar-container {
	max-width: 1278px;
	justify-content: space-between;
	gap: 32px;
	height: auto;
	padding-top: 16px;
	padding-bottom: 16px;
}

.pavan-navbar-logo,
.pavan-navbar-logo.w--current {
	flex: 0 0 220px;
	margin-right: 0;
	padding-left: 0;
}

.pavan-navbar-logo .header-logo-image {
	width: 220px;
	height: 60px;
	object-fit: contain;
}

.pavan-navbar-menu {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 25px;
	padding: 0;
	background-color: transparent;
}

.pavan-navbar-menu .header-menu-link-2 {
	margin: 0;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
	white-space: nowrap;
}

#secondmenu.pavan-navbar-actions {
	display: flex;
	flex: 0 0 80px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 0;
	margin-right: 0;
	padding: 0;
	background-color: transparent;
}

.pavan-language-switcher.header-menu-link-2 {
	margin: 0;
	padding: 0;
}

.pavan-language-switcher .menu-lingua-container,
.pavan-language-switcher #menu-lingua {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
}

.pavan-language-switcher .lang-item {
	padding: 0 0 0 10px;
}

/* Home 2026 */
.pavan-home-2026 {
	position: relative;
}

@media screen and (max-width: 991px) {
	.pavan-navbar-container {
		gap: 16px;
	}

	.pavan-navbar-logo,
	.pavan-navbar-logo.w--current {
		flex: 0 0 auto;
		padding-left: 20px;
	}

	.pavan-navbar-logo .header-logo-image {
		width: auto;
		height: 50px;
	}

	.pavan-navbar-menu {
		gap: 0;
		padding-right: 28px;
		padding-left: 28px;
		background-color: #042a38;
	}

	#secondmenu.pavan-navbar-actions {
		margin-top: 0;
		padding-right: 28px;
		padding-left: 28px;
		background-color: #042a38;
	}

	.pavan-navbar-actions .pavan-language-switcher {
		margin-right: auto;
		margin-left: auto;
	}
}

/* Home hero section */
.home-hero-section {
	position: relative;
	display: grid;
	grid-template-columns: minmax(320px, 404px) minmax(0, 1fr);
	min-height: 718px;
	background-color: #f7f5eb;
	overflow: hidden;
}

.home-hero-content-wrapper {
	position: relative;
	z-index: 2;
	width: min(364px, calc(100vw - 40px));
	margin-left: 40px;
	padding-top: 112px;
}

.home-hero-heading {
	margin: 0;
	color: #333;
	font-size: 52px;
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: 0;
}

.home-hero-heading em {
	font-style: italic;
}

.home-hero-copy {
	width: min(339px, 100%);
	margin: 24px 0 0;
	color: #042a38;
	font-size: 18px;
	line-height: 1.55;
	font-weight: 400;
}

.home-hero-cta.button {
	margin-top: 19px;
}

.home-slider {
	position: relative;
	min-height: 718px;
	overflow: hidden;
}

.home-slider-track {
	position: absolute;
	inset: 0;
}

.home-slider-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	animation: homeHeroFade 20s infinite;
}

.home-slider[data-slide-count="1"] .home-slider-image,
.home-slider-image.is-active {
	opacity: 1;
	animation: none;
}

.home-slider-image-2 { animation-delay: 5s; }
.home-slider-image-3 { animation-delay: 10s; }
.home-slider-image-4 { animation-delay: 15s; }
.home-slider-image-5 { animation-delay: 20s; }
.home-slider-image-6 { animation-delay: 25s; }




.home-slider-image:target {
	opacity: 1;
	animation: none;
	z-index: 2;
}

.home-slider:has(.home-slider-image:target) .home-slider-image.is-active {
	opacity: 0;
}

.home-slider-controls {
	display: none;
}

.home-slider-controls.is-active {
	display: flex;
}

.home-slider:has(#home-hero-slide-1:target) .home-slider-controls,
.home-slider:has(#home-hero-slide-2:target) .home-slider-controls,
.home-slider:has(#home-hero-slide-3:target) .home-slider-controls,
.home-slider:has(#home-hero-slide-4:target) .home-slider-controls,
.home-slider:has(#home-hero-slide-5:target) .home-slider-controls,
.home-slider:has(#home-hero-slide-6:target) .home-slider-controls {
	display: none;
}

.home-slider:has(#home-hero-slide-1:target) .home-slider-controls-1,
.home-slider:has(#home-hero-slide-2:target) .home-slider-controls-2,
.home-slider:has(#home-hero-slide-3:target) .home-slider-controls-3,
.home-slider:has(#home-hero-slide-4:target) .home-slider-controls-4,
.home-slider:has(#home-hero-slide-5:target) .home-slider-controls-5,
.home-slider:has(#home-hero-slide-6:target) .home-slider-controls-6 {
	display: flex;
}

.home-slider-arrow:hover,
.home-slider-arrow:focus {
	background-color: rgba(4, 42, 56, 0.48);
	border-color: #f7f5eb;
}

@keyframes homeHeroFade {
	0%, 20% { opacity: 1; }
	25%, 95% { opacity: 0; }
	100% { opacity: 1; }
}

.home-slider-cut {
	position: absolute;
	inset: 0 auto 0 0;
	width: 50px;
	background: #f7f5eb;
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.home-slider-arrows {
	position: absolute;
	right: 78px;
	bottom: 60px;
	display: flex;
	gap: 40px;
}

.home-slider-arrow {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(247, 245, 235, 0.9);
	border-radius: 50%;
	background-color: rgba(4, 42, 56, 0.18);
	text-decoration: none;
}

.home-slider-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13px;
	height: 13px;
	border-top: 3px solid #f7f5eb;
	border-right: 3px solid #f7f5eb;
}

.home-slider-arrow-left::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.home-slider-arrow-right::before {
	transform: translate(-65%, -50%) rotate(45deg);
}

@media screen and (max-width: 991px) {
	.home-hero-section {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.home-hero-content-wrapper {
		width: auto;
		margin: 0;
		padding: 56px 24px 40px;
	}

	.home-hero-heading {
		font-size: 40px;
	}

	.home-hero-copy {
		font-size: 17px;
	}

	.home-slider {
		min-height: 480px;
		order: -1;
	}

	.home-slider-cut {
		display: none;
	}

	.home-slider-arrows {
		right: 24px;
		bottom: 24px;
		gap: 18px;
	}
}

@media screen and (max-width: 479px) {
	.home-hero-heading {
		font-size: 34px;
	}

	.home-slider {
		min-height: 360px;
	}

	.home-hero-cta {
		width: 100%;
		min-width: 0;
	}
}

/* Home benefits section */
.home-benefits-section {
	background-color: #f7f5eb;
	padding: 72px 0;
}

.home-benefits-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 662px) minmax(0, 594px);
	gap: 64px;
	align-items: center;
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
}

.home-benefits-media {
	width: 100%;
	height: 708px;
	overflow: hidden;
	border-radius: 0;
}

.home-benefits-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-benefits-content {
	width: 100%;
	max-width: 594px;
	padding: 16px 20px;
}

.home-benefits-heading {
	margin: 0 0 22px;
	color: #000;
	font-size: 44px;
	line-height: 1.28;
	font-weight: 400;
	letter-spacing: 0;
}

.home-benefits-heading em {
	font-style: italic;
}

.home-benefits-card-list {
	display: grid;
	gap: 8px;
	margin-bottom: 20px;
}

.home-benefits-card {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 8px;
	align-items: center;
	min-height: 104px;
	padding: 16px 20px;
	border: 1px solid rgba(4, 42, 56, 0.18);
	border-radius: 10px;
	background-color: rgba(255, 251, 249, 0.72);
}

.home-benefits-icon {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.home-benefits-card-copy h3 {
	margin: 0 0 4px;
	color: #15151d;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: 0;
}

.home-benefits-card-copy p {
	margin: 0;
	color: #111;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
}

.pavan-footer-info p {
	font-size: 16px;
}

.home-benefits-cta.button {
	margin-top: 0;
}

@media screen and (max-width: 991px) {
	.home-benefits-section {
		padding: 56px 0;
	}

	.home-benefits-wrapper {
		grid-template-columns: 1fr;
		gap: 32px;
		width: min(100% - 48px, 720px);
	}

	.home-benefits-media {
		height: auto;
		aspect-ratio: 662 / 708;
	}

	.home-benefits-content {
		max-width: none;
		padding: 0;
	}

	.home-benefits-heading {
		font-size: 38px;
	}
}

@media screen and (max-width: 479px) {
	.home-benefits-section {
		padding: 44px 0;
	}

	.home-benefits-wrapper {
		width: calc(100% - 32px);
	}

	.home-benefits-heading {
		font-size: 32px;
	}

	.home-benefits-card {
		grid-template-columns: 48px 1fr;
		min-height: auto;
		padding: 14px;
	}

	.home-benefits-icon {
		width: 48px;
		height: 48px;
	}

	.home-benefits-card-copy h3 {
		font-size: 16px;
	}

	.home-benefits-card-copy p {
		font-size: 15px;
	}

	.home-benefits-cta.button {
		width: 100%;
		min-width: 0;
	}
}


/* Home Rodolfo section */
.home-rodolfo-section {
	background-color: #f7f5eb;
	padding: 72px 0;
}

.home-rodolfo-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 55%) minmax(0, 45%);
	width: min(1280px, calc(100% - 80px));
	min-height: 698px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 18px;
	background-color: #f7f5eb;
}

.home-rodolfo-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 698px;
	padding: 60px 72px 60px 50px;
	background-color: #810033;
	clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
}

.home-rodolfo-heading {
	max-width: 520px;
	margin: 0 0 28px;
	color: #f7f5eb;
	font-size: 52px;
	line-height: 1.28;
	font-weight: 900;
	letter-spacing: 0;
}

.home-rodolfo-heading em {
	font-style: italic;
}

.home-rodolfo-copy {
	max-width: 540px;
	margin-bottom: 24px;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

.home-rodolfo-copy p {
	margin: 0 0 22px;
	color: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.home-rodolfo-copy p:last-child {
	margin-bottom: 0;
}

.home-rodolfo-cta.button.secondario {
	margin-top: 4px;
}

.home-rodolfo-cta.button.secondario:hover,
.home-rodolfo-cta.button.secondario:focus,
.home-consulting-cta.button.secondario:hover,
.home-consulting-cta.button.secondario:focus {
	background-color: #042a38 !important;
	border-color: #042a38 !important;
	color: #f7f5eb !important;
}


.home-rodolfo-media {
	position: relative;
	z-index: 1;
	min-height: 698px;
	width: calc(100% + 80px);
	margin-left: -80px;
}

.home-rodolfo-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 698px;
	object-fit: cover;
	object-position: center;
}

@media screen and (max-width: 991px) {
	.home-rodolfo-section {
		padding: 56px 0;
	}

	.home-rodolfo-card {
		grid-template-columns: 1fr;
		width: min(100% - 48px, 720px);
		min-height: 0;
	}

	.home-rodolfo-content {
		min-height: 0;
		padding: 48px 32px;
		clip-path: none;
	}

	.home-rodolfo-heading {
		font-size: 42px;
	}

	.home-rodolfo-copy {
		font-size: 16px;
		line-height: 1.5;
	}

	.home-rodolfo-media {
		width: 100%;
		margin-left: 0;
	}

	.home-rodolfo-media,
	.home-rodolfo-image {
		min-height: 520px;
	}
}

@media screen and (max-width: 479px) {
	.home-rodolfo-section {
		padding: 44px 0;
	}

	.home-rodolfo-card {
		width: calc(100% - 32px);
		border-radius: 16px;
	}

	.home-rodolfo-content {
		padding: 36px 24px;
	}

	.home-rodolfo-heading {
		font-size: 34px;
	}

	.home-rodolfo-copy {
		font-size: 16px;
		line-height: 1.45;
	}

	.home-rodolfo-copy p {
		margin-bottom: 20px;
	}

	.home-rodolfo-cta.button.secondario {
		width: 100%;
		min-width: 0;
	}

	.home-rodolfo-media,
	.home-rodolfo-image {
		min-height: 420px;
	}
}


/* Home consulting CTA section */
.home-consulting-section {
	background-color: #f7f5eb;
	padding: 72px 0;
}

.home-consulting-intro {
	width: min(730px, calc(100% - 48px));
	margin: 0 auto 32px;
	text-align: center;
}

.home-consulting-heading {
	margin: 0 0 24px;
	color: #000;
	font-size: 40px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0;
}

.home-consulting-copy {
	margin: 0;
	color: #111;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

.home-consulting-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: min(1284px, calc(100% - 156px));
	margin: 0 auto;
	align-items: stretch;
}

.home-consulting-card {
	display: flex;
	height: auto;
	min-height: 0;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 40px 40px;
	border-radius: 18px;
	color: #f7f5eb;
	text-align: center;
}

.home-consulting-card-sale {
	background-color: #042a38;
}

.home-consulting-card-rent {
	background-color: #810033;
}

.home-consulting-icon {
	width: 100px;
	height: 100px;
	margin-bottom: 10px;
	object-fit: contain;
}

.home-consulting-card h3 {
	width: min(550px, 100%);
	margin: 0 0 12px;
	color: #f7f5eb;
	font-size: 40px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: 0;
}

.home-consulting-card p {
	width: min(394px, 100%);
	margin: 0 0 16px;
	color: #fff;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
}

.home-consulting-card-rent p {
	width: min(340px, 100%);
}

.home-consulting-cta.button.secondario {
	margin-top: auto;
}


@media screen and (max-width: 1199px) and (min-width: 992px) {
	.home-consulting-card {
		min-height: 0;
		padding: 34px 32px;
	}

	.home-consulting-card h3 {
		font-size: 34px;
	}

	.home-consulting-card p {
		font-size: 16px;
		line-height: 1.45;
	}
}

@media screen and (max-width: 991px) {
	.home-consulting-section {
		padding: 56px 0;
	}

	.home-consulting-cards {
		grid-template-columns: 1fr;
		width: min(100% - 48px, 720px);
	}

	.home-consulting-card {
		min-height: auto;
		padding: 36px 28px;
	}

	.home-consulting-card h3 {
		font-size: 34px;
	}

	.home-consulting-card p {
		font-size: 16px;
		line-height: 1.45;
	}
}

@media screen and (max-width: 479px) {
	.home-consulting-section {
		padding: 44px 0;
	}

	.home-consulting-intro,
	.home-consulting-cards {
		width: calc(100% - 32px);
	}

	.home-consulting-heading {
		font-size: 32px;
	}

	.home-consulting-card {
		padding: 32px 20px;
		border-radius: 16px;
	}

	.home-consulting-icon {
		width: 84px;
		height: 84px;
	}

	.home-consulting-card h3 {
		font-size: 29px;
	}

	.home-consulting-card p {
		font-size: 18px;
	}

	.home-consulting-cta.button.secondario {
		width: 100%;
		min-width: 0;
	}
}


/* Footer 2026 */
.pavan-footer-2026.footer {
	position: relative;
	background-color: #f7f5eb;
	padding: 32px 0;
}

.pavan-footer-inner {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr) minmax(260px, 340px) 88px;
	gap: 48px;
	align-items: start;
	width: min(1280px, calc(100% - 160px));
	min-height: 224px;
	margin: 0 auto;
}

.pavan-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

.pavan-footer-logo {
	display: block;
	width: 230px;
	height: auto;
}

.pavan-footer-socials {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-left: 68px;
}

.pavan-footer-social-link img.social-icon {
	width: 30px;
	height: 30px;
}

.pavan-footer-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(110px, 1fr));
	gap: 28px 56px;
	padding-top: 4px;
}

.pavan-footer-nav .footer-link {
	padding: 0;
	color: #042a38;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 400;
	text-decoration: none;
}

.pavan-footer-info {
	padding-top: 2px;
	color: #1d2430;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
}

.pavan-footer-info p {
	margin: 0 0 28px;
	color: inherit;
}

.pavan-footer-info p:last-child {
	margin-bottom: 0;
}

.pavan-footer-top.top-again {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	align-self: start;
	margin: 0 0 0 auto !important;
	border-radius: 50%;
	background-color: #810033;
	transform: none;
}

.pavan-footer-top .top-again-icon {
	width: 36px;
	height: 36px;
	filter: brightness(0) invert(1);
	transform: rotate(-90deg);
}

@media screen and (max-width: 991px) {
	.pavan-footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
		width: min(100% - 48px, 720px);
	}

	.pavan-footer-top.top-again {
		grid-column: 2;
		grid-row: 1;
	}

	.pavan-footer-info {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 640px) {
	.pavan-footer-2026.footer {
		padding: 36px 0;
	}

	.pavan-footer-inner {
		grid-template-columns: 1fr;
		width: calc(100% - 32px);
		gap: 28px;
		text-align: left;
	}

	.pavan-footer-top.top-again {
		grid-column: auto;
		grid-row: auto;
		order: -1;
		margin-left: 0;
	}

	.pavan-footer-socials {
		padding-left: 0;
	}

	.pavan-footer-nav {
		grid-template-columns: 1fr 1fr;
		gap: 18px 24px;
	}
}


/* Footer credits placement */
.pavan-footer-2026 + .mycontain {
	display: none;
}

.pavan-footer-2026 ~ .footer-credits {
	position: static;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 30px;
	background-color: #042a38;
	color: #f7f5eb;
}

@media screen and (max-width: 640px) {
	.pavan-footer-2026 ~ .footer-credits {
		gap: 10px;
		align-items: flex-start;
	}
}

/* Home listing cards */
@media screen and (min-width: 768px) {
	.case-home-wrapper .card-case-home {
		height: 720px;
		max-height: 720px;
	}

	.case-home-wrapper .card-case-title-home {
		flex: 0 0 auto;
	}

	.case-home-wrapper .slider-case-home {
		flex: 1 1 auto;
		min-height: 0;
		height: auto;
	}

	.case-home-wrapper .mask-slider-home,
	.case-home-wrapper .slide-case-home,
	.case-home-wrapper .relative-slider {
		height: 100%;
		min-height: 0;
	}

	.case-home-wrapper .img-slide-home {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.case-home-wrapper .visualizza-tutti-btn {
		flex: 0 0 auto;
	}
}/* Home listing card colors */
.case-home-wrapper .card-case-home:nth-child(1) .card-case-title-home,
.case-home-wrapper .card-case-home:nth-child(1) .visualizza-tutti-btn {
	background-color: #042a38;
}

.case-home-wrapper .card-case-home:nth-child(2) .card-case-title-home,
.case-home-wrapper .card-case-home:nth-child(2) .visualizza-tutti-btn {
	background-color: #810033;
}

/* Home heading weight */
body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6 {
	font-weight: 600;
}



/* Home hero ACF slider */
.home-slider[data-slide-count="2"] .home-slider-image { animation-duration: 10s; }
.home-slider[data-slide-count="3"] .home-slider-image { animation-duration: 15s; }
.home-slider[data-slide-count="4"] .home-slider-image { animation-duration: 20s; }
.home-slider[data-slide-count="5"] .home-slider-image { animation-duration: 25s; }
.home-slider[data-slide-count="6"] .home-slider-image { animation-duration: 30s; }
