:root {
	color-scheme: dark;
	--brand-navy: #102D40;
	--brand-navy-light: #19384A;
	--brand-gold: #C9A15E;
	--brand-gold-bright: #E1B05F;
	--brand-sand: #F1E5D2;
	--ink: var(--brand-sand);
	--muted: rgba(241, 229, 210, 0.88);
	--accent: var(--brand-gold);
}

* {
	box-sizing: border-box;
}

html {
	min-width: 0;
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--brand-navy);
	color: var(--ink);
	font-family: "DM Sans", sans-serif;
}

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

.hero {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
	padding: 0 clamp(24px, 7.2vw, 112px);
	background: var(--brand-navy);
}

.hero::before,
.hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
}

.hero::before {
	background-image: url("images/hero-sol-riva-final.png");
	background-position: center 50%;
	background-size: cover;
	animation: reveal-landscape 1.2s ease-out both;
}

.hero::after,
.contacts-page::after {
	background: transparent;
}

.site-header {
	position: relative;
	z-index: 2;
	display: grid;
	width: 100%;
	min-height: 116px;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	column-gap: 16px;
	align-items: center;
	border-bottom: 1px solid rgba(241, 229, 210, 0.28);
	animation: rise-in 700ms 100ms both;
}

.header-controls {
	display: contents;
}

.brand {
	display: block;
	width: 250px;
	flex-shrink: 0;
}

.brand-logo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: brightness(0.92) saturate(0.85);
}

.main-nav {
	display: flex;
	grid-column: 2;
	grid-row: 1;
	align-items: center;
	justify-self: center;
	gap: clamp(14px, 1.5vw, 22px);
}

@media (min-width: 1200px) {
	.main-nav {
		transform: translateX(-clamp(30px, 4vw, 58px));
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.main-nav {
		gap: 8px;
	}
}

.language-switch {
	display: flex;
	grid-column: 3;
	grid-row: 1;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid rgba(201, 161, 94, 0.7);
	border-radius: 2px;
}

.language-button {
	min-width: 36px;
	padding: 7px 6px;
	border: 0;
	background: transparent;
	color: rgba(241, 229, 210, 0.78);
	font: inherit;
	font-size: 11px;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease;
}

.language-button:hover,
.language-button.is-active {
	background: var(--brand-gold);
	color: var(--brand-navy);
}

.language-button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.nav-toggle {
	display: none;
}

.nav-link,
.header-contact {
	position: relative;
	color: var(--brand-sand);
	font-size: 14px;
	transition: color 180ms ease;
}

.nav-link {
	white-space: nowrap;
}

.main-nav .nav-link {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 4px rgba(16, 45, 64, 0.8);
}

button.nav-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
}

.nav-link::after {
	position: absolute;
	right: 0;
	bottom: -9px;
	left: 0;
	height: 1px;
	background: var(--brand-gold-bright);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active,
.header-contact:hover {
	color: var(--brand-gold-bright);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
	transform: scaleX(1);
}

.header-contact {
	grid-column: 4;
	grid-row: 1;
	justify-self: end;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	white-space: nowrap;
	text-shadow: 0 1px 4px rgba(16, 45, 64, 0.8);
}

.hero-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 70px 0 90px;
	text-align: center;
	animation: rise-in 850ms 250ms both;
}

