/* ***** Home Consorzio Green Days (contenuti locandina) ***** */
:root {
	--gd-green: #123f33;
	--gd-green-soft: #e9f0ec;
	--gd-cream: #fbfaf5;
}

.gd-eyebrow {
	margin: 0 0 1.25em;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gd-green);
}

.gd-title {
	margin: 0 0 0.5em;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1em;
	letter-spacing: -0.5px;
	color: #000;
}

.gd-lead {
	margin: 0;
	font-size: 20px;
	line-height: 1.5em;
}

.gd-btn {
	display: inline-block;
	padding: 1.1em 1.9em;
	border-radius: 4px;
	background: var(--gd-green);
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3em;
	transition: background-color 0.3s, color 0.3s;
}

.gd-btn:hover,
.gd-btn:focus {
	background: #000;
	color: #fff;
}

.gd-btn-light {
	background: #fff;
	color: #000;
}

.gd-btn-light:hover,
.gd-btn-light:focus {
	background: var(--gd-green);
	color: #fff;
}

/* ***** Hero ***** */
.gd-hero-inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(calc(100vh - 110px), 900px);
	overflow: hidden;
	background: #0b1415;
}

.gd-hero-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}

.gd-hero-inner::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(8, 24, 20, 0.9) 0%, rgba(8, 24, 20, 0.72) 55%, rgba(8, 24, 20, 0.45) 100%);
}

.gd-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 980px;
	padding: 4rem;
}

.gd-hero .gd-eyebrow {
	color: rgba(255, 255, 255, 0.8);
}

.gd-hero h1 {
	margin: 0 0 0.3em;
	font-size: 84px;
	font-weight: 700;
	line-height: 1.05em;
	color: #fff;
}

.gd-hero-accredit {
	display: inline-block;
	margin: 0 0 2em;
	padding: 0.45em 1em;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4em;
	color: #fff;
}

.gd-hero h2 {
	margin: 0 0 0.6em;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.25em;
	color: #fff;
}

.gd-hero-text {
	max-width: 720px;
	margin: 0 0 2em;
	font-size: 19px;
	line-height: 1.55em;
	color: rgba(255, 255, 255, 0.88);
}

/* ***** Cosa facciamo ***** */
.gd-services {
	padding: 110px 0 90px;
}

.gd-services-figure {
	position: sticky;
	top: 30px;
	margin: 0;
}

.gd-services-figure img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 86vh;
	object-fit: cover;
	object-position: center 30%;
}

.gd-services-figure figcaption {
	margin-top: 0.9em;
	font-size: 13px;
	line-height: 1.4em;
	color: #7a7a7a;
}

.gd-services-list {
	margin: 2.5em 0 0;
	padding: 0;
	list-style: none;
}

.gd-service {
	display: flex;
	align-items: flex-start;
	padding: 28px 0;
	border-top: 1px solid #e6e6e6;
}

.gd-service:last-child {
	border-bottom: 1px solid #e6e6e6;
}

.gd-service-num {
	flex: 0 0 70px;
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.05em;
	color: var(--gd-green);
}

.gd-service h3 {
	margin: 0 0 0.45em;
	font-size: 22px;
	font-weight: 500;
	line-height: 30px;
	color: #000;
}

.gd-service p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6em;
}

/* ***** Metodo ***** */
.gd-method-head {
	margin-bottom: 110px;
}

/* ***** Settori ***** */
.gd-sectors {
	padding: 90px 0 60px;
	background: var(--gd-cream);
}

.gd-sectors-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 45px 25px;
	margin: 3em 0 0;
	padding: 0;
	list-style: none;
}

.gd-sector {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Le icone hanno lo sfondo crema della locandina: si mostra solo il cerchio verde */
.gd-sector-icon {
	position: relative;
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	margin-bottom: 18px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--gd-green);
}

.gd-sector-icon img {
	position: absolute;
	top: -14.4%;
	left: -14.1%;
	width: 128%;
	max-width: none;
	height: auto;
}

.gd-sector span {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35em;
	color: #000;
}

/* ***** Referenze ***** */
.gd-references {
	padding: 100px 0;
}

.gd-references-list {
	margin: 3em 0 0;
	padding: 0;
	list-style: none;
	column-count: 3;
	column-gap: 40px;
}

.gd-references-list li {
	padding: 13px 0;
	border-bottom: 1px solid #e6e6e6;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4em;
	color: #000;
	break-inside: avoid;
}

/* ***** Contatti ***** */
.gd-contact {
	padding: 0 0 110px;
}

.gd-contact-figure {
	margin: 0;
}

.gd-contact-figure img {
	display: block;
	width: 100%;
	height: auto;
}

.gd-contact-highlight {
	display: inline-block;
	margin: 0 0 2em;
	padding: 0.5em 1em;
	border-radius: 4px;
	background: var(--gd-green-soft);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4em;
	color: var(--gd-green);
}

.gd-contact-list {
	margin: 0 0 2.25em;
	padding: 0;
}

.gd-contact-list div {
	display: flex;
	padding: 14px 0;
	border-top: 1px solid #e6e6e6;
}

.gd-contact-list div:last-child {
	border-bottom: 1px solid #e6e6e6;
}

.gd-contact-list dt {
	flex: 0 0 150px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.9em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7a7a7a;
}

.gd-contact-list dd {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5em;
	color: #000;
	word-break: break-word;
}

.gd-contact-list a {
	color: #000;
}

.gd-contact-list a:hover {
	color: var(--gd-green);
}

/* ***** Footer: dati societari e privacy ***** */
.gd-footer-legal {
	margin: 0 0 0.75em;
	font-size: 14px;
	line-height: 1.6em;
}

.gd-footer-privacy {
	margin: 0 0 0.75em;
	font-size: 12px;
	line-height: 1.6em;
	opacity: 0.8;
}

.gd-footer-privacy a,
.gd-footer-legal a {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 1199px) {
	.gd-hero h1 {
		font-size: 64px;
	}

	.gd-sectors-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 991px) {
	.gd-title {
		font-size: 38px;
	}

	.gd-hero-content {
		padding: 3rem 1.5rem;
	}

	.gd-services {
		padding: 70px 0 50px;
	}

	.gd-services-figure {
		position: static;
		margin-bottom: 45px;
	}

	.gd-services-figure img {
		max-height: 420px;
	}

	.gd-method-head {
		margin-bottom: 40px;
	}

	.gd-sectors-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.gd-references {
		padding: 70px 0;
	}

	.gd-references-list {
		column-count: 2;
	}

	.gd-contact {
		padding-bottom: 70px;
	}

	.gd-contact-figure {
		margin-bottom: 40px;
	}
}

@media (max-width: 767px) {
	.gd-title {
		font-size: 32px;
	}

	.gd-lead {
		font-size: 18px;
	}

	.gd-hero-inner {
		min-height: 0;
	}

	.gd-hero h1 {
		font-size: 12vw;
	}

	.gd-hero h2 {
		font-size: 22px;
	}

	.gd-hero-text {
		font-size: 17px;
	}

	.gd-btn {
		display: block;
		text-align: center;
	}

	.gd-service-num {
		flex-basis: 48px;
	}

	.gd-sectors-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 35px 15px;
	}

	.gd-references-list {
		column-count: 1;
	}

	.gd-contact-list div {
		flex-direction: column;
	}

	.gd-contact-list dt {
		flex-basis: auto;
	}
}
