:root {
	--bg: #f5f1ea;
	--panel: #fbf8f2;
	--panel-strong: #ebe5d8;
	--text: #2f2c2a;
	--muted: #6a665e;
	--accent: #3f7fba;
	--accent-deep: #2f5f90;
	--border: rgba(47, 44, 42, 0.1);
	--shadow: 0 24px 60px rgba(53, 52, 49, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", sans-serif;
	background:
		radial-gradient(circle at top left, rgba(63, 127, 186, 0.1), transparent 22%),
		linear-gradient(180deg, #faf7f0 0%, var(--bg) 100%);
	color: var(--text);
	line-height: 1.65;
}

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

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.container {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

header {
	padding: 28px 0 18px;
}

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.brand {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.5rem, 4vw, 4.4rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 0.9;
	text-transform: lowercase;
}

.brand span {
	color: var(--accent);
}

nav {
	display: flex;
	gap: 26px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.notice {
	background: linear-gradient(135deg, var(--accent) 0%, #5d93c5 100%);
	color: #f7fbff;
	text-align: center;
	padding: 22px 24px;
	font-size: 0.98rem;
}

.notice strong {
	display: block;
	font-size: 0.86rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.hero {
	padding: 88px 0 72px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 56px;
	align-items: center;
}

.kicker,
.section-kicker {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-deep);
	margin: 0 0 18px;
}

h1,
h2,
h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	line-height: 0.96;
	margin: 0;
}

h1 {
	font-size: clamp(3.8rem, 8vw, 6.8rem);
	max-width: 10ch;
}

.hero-copy p {
	font-size: 1.08rem;
	max-width: 56ch;
	color: var(--muted);
	margin: 24px 0 0;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.button,
.button-secondary {
	padding: 14px 24px;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button {
	background: var(--accent-deep);
	color: #fff;
}

.button-secondary {
	border: 1px solid var(--border);
	color: var(--text);
	background: rgba(255, 255, 255, 0.55);
}

.button:hover,
.button-secondary:hover {
	transform: translateY(-2px);
}

.hero-card {
	background: var(--panel);
	border: 1px solid rgba(63, 127, 186, 0.18);
	box-shadow: var(--shadow);
	padding: 26px;
	position: relative;
	overflow: hidden;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(140deg, rgba(63, 127, 186, 0.18), transparent 55%),
		radial-gradient(circle at 18% 18%, rgba(63, 127, 186, 0.28), transparent 20%);
	pointer-events: none;
}

.metric {
	position: relative;
	padding: 26px 0;
	border-bottom: 1px solid var(--border);
}

.metric:last-child {
	border-bottom: 0;
	padding-bottom: 8px;
}

.metric-label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-deep);
	margin-bottom: 8px;
}

.metric strong {
	display: block;
	font-size: 2.8rem;
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
}

.metric p {
	margin: 10px 0 0;
	color: var(--muted);
}

section {
	padding: 38px 0 72px;
}

.editorial {
	text-align: center;
	padding: 40px 0 78px;
}

.editorial h2 {
	font-size: clamp(2.5rem, 6vw, 4.4rem);
	color: var(--accent-deep);
	max-width: 13ch;
	margin: 0 auto;
}

.editorial p {
	max-width: 820px;
	margin: 24px auto 0;
	font-size: 1.18rem;
	color: var(--muted);
}

.services-panel {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid var(--border);
	padding: 40px;
}

.services-grid {
	display: grid;
	grid-template-columns: 0.75fr 1fr 1fr;
	gap: 34px;
}

.services-title {
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	color: var(--accent-deep);
	text-transform: uppercase;
}

.text-column {
	font-size: 1.06rem;
	color: var(--muted);
}

.about-grid,
.testimonial-grid,
.offer-grid,
.footer-grid {
	display: grid;
	gap: 28px;
}

.about-grid {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: stretch;
}

.about-portrait {
	min-height: 520px;
	background:
		linear-gradient(160deg, rgba(63, 127, 186, 0.2), transparent 60%),
		linear-gradient(180deg, #d9d1c4 0%, #f8f3ea 100%);
	border-radius: 28px;
	position: relative;
	overflow: hidden;
}

.about-portrait::before,
.about-portrait::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.about-portrait::before {
	width: 280px;
	height: 280px;
	background: rgba(63, 127, 186, 0.12);
	top: 48px;
	left: -32px;
}

.about-portrait::after {
	width: 340px;
	height: 340px;
	background: rgba(255, 255, 255, 0.42);
	bottom: -96px;
	right: -52px;
}

.portrait-card {
	position: absolute;
	left: 38px;
	bottom: 38px;
	background: rgba(255, 255, 255, 0.84);
	backdrop-filter: blur(12px);
	padding: 20px 22px;
	max-width: 290px;
	border: 1px solid rgba(63, 127, 186, 0.15);
}

.portrait-card strong {
	display: block;
	font-size: 1.32rem;
	margin-bottom: 8px;
}

.about-copy {
	padding: 18px 8px;
}

.about-copy h2,
.cta h2 {
	font-size: clamp(2.9rem, 5vw, 4.8rem);
}

.about-copy p {
	font-size: 1.08rem;
	color: var(--muted);
}

.offer-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card,
.testimonial-card {
	background: var(--panel);
	border: 1px solid var(--border);
	padding: 28px;
	box-shadow: var(--shadow);
}

.offer-card h3 {
	font-size: 2rem;
	margin-bottom: 12px;
	color: var(--accent-deep);
}

.offer-card p,
.testimonial-card p,
.footer-note,
.footer-links {
	color: var(--muted);
}

.testimonial-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card p {
	font-size: 1rem;
	margin: 0 0 18px;
}

.testimonial-card strong {
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.cta {
	padding-top: 26px;
}

.cta-panel {
	background: linear-gradient(135deg, var(--accent-deep), var(--accent));
	color: #eef6ff;
	padding: 54px;
	border-radius: 30px;
	box-shadow: var(--shadow);
}

.cta-panel p {
	font-size: 1.08rem;
	max-width: 52ch;
	margin: 20px 0 0;
}

.cta-panel .button {
	background: #fff;
	color: var(--accent-deep);
	margin-top: 28px;
	display: inline-block;
}

footer {
	padding: 42px 0 60px;
}

.footer-grid {
	grid-template-columns: 1.2fr 1fr 1fr;
	align-items: end;
	border-top: 1px solid var(--border);
	padding-top: 28px;
}

.footer-links {
	display: flex;
	gap: 18px;
	justify-content: flex-end;
	flex-wrap: wrap;
	font-size: 0.92rem;
}

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

.hero-copy,
.hero-card,
.editorial,
.services-panel,
.about-grid,
.offer-grid,
.testimonial-grid,
.cta-panel {
	animation: rise 700ms ease both;
}

.offer-grid {
	animation-delay: 120ms;
}

.testimonial-grid {
	animation-delay: 220ms;
}

@media (max-width: 960px) {
	.hero-grid,
	.services-grid,
	.about-grid,
	.offer-grid,
	.testimonial-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

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

	.footer-links {
		justify-content: flex-start;
	}

	.hero {
		padding-top: 56px;
	}

	.about-portrait {
		min-height: 380px;
	}
}

@media (max-width: 720px) {
	.container {
		width: min(100% - 30px, 1120px);
	}

	.topbar {
		flex-direction: column;
		align-items: flex-start;
	}

	nav {
		flex-wrap: wrap;
		gap: 14px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.services-panel,
	.cta-panel {
		padding: 28px;
	}

	.editorial p,
	.about-copy p,
	.text-column,
	.hero-copy p,
	.cta-panel p {
		font-size: 1rem;
	}

	.portrait-card {
		left: 22px;
		right: 22px;
		max-width: none;
	}
}
