/*
Theme Name: Rombon11
Author: Neiko srl
Author URI: http://www.neiko.it/
Description: Rombon11 - 2026
Version: 1.0
Text Domain: rombon11
License: GNU General Public License v2 or later
*/

@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-Variable.woff2') format('woff2'),
       url('fonts/Manrope-Variable.woff') format('woff'),
       url('fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/*  FONTS e COLORI */
:root {
	
	--dark: #222323;
	--light: #f6EDD0;
	--primary: #1D2D23;
	--primary-light: #42432F;
	--accent: #C3A321;
	--accent-light: #DDC66F; 
	
	--550: clamp(15.625rem, 28.646vw, 34.375rem);
	--400: clamp(12.500rem, 20.833vw, 25.000rem);
	--200: clamp(7.813rem, 10.417vw, 12.500rem);
	--150: clamp(3.125rem, 7.813vw, 9.375rem);
	--100: clamp(2.500rem, 5.208vw, 6.250rem);
	--80: clamp(2.500rem, 4.167vw, 5.000rem);
	--70: clamp(2.188rem, 3.646vw, 4.375rem);
	--60: clamp(1.875rem, 3.125vw, 3.750rem);
	--50: clamp(1.875rem, 2.604vw, 3.125rem);
	--40: clamp(1.500rem, 2.083vw, 2.500rem);
	--32: clamp(1.3rem, 1.667vw, 2.000rem);
	--30: clamp(1.250rem, 1.563vw, 1.875rem);
	--24: clamp(1.250rem, 1.250vw, 1.500rem);
	--20: clamp(0.938rem, 1.042vw, 1.250rem);
	--18: clamp(1.000rem, 0.938vw, 1.125rem);
	--15: clamp(0.938rem, 0.781vw, 0.938rem);
	--10: clamp(0.438rem, 0.521vw, 0.625rem);
	
	--font-title: 'bc-barell', sans-serif;
	--font-text: 'Manrope', sans-serif;
	--font-weight-regular: 400; /* Light */
	--font-weight-bold: 700; /* Bold */
	--font-weight-title: 500; /* Medium */
	
	--transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* GENERAL */
html,body {
	margin: 0;
	padding:0;
	background-color: var(--light);
	color: var(--dark);
	font-family: var(--font-text);
	font-weight: var(--font-weight-regular);
	font-size: 16px !important;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
}

@media (min-width: 1400px){ 
	html,body {
		font-size: 18px !important;
	}
}

.container-fluid {
	padding-left: var(--100);
	padding-right: var(--100);
}

@media (max-width: 575.99px) {
	.container-fluid {
		padding-left: var(--30);
		padding-right: var(--30);
	}
}



img,a img {
	border:none!important;
}

::-moz-selection {
	background:none repeat scroll 0 0 #FFF;
	color:#000;
}

* {
	outline:0!important;
}

b,strong,.bold { 
	font-weight:var(--font-weight-bold);
}

a,a:visited { 
	outline-style: none;
	text-decoration: none;
	color: none;
}

a:hover {
	cursor:pointer !important;
	color: none;
	text-decoration:none;
}

/* MARGIN E PADDING */

.py150 {
	padding-top: var(--150);
	padding-bottom: var(--150);
}

.py50 {
	padding-top: var(--50);
	padding-bottom: var(--50);
}

.pt150 {
	padding-top: var(--150);
}

.pt100 {
	padding-top: var(--100);
}

.pt70 {
	padding-top: var(--70);
}

.pt50 {
	padding-top: var(--50);
}

.pt40 {
	padding-top: var(--40);
}

.pt30 {
	padding-top: var(--30);
}

.pb10 {
	padding-bottom: var(--10);
}

.pb30 {
	padding-bottom: var(--30);
}

.pb50 {
	padding-bottom: var(--50); 
}

.pb70 {
	padding-bottom: var(--70); 
}

.pb100 {
	padding-bottom: var(--100);
}

.pb150 {
	padding-bottom: var(--150);
}

.pl20 {
	padding-left: var(--20);
}

.mt30 {
	margin-top: var(--30);
}

/* TYPO */

.big{
	font-size: 1.1rem;  
}
.small{
	font-size: 0.9rem;	
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{ 
	font-family: var(--font-title);
	font-weight: var(--font-weight-title);
	line-height: 110%;
	text-transform: uppercase;
	margin: 0;
}

h1,.h1 {
	font-size: var(--80);
}

h2,.h2 {
	font-size: var(--60);
}

h3,.h3 {
	font-size: var(--32);
}

h4,.h4 {
	font-size: var(--24);
}

p,.p {
	font-family: var(--font-text);
	font-size: var(--18);
	line-height: 130%;
	margin: 0;
}

/* BUTTONS */

.primary-btn {
	font-size: var(--20);
	font-family: var(--font-title);
	color: var(--primary);
	text-decoration: none;
	border-radius: var(--10);
	text-transform: uppercase;
	padding: var(--10) var(--10);
	position: relative;
	transition: var(--transition);
}

.primary-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid currentColor;
	border-radius: inherit;
	transform: scaleY(0);
	transform-origin: left;
	transition: var(--transition);
}

.primary-btn:hover::after {
	transform: scaleY(1);
}

.secondary-btn {
	font-size: var(--20);
	font-family: var(--font-title);
	text-decoration: none;
	color: var(--light);
	border-radius: var(--10);
	text-transform: uppercase;
	padding: var(--10) var(--10);
	position: relative;
	transition: var(--transition);
}

.secondary-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--accent);
	border-radius: inherit;
	transform: scaleY(0);
	transform-origin: left;
	transition: var(--transition);
}

