/* =========================================================
   Pomerio — style.css
   Font 1: akzidenz-grotesk-next-pro, sans-serif (400) -> testo generale
   Font 2: swear-display, serif (500)                  -> indirizzo / email
   ========================================================= */

:root {
	--color-green: #96ae89;
	--color-yellow: #ffee00;
	--color-black: #000000;

	--font-sans: akzidenz-grotesk-next-pro, sans-serif;
	--font-serif: swear-display, serif;
}

/* ---------- Reset di base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-sans);
	font-weight: 400;
	font-style: normal;
	color: var(--color-black);
	background-color: var(--color-gren);
	line-height: 1.4;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

/* ---------- Pagina ---------- */
.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--color-green);
}

/* ---------- Hero (contenuto centrale) ---------- */
.hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8vh 5vw;
	text-align: center;
}

/* Logo */
.hero__logo {
	width: 100%;
	max-width: 700px;
	height: auto;
}

/* Tagline */
.hero__tagline {
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: clamp(0.9rem, 1.6vw, 1.375rem); /* ~22px a 1920 */
	letter-spacing: 0.35em;
	text-transform: uppercase;
	margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

/* Indirizzo / email */
.hero__contact {
	font-style: normal;
	margin-top: clamp(3rem, 12vh, 7rem);
}

.hero__address,
.hero__email {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(1.05rem, 2.2vw, 1.5625rem); /* 25px a 1920 */
	line-height: 1.2;
}

.hero__email {
	margin-top: 0.5em;
}

.hero__email a {
	display: inline-block;
}

/* ---------- Footer ---------- */
.page__footer {
	width: 100%;
}

.footer-bar {
	width: 100%;
	background-color: var(--color-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.9rem, 2vh, 1.4rem) 5vw;
}

.footer-bar__text {
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: clamp(1rem, 2vw, 1.5rem);
	letter-spacing: 0.4em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hero__legal {
	margin-top: clamp(1.5rem, 4vh, 3rem);
	padding: 0 5vw clamp(1.5rem, 4vh, 2.5rem);
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: clamp(0.5625rem, 1.1vw, 0.9375rem); /* 15px a 1920 */
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 900px) {
	.hero__logo {
		max-width: 480px;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.hero__logo {
		max-width: 300px;
	}

	.hero__contact {
		margin-top: 2.25rem;
	}

	.hero__address,
	.hero__email {
		font-size: 1.05rem;
	}

	.hero__legal {
		font-size: 0.5rem;
		letter-spacing: 1px;
		line-height: 1.5;
	}
}

/* Mobile molto piccolo */
@media (max-width: 360px) {
	.hero__logo {
		max-width: 240px;
	}

	.hero__address,
	.hero__email {
		font-size: 0.9rem;
	}

	.hero__legal {
		font-size: 0.4rem;
		letter-spacing: 0.5px;
	}
}
