/* ==========================================================================
   Ética Site Advogado — main stylesheet
   ========================================================================== */

:root {
	--brand: oklch(0.6 0.203 341);
	--brand-fg: oklch(0.99 0.005 340);
	--brand-soft: oklch(0.28 0.075 340);

	--bg: oklch(0.155 0.019 330);
	--surface: oklch(0.202 0.024 330);
	--surface-strong: oklch(0.253 0.032 332);
	--card: oklch(0.215 0.026 332);

	--graphite: oklch(0.975 0.004 340);
	--muted: oklch(0.76 0.018 335);

	--border: oklch(0.33 0.033 333);
	--input: oklch(0.33 0.033 333);
	--destructive: oklch(0.65 0.22 25);

	--radius: 0.625rem;
}

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

html { color-scheme: dark; scroll-behavior: smooth; }

body {
	background-color: var(--bg);
	color: var(--graphite);
	font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: var(--graphite);
	margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

section[id] { scroll-margin-top: 90px; }

.container {
	max-width: 1152px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) {
	.container { padding-inline: 2rem; }
}

section {
	padding-block: 4rem;
}
@media (min-width: 1024px) {
	section { padding-block: 5rem; }
}

.eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand);
}

.section-subtitle {
	color: var(--muted);
	margin-top: 0.75rem;
	max-width: 42rem;
}

h2 { font-size: 1.875rem; font-weight: 600; }
@media (min-width: 640px) {
	h2 { font-size: 2.25rem; }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.375rem;
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid transparent;
	transition: opacity 0.15s ease, background-color 0.15s ease;
	white-space: nowrap;
}
.btn-primary {
	background: var(--brand);
	color: var(--brand-fg);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
	border-color: var(--border);
	color: var(--graphite);
	background: transparent;
}
.btn-outline:hover { background: var(--surface); }
.btn-brand-outline {
	border-color: var(--brand);
	color: var(--brand);
	background: transparent;
}
.btn-brand-outline:hover { background: var(--brand-soft); }
.btn-full { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(21, 14, 19, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
	transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.75rem;
}
.header-logo { display: flex; align-items: center; }
.logo-img { max-height: 68px; width: auto; }
@media (min-width: 1024px) {
	.logo-img { max-height: 74px; }
}
.logo-fallback {
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--graphite);
}
.header-nav { display: none; }
.header-nav ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.header-nav a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
	transition: color 0.15s ease;
}
.header-nav a:hover { color: var(--graphite); }
@media (min-width: 1024px) {
	.header-nav { display: block; }
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.header-cta { display: none; }
@media (min-width: 640px) {
	.header-cta { display: inline-flex; }
}
.header-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	padding: 0;
}
@media (min-width: 1024px) {
	.header-hamburger { display: none; }
}
.header-hamburger span {
	display: block;
	height: 2px;
	margin-inline: 7px;
	background: var(--graphite);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.header-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	border-top: 1px solid var(--border);
	background: var(--bg);
}
.mobile-nav ul {
	display: flex;
	flex-direction: column;
	padding: 1rem 1.25rem;
	gap: 0.25rem;
}
.mobile-nav a {
	display: block;
	padding: 0.65rem 0;
	font-size: 0.95rem;
	color: var(--graphite);
	border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
}
.mobile-nav li:last-child a {
	border-bottom: none;
	margin-top: 0.5rem;
	text-align: center;
}
@media (min-width: 1024px) {
	.mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--bg); padding-block: 3rem 4rem; }
@media (min-width: 1024px) { .hero { padding-block: 4rem 5rem; } }

.hero-grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 3rem;
	}
}

.hero-text h1 {
	font-size: 2.25rem;
	line-height: 1.08;
	font-weight: 600;
	margin-top: 0.75rem;
}
@media (min-width: 640px) {
	.hero-text h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.hero-text h1 { font-size: 3.4rem; }
}

.hero-paragraph {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--muted);
	max-width: 36rem;
	margin-top: 1.5rem;
}
@media (min-width: 640px) {
	.hero-paragraph { font-size: 1.125rem; }
}

.hero-ctas {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 2rem;
}
@media (min-width: 640px) {
	.hero-ctas { flex-direction: row; }
}

.hero-media { order: -1; }
@media (min-width: 1024px) {
	.hero-media { order: 2; }
}
.hero-img, .hero-media .img-placeholder {
	width: 100%;
	border-radius: 0.75rem;
}

/* ==========================================================================
   Credibility bar
   ========================================================================== */