.secondary-btn:hover::after {
	transform: scaleY(1);
}

.link {
	font-size: var(--18);
	font-family: var(--font-text);
	color: var(--light);
	text-decoration: none;
	transition: var(--transition);
	width: fit-content;
}

.link:hover {
	text-decoration: underline;
	color: var(--accent);	
}

.scopri-container {
	position: absolute;
	bottom: var(--100);
	right: var(--100);
	transform: translateX(-50%);
	z-index: 10;
	animation: floatBtn 1s infinite alternate;
}

/* Keyframes per movimento verticale */
@keyframes floatBtn {
	0% {
		transform: translateX(-50%) translateY(0);
	}
	
	50% {
		transform: translateX(-50%) translateY(-15px); /* altezza del movimento */
	}
	
	100% {
		transform: translateX(-50%) translateY(-15px); /* altezza del movimento */
	}
}

/* Cubic-bezier per effetto più naturale */
.scopri-container {
	animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}


@media (max-width: 767.99px) {
	.scopri-container {
		display: none;
	}
}

@media (max-width: 575.99px) {
	.scopri-container {
		display: none;
	}
}



/* COLORS */

.dark-bg {
	background-color: var(--dark);
}

.light-bg {
	background-color: var(--light);
}

.yellow-bg {
	background-color: var(--accent);
}

.green-bg {
	background-color: var(--primary);
}

.light-green-bg {
	background-color: var(--primary-light);
}

.light {
	color: var(--light);
}

.yellow {
	color: var(--accent);
}

.primary {
	color: var(--primary);
}

/* ELEMENTI */

.border-radius {
	border-radius: var(--10);
}

/* ANIMAZIONE TESTI */

.animated-text {
	overflow: hidden;
	display: block;
}

.animated-text span {
	display: inline-block;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 1.5s cubic-bezier(0.08,0.82,0.17,1), opacity 1s cubic-bezier(0.08,0.82,0.17,1);
}

.animated-text.visible span {
	transform: translateY(0);
	opacity: 1;
}

/* LOADER */

#loader {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.8);
	z-index: 9999; 
	display: flex;
	justify-content: center;
	align-items: center;
}

