/* ==========================================================================
   Arixolve — AI-powered e-governance
   Rebuilt from the archived Next.js/Tailwind build as hand-written CSS.
   Palette follows the original: indigo-600 primary, blue-500 secondary,
   gray-900 text, gray-50 section fills.
   ========================================================================== */

:root {
	--indigo-50:  #eef2ff;
	--indigo-100: #e0e7ff;
	--indigo-200: #c7d2fe;
	--indigo-300: #a5b4fc;
	--indigo-500: #6366f1;
	--indigo-600: #4f46e5;
	--indigo-700: #4338ca;
	--indigo-800: #3730a3;
	--blue-50:  #eff6ff;
	--blue-100: #dbeafe;
	--blue-500: #3b82f6;
	--blue-600: #2563eb;
	--sky-50:   #f0f9ff;
	--green-100: #dcfce7;
	--green-600: #16a34a;
	--amber-100: #fef3c7;
	--amber-600: #d97706;
	--gray-50:  #f9fafb;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-400: #9ca3af;
	--gray-500: #6b7280;
	--gray-600: #4b5563;
	--gray-800: #1f2937;
	--gray-900: #111827;

	--shell: 1280px;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
	--shadow: 0 4px 14px rgba(17, 24, 39, .08);
	--shadow-lg: 0 18px 40px rgba(17, 24, 39, .14);
	--shadow-xl: 0 28px 60px rgba(17, 24, 39, .2);
	--header-h: 72px;

	--font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--gray-600);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--gray-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .35em; }