.credibility {
	background: var(--surface);
	border-block: 1px solid var(--border);
	position: relative;
	overflow: hidden;
	padding-block: 2.5rem;
}
.credibility-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	position: relative;
	z-index: 1;
}
@media (min-width: 640px) {
	.credibility-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.credibility-grid { grid-template-columns: repeat(4, 1fr); }
}
.credibility-card {
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 1.25rem;
	transition: border-color 0.15s ease;
}
.credibility-card:hover { border-color: color-mix(in oklch, var(--brand) 50%, transparent); }
.credibility-card h3 { font-weight: 600; font-size: 1rem; margin-top: 1rem; }
.credibility-card p { font-size: 0.875rem; color: var(--muted); margin-top: 0.375rem; line-height: 1.4; }

.icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in oklch, var(--brand) 15%, transparent);
	color: var(--brand);
	border: 1px solid color-mix(in oklch, var(--brand) 30%, transparent);
}
.icon-circle svg { width: 20px; height: 20px; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio { background: var(--surface); }
.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
@media (min-width: 640px) {
	.portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
	.portfolio-card { padding: 1rem; }
}
.portfolio-card {
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 1.25rem;
	transition: box-shadow 0.2s ease;
}
.portfolio-card:hover { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.portfolio-img-wrap { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.5rem; }
.portfolio-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.5rem; }
.portfolio-name {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 1.125rem;
	margin-top: 1.25rem;
}
.portfolio-name svg { width: 16px; height: 16px; color: var(--muted); }
.portfolio-text { font-size: 0.875rem; line-height: 1.6; color: var(--muted); margin-top: 0.75rem; }
.portfolio-url { font-size: 0.75rem; color: var(--brand); margin-top: 0.75rem; }

/* ==========================================================================
   Placeholder boxes
   ========================================================================== */
.img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px dashed var(--border);
	border-radius: 0.75rem;
	background: var(--surface-strong);
	color: var(--muted);
	font-size: 0.8rem;
	padding: 1rem;
	min-height: 160px;
}
.portfolio-img-wrap .img-placeholder { width: 100%; height: 100%; border-radius: 0.5rem; }

/* ==========================================================================
   How built
   ========================================================================== */
.how-built { background: var(--surface); position: relative; overflow: hidden; }
.how-built-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
@media (min-width: 768px) {
	.how-built-grid { grid-template-columns: 1fr 1fr; }
}
.how-built-card {
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 1.75rem;
}
.how-built-card .eyebrow { margin-top: 1rem; }
.how-built-card h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.how-built-card p { color: var(--muted); margin-top: 0.75rem; line-height: 1.6; font-size: 0.9375rem; }

.info-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 1.5rem;
	background: var(--brand-soft);
	border: 1px solid color-mix(in oklch, var(--brand) 30%, transparent);
	border-radius: 1rem;
	padding: 1.5rem;
}
.info-box p { color: var(--graphite); font-size: 0.9375rem; line-height: 1.6; }
.info-box .icon-circle { flex-shrink: 0; }

.video-wrapper {
	position: relative;
	padding-top: 56.25%;
	margin-top: 2.5rem;
	border-radius: 0.75rem;
	overflow: hidden;
}
.video-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0.75rem;
}
.video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed var(--border);
	border-radius: 0.75rem;
	background: var(--surface-strong);
	color: var(--muted);
	font-size: 0.875rem;
}
.how-built-cta { margin-top: 2.5rem; }

/* ==========================================================================
   Builder / Personalizador
   ========================================================================== */
.builder { background: var(--bg); }
.builder-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.builder-grid { grid-template-columns: 1fr 1fr; }
}
.builder-text p { color: var(--muted); margin-top: 1.25rem; line-height: 1.6; }
.builder-text .btn { margin-top: 1.5rem; }
.builder-note { font-size: 0.8125rem; color: var(--muted); margin-top: 0.75rem !important; }
.builder-img, .builder-media .img-placeholder {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: 0.75rem;
}

/* ==========================================================================
   OAB rules
   ========================================================================== */
.oab-rules { background: var(--bg); }
.oab-rules > .container > p { color: var(--muted); margin-top: 1rem; max-width: 48rem; line-height: 1.6; }
.oab-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
@media (min-width: 768px) {
	.oab-grid { grid-template-columns: 1fr 1fr; }
}
.oab-card { border-radius: 1rem; padding: 1.75rem; }
.oab-card-can { background: var(--surface); border: 1px solid var(--border); }
.oab-card-cannot { background: var(--brand-soft); border: 1px solid color-mix(in oklch, var(--brand) 25%, transparent); }
.oab-card h3 { font-size: 1.125rem; margin-bottom: 1.25rem; }
.oab-card li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 0.65rem;
	color: var(--muted);
}
.oab-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--graphite);
}
.oab-card-cannot li { color: var(--graphite); }
.oab-card-cannot li::before { background: var(--brand); }
.oab-disclaimer { font-size: 0.75rem; color: var(--muted); margin-top: 1.5rem; line-height: 1.5; }