.loader-inner {
	border: 8px solid #fff; /* Colore di sfondo del loader */
	border-top: 8px solid #000; /* Colore del loader */
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/* HEADER */

#header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	padding: 0;
	margin: 0;
	transition: var(--transition);
}

.navbar {
	padding: 0;
}

.navbar .container-fluid {
	padding-top: var(--50);
	padding-bottom: var(--50);
	transition: var(--transition);
}

.logo-main {
	transition: var(--transition);
}

/* Stato compatto */
#header.scrolled {
	background-color: var(--primary);
}

#header.scrolled .container-fluid {
	padding-top: var(--30);
	padding-bottom: var(--30);
}

#header.scrolled .logo-main {
	max-width: 200px;
	transition: var(--transition);
}

.page-template-page-privacy #header,
.page-template-page-cookie #header {
	background-color: var(--primary);
}

.page-template-page-privacy .menu-margin,
.page-template-page-cookie .menu-margin {
	margin-top: 50px !important;
}


@media (min-width: 1400px){ 
	.page-template-page-privacy .menu-margin,
	.page-template-page-cookie .menu-margin {
		margin-top: 160px !important;
	}
}


.page-template-page-privacy h1,
.page-template-page-cookie h1 {
	font-size: 50px;
	margin-bottom: 10px !important;
}

.page-template-page-privacy h2, .page-template-page-privacy h3,
.page-template-page-cookie h2 {
	margin-bottom: 10px !important;
	margin-top: 50px !important;
}

.page-template-page-privacy h2,
.page-template-page-cookie h2 {
	font-size: 24px;
}

.page-template-page-privacy h3,
.page-template-page-cookie h3 {
	font-size: 18px;
}

.page-template-page-privacy #content a,
.page-template-page-cookie #content a {
	color: var(--bs-heading-color);
	text-decoration: underline;
}

.custom-menu {
	display: flex;
	align-items: center;
}

.custom-menu ul {
	display: flex;
	flex-direction: row;
	gap: var(--30);
	list-style: none;
	margin: 0;
	padding: 0;
}

.custom-menu li {
	align-content: center;
}

.custom-menu li a {
	color: var(--light);
	font-family: var(--font-title);
	font-size: var(--20);
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--10);
	padding: var(--10) var(--10);
	position: relative;
	transition: var(--transition);
	z-index: 1;
}

.custom-menu li a::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--accent);
	border-radius: inherit;
	transform: scaleY(0);
	transform-origin: left;
	transition: var(--transition);
	z-index: -1;
}

.custom-menu li a:hover::before {
	transform: scaleY(1);
	background-color: transparent;
}

.custom-menu li a.is-active::before {
	transform: scaleY(1);
	background-color: var(--accent);
}

.custom-menu li a #text {
	z-index: 10;
}


.custom-toggle {
	display: none;
}


@media (max-width: 767.99px) {
	
	#header .logo-main {
		max-width: 180px;
		transition: var(--transition);
	}
	
	#header.scrolled .logo-main {
		max-width: 150px;
		transition: var(--transition);
	}
	
	.custom-menu {
		display: flex;
	}
	
	.custom-toggle {
		display: flex !important;
		z-index: 101;
	}
	
	.custom-menu {
		position: fixed;
		top: 0;
		right: -101%;
		width: 101%;
		height: 100vh;
		background-color: rgba(29, 45, 35, 0.95);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
		z-index: 100;
	}
	
	.custom-menu.open {
		right: 0;
	}
	
	.custom-menu ul {
		flex-direction: column;
		gap: var(--30);
	}
	
	.custom-menu ul li a {
		font-size: var(--60);
	}
	
	.custom-toggle {
		display: flex;
		width: 32px;
		height: 22px;
		position: relative;
		background: none;
		border: none;
		cursor: pointer;
		display: none;
		flex-direction: column;
		justify-content: space-between;
		padding: 0;
		z-index: 101;
	}
	
	.custom-toggle .line {
		display: block;
		height: 2px;
		width: 100%;
		background-color: var(--light);
		border-radius: 2px;
		transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
		transform-origin: center;
	}
	
	/* Stato aperto (diventa X) */
	.custom-toggle.open .line-1 {
		transform: rotate(45deg) translate(6px, 7px);
	}
	
	.custom-toggle.open .line-2 {
		opacity: 0;
	}
	
	.custom-toggle.open .line-3 {
		transform: rotate(-45deg) translate(6px, -7px);
	}	
	
}