.eyebrow {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	align-items: center;
	gap: 11px;
	margin: 0 0 25px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.eyebrow > span:first-child {
	flex: 0 0 25px;
	width: 25px;
	height: 1px;
	background: currentColor;
}

.eyebrow > span:last-child {
	width: auto;
	min-width: 0;
	height: auto;
	background: none;
	line-height: 1.4;
	white-space: nowrap;
}

h1 {
	max-width: 1200px;
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(52px, 7vw, 72px);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: 0;
}

.hero-description {
	margin: 24px 0 34px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.8;
}

.hero-footer {
	display: flex;
	min-height: 70px;
	align-items: center;
	border-top: 1px solid rgba(241, 229, 210, 0.28);
	color: rgba(241, 229, 210, 0.82);
	font-size: 9px;
	letter-spacing: 0.16em;
}

.modal[hidden] {
	display: none;
}

.modal {
	position: fixed;
	z-index: 10;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(16, 45, 64, 0.82);
}

.modal-panel {
	position: relative;
	width: min(100%, 560px);
	max-height: min(80vh, 600px);
	max-height: min(80svh, 600px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(30px, 6vw, 52px);
	border: 1px solid var(--brand-gold);
	background: var(--brand-sand);
	color: var(--brand-navy);
	box-shadow: 0 24px 80px rgba(16, 45, 64, 0.35);
}

.modal-panel h2 {
	margin: 0;
	padding-right: 32px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 500;
	line-height: 1.15;
}

.modal-panel p {
	margin: 20px 0 0;
	color: rgba(16, 45, 64, 0.82);
	font-size: 15px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.modal-panel .contact-phone {
	display: inline-block;
	margin-top: 10px;
	color: var(--brand-navy);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.modal-panel .contact-phone:hover,
.modal-panel .contact-phone:focus-visible {
	color: #8B6C3F;
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border: 1px solid rgba(16, 45, 64, 0.5);
	background: transparent;
	color: var(--brand-navy);
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
	border-color: var(--brand-gold);
	background: var(--brand-gold);
	color: var(--brand-navy);
}

.modal-close:focus-visible {
	outline: 2px solid var(--brand-navy);
	outline-offset: 3px;
}

body.modal-open {
	overflow: hidden;
}

@keyframes reveal-landscape {
	from { transform: scale(1.04); }
	to { transform: scale(1); }
}

@keyframes rise-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
	.hero {
		padding-right: 36px;
		padding-left: 36px;
	}

	.site-header {
		min-height: 86px;
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 0;
	}

	.brand {
		width: clamp(350px, 49vw, 374px);
		grid-column: 1;
		grid-row: 1;
	}

	.main-nav {
		grid-column: 1;
		grid-row: 2;
		justify-content: center;
		gap: clamp(15px, 4vw, 30px);
		padding: 0 0 17px;
	}

	.language-switch {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
	}

	.header-contact {
		grid-column: 2;
		grid-row: 1;
	}

	.nav-link {
		font-size: 12px;
	}

}

@media (min-width: 768px) and (max-width: 1023px) {
	.site-header {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		row-gap: 8px;
		padding: 10px 0;
	}

	.site-header .brand {
		grid-column: 1;
		grid-row: 1;
		width: 210px;
	}

	.site-header .header-controls {
		display: flex;
		grid-column: 2;
		grid-row: 1;
		align-items: center;
		gap: 6px;
		justify-self: end;
	}

	.site-header .header-contact {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: end;
		font-size: 13px;
	}

	.language-switch {
		grid-column: auto;
		grid-row: auto;
	}

	.nav-toggle {
		display: flex;
		width: 44px;
		height: 44px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding: 0;
		border: 1px solid var(--brand-gold);
		background: rgba(16, 45, 64, 0.72);
		color: var(--brand-sand);
		cursor: pointer;
	}

	.nav-toggle span {
		width: 18px;
		height: 1px;
		background: currentColor;
		transition: transform 180ms ease;
	}

	.nav-toggle[aria-expanded="true"] span:first-child {
		transform: translateY(3.5px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] span:last-child {
		transform: translateY(-3.5px) rotate(-45deg);
	}

	.nav-toggle:focus-visible {
		outline: 2px solid var(--accent);
		outline-offset: 3px;
	}

	.main-nav,
	.main-nav.is-open {
		position: absolute;
		top: calc(100% + 1px);
		right: -36px;
		left: -36px;
		z-index: 3;
		display: none;
		align-items: stretch;
		gap: 0;
		padding: 8px 28px 14px;
		border-bottom: 2px solid var(--brand-gold);
		background: var(--brand-sand);
	}

	.main-nav.is-open {
		display: flex;
		flex-direction: column;
		background: #B69A72;
	}

	.main-nav .nav-link {
		display: flex;
		min-height: 44px;
		align-items: center;
		padding: 10px 8px;
		color: var(--brand-navy);
		font-size: 16px;
		text-shadow: none;
	}

	.main-nav.is-open .nav-link {
		border-bottom: 1px solid rgba(16, 45, 64, 0.16);
		transition: background-color 160ms ease;
	}

	.main-nav.is-open .nav-link:last-child {
		border-bottom: 0;
	}

	.main-nav.is-open .nav-link:hover {
		background: rgba(201, 161, 94, 0.24);
	}

	.main-nav.is-open .nav-link:active {
		background: var(--brand-gold);
	}

	.main-nav .nav-link:hover,
	.main-nav .nav-link:focus-visible {
		color: var(--brand-navy);
	}

	.main-nav .nav-link:focus-visible {
		outline: 2px solid var(--brand-navy);
		outline-offset: 2px;
	}

	.main-nav .nav-link::after {
		bottom: 5px;
		background: var(--brand-gold);
	}
}

@media (max-width: 560px) {
	.hero {
		min-height: 100svh;
		padding: 0 20px;
	}

	.hero::before {
		background-position: 57% center;
	}

	.site-header {
		min-height: 74px;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		row-gap: 8px;
		padding: 10px 0;
	}

	.site-header .brand {
		width: min(100%, 180px);
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}

	.site-header .header-contact {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		font-size: 13px;
	}

	.site-header .header-controls {
		grid-column: 2;
		grid-row: 2;
		gap: 6px;
	}

	.main-nav {
		justify-content: space-between;
		gap: 8px;
		padding-bottom: 15px;
	}

	.main-nav,
	.main-nav.is-open {
		right: -20px;
		left: -20px;
		padding-right: 28px;
		padding-left: 28px;
	}

	.hero .site-header .main-nav,
	.hero .site-header .main-nav.is-open {
		right: -20px;
		left: -20px;
	}

	.nav-link {
		font-size: 16px;
		white-space: nowrap;
	}

	.hero-content {
		padding: 55px 0 65px;
	}

	.eyebrow {
		width: fit-content;
		max-width: 100%;
		margin-bottom: 19px;
		font-size: 11px;
		letter-spacing: 0.12em;
	}

	.eyebrow > span:last-child {
		white-space: normal;
	}

	h1 {
		font-size: clamp(43px, 12vw, 60px);
	}

	.hero-description {
		max-width: 330px;
		margin: 19px 0 28px;
		font-size: 13px;
		line-height: 1.7;
	}

	.desktop-break {
		display: none;
	}

	.hero-footer {
		min-height: 59px;
		padding: 8px 0;
		font-size: 9px;
		letter-spacing: 0.1em;
	}

}

@media (min-width: 561px) and (max-width: 767px) {
	.site-header .header-contact {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.site-header {
		grid-template-columns: 44px auto minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: 8px;
		row-gap: 8px;
		padding: 10px 0;
	}

	.brand {
		width: min(100%, 180px);
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}

	.site-header .header-contact {
		grid-column: 3;
		grid-row: 2;
		justify-self: end;
	}

	.header-controls {
		display: contents;
	}

	.language-switch {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		min-height: 44px;
		gap: 2px;
		padding: 2px;
	}

	.language-button {
		min-width: 44px;
		min-height: 44px;
		padding: 0 8px;
		font-size: 12px;
	}

	.nav-toggle {
		display: flex;
		grid-column: 1;
		grid-row: 2;
		width: 44px;
		height: 44px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding: 0;
		border: 1px solid var(--brand-gold);
		background: rgba(16, 45, 64, 0.72);
		color: var(--brand-sand);
		cursor: pointer;
	}

	.nav-toggle span {
		width: 18px;
		height: 1px;
		background: currentColor;
		transition: transform 180ms ease;
	}

	.nav-toggle[aria-expanded="true"] span:first-child {
		transform: translateY(3.5px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] span:last-child {
		transform: translateY(-3.5px) rotate(-45deg);
	}

	.nav-toggle:focus-visible {
		outline: 2px solid var(--accent);
		outline-offset: 3px;
	}

	.main-nav,
	.main-nav.is-open {
		position: absolute;
		top: calc(100% + 1px);
		right: -36px;
		left: -36px;
		z-index: 5;
		display: none;
		width: auto;
		align-items: stretch;
		justify-self: stretch;
		gap: 0;
		padding: 8px 28px 14px;
		border: 0;
		background-color: #102D40;
		background-image: none;
		opacity: 1;
		backdrop-filter: none;
	}

	.main-nav.is-open {
		display: flex;
		flex-direction: column;
		background-color: #102D40;
	}

	.nav-link {
		display: flex;
		height: 48px;
		min-height: 48px;
		align-items: center;
		justify-content: flex-start;
		margin: 0;
		padding: 0 12px;
		border: 0;
		border-bottom: 1px solid rgba(201, 161, 94, 0.34);
		background: transparent;
		color: #F1E5D2;
		font-size: 16px;
		text-align: left;
		text-shadow: none;
	}

	.main-nav.is-open .nav-link {
		height: 48px;
		min-height: 48px;
		margin: 0;
		padding: 0 12px;
		border: 0;
		border-bottom: 1px solid rgba(201, 161, 94, 0.34);
		background: transparent;
		color: #F1E5D2;
		text-align: left;
		text-shadow: none;
		transition: background-color 160ms ease;
	}

	.main-nav.is-open .nav-link:last-child {
		border-bottom: 0;
	}

	.main-nav.is-open .nav-link:hover {
		color: #F1E5D2;
		background: rgba(201, 161, 94, 0.1);
	}

	.main-nav.is-open .nav-link:active {
		background: rgba(201, 161, 94, 0.16);
	}

	.main-nav.is-open .nav-link.is-active {
		color: #C9A15E;
		background: rgba(201, 161, 94, 0.1);
	}

	.main-nav.is-open .nav-link::after {
		display: none;
	}

	.main-nav.is-open .nav-link:focus-visible {
		color: #F1E5D2;
		outline: 2px solid #C9A15E;
		outline-offset: -2px;
	}

	.hero-content {
		position: relative;
		top: 28px;
		min-width: 0;
	}

	h1 {
		font-size: clamp(38px, 11vw, 60px);
	}

}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
	.site-header {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: 44px auto;
		column-gap: 16px;
		row-gap: 8px;
		padding: 10px 0;
	}

	.site-header .brand {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 210px;
		align-self: center;
	}

	.site-header .header-controls {
		grid-column: 2;
		grid-row: 1;
		align-self: start;
	}

	.site-header .header-contact {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
		align-self: start;
		margin-top: 4px;
		white-space: nowrap;
	}

	.main-nav,
	.main-nav.is-open {
		grid-column: 1 / -1;
		left: -20px;
		right: -20px;
		width: auto;
		justify-self: stretch;
	}

	.main-nav.is-open {
		animation: portrait-menu-enter 180ms ease-out both;
	}

	.hero-content {
		padding-top: 70px;
		padding-bottom: 90px;
	}

	h1 {
		font-size: clamp(48px, 7vw, 60px);
	}

	.hero-description {
		font-size: clamp(15px, 1.8vw, 16px);
	}
}

@keyframes portrait-menu-enter {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.contact-page-body {
	background: var(--brand-navy);
}

.contacts-page {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
	padding: 0 clamp(24px, 7.2vw, 112px);
	background: var(--brand-navy);
}

.contacts-page::before,
.contacts-page::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
}

.contacts-page::before {
	background: url("images/hero-sol-riva-final.png") center 50% / cover;
}

.contacts-content {
	display: flex;
	width: min(100%, 860px);
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: center;
	padding: clamp(28px, 5vh, 58px) 0 38px;
	text-align: center;
	animation: rise-in 700ms 120ms both;
}

.contacts-eyebrow {
	position: relative;
	margin: 0 0 10px;
	color: var(--brand-gold-bright);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-shadow: 0 1px 8px rgba(16, 45, 64, 0.8);
}

.contacts-eyebrow::before,
.contacts-eyebrow::after {
	display: inline-block;
	width: 28px;
	height: 1px;
	margin: 0 12px 4px;
	background: rgba(225, 176, 95, 0.78);
	content: "";
}

.contacts-content h1 {
	max-width: 100%;
	color: var(--brand-sand);
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(58px, 6.5vw, 84px);
	font-weight: 500;
	line-height: 1.08;
	text-shadow: 0 2px 18px rgba(16, 45, 64, 0.5);
}

.contacts-subtitle {
	margin: 4px 0 20px;
	color: var(--brand-sand);
	font-size: clamp(18px, 1.8vw, 21px);
	letter-spacing: 0.015em;
	line-height: 1.6;
}

.contact-card {
	width: min(56vw, 800px);
	padding: 20px 22px;
	border: 1px solid rgba(225, 176, 95, 0.85);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(8, 32, 46, 0.88), rgba(16, 45, 64, 0.86));
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(241, 229, 210, 0.06);
	text-align: left;
	backdrop-filter: blur(3px);
}

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

.contact-method,
.company-heading {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 22px;
}

.contact-icon {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	padding: 13px;
	border: 1.5px solid var(--brand-gold-bright);
	border-radius: 50%;
	fill: none;
	stroke: var(--brand-gold-bright);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.contact-method h2,
.company-heading h2 {
	margin: 0 0 4px;
	color: var(--brand-gold-bright);
	font-family: "DM Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.contact-method {
	position: relative;
	min-height: 96px;
	padding: 12px;
	border-bottom: 1px solid rgba(241, 229, 210, 0.25);
}

.contact-method::after {
	margin-left: auto;
	color: var(--brand-gold-bright);
	font-family: Georgia, serif;
	font-size: 32px;
	line-height: 1;
	content: "\203A";
}

.contact-method a {
	display: inline-block;
	color: var(--brand-sand);
	font-size: clamp(20px, 2.1vw, 23px);
	font-weight: 500;
	white-space: nowrap;
}

.contact-method .email-trigger {
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--brand-sand);
	font: inherit;
	font-size: clamp(20px, 2.1vw, 23px);
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.contact-method .contact-number {
	display: inline-block;
	color: var(--brand-sand);
	font-size: clamp(20px, 2.1vw, 23px);
	font-weight: 500;
	white-space: nowrap;
}

.contact-method a:hover,
.contact-method a:focus-visible,
.contact-method .email-trigger:hover,
.contact-method .email-trigger:focus-visible {
	color: var(--brand-gold-bright);
}

.whatsapp-method:hover .contact-number,
.whatsapp-method:focus-visible .contact-number {
	color: var(--brand-gold-bright);
}

.whatsapp-method:focus-visible {
	outline: 2px solid var(--brand-sand);
	outline-offset: 3px;
}

.company-details {
	padding: 18px 12px 12px;
}

.company-heading {
	align-items: flex-start;
	gap: 22px;
}

.company-heading h2 {
	margin: 4px 0 8px;
	font-size: 11px;
}

.company-information {
	min-width: 0;
	flex: 1;
}

.company-list {
	display: block;
	margin: 0;
}

.company-list > div {
	display: grid;
	grid-template-columns: minmax(125px, 0.38fr) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 34px;
	border-bottom: 1px solid rgba(241, 229, 210, 0.1);
}

.company-list dt {
	color: rgba(241, 229, 210, 0.78);
	font-size: 14px;
	letter-spacing: 0.04em;
}

.company-list dd {
	margin: 0;
	color: var(--brand-sand);
	font-size: 15px;
	line-height: 1.35;
	overflow-wrap: break-word;
}

.back-home {
	display: inline-flex;
	width: min(48%, 385px);
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 310px;
	margin-top: 13px;
	padding: 0 26px;
	border-radius: 9px;
	border: 1px solid var(--brand-gold);
	background: linear-gradient(180deg, #E0B66F, #C9A15E);
	color: var(--brand-navy);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.back-home:hover,
.back-home:focus-visible {
	background: var(--brand-gold-bright);
	color: var(--brand-navy);
	transform: translateY(-1px);
}

.back-home::before {
	font-family: Georgia, serif;
	font-size: 20px;
	line-height: 1;
	content: "\2190";
}

.back-home:focus-visible,
.contact-method a:focus-visible,
.contact-method .email-trigger:focus-visible {
	outline: 2px solid var(--brand-sand);
	outline-offset: 3px;
}

.contacts-signoff {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 11px 0 0;
	color: var(--brand-sand);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 15px;
	font-style: italic;
	letter-spacing: 0.03em;
}

.contacts-signoff::before,
.contacts-signoff::after {
	width: 40px;
	height: 1px;
	background: rgba(225, 176, 95, 0.8);
	content: "";
}

@media (min-width: 768px) and (max-width: 1023px) {
	.contacts-page {
		padding-right: 36px;
		padding-left: 36px;
	}

	.contacts-content {
		padding-top: 30px;
		padding-bottom: 28px;
	}

	.contact-card {
		width: 100%;
		padding: 18px 22px;
	}
}

@media (max-width: 767px) {
	.contacts-page {
		min-height: 100vh;
		min-height: 100svh;
		padding-right: 20px;
		padding-left: 20px;
	}

	.contacts-page::before {
		background-position: 57% center;
	}

	.contacts-content {
		padding-top: 32px;
		padding-bottom: 28px;
	}

	.contacts-subtitle {
		margin: 10px 0 22px;
	}

	.contact-card {
		width: 100%;
		padding: 12px 12px;
	}

	.contact-methods {
		gap: 0;
	}

	.contact-method,
	.company-heading {
		gap: 12px;
	}

	.contact-method {
		min-height: 76px;
		padding: 10px 4px;
	}

	.contact-icon {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		padding: 10px;
	}

	.contact-method a,
	.contact-method .contact-number,
	.contact-method .email-trigger {
		font-size: 18px;
	}

	.company-details {
		padding: 14px 4px 4px;
	}

	.company-list {
		display: block;
	}

	.company-list > div {
		grid-template-columns: minmax(102px, 0.7fr) minmax(0, 1fr);
		gap: 8px;
		min-height: 32px;
		padding: 5px 0;
	}

	.company-list dt {
		font-size: 12px;
	}

	.company-list dd {
		font-size: 13px;
	}

	.back-home {
		width: 100%;
		min-width: 0;
		margin-top: 14px;
		padding: 0 16px;
	}

	.contacts-signoff {
		gap: 8px;
		font-size: 14px;
	}

	.contacts-signoff::before,
	.contacts-signoff::after {
		width: 22px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
	.site-header .brand {
		width: 210px;
	}

	.contacts-content {
		padding-top: 24px;
		padding-bottom: 26px;
	}

	.contacts-content h1 {
		font-size: clamp(58px, 7vw, 72px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.email-modal[hidden] {
	display: none;
}

.email-modal {
	position: fixed;
	z-index: 20;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
	background: rgba(8, 25, 36, 0.82);
}

.email-modal-panel {
	position: relative;
	width: min(100%, 460px);
	max-height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(28px, 7vw, 42px);
	border: 1px solid var(--brand-gold);
	background: var(--brand-navy);
	color: var(--brand-sand);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.email-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba(201, 161, 94, 0.6);
	background: transparent;
	color: var(--brand-sand);
	font: inherit;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.email-modal-close:hover,
.email-modal-close:focus-visible {
	background: var(--brand-gold);
	color: var(--brand-navy);
}

.email-modal-eyebrow {
	margin: 0 0 12px;
	color: var(--brand-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.email-modal-panel h2 {
	margin: 0;
	padding-right: 36px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(30px, 7vw, 38px);
	font-weight: 500;
	line-height: 1.2;
}

.email-modal-panel > p:not(.email-modal-eyebrow, .email-copy-status) {
	margin: 12px 0 24px;
	color: rgba(241, 229, 210, 0.82);
	font-size: 15px;
	line-height: 1.6;
}

.email-modal-options {
	display: grid;
	gap: 10px;
}

.email-modal-option {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid rgba(201, 161, 94, 0.66);
	background: rgba(255, 255, 255, 0.035);
	color: var(--brand-sand);
	font: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.email-modal-option:hover,
.email-modal-option:focus-visible {
	border-color: var(--brand-gold);
	background: var(--brand-gold);
	color: var(--brand-navy);
}

.email-modal-option:focus-visible,
.email-modal-close:focus-visible {
	outline: 2px solid var(--brand-sand);
	outline-offset: 3px;
}

.email-modal-option > span:last-child {
	color: var(--brand-gold);
	font-family: Georgia, serif;
	font-size: 25px;
	line-height: 1;
}

.email-modal-option:hover > span:last-child,
.email-modal-option:focus-visible > span:last-child {
	color: var(--brand-navy);
}

.email-copy-status {
	min-height: 1.5em;
	margin: 14px 0 0;
	color: var(--brand-gold);
	font-size: 13px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

body.email-modal-open {
	overflow: hidden;
}