/* ==========================================================================
   Included / carousel
   ========================================================================== */
.included { background: var(--surface); }
.carousel-wrap { position: relative; margin-top: 2.5rem; }
.carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 88%;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.5rem;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
	.carousel-track { grid-auto-columns: 46%; }
}
@media (min-width: 1024px) {
	.carousel-track { grid-auto-columns: 31.5%; }
}
.carousel-card {
	scroll-snap-align: start;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 1.75rem;
	min-height: 220px;
	transition: border-color 0.15s ease;
}
.carousel-card:hover { border-color: color-mix(in oklch, var(--brand) 50%, transparent); }
.carousel-card h3 { font-size: 1.0625rem; margin-top: 1.25rem; }
.carousel-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin-top: 0.65rem; }
.carousel-arrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--graphite);
	align-items: center;
	justify-content: center;
	z-index: 2;
}
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
@media (min-width: 1200px) {
	.carousel-arrow { display: flex; }
}

/* ==========================================================================
   Google / AI
   ========================================================================== */
.google-ai { background: var(--bg); }
.google-ai p { color: var(--muted); line-height: 1.7; margin-top: 1.25rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: oklch(0.155 0.019 330); }
.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.about-grid { grid-template-columns: 1fr 1.4fr; }
}
.about-logo-img { max-width: 350px; }
.about-logo-placeholder { max-width: 260px; min-height: 140px; }
.about-text h2 { font-size: 2rem; }
@media (min-width: 640px) {
	.about-text h2 { font-size: 2.5rem; }
}
.about-text p { color: color-mix(in oklch, var(--graphite) 80%, transparent); margin-top: 1.25rem; line-height: 1.7; }
.about-text .about-highlight { color: var(--graphite); font-weight: 500; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { background: var(--surface); }
.steps-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-top: 2.5rem;
	position: relative;
}
@media (min-width: 768px) {
	.steps-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1rem;
	}
	.steps-grid::before {
		content: '';
		position: absolute;
		top: 24px;
		left: 12.5%;
		right: 12.5%;
		height: 1px;
		background: color-mix(in oklch, var(--brand) 40%, transparent);
		z-index: 0;
	}
}
.step-item { position: relative; z-index: 1; text-align: left; }
@media (min-width: 768px) {
	.step-item { text-align: center; }
}
.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid color-mix(in oklch, var(--brand) 40%, transparent);
	background: var(--bg);
	color: var(--brand);
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 1.125rem;
}
.step-item h3 { margin-top: 1rem; font-size: 1.125rem; }
@media (min-width: 768px) {
	.step-item h3 { margin-top: 1.5rem; }
}
.step-item p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; margin-top: 0.5rem; }

.steps-prazo {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 3rem;
	background: color-mix(in oklch, var(--brand-soft) 60%, transparent);
	border: 1px solid color-mix(in oklch, var(--brand) 30%, transparent);
	border-radius: 1rem;
	padding: 1.5rem;
}
.steps-prazo p { font-size: 0.9375rem; line-height: 1.6; }
.steps-prazo .icon-circle { flex-shrink: 0; }

.steps-scope-card {
	margin-top: 1.5rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1.75rem;
}
.steps-scope-card h3 { font-size: 1.125rem; }
.steps-scope-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; margin-top: 0.9rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { background: var(--bg); }
.pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
@media (min-width: 1024px) {
	.pricing-grid { grid-template-columns: repeat(3, 1fr); }
	.pricing-card-main { grid-column: span 2; }
	.pricing-card-brand { grid-column: span 3; }
}
.pricing-card { border-radius: 1rem; padding: 1.75rem; background: var(--card); }
.pricing-card-main { border: 2px solid color-mix(in oklch, var(--brand) 40%, transparent); }
.pricing-card-hosting { border: 1px solid var(--border); }
.pricing-card-brand { border: 1px solid var(--border); }