/* WPML */

.wpml-ls-legacy-list-horizontal {
	padding: 0;
}

.wpml-ls-link {
	padding: 0;
}

/* FOOTER */

.wrapper-credits {
	position: absolute;
	bottom: var(--30);
	right: var(--100);
	z-index: 2;
}

.elemento-left-bottom-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
	width: var(--550);
}

@media (max-width: 767.99px) {
	.logo-covivio {
		width: 75%;
	}
	
	.logo-prelios {
		width: 75%;
	}
	
	.logo-target {
		width: 75%;
	}
}

@media (max-width: 575.99px) {
	
	.wrapper-credits {
		position: absolute;
		bottom: var(--30);
		right: var(--30);
		z-index: 2;
	}
	
	.logo-footer {
		width: 100%;
	}
	
	.logo-covivio {
		width: 60%;
	}
	
	.logo-prelios {
		width: 60%;
	}
	
	.logo-target {
		width: 60%;
	}
}

.logo-target {
	width: 70%;
}

/* PAGINE */

/* HOMEPAGE */

.container-hero {
	width: 100%;
	height: 100vh;
	position: relative;
	display: flex;
	padding: 0;
	margin: 0;
}

.grafica-hero-left {
	width: auto;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.grafica-hero-right {
	width: auto;
	height: 100vh;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
}

.overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
	z-index: 1;
}

.overlay-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
	z-index: 1;
}

#home-hero .wrapper-hero {
	position: absolute;
	left: 30%;
	bottom: var(--100);
	z-index: 3;
}

.img-hero {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: center;
}

.img-hero img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

.img-breeam {
	position: absolute;
	bottom: var(--100);
	left: var(--100);
	z-index: 3;
}

@media (max-width: 991.99px) {
	.container-hero {
		width: 100%;
		height: 65vh;
		position: relative;
		display: flex;
		padding: 0;
		margin: 0;
	}
	
	.grafica-hero-left {
		width: auto;
		height: 65vh;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
	}
	
	.grafica-hero-right {
		width: auto;
		height: 65vh;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
	}
	
	.overlay {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
		z-index: 1;
	}
	
	.overlay-img {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
		z-index: 1;
	}
	
	#home-hero .wrapper-hero {
		position: absolute;
		left: 30%;
		bottom: var(--100);
		z-index: 3;
	}
	
	.img-hero {
		width: 100%;
		height: 65vh;
		object-fit: cover;
		object-position: center;
	}
	
	.img-hero img {
		width: 100%;
		height: 65vh;
		object-fit: cover;
	}
	
	.img-breeam {
		position: absolute;
		bottom: var(--100);
		left: var(--100);
		z-index: 3;
		width: var(--200);
	}
}

@media (max-width: 575.99px) {
	.container-hero {
		width: 100%;
		height: 45vh;
		position: relative;
		display: flex;
		padding: 0;
		margin: 0;
	}
	
	.grafica-hero-left {
		width: auto;
		height: 45vh;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
	}
	
	.grafica-hero-right {
		width: auto;
		height: 45vh;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
	}
	
	.overlay {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
		z-index: 1;
	}
	
	.overlay-img {
		position: absolute;
		left: 12px;
		top: 0;
		width: calc(100% - 24px);
		height: 100%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.125) 0%, rgba(0, 0, 0, 0.5) 100%);
		z-index: 1;
	}
	
	#home-hero .wrapper-hero {
		position: absolute;
		left: 25%;
		bottom: var(--50);
		z-index: 3;
	}
	
	.img-hero {
		width: 100%;
		height: 45vh;
		object-fit: cover;
		object-position: center;
	}
	
	.img-hero img {
		width: 100%;
		height: 45vh;
		object-fit: cover;
	}
	
	.img-breeam {
		position: absolute;
		bottom: var(--50);
		left: var(--50);
		z-index: 3;
		width: var(--150);
	}
	
	.container-img-spaces {
		height: 60vh;
		width: 100%;
	}
	
	.container-img-spaces picture {
		object-fit: cover;
		height: 60vh;
		width: 100%;
	}
	
	.container-img-spaces picture img {
		object-fit: cover;
		height: 60vh;
		width: 100%;
	}
}