p  { margin: 0 0 1rem; }
a  { color: var(--indigo-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--indigo-800); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
address { font-style: normal; }

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

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.centered { text-align: center; }
.accent { color: var(--indigo-600); }
.grad {
	background: linear-gradient(90deg, var(--indigo-600), var(--blue-500));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.block { display: block; }
.eyebrow {
	font-size: .875rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--indigo-600); margin-bottom: .5rem;
}
.lead { font-size: 1.0625rem; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .7rem 1.5rem; border-radius: 8px; border: 1px solid transparent;
	font-weight: 600; font-size: .95rem; cursor: pointer;
	transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn--lg { padding: .95rem 2rem; font-size: 1.05rem; }
.btn--primary {
	color: #fff; background: linear-gradient(90deg, var(--indigo-600), var(--blue-600));
	box-shadow: var(--shadow-sm);
}
.btn--primary:hover { color: #fff; background: linear-gradient(90deg, var(--indigo-700), #1d4ed8); box-shadow: var(--shadow); }
.btn--ghost { color: var(--indigo-700); background: #fff; border-color: var(--indigo-200); }
.btn--ghost:hover { background: var(--indigo-50); color: var(--indigo-800); }
.inline-link { font-weight: 600; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; position: relative; z-index: 60; }
.brand__mark { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.15rem; color: var(--gray-900); letter-spacing: -.02em; }
.brand__tag { font-size: .7rem; color: var(--gray-500); }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav__list { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav__list a { color: var(--gray-600); font-size: .92rem; font-weight: 500; padding: .4rem 0; }
.primary-nav__list a:hover { color: var(--indigo-600); }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
	background: transparent; color: var(--gray-800); cursor: pointer;
	position: relative; z-index: 60;
}
.nav-toggle__bars { display: block; width: 22px; }
.nav-toggle__bars span {
	display: block; height: 2px; background: currentColor; border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bars span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--gray-200);
		box-shadow: var(--shadow);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.primary-nav.is-open { max-height: 80vh; overflow: auto; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__list a { display: block; padding: .95rem clamp(16px, 4vw, 32px); border-top: 1px solid var(--gray-100); }
	.primary-nav__cta { margin: 1rem clamp(16px, 4vw, 32px) 1.25rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__bg::before {
	content: ""; position: absolute; inset: 0; opacity: .8;
	background: linear-gradient(135deg, var(--indigo-50) 0%, #fff 55%, var(--sky-50) 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 33%; background: linear-gradient(to top, #fff, transparent); }
.blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(64px); opacity: .7; }
.blob--indigo { bottom: -160px; left: -160px; background: var(--indigo-100); }
.blob--blue   { top: -160px; right: -160px; background: var(--blue-100); }
.dots { position: absolute; opacity: .1; }
.dots--tr { right: 0; top: 0; color: var(--indigo-600); }
.dots--bl { left: 0; bottom: 0; color: var(--blue-600); transform: rotate(180deg); }

.hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; } }

.pill {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .3rem .8rem; border-radius: 999px;
	background: var(--indigo-100); color: var(--indigo-800);
	font-size: .78rem; font-weight: 600; margin: 0 0 1.25rem;
}
.pill .icon { color: var(--indigo-500); }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 40rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }

.hero__trust { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--gray-500); margin-bottom: 1.75rem; }
.avatars { display: inline-flex; }
.avatars__dot {
	width: 24px; height: 24px; border-radius: 50%;
	background: rgba(99, 102, 241, .2); box-shadow: 0 0 0 2px #fff;
}
.avatars__dot + .avatars__dot { margin-left: -6px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
@media (min-width: 768px) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
	/* dt precedes dd in the markup (valid <dl>); column-reverse puts the number on top */
	display: flex; flex-direction: column-reverse;
	padding: 1.1rem 1rem; border-radius: 10px;
	background: rgba(255, 255, 255, .7); backdrop-filter: blur(4px);
	border: 1px solid var(--indigo-50); box-shadow: var(--shadow-sm);
	transition: box-shadow .3s ease, transform .3s ease;
}
.stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat__num { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--indigo-600); line-height: 1.1; }
.stat__label { font-size: .78rem; font-weight: 500; color: var(--gray-500); margin: .15rem 0 0; }
.stats--boxed { margin-top: 2.5rem; }
.stats--boxed .stat { background: #fff; border-color: var(--gray-200); text-align: center; }

/* hero media */
.hero__media { position: relative; }
.mockup { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.mockup img { width: 100%; }
.mockup__cap {
	position: absolute; inset: auto 0 0; padding: 1.25rem 1.25rem 1rem; color: #fff;
	background: linear-gradient(to top, rgba(17, 24, 39, .85), transparent);
	display: flex; flex-direction: column;
}
.mockup__title { font-weight: 700; }
.mockup__sub { font-size: .8rem; opacity: .85; }

.code-card {
	position: absolute; top: -2.5rem; right: -1.5rem; width: 260px;
	background: var(--gray-900); border: 1px solid var(--gray-800);
	border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-xl);
}
.code-card__bar { display: flex; align-items: center; justify-content: space-between; padding: .5rem .85rem; background: var(--gray-800); }
.code-card__file { font-size: .7rem; color: var(--gray-400); }
.dots3 { display: inline-flex; gap: .28rem; }
.dots3 i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots3 i:nth-child(1) { background: #ef4444; }
.dots3 i:nth-child(2) { background: #eab308; }
.dots3 i:nth-child(3) { background: #22c55e; }
.code-card__body { margin: 0; padding: .9rem; font-family: var(--mono); font-size: .68rem; line-height: 1.7; color: #fff; white-space: pre-wrap; word-break: break-word; }
.tk-kw   { color: #60a5fa; }
.tk-kw2  { color: #facc15; }
.tk-var  { color: #4ade80; }
.tk-obj  { color: #818cf8; }
.tk-fn   { color: #22d3ee; }
.tk-prop { color: #f472b6; }
.tk-str  { color: #fef08a; }

.toast {
	position: absolute; top: 50%; right: -3rem; transform: translateY(-50%);
	display: flex; align-items: flex-start; gap: .7rem;
	max-width: 220px; padding: .8rem; background: #fff;
	border: 1px solid var(--green-100); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.toast__icon {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--green-100); color: var(--green-600);
}
.toast__icon svg { width: 18px; height: 18px; }
.toast strong { display: block; font-size: .78rem; color: var(--gray-900); }
.toast small { display: block; font-size: .72rem; color: var(--gray-500); margin-top: .15rem; }

@media (max-width: 1199px) { .toast { display: none; } }
@media (max-width: 767px) { .code-card { display: none; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }
.section--white { background: #fff; }
.section--grey { background: var(--gray-50); }
.section__head { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head > p:last-child { font-size: 1.0625rem; color: var(--gray-500); margin-bottom: 0; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-sm);
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--indigo-100); }
.card__rule { display: block; height: 6px; background: linear-gradient(90deg, var(--indigo-600), var(--blue-500)); }
.card__body { padding: 1.5rem; flex: 1 1 auto; }
.card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%; margin-bottom: 1.15rem;
	background: var(--indigo-100); color: var(--indigo-600);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--gray-500); margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; padding: 0 1.5rem 1.4rem; font-weight: 600; font-size: .9rem; }
.card--plain { padding: 1.75rem; text-align: center; align-items: center; border-radius: var(--radius-lg); }
.card--plain .card__icon { margin-bottom: 1rem; }
.cards--values { margin-top: 2rem; }

/* ---------- featured block ---------- */
.feature {
	display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
	margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 2.75rem);
	background: linear-gradient(135deg, var(--indigo-50), var(--sky-50));
	border: 1px solid var(--indigo-100); border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.ticks { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; color: var(--gray-600); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .45em;
	width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: var(--indigo-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/ .8rem no-repeat;
}

/* ---------- split layout ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1024px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__copy { order: 2; }
	.split--reverse .split__media { order: 1; }
}
.split__media { min-width: 0; }
.split__media--framed { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

.features { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.features li { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.features--tight li { margin-bottom: 1.15rem; }
.features__icon {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 10px;
	background: var(--indigo-500); color: #fff;
}
.features__icon--green { background: var(--green-600); }
.features__icon--amber { background: var(--amber-600); }
.features__icon svg { width: 24px; height: 24px; }
.features h3, .features h4 { margin-bottom: .3rem; }
.features h3 { font-size: 1.1rem; font-weight: 600; }
.features p { margin: 0; color: var(--gray-600); }

/* ---------- chat mock ---------- */
.chat {
	position: relative; max-width: 28rem; margin: 0 auto; background: #fff;
	border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
	border: 1px solid var(--gray-100); overflow: hidden;
}
.chat__bar {
	display: flex; align-items: center; gap: 1rem; padding: .85rem 1.25rem;
	background: linear-gradient(90deg, var(--indigo-600), var(--blue-600)); color: #fff;
}
.chat__title { font-size: .875rem; font-weight: 600; }
.chat__log { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1rem; }
.msg { max-width: 82%; margin: 0; padding: .55rem 1rem; border-radius: 10px; font-size: .875rem; color: var(--gray-800); }
.msg--bot { background: var(--gray-100); align-self: flex-start; }
.msg--user { background: var(--indigo-100); align-self: flex-end; }
.msg--bot p { margin: 0 0 .35rem; }
.msg--bot p:last-child { margin-bottom: 0; }
.msg__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem !important; }
.chip { display: inline-block; padding: .2rem .5rem; border-radius: 5px; font-size: .7rem; border: 1px solid var(--indigo-600); color: var(--indigo-600); background: #fff; }
.chip--solid { background: var(--indigo-600); color: #fff; }
.chat__input { display: flex; align-items: center; gap: .75rem; margin: 0; padding: 1rem 1.5rem 1.25rem; border-top: 1px solid var(--gray-200); }
.chat__field { flex: 1; padding: .55rem .8rem; border: 1px solid var(--gray-300); border-radius: 8px; font-size: .82rem; color: var(--gray-400); }
.chat__send {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; flex: none; border-radius: 8px;
	background: var(--indigo-600); color: #fff;
}
.chat__send svg { width: 18px; height: 18px; }

/* ---------- analytics dashboard mock ---------- */
.dash { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); background: linear-gradient(135deg, var(--indigo-500), #7c3aed); }
.dash__bar { height: 12px; background: linear-gradient(90deg, var(--indigo-600), var(--blue-600)); }
.dash__panel { margin: 1rem; padding: 1.25rem; background: #fff; border-radius: 10px; }
.dash__head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1.15rem; }
.dash__title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.dash__tags { display: flex; gap: .4rem; margin: 0; }
.tag { display: inline-flex; align-items: center; padding: .12rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 600; background: var(--indigo-100); color: var(--indigo-800); }
.tag--live { background: var(--green-100); color: var(--green-600); }
.dash__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { padding: .9rem; background: var(--gray-50); border-radius: 10px; }
.kpi__label { font-size: .7rem; color: var(--gray-500); margin: 0 0 .2rem; }
.kpi__value { font-size: 1.5rem; font-weight: 800; color: var(--indigo-600); margin: 0; line-height: 1.15; }
.kpi__value--green { color: var(--green-600); }
.kpi__value--amber { color: var(--amber-600); }
.meter { display: block; height: 8px; margin-top: .5rem; border-radius: 999px; background: var(--gray-200); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--indigo-600); }
.meter .meter--green { background: var(--green-600); }
.meter .meter--amber { background: var(--amber-600); }
.kpi__delta { font-size: .7rem; color: var(--gray-500); margin: .35rem 0 0; }
.kpi__delta--up { color: var(--green-600); }
.dash__chart-title { font-size: .8rem; font-weight: 600; color: var(--gray-900); margin: 0 0 .6rem; }
.bars { display: flex; align-items: flex-end; gap: .4rem; height: 120px; margin: 0; padding: 0; list-style: none; }
.bars li {
	flex: 1; height: var(--h); min-height: 8px; border-radius: 4px 4px 0 0;
	background: linear-gradient(to top, var(--indigo-600), var(--blue-500));
	position: relative;
}
.bars li span { position: absolute; inset: auto 0 -1.35rem; text-align: center; font-size: .6rem; color: var(--gray-400); }

/* ---------- case study ---------- */
.case {
	display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center;
	background: #fff; border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr; } }
.case__media { margin: 0; position: relative; }
.case__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.case__media figcaption { padding: .6rem 1rem; font-size: .72rem; color: var(--gray-400); }
.case__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.case__body > h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }

.quote {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: clamp(1.75rem, 4vw, 2.5rem);
	background: linear-gradient(135deg, var(--indigo-600), var(--blue-600));
	border-radius: var(--radius-lg); color: #fff; text-align: center;
}
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; margin: 0 0 1.25rem; }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote figcaption { font-weight: 700; }
.quote figcaption span { display: block; font-weight: 400; font-size: .85rem; opacity: .85; }

/* ---------- contact ---------- */
.contact {
	display: grid; background: #fff; border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .contact { grid-template-columns: 2fr 3fr; } }
.contact__panel {
	position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 2.75rem);
	background: linear-gradient(160deg, var(--indigo-700), var(--indigo-800) 55%, #1e3a8a);
	color: #fff;
}
.contact__panel h3 { color: #fff; }
.contact__panel > p { color: var(--indigo-200); }
.contact__glow {
	position: absolute; width: 380px; height: 380px; right: -140px; bottom: -180px;
	border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.55) 0%, rgba(99,102,241,0) 70%);
}
.contact__list { position: relative; margin: 1.75rem 0 0; }
.contact__list dt { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo-300); }
.contact__list dd { margin: .25rem 0 1.15rem; color: #fff; }
.contact__list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact__list a:hover { color: var(--indigo-200); }
.contact__social { position: relative; margin: 1.5rem 0 0; }
.contact__social a, .footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 10px;
	background: rgba(255, 255, 255, .12); color: #fff;
	transition: background .2s ease;
}
.contact__social a:hover, .footer__social a:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.contact__social svg, .footer__social svg { width: 20px; height: 20px; }

.contact__form { padding: clamp(1.75rem, 4vw, 2.75rem); }
.contact__form form { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .contact__form form { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } .field--wide { grid-column: 1 / -1; } }
.field { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--gray-900); display: flex; justify-content: space-between; gap: .5rem; }
.hint { font-weight: 400; color: var(--gray-400); }
.field input, .field textarea {
	width: 100%; padding: .7rem .9rem; font: inherit; font-size: .95rem;
	color: var(--gray-900); background: #fff;
	border: 1px solid var(--gray-300); border-radius: 8px;
	box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
	outline: none; border-color: var(--indigo-600);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, .18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--submit { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .9rem; justify-content: flex-end; }
.form-note { font-size: .78rem; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.faq > h3 { margin-bottom: 2rem; }
.faq details { border-top: 1px solid var(--gray-200); }
.faq details:last-of-type { border-bottom: 1px solid var(--gray-200); }
.faq summary {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h4 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.faq summary::after {
	content: "+"; flex: none; font-size: 1.4rem; line-height: 1;
	color: var(--indigo-600); font-weight: 700;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: 0; padding: 0 0 1.25rem; color: var(--gray-600); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--gray-900); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer__glow {
	position: absolute; width: 800px; height: 800px; right: -400px; bottom: -400px;
	background: radial-gradient(circle, rgba(79, 70, 229, .5) 0%, rgba(79, 70, 229, 0) 70%);
	pointer-events: none;
}
.site-footer .shell { position: relative; }
.site-footer h3 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer p, .site-footer address { color: var(--gray-400); }
.site-footer a { color: var(--gray-400); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--gray-400); }
.footer__brand > p { margin: 1.25rem 0; max-width: 32rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .55rem; font-size: .92rem; }
.footer__col address { margin-bottom: 1rem; font-size: .92rem; }
.footer__legal {
	margin: 2.5rem 0 0; padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .85rem; text-align: center;
}
