*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Inter, system-ui, sans-serif;
	line-height: 1.5;
	margin: 0;
	background: #f8f7f3;
	color: #1f2933;
}

body.modal-open {
	overflow: hidden;
}

.site-container {
	max-width: 860px;
	margin: 0 auto;
	padding: 20px 36px;
	border-left: 1px solid rgba(0, 0, 0, 0.06);
	border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.container {
	max-width: 100%;
	margin: 0 auto;
	padding: 20px 0;
}

section {
	padding: 60px 20px;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

button,
.button {
	display: inline-block;
	background: #2c5f67;
	color: #ffffff;
	border: none;
	padding: 12px 22px;
	font: inherit;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
}

button:hover,
.button:hover {
	background: #234e55;
}

button:focus-visible,
.button:focus-visible,
.scroll-cue:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(44, 95, 103, 0.35);
	outline-offset: 3px;
}

button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Header */

.site-header {
	padding: 20px 0;
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
}

/* Hero */

.hero {
	background: #f6f5f2;
	padding: 60px 50px;
	border-bottom: 1px solid #e6e4df;
}

.hero-inner {
	max-width: 720px;
}

.hero h1 {
	max-width: 720px;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 24px;
}

.hero p {
	max-width: 620px;
	font-size: 1.2rem;
	line-height: 1.6;
	color: #34424f;
}

.scroll-cue {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	margin: 56px auto 0;
	color: #2c5f67;
	text-decoration: none;
	border: 1px solid rgba(44, 95, 103, 0.35);
	border-radius: 999px;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.scroll-cue span {
	display: block;
	width: 18px;
	height: 18px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
}

.scroll-cue:hover {
	background: #2c5f67;
	color: #ffffff;
	border-color: #2c5f67;
	transform: translateY(2px);
}

/* Services */

.section-intro {
	max-width: 680px;
	margin-bottom: 40px;
}

.section-intro h2 {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 16px;
}

.section-intro p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #34424f;
	margin: 0;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.service-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 8px;
	padding: 26px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
	font-size: 1.2rem;
	margin: 0 0 12px;
}

.service-card p {
	margin: 0;
	line-height: 1.6;
	color: #34424f;
}

.section-scroll-cue {
	position: sticky;
	bottom: 32px;
	margin-top: 44px;
}

/* Why */

.why {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.why-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 40px;
}

.why-item h3 {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.why-item p {
	margin: 0;
	line-height: 1.6;
	color: #34424f;
}

/* Contact CTA */

.contact-cta {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	padding-top: 70px;
	padding-bottom: 30px;
}

.contact-cta-inner {
	max-width: 640px;
	text-align: center;
	margin: 0 auto;
}

.contact-cta h2 {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 16px;
}

.contact-cta p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #34424f;
	margin: 0 0 32px;
}

/* Modal */

.modal[hidden] {
	display: none;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 41, 51, 0.55);
}

.modal-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	background: #f8f7f3;
	border-radius: 10px;
	padding: 36px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	color: #1f2933;
	font-size: 1.8rem;
	line-height: 1;
}

.modal-close:hover {
	background: rgba(0, 0, 0, 0.06);
}

.modal-panel h2 {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 12px;
}

.modal-panel p {
	margin: 0 0 28px;
	color: #34424f;
	line-height: 1.6;
}

.privacy-modal-panel {
	max-height: min(90vh, 760px);
	overflow-y: auto;
}

.privacy-content h3 {
	font-size: 1.1rem;
	margin: 24px 0 8px;
}

.privacy-content p {
	margin: 0 0 16px;
	color: #34424f;
	line-height: 1.6;
}

.character-count {
	margin-top: 6px;
	text-align: right;
	font-size: 0.85rem;
	color: #6b7280;
}

.character-count.is-warning {
	color: #8a5a00;
}

.form-field {
	margin-bottom: 20px;
}

.form-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 6px;
	padding: 12px 14px;
	font: inherit;
	background: #ffffff;
	color: #1f2933;
}

.form-field textarea {
	resize: vertical;
}

.form-success {
	padding: 12px 0;
}

.form-success h3 {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 0 0 12px;
}

.form-success p {
	margin: 0;
	color: #34424f;
	line-height: 1.6;
}

.form-error h3 {
	color: #8a2f2f;
}

.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Footer */

.site-footer {
	margin-top: 20px;
	padding: 24px 0 20px;
	text-align: center;
	font-size: 0.9rem;
	color: #6b7280;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Mobile */

@media (max-width: 768px) {
	.site-container {
		padding: 10px 32px 20px;
	}

	.site-header {
		padding: 16px 0 10px;
	}

	.site-header .container {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.hero {
		padding: 10px 0 25px;
	}

	.hero .container {
		padding-top: 0;
	}

	.hero h1 {
		font-size: 2rem;
		line-height: 1.15;
	}

	.hero p {
		font-size: 1.05rem;
	}

	.scroll-cue {
		display: none;
	}

	.services {
		padding-top: 30px;
		padding-bottom: 60px;
	}

	.section-intro h2 {
		font-size: 1.7rem;
	}

	.section-intro p {
		font-size: 1rem;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		padding: 22px;
	}

	.why-list {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.contact-cta {
		padding-top: 55px;
		padding-bottom: 24px;
	}

	.contact-cta h2 {
		font-size: 1.7rem;
	}

	.contact-cta p {
		font-size: 1rem;
	}

	.site-footer {
		margin-top: 12px;
		padding: 22px 0 18px;
	}

	.modal {
		padding: 18px;
	}

	.modal-panel {
		padding: 30px 24px;
	}
}