.intro-label {
	font-size: var(--20);
	text-transform: uppercase;
	color: var(--primary-light);
	font-family: var(--font-title);
}

.intro-label-light {
	font-size: var(--20);
	text-transform: uppercase;
	color: var(--light);
	font-family: var(--font-title);
}

.elemento-left-bottom {
	position: absolute;
	left: var(--100);
	bottom: 0;
	width: var(--550);
}

.elemento-left-bottom-2 {
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translateY(50%);
	z-index: 2;
	height: var(--550);
}

.wrapper-space {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

@media (max-width: 575.99px) {
	
	.elemento-left-bottom {
		display: none;
	}
	
	.wrapper-space {
		display: flex;
		flex-direction: column;
		align-items: center;
		position: absolute;
		width: 80%;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
	}
	
	.elemento-left-bottom-2 {
		display: none;
	}
	
	.elemento-right-top {
		display: none;
	}
}



/* PAGINA PROGETTO */

.wrapper-hero {
	position: absolute;
	left: var(--100);
	bottom: var(--100);
	z-index: 2;
}

.elemento-top-right {
	position: absolute;
	right: 0;
	top: 0;
	transform: translate(50%, -50%);
	animation: spin 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes spin {
	from {
		transform: translate(50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(50%, -50%) rotate(360deg);
	}
}

.elemento-top-right.is-rotating {
	animation: slow-rotate 6s linear infinite;
}

@media (max-width: 575.99px) {
	.wrapper-hero {
		position: absolute;
		left: var(--30);
		bottom: var(--30);
		z-index: 2;
	}
	
	.elemento-top-right {
		width: var(--200);
		position: absolute;
		right: 0;
		top: 0;
		transform: translate(50%, -50%);
		animation: spin 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
	}
	
	.icon-progetto {
		width: var(--150);
		height: auto;
	}
}


/* GALLERIA */

.container-esterni {
	width: 50%;
	height: 100vh;
	position: relative;
}

.container-esterni img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: center;
}

.wrapper-esterni {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container-interni {
	width: 50%;
	height: 100vh;
	position: relative;
}

.container-interni img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: center;
}

.wrapper-interni {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (max-width: 767.99px) {
	
	.container-esterni {
		width: 100%;
		height: 50vh;
		position: relative;
	}
	
	.container-esterni img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
		object-position: center;
	}
	
	.wrapper-esterni {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.container-interni {
		width: 100%;
		height: 50vh;
		position: relative;
	}
	
	.container-interni img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
		object-position: center;
	}
	
	.wrapper-interni {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}


@media (max-width: 575.99px) {
	
	.container-esterni {
		width: 100%;
		height: 50vh;
		position: relative;
	}
	
	.container-esterni img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
		object-position: center;
	}
	
	.wrapper-esterni {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.container-interni {
		width: 100%;
		height: 50vh;
		position: relative;
	}
	
	.container-interni img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
		object-position: center;
	}
	
	.wrapper-interni {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}


/* LOCATION */

.container-interesse {
	width: 100%;
	height: 100vh;
}

.img-interesse {
	width: 100%;
	height: 100vh;
	position: relative;
	object-fit: cover;
}

.wrapper-text {
	padding: var(--30);
	border-radius: var(--10);
	background-color: var(--light);
	position: absolute;
	left: var(--100);
	top: var(--100);
	z-index: 2;
}

.wrapper-icon {
	padding: var(--30);
	border-radius: var(--10);
	background-color: var(--light);
	position: absolute;
	left: var(--100);
	bottom: var(--100);
	z-index: 2;
}

@media (min-width: 768px) {
	/* Keep both cards in flow so short viewports cannot make them overlap. */
	.container-interesse {
		height: auto;
		min-height: 100vh;
	}

	.container-interesse > .img-interesse {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	.container-interesse > .img-interesse img {
		height: 100%;
	}

	.wrapper-text-icon {
		position: relative;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		gap: var(--30);
		padding-block: var(--100);
	}

	.wrapper-text,
	.wrapper-icon {
		position: relative;
		top: auto;
		bottom: auto;
		flex-shrink: 0;
	}
}

.table {
	background-color: transparent;
}

.table>:not(caption)>*>* {
	padding: .5rem .5rem;
	color: var(--light);
	background-color: transparent;
	border-bottom-width: var(--bs-border-width);
	border-bottom: 1px solid var(--primary-light);
	box-shadow: inset 0 0 0 0px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
	vertical-align: middle;
}

.elemento-right-top {
	position: absolute;
	right: 0;
	top: 0;
	transform: translateY(-50%);
	z-index: 2;
	width: var(--200);
}

.elemento-left-top {
	position: absolute;
	left: 0;
	top: 0;
	transform: translateY(-50%);
	z-index: 2;
	width: var(--200);
}

.elemento-bottom-right-square {
	position: absolute;
	right: 0;
	bottom: 0;
	transform: translate(50%, 50%);
	animation: spinthat 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes spinthat {
	from {
		transform: translate(50%, 50%) rotate(0deg);
	}
	to {
		transform: translate(50%, 50%) rotate(360deg);
	}
}


.table-superfici>:not(caption)>*>* {
	padding: .5rem .5rem;
	color: var(--dark);
	background-color: transparent;
	border-bottom-width: var(--bs-border-width);
	border-bottom: 0px solid var(--primary-light);
	box-shadow: inset 0 0 0 0px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
	vertical-align: middle;
	text-align: center;
	text-transform: uppercase;
}

.table-superfici tr.last-row td {
	border-top: 2px solid var(--primary-light);
}

@media (max-width: 767.98px) {
	.elemento-bottom-right-square {
		position: absolute;
		right: 0;
		bottom: 0;
		transform: translate(50%, 50%);
		animation: spinthat 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
		width: var(--200);
	}
	
	.container-interesse {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
	}
	
	.img-interesse {
		width: 100%;
		height: 50vh;
		position: relative;
		object-fit: cover;
	}
	
	.wrapper-text-icon {
		display: flex;
		flex-direction: row;
	}
	
	.wrapper-text {
		height: auto;
		padding: 0;
		border-radius: 0;
		background-color: var(--light);
		position: relative;
		left: var(--100);
		top: var(--50);
		z-index: 2;
		margin-bottom: var(--150);
	}
	
	.wrapper-icon {
		height: auto;
		padding: 0;
		border-radius: 0;
		background-color: var(--light);
		position: relative;
		right: var(--100);
		top: var(--100);
		z-index: 2;
		margin-bottom: var(--100);
	}

}

@media (max-width: 575.99px) {
	.table-responsive-mobile {
		width: 100%;
		overflow-x: scroll; /* permette lo scroll orizzontale */
		-webkit-overflow-scrolling: touch; /* scorrimento fluido su iOS */
	}
	
	.table-responsive-mobile table {
		min-width: 150%; /* larghezza reale della tabella */
	}
	
	.elemento-bottom-right-square {
		position: absolute;
		right: 0;
		bottom: 0;
		transform: translate(50%, 50%);
		animation: spinthat 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
		width: var(--200);
	}
}


/* CONTATTI */

.full-height {
	height: 100vh;
}

.elemento-bottom-right {
	width: 30%;
	height: auto;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.border {
	background-color: var(--accent);
	opacity: .5;
	width: 100%;
	height: 1px;
}


.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
	display: none !important;
}

.otgs-development-site-front-end {
	display: none !important;
}

@media (max-width: 767.99px) {
	#contatti.full-height {
		height: auto;
		padding: var(--100) var(--30);
	}
	
	#contatti.contact-wrapper {
		width: 100%;
		height: auto;
		padding: var(--200) 0 !important;
		margin: 0 !important;
	}
	
	#contatti.contact-wrapper-wrapper {
		width: 100%;
		height: auto;
		padding: 0 !important;
		margin: 0 !important;
	}
}

@media (max-width: 575.99px) {
	#contatti.full-height {
		height: auto;
		padding: var(--100) var(--30);
	}
	
	#contatti.contact-wrapper {
		width: 100%;
		height: auto;
		padding: var(--200) 0 !important;
		margin: 0 !important;
	}
	
	#contatti.contact-wrapper-wrapper {
		width: 100%;
		height: auto;
		padding: 0 !important;
		margin: 0 !important;
	}
}

