body {
	font-family: "Poppins", sans-serif;
}
a {
	text-decoration: none;
}
.cta {
	padding: 10px 40px;
	border-radius: 28px;
	border: 1px solid #0E0E0E;
	font-size: 22px;
	font-weight: 300;
	line-height: normal;
	color: #0E0E0E;
}
.cta:hover {
	background-color: #000000;
	color: #FFFFFF;
	transition: all 0.3s;
}
header {
	position: fixed;
	width: 100vw;
	top: 0;
	left: 0;
	padding-top: 52px;
	padding-bottom: 52px;
	transition: all 0.3s;
	z-index: 10;
}
header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
header .logo img {
	width: 100px;
}
header .socials {
	display: flex;
	align-items: center;
	gap: 42px;
}
header.sticky {
	padding-top: 20px;
	padding-bottom: 20px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background: rgba(255,255,255,0.8);
}

#hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	text-align: center;
}
#hero .hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
}
#hero h1 {
	font-size: 66px;
	line-height: 68px;
	margin-bottom: 32px;
}
#hero p {
	font-size: 22px;
	font-weight: 300;
	margin: 0 auto 40px auto;
	max-width: 940px;
}
#hero p b {
	font-weight: 500;
}
.scroll-arrow {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
  color: #0E0E0E;
  opacity: 0.6;
  border-radius: 28px;
  border: 1px solid #0E0E0E;
  width: fit-content;
  padding: 10px 5px;
}

#map {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 120px 0 160px 0;
  background-color: #121214 !important;
  color: #ffffff;
}

#map .pre-title {
	margin-bottom: 20px;
	font-size: 22px;
}

#map h2 {
  font-size: 66px;
  line-height: 68px;
}
#map h2.h2-small {
    font-size: 40px;
    line-height: 47px;
    font-weight: 300;
	max-width: 700px;
}

@media screen and (max-width: 767px) {
	#map {
		padding: 100px 0;
		min-height: auto;
	}

	#map h2 {
		font-size: 44px;
		line-height: 48px;
		white-space: normal;
	}	
	#map h2.h2-small {
		font-size: 27px;
		line-height: 36px;
	}
	#map .pre-title {
		font-size: 20px;
		font-weight: 300;
	}
}

#contact {
  background-color: #f0efed !important;
  padding: 0;
}

#contact .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

#contact .socials {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  color: #1a1a1a;
  padding-top: 20px;
}

#contact .socials a {
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.2s;
}

#contact .socials a:hover {
  opacity: 0.5;
}

.contact-left h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.contact-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 40px 0;
}

.contact-info {
  font-size: 14px;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info .separator {
  color: #1a1a1a;
}

/* Divider verticale tra le due colonne */
#contact .container {
  position: relative;
}

.contact-left::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 80px;
  bottom: 80px;
  width: 1px;
  background-color: #ccc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  margin-bottom: 30px;
  padding-left: 30px;
  padding-top: 20px;
}

@media screen and (max-width: 767px) {
#contact .container {
    padding-top: 40px;
	padding-bottom: 40px;
}

.contact-grid, #contact .row {
    display: block;
}

#contact .col-md-5,#contact .col-md-5.offset-md-1 {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-left {
    margin-bottom: 40px;
}

.contact-left h2 {
    font-size: 36px;
    white-space: normal;
}

.contact-left::after {
    display: none; /* rimuove il divisore verticale */
}

.form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #999;
  padding: 8px 0;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-bottom-color: #1a1a1a;
}

.wpcf7.full-width {
  margin-bottom: 30px;
}

.wpcf7 textarea {
  resize: none;
  width: 100%;
  max-height: 100px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #555;
}

.privacy-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  background: transparent;
  flex-shrink: 0;
  display: inline-block;
}

.privacy-label input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #1a1a1a;
}

.privacy-text a {
  color: #1a1a1a;
  text-decoration: underline;
}

.submit-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #1a1a1a;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #1a1a1a;
  transition: background 0.2s, color 0.2s;
}

.submit-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.container-fluid img {
  width: 100%;
  object-fit: cover;
  display: block;
  margin-bottom: 120px;
  object-position: center top; 
}

/* IMMAGINE IN FONDO */
.contact-image {
  width: 100%;
}

.no-wrap {
  white-space: nowrap;
}

.no-wrap a {
  color: #000000;
}

.no-wrap a:hover {
  color: #000000;
  text-decoration: underline;
}

footer {
  background-color: #121214;
  padding: 24px 0;
  border-top: 1px solid #2a2a2a;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}

.footer-copy,
.footer-links,
.footer-made {
  font-size: 13px;
  color: #aaaaaa;
  white-space: nowrap;
}

.footer-links {
  flex: 1;
}

.footer-links a {
  color: #aaaaaa;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-made {
  margin-left: auto;
}

.footer-made a {
  color: #aaaaaa;
}

.footer-made a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-made {
    margin-left: 0;
}
}

.wpcf7 label {
	width: 100%;
}
.wpcf7 .submit-button {
	position: relative;
}
.wpcf7 .submit-button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 16px;
	width: 22px;
	height: 16px;
	transform: translateY(-50%);
	background-image: url("../images/arrow-right.svg");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.wpcf7 .submit-button p {
	display: flex;
	gap: 8px;
}
.wpcf7 .submit-button input[type="submit"] {
	min-width: 54px;
	color: transparent;
	border-radius: 28px;
	border: 1px solid #0E0E0E;
}

.wpcf7 .wpcf7-acceptance a {
  color: #1a1a1a;
  text-decoration: underline;
}

.wpcf7-list-item { 
  margin-left: 0; 
}

.wpcf7-list-item label { 
  cursor: pointer; 
}

@media screen and (max-width: 991px) {
	.contact-info {
		align-items: flex-start;
		flex-direction: column;
	}
	.contact-info .separator {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	#hero {
		text-align: left;
		padding-top: 100px;
		padding-bottom: 50px;
	}
	#hero h1 {
		font-size: 44px;
    	line-height: 48px;
	}
	#hero p {
		font-size: 16px;
	}
	.cta {
		font-size: 16px;
	}
	.scroll-arrow {
		margin-top: 100px;
	}
	.form-row {
		padding-left: 0;
	}
	.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		--bs-gutter-x: 30px;
	}
}

.video-controls {
	position: absolute;
	bottom: 30px;
	right: 30px;
}
.video-controls button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0,0,0,0.4);
}
.video-controls button.playing #play-icon {
	display: none;
}
.video-controls button.paused #pause-icon {
	display: none;
}
#hero .container {
	position: relative;
}
#hero .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.7);
}

main.index {
	padding-top: 150px;
	padding-bottom: 100px;
}
