/* || General Styles */

html, body, header, nav, h1, h2, h3, h4, div, ul, li, a, p, button, main, section, img, footer {
	margin: 0;
	padding: 0;
	border: 0;
}

html {
	background-color: #fff;
	color: #1d1d1f;
	scroll-behavior: smooth;
}

/* || Utilities */

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

main a {
	color: #0066cc;
}

main a:hover {
	text-decoration-line: underline;
}

a:focus-visible {
	outline: 3px solid #0066cc;
	outline-offset: 4px;
}

.red {
	color: #e11d2e;
}

/* || Typography */

html {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
}

body {
	font-size: 17px;
	font-size: 1.7rem;
	line-height: 1.5;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* || Navigation Bar */

.navbar {
	position: fixed;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid #ececf0;
	z-index: 999;
}

.navbar-content {
	margin: 0 auto;
	padding-top: 16px;
	padding-right: calc(max(22px, env(safe-area-inset-right)));
	padding-bottom: 16px;
	padding-left: calc(max(22px, env(safe-area-inset-left)));
	max-width: 1000px;
}

.main-menu {
	display: flex;
	justify-content: space-between;
	user-select: none;
	align-items: center;
	gap: 24px;
}

.menu-link {
	font-size: 17px;
	font-size: 1.7rem;
	line-height: 3.3;
	letter-spacing: 0.05rem;
	color: #424245;
	opacity: .9;
}

.menu-link:hover {
	opacity: 1;
}

.home-link {
	opacity: .8;
}

.home-link:hover {
	opacity: 1;
}

/* || Main */

main {
	position: relative;
	top: 89px;
}

/* || Hero Section */

.uffici-hero {
	background: linear-gradient(135deg, #ffffff, #f7f7f9);
	padding: 80px 22px 100px;
	min-height: 220px;
	display: flex;
	align-items: center;
}

.uffici-hero-content {
	max-width: 1000px;
	margin: 0 auto;
	width: 100%;
}

.uffici-hero h1 {
	font-size: 64px;
	font-size: 6.4rem;
	font-weight: 700;
	line-height: 1.05;
	color: #1d1d1f;
	margin-bottom: 16px;
}

.uffici-hero p {
	font-size: 20px;
	font-size: 2rem;
	line-height: 1.5;
	color: #515154;
	max-width: 560px;
}

/* || First Section Extras */

.uffici-trust-bar {
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	font-size: 1.4rem;
	color: #e11d2e;
	margin-top: 12px;
}

.uffici-trust-bar li:not(:last-child)::after {
	content: '\00a0\00b7\00a0';
}

.uffici-microcopy {
	font-size: 13px;
	font-size: 1.3rem;
	color: #86868b;
	margin-top: 10px;
}

@media (max-width: 767px) {
	.uffici-trust-bar {
		flex-direction: column;
		gap: 4px;
	}

	.uffici-trust-bar li:not(:last-child)::after {
		content: none;
	}
}

/* || Second Section Override */

.uffici-second-section {
	padding-bottom: 60px;
}

/* || Personalize Card */

.uffici-personalize-card {
	margin-top: 32px;
	padding: 20px 20px 20px 22px;
	border-left: 3px solid #e11d2e;
	border-radius: 0 8px 8px 0;
	background-color: #f7f7f9;
}

.uffici-personalize-card-icon {
	display: block;
	margin-bottom: 12px;
}

.uffici-personalize-card-title {
	font-size: 17px;
	font-size: 1.7rem;
	font-weight: 600;
	color: #1d1d1f;
	margin-bottom: 8px;
}

.uffici-personalize-card-body {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.6;
	color: #515154;
}

/* || Second Section List */

.uffici-include-list {
	list-style: disc;
	padding-left: 24px;
	margin-top: 16px;
	font-size: 19px;
	font-size: 1.9rem;
	line-height: 1.6;
	color: #515154;
}

.uffici-contracts-p {
	margin-top: 24px;
}

/* || Image Placeholder */

.hero-image-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #e6e6e8;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-image-placeholder::after {
	content: 'Immagine in arrivo';
	font-size: 1.5rem;
	color: #86868b;
	letter-spacing: 0.03rem;
}

/* || Gallery Section */

.uffici-gallery-section {
	background-color: #ffffff;
	padding: 0 0 80px;
}

.uffici-gallery-container {
	max-width: 1250px;
	margin: 0 auto;
	display: flex;
	gap: 24px;
	padding: 0 8px;
}

.uffici-gallery-image {
	flex: 1;
	min-width: 0;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

@media (max-width: 767px) {
	.uffici-gallery-container {
		flex-direction: column;
	}

	.uffici-gallery-image {
		width: 100%;
	}

	.uffici-include-list {
		font-size: 17px;
		font-size: 1.7rem;
	}
}

/* || Tariffe Section */

.uffici-tariffe-section {
	background-color: #f7f7f9;
	padding: 100px 22px;
}

.uffici-tariffe-container {
	max-width: 1000px;
	margin: 0 auto;
}

.uffici-tariffe-title {
	font-size: 37px;
	font-size: 3.7rem;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.1;
	color: #1d1d1f;
	text-align: center;
	margin-bottom: 12px;
}

.uffici-tariffe-note {
	text-align: center;
	font-size: 14px;
	font-size: 1.4rem;
	color: #86868b;
	margin-bottom: 36px;
}

.uffici-tariffe-box {
	background-color: #ffffff;
	border-radius: 12px;
	border: 1px solid #e6e6e8;
	overflow: hidden;
}

/* Table */

.tariffe-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tariffe-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 480px;
}

.tariffe-th {
	padding: 16px 20px;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #86868b;
	text-align: center;
	border-bottom: 1px solid #e6e6e8;
	vertical-align: bottom;
	white-space: nowrap;
}

.tariffe-th--room {
	text-align: left;
	min-width: 160px;
}

.tariffe-th--annual {
	color: #e11d2e;
	background-color: rgba(225, 29, 46, 0.04);
}

.tariffe-badge {
	display: block;
	width: fit-content;
	margin: 0 auto 8px;
	padding: 3px 9px;
	font-size: 11px;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: #ffffff;
	background-color: #e11d2e;
	border-radius: 20px;
}

.tariffe-row-header {
	padding: 16px 20px;
	text-align: left;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 600;
	color: #1d1d1f;
	background-color: #fafafa;
	border-bottom: 1px solid #f0f0f2;
	white-space: nowrap;
}

.tariffe-mq {
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 400;
	color: #86868b;
	margin-top: 3px;
}

.tariffe-td {
	padding: 16px 20px;
	text-align: center;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 500;
	color: #515154;
	border-bottom: 1px solid #f0f0f2;
}

.tariffe-td--annual {
	color: #e11d2e;
	font-weight: 700;
	background-color: rgba(225, 29, 46, 0.04);
}

.tariffe-table tbody tr:last-child .tariffe-td,
.tariffe-table tbody tr:last-child .tariffe-row-header {
	border-bottom: none;
}

/* Lab row divider */

.tariffe-row--lab > th,
.tariffe-row--lab > td {
	border-top: 5px solid #d0d0d4;
}

.button-full {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* || Media Queries */

@media (max-width: 767px) {
	main {
		top: 82px;
	}

	.navbar-content {
		padding-right: 16px;
		padding-left: 16px;
	}

	.menu-link {
		font-size: 15px;
		font-size: 1.5rem;
	}

	.uffici-hero h1 {
		font-size: 40px;
		font-size: 4rem;
	}

	.uffici-hero p {
		font-size: 17px;
		font-size: 1.7rem;
	}

	.uffici-tariffe-section {
		padding: 60px 16px;
	}

	.uffici-tariffe-title {
		font-size: 32px;
		font-size: 3.2rem;
		margin-bottom: 8px;
	}

	.uffici-tariffe-box {
		border-radius: 8px;
	}

	.tariffe-th,
	.tariffe-td,
	.tariffe-row-header {
		padding: 12px 14px;
		font-size: 14px;
		font-size: 1.4rem;
	}

}