.contact-logo-prelios {
	width: var(--400);
}

.contact-logo-covivio {
	width: var(--400);
}

.contact-logo-target {
	width: var(--400);
}

@media (max-width: 767.99px) {
	.contact-logo-prelios {
		width: var(--200);
	}
	
	.contact-logo-covivio {
		width: var(--200);
	}
	
	.contact-logo-target {
		width: var(--200);
	}
}

/* BOTTONE SCOPRI */

/* Italiano visibile, Inglese nascosto */
body.lang-it .btn-it { display: inline-block; }
body.lang-it .btn-en { display: none; }

/* Inglese visibile, Italiano nascosto */
body.lang-en .btn-en { display: inline-block; }
body.lang-en .btn-it { display: none; }

/* COOKIE */
.ctl-section {
    margin-bottom: 40px;
}

.ctl-section__title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid currentColor;
}

.ctl-table-wrap {
    overflow-x: auto; /* scroll orizzontale su mobile */
}

.ctl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ctl-table th {
    background: #f5f5f5;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.ctl-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    color: #333;
}

.ctl-table tbody tr:last-child td {
    border-bottom: none;
}

.ctl-table tbody tr:hover td {
    background: #fafafa;
}

/* Colonna "Parte" — larghezza fissa, centrata */
.ctl-table th:nth-child(2),
.ctl-table td:nth-child(2) {
    text-align: center;
    width: 90px;
}