.pricing-main-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.pricing-main-inner { grid-template-columns: 1fr 1fr; }
}
.pricing-card h3 { font-size: 1.25rem; }
.price {
	font-family: 'Sora', sans-serif;
	font-size: 3rem;
	font-weight: 600;
	color: var(--graphite);
	margin-top: 0.75rem;
}
.price-sm { font-size: 1.875rem; }
.price-label { font-size: 0.75rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.05em; margin-top: 0.35rem; }
.pricing-items { margin-top: 1.25rem; }
.pricing-items li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	color: var(--muted);
	margin-bottom: 0.5rem;
}
.pricing-items li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--brand);
	font-weight: 600;
}
.pricing-card-hosting .btn, .pricing-card-brand .btn { margin-top: 1.5rem; }
.pricing-card-brand p:not(.price-label) { color: var(--muted); margin-top: 1rem; line-height: 1.6; font-size: 0.9375rem; }

.pricing-seal {
	border: 2px solid color-mix(in oklch, var(--brand) 50%, transparent);
	border-radius: 1rem;
	background: var(--card);
	padding: 1.75rem;
}
.seal-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: color-mix(in oklch, var(--brand) 15%, transparent);
	border: 2px solid var(--brand);
	box-shadow: 0 0 0 6px color-mix(in oklch, var(--brand) 12%, transparent);
	color: var(--brand);
}
.seal-icon svg { width: 32px; height: 32px; }
.seal-badge {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--brand);
	margin-top: 1rem;
	font-weight: 600;
}
.pricing-seal h3 { margin-top: 0.5rem; font-size: 1.125rem; }
.pricing-seal p:last-child { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin-top: 0.75rem; }

.pricing-note { color: var(--muted); font-size: 0.875rem; margin-top: 2rem; text-align: center; }
.pricing-cta { text-align: center; margin-top: 1.5rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--surface); }
.faq-list { max-width: 768px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	background: transparent;
	border: none;
	color: var(--graphite);
	font-size: 1rem;
	font-weight: 500;
	padding: 1.25rem 0;
}
.faq-icon {
	flex-shrink: 0;
	font-size: 1.25rem;
	color: var(--brand);
	transition: transform 0.2s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
	overflow: hidden;
	transition: max-height 0.25s ease, opacity 0.25s ease;
	max-height: 0;
	opacity: 0;
}
.faq-answer:not([hidden]) { max-height: 400px; opacity: 1; }
.faq-answer p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; padding-bottom: 1.25rem; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact { background: var(--bg); }
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-text p { color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.contact-form-wrap {
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--card);
	padding: 1.5rem;
}
@media (min-width: 640px) {
	.contact-form-wrap { padding: 2rem; }
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 560px) {
	.form-grid { grid-template-columns: 1fr 1fr; }
	.form-field.span-2 { grid-column: span 2; }
}
.form-field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--graphite);
	margin-bottom: 0.4rem;
}
.form-field input, .form-field select {
	width: 100%;
	border: 1px solid var(--input);
	border-radius: 0.375rem;
	background: var(--bg);
	color: var(--graphite);
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus, .form-field select:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 20%, transparent);
}
.form-field.has-error input, .form-field.has-error select {
	border-color: var(--destructive);
}
.field-error {
	display: block;
	font-size: 0.75rem;
	color: var(--destructive);
	margin-top: 0.25rem;
	min-height: 1em;
}
.contact-form-wrap .btn-full { margin-top: 1.75rem; }
.form-privacy { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }
.form-privacy a { color: var(--brand); text-decoration: underline; }
.form-message { margin-top: 1rem; font-size: 0.875rem; padding: 0.75rem 1rem; border-radius: 0.5rem; }
.form-message.is-success { background: color-mix(in oklch, var(--brand) 15%, transparent); color: var(--graphite); }
.form-message.is-error { background: color-mix(in oklch, var(--destructive) 15%, transparent); color: var(--graphite); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg);
	padding: 2.5rem 1.25rem 1.5rem;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
@media (min-width: 640px) {
	.footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-logo img { max-height: 40px; width: auto; }
.footer-attribution { font-size: 0.875rem; color: var(--muted); }
.footer-attribution a { color: var(--brand); }
.footer-divider { height: 1px; background: var(--border); margin: 1.5rem auto; max-width: 1152px; }
.footer-copy { text-align: center; font-size: 0.75rem; color: var(--muted); }

/* ==========================================================================
   Privacy page
   ========================================================================== */
.privacy-page { background: var(--bg); }
.privacy-container { max-width: 768px; }
.privacy-content { margin-top: 1.5rem; color: var(--muted); line-height: 1.7; }
.privacy-content p { margin-bottom: 1rem; }