/* Colonna "Durata" — larghezza contenuta */
.ctl-table th:nth-child(5),
.ctl-table td:nth-child(5) {
    white-space: nowrap;
    width: 100px;
}
/* Shared contact form (Fase 1). */
.rb-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#richiesta-info { scroll-margin-top: 120px; }
.rb-contact-form .form-control { min-height: 44px; }
.rb-contact-form .rb-check label { display: block; min-height: 44px; padding-bottom: .5rem; line-height: 1.5; }
.rb-contact-form button { min-height: 44px; }
.rb-contact-form :is(input, button, a):focus-visible { outline: 3px solid var(--primary) !important; outline-offset: 4px; }
.rb-contact-form button:disabled { opacity: .6; cursor: wait; }
.rb-contact-form #contact-msg { min-height: 1.5em; }
.rb-contact-form #contact-msg.text-danger { color: #9c1c24 !important; }


/* Contact section shared by site pages and the landing. */
.rb-contact-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: var(--70); padding-top: var(--70); padding-bottom: var(--70); background: var(--light); color: var(--primary); }
.rb-form-copy h2 { font-size: var(--50); color: var(--primary); }
.rb-form-copy p { margin-top: 1.5rem; white-space: pre-line; }
.rb-form-panel { color: var(--dark); padding: var(--40); border: 1px solid var(--primary); border-radius: var(--10); background: var(--light); }
.rb-form-panel button { border: 1px solid var(--primary) !important; padding: .75rem 1rem; }
.rb-contact-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-image: url("images/graphic-element-4.svg");
	background-position: left bottom;
	background-size: auto min(90%, 600px);
	background-repeat: no-repeat;
}
.rb-form-copy, .rb-form-panel { position: relative; z-index: 1; }
.rb-form-copy p { max-width: 38ch; color: var(--primary); }
/* Shared form: coherent spacing and native, accessible checkbox controls. */
.rb-contact-section .rb-contact-form { --bs-gutter-y: 1.25rem; }
.rb-contact-section .rb-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: .75rem; margin: 0; padding: 0; min-height: 44px; }
.rb-contact-section .rb-check .form-check-input {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	place-content: center;
	float: none;
	width: 22px;
	height: 22px;
	margin: .15rem 0 0;
	border: 1.5px solid var(--primary);
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}
.rb-contact-section .rb-check .form-check-input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--light); border-bottom: 2px solid var(--light); transform: translateY(-1px) rotate(-45deg) scale(0); }
.rb-contact-section .rb-check .form-check-input:checked { background-color: var(--primary); }
.rb-contact-section .rb-check .form-check-input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.rb-contact-section .rb-check label { padding-bottom: 0; cursor: pointer; font-size: .875em; }
.rb-contact-section .rb-consent-row + .rb-consent-row { margin-top: .5rem; }
.rb-form-copy .rb-form-note { display: inline-block; max-width: 100%; margin: 0 0 var(--30); padding: .6rem .85rem; border: 1px solid var(--primary); border-radius: var(--10); color: var(--primary); font-family: var(--font-title); font-size: var(--24); line-height: 1.25; }
@media (forced-colors: active) {
	.rb-contact-section .rb-check .form-check-input { appearance: auto; -webkit-appearance: auto; }
	.rb-contact-section .rb-check .form-check-input::after { content: none; }
}
@media (max-width: 991.99px) {
	.rb-contact-section { grid-template-columns: minmax(0, 1fr); }
}
.rb-site-form { scroll-margin-top: calc(2 * var(--50) + 76px); }
.rb-contact-section .rb-check a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.rb-contact-section .rb-form-panel:focus-within { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.rb-contact-section .fadein_block, .rb-contact-section .animated-text span { opacity: 1; transform: none; transition: none !important; }
}
@media print {
	.rb-contact-section .fadein_block, .rb-contact-section .animated-text span { opacity: 1; transform: none; }
}

/* Contact data shared by the site, landing and thank-you. */
.rb-footer-brand { margin-bottom: var(--50); }
.rb-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--50); position: relative; z-index: 1; }
.rb-contact-card { min-width: 0; }
.rb-contact-role { font-size: var(--15); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.rb-contact-logo { width: 260px; max-width: 100%; height: 100px; object-fit: contain; object-position: left center; margin-bottom: 1.5rem; }
.rb-contact-card :is(h2, h3) { font-size: var(--24); margin-bottom: 1rem; color: inherit; }
.rb-contact-card a { display: flex; align-items: center; width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: inherit; }
.rb-contact-card a:focus-visible { outline: 3px solid currentColor !important; outline-offset: 4px; }
.rb-building-address { margin-top: var(--40); position: relative; z-index: 1; }
.green-bg .rb-contact-card, .green-bg .rb-building-address { color: var(--light); }
.rb-contacts-page { padding-top: calc(2 * var(--50) + 60px + var(--70)); padding-bottom: var(--70); min-height: 70vh; }
.rb-contacts-page h1 { margin-bottom: var(--70); }

@media (max-width: 767.98px) {
	.rb-footer-brand { margin-bottom: var(--100); max-width: 150px; }
	.rb-contacts { gap: var(--100); }
	.rb-contact-logo { height: fit-content; }
	.rb-building-address { margin-top: var(--70); }
}
