/*
Theme Name: CMIS
Theme URI: https://cmis.co.ke
Author: CMIS Kenya
Author URI: https://cmis.co.ke
Description: Custom SaaS-style landing theme for CMIS, the campus management information system for schools and colleges in Kenya.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cmis
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--brand: #178e79;
	--brand-dark: #0e5c4e;
	--brand-darker: #0a4a3f;
	--brand-light: #e6f5f2;
	--brand-lighter: #f2faf8;
	--brand-soft: #d3ede7;
	--accent: #f5a524;
	--ink: #0b1f1c;
	--ink-soft: #4b5f5b;
	--ink-faint: #7c9490;
	--line: #e2ede9;
	--surface: #ffffff;
	--surface-alt: #f7fbfa;
	--danger: #e2455e;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;
	--shadow-sm: 0 2px 10px rgba(11, 31, 28, 0.06);
	--shadow-md: 0 10px 30px rgba(11, 31, 28, 0.09);
	--shadow-lg: 0 24px 60px rgba(11, 31, 28, 0.14);
	--container: 1180px;
	--font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--surface);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--ink);
	margin: 0 0 .5em;
	line-height: 1.2;
	letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100000;
	background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 782px) {
	.section { padding: 64px 0; }
	.section-tight { padding: 44px 0; }
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--brand-light); color: var(--brand-dark);
	font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.eyebrow svg { flex-shrink: 0; width: 15px; height: 15px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-heading); font-weight: 700; font-size: 15px;
	padding: 14px 28px; border-radius: var(--radius-pill); border: 2px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
	white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(23,142,121,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,142,121,.35); }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--brand-soft); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-lighter); }
.btn-white { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-dark); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 500;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
	transform: translateY(0);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--ink); }
.site-branding .brand-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: #fff;
}
.site-branding .brand-mark svg { width: 20px; height: 20px; }
.site-branding img { max-height: 42px; width: auto; }
.site-branding .brand-dot { color: var(--brand); }

.primary-nav { display: flex; }
.primary-nav ul { display: flex; align-items: center; gap: 8px; }
.primary-nav a {
	display: inline-block; padding: 10px 16px; border-radius: var(--radius-pill);
	font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: all .15s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--brand-dark); background: var(--brand-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
.mobile-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
	.primary-nav { position: fixed; inset: 78px 0 0 0; background: #fff; padding: 20px 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.primary-nav a { padding: 14px 16px; font-size: 17px; }
	.header-actions .btn-outline { display: none; }
	.mobile-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; padding: 168px 0 60px; overflow: hidden;
	background: linear-gradient(180deg, var(--brand-lighter) 0%, #ffffff 62%);
}
.hero::before {
	content: ''; position: absolute; top: -220px; right: -180px; width: 640px; height: 640px;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
	border-radius: 50%; opacity: .10; filter: blur(10px);
}
.hero::after {
	content: ''; position: absolute; top: 40px; left: -220px; width: 420px; height: 420px;
	background: linear-gradient(135deg, var(--accent), var(--brand)); border-radius: 50%; opacity: .08; filter: blur(10px);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 22px; }
.hero h1 .accent-text { color: var(--brand); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-microcopy { font-size: 14px; color: var(--ink-faint); font-weight: 500; }
.hero-microcopy .dot { margin: 0 8px; color: var(--brand); }

/* Dashboard mock */
.dashboard-mock {
	position: relative; z-index: 2; max-width: 980px; margin: 56px auto 0;
	background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	border: 1px solid var(--line); padding: 28px; display: grid;
	grid-template-columns: 1.1fr 1fr 1fr; gap: 18px;
}
.dm-card {
	background: var(--surface-alt); border-radius: var(--radius-md); padding: 20px;
	border: 1px solid var(--line);
}
.dm-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 8px; }
.dm-value { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--ink); }
.dm-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); margin-top: 8px; }
.dm-pill.up { background: #e3f6ee; color: #1a9e5c; }
.dm-pill.pending { background: #fdf0dc; color: #b6790c; }

.dm-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 14px; }
.dm-bars span { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; }
.dm-bars span:last-child { background: var(--brand-dark); opacity: 1; }

.dm-donut {
	width: 92px; height: 92px; border-radius: 50%; margin: 4px auto 12px;
	display: flex; align-items: center; justify-content: center; position: relative;
	background: conic-gradient(var(--brand) 0deg 281deg, var(--brand-soft) 281deg 360deg);
}
.dm-donut::before { content: ''; position: absolute; inset: 10px; background: var(--surface-alt); border-radius: 50%; }
.dm-donut-value { position: relative; z-index: 1; font-family: var(--font-heading); font-weight: 800; font-size: 15px; }

.dm-split { display: flex; flex-direction: column; gap: 14px; }
.dm-mini { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; }
.dm-mini .dm-value { font-size: 20px; }

.dm-table { grid-column: 1 / 3; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.dm-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dm-table th { text-align: left; color: var(--ink-faint); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 10px; }
.dm-table td { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.dm-table td:first-child { color: var(--ink); font-weight: 600; }
.status-chip { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; }
.status-chip.enrolled { background: #e3f6ee; color: #1a9e5c; }
.status-chip.pending { background: #fdf0dc; color: #b6790c; }

.dm-activity { grid-column: 3 / 4; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; display: flex; flex-direction: column; }
.dm-activity-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.dm-avatar {
	width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 12px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}

@media (max-width: 900px) {
	.dashboard-mock { grid-template-columns: 1fr 1fr; padding: 18px; gap: 12px; }
	.dm-table { grid-column: 1 / 3; }
	.dm-activity { grid-column: 1 / 3; }
}
@media (max-width: 600px) {
	.dashboard-mock { grid-template-columns: 1fr; }
	.dm-table, .dm-activity { grid-column: 1 / 2; }
}

.trust-row { margin-top: 60px; text-align: center; position: relative; z-index: 2; }
.trust-row p { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 18px; }
.trust-avatars { display: flex; align-items: center; justify-content: center; gap: -8px; }
.trust-avatars .dm-avatar { margin-left: -10px; width: 44px; height: 44px; font-size: 14px; }
.trust-avatars .dm-avatar:first-child { margin-left: 0; }

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.compare-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.compare-card.bad { background: #fdf4f4; }
.compare-card.good { background: var(--brand-lighter); }
.compare-card h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.compare-card ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.compare-card ul li:last-child { margin-bottom: 0; }
.compare-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.compare-card.bad .compare-icon { background: #f8dcdf; color: var(--danger); }
.compare-card.good .compare-icon { background: var(--brand-soft); color: var(--brand-dark); }
.compare-icon svg { width: 12px; height: 12px; }
@media (max-width: 782px) { .compare-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Feature showcase rows (image + text)
   ========================================================================== */
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-row + .showcase-row { margin-top: 100px; }
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-row.reverse .showcase-copy { order: 1; }
.showcase-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.showcase-copy p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.showcase-copy ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.showcase-copy ul li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.showcase-media { position: relative; }
.showcase-media .stat-float {
	position: absolute; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
	border: 1px solid var(--line); padding: 16px 20px; z-index: 2;
}
.showcase-media .stat-float.tl { top: -18px; left: -18px; }
.showcase-media .stat-float.br { bottom: -18px; right: -18px; }
.showcase-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.1; background: var(--brand-light); position: relative; }
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-photo .ph-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.showcase-photo .ph-fill svg { width: 30%; height: 30%; opacity: .5; }
@media (max-width: 900px) {
	.showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
	.showcase-row.reverse .showcase-media, .showcase-row.reverse .showcase-copy { order: initial; }
	.showcase-row + .showcase-row { margin-top: 64px; }
	.showcase-media { margin-bottom: 20px; }
}

/* ==========================================================================
   Bento stats grid ("optimized for growth")
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(150px, auto); gap: 20px; }
.bento-card {
	background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 24px; position: relative; overflow: hidden;
}
.bento-card h4 { font-size: 16px; margin-bottom: 6px; }
.bento-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 0; }
.bento-card.dark { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.bento-card.dark h4, .bento-card.dark .dm-value { color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,.78); }
.bento-card .dm-value { margin-top: 10px; }
.bento-card .mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 14px; }
.bento-card .mini-bars span { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; }
.bento-card.dark .mini-bars span { background: rgba(255,255,255,.65); }
.bento-progress { height: 8px; border-radius: var(--radius-pill); background: var(--brand-soft); margin-top: 14px; overflow: hidden; }
.bento-progress span { display: block; height: 100%; background: var(--brand); border-radius: var(--radius-pill); }
.bento-card.dark .bento-progress { background: rgba(255,255,255,.25); }
.bento-card.dark .bento-progress span { background: #fff; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band with countdown-style urgency
   ========================================================================== */
.cta-band {
	background: linear-gradient(120deg, var(--brand-darker) 0%, var(--brand) 55%, #1f6f52 100%);
	color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 45%),
	            radial-gradient(circle at 85% 80%, rgba(255,255,255,.10), transparent 40%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.countdown .unit { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); padding: 14px 20px; min-width: 84px; }
.countdown .unit strong { display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 800; }
.countdown .unit span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.cta-band .btn-white { color: var(--brand-dark); }
.cta-band .hero-microcopy { color: rgba(255,255,255,.7); margin-top: 16px; }
.cta-band .hero-microcopy .dot { color: #fff; }

/* ==========================================================================
   Why choose (icon grid)
   ========================================================================== */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.icon-card { text-align: center; padding: 8px; }
.icon-card .icon-wrap {
	width: 58px; height: 58px; border-radius: 16px; background: var(--brand-light); color: var(--brand-dark);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.icon-card .icon-wrap svg { width: 26px; height: 26px; }
.icon-card h4 { font-size: 16px; margin-bottom: 6px; }
.icon-card p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .icon-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing controls (billing period + currency switches)
   ========================================================================== */
.pricing-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 44px; }
.billing-toggle, .currency-toggle {
	display: inline-flex; background: var(--surface-alt); border: 1px solid var(--line);
	border-radius: var(--radius-pill); padding: 4px; gap: 2px;
}
.billing-option {
	border: none; background: transparent; padding: 11px 22px; border-radius: var(--radius-pill);
	font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink-soft);
	display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, background-color .2s ease;
}
.billing-option.is-active { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(23,142,121,.28); }
.billing-option .save-badge {
	background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
	padding: 2px 8px; border-radius: var(--radius-pill);
}
.billing-option.is-active .save-badge { background: rgba(255,255,255,.22); }
.currency-toggle { padding: 3px; }
.currency-option {
	border: none; background: transparent; padding: 6px 16px; border-radius: var(--radius-pill);
	font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; color: var(--ink-faint);
	transition: color .2s ease, background-color .2s ease;
}
.currency-option.is-active { background: var(--brand-dark); color: #fff; }
.price-billed-note { min-height: 16px; }

.payment-methods { text-align: center; margin: 40px auto 0; }
.payment-methods-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 16px; }
.payment-badges { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.payment-badge {
	display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-pill); padding: 12px 22px; font-weight: 700; font-size: 14px; color: var(--ink);
	box-shadow: var(--shadow-sm);
}
.payment-badge svg { width: 20px; height: 20px; color: var(--brand-dark); flex-shrink: 0; }
.payment-badge.mpesa svg { color: #1a9e5c; }
.payment-badge.mpesa { border-color: #bfe8d2; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-feature {
	max-width: 760px; margin: 0 auto 56px; text-align: center; background: var(--surface-alt);
	border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px;
}
.testimonial-feature blockquote { font-family: var(--font-heading); font-size: clamp(19px, 2.4vw, 25px); font-weight: 600; margin: 18px 0 24px; }
.testimonial-feature .stars { justify-content: center; margin-bottom: 6px; }
.testimonial-feature .t-person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-feature .t-person strong { display: block; font-size: 14px; }
.testimonial-feature .t-person span { display: block; font-size: 13px; color: var(--ink-faint); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { margin-bottom: 12px; }
.testimonial-card p.quote { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; min-height: 90px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-person strong { display: block; font-size: 14px; }
.t-person span { display: block; font-size: 12.5px; color: var(--ink-faint); }
.icon-star { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonial-grid { grid-template-columns: 1fr; } .testimonial-feature { padding: 28px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: none; text-align: left; padding: 22px 4px; font-family: var(--font-heading);
	font-weight: 700; font-size: 16.5px; color: var(--ink);
}
.faq-question svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); transition: transform .25s ease; }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.faq-stats { display: flex; justify-content: center; gap: 60px; margin-top: 64px; flex-wrap: wrap; }
.faq-stat { text-align: center; }
.faq-stat strong { display: block; font-family: var(--font-heading); font-size: 34px; font-weight: 800; color: var(--brand-dark); }
.faq-stat span { font-size: 13px; color: var(--ink-faint); font-weight: 600; }

/* ==========================================================================
   Final CTA form
   ========================================================================== */
.final-cta { background: var(--surface-alt); }
.final-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.final-cta h2 { font-size: clamp(28px, 3.6vw, 40px); }
.final-cta p { color: var(--ink-soft); font-size: 17px; }
.final-cta .final-points { margin-top: 26px; }
.final-cta .final-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.final-cta .final-points svg { width: 20px; height: 20px; color: var(--brand); }
.lead-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 34px; }
.lead-form h3 { font-size: 18px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
	background: var(--surface-alt); transition: border-color .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
@media (max-width: 900px) { .final-cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0a1e1a; color: rgba(255,255,255,.72); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .site-branding { color: #fff; }
.footer-brand p { margin: 16px 0 20px; font-size: 14.5px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h3, .footer-widget-title { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom ul { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner page (non front-page) generic content
   ========================================================================== */
.page-hero { padding: 168px 0 60px; background: var(--brand-lighter); text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 640px; margin: 0 auto; }
.entry-content { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content p { color: var(--ink-soft); font-size: 16.5px; }
.entry-content a { color: var(--brand-dark); text-decoration: underline; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; color: var(--ink-soft); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: var(--radius-md); margin: 1.6em 0; }
.error-404 { text-align: center; padding: 180px 24px 100px; }
.error-404 .code { font-family: var(--font-heading); font-size: 96px; font-weight: 800; color: var(--brand); line-height: 1; }

/* ==========================================================================
   About Us — history block
   ========================================================================== */
.history-block { max-width: 760px; margin: 0 auto; text-align: center; }
.history-block h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 16px; }
.history-block p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 36px; }
.history-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }

/* ==========================================================================
   Contact — map
   ========================================================================== */
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 400;
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
	background: var(--surface); color: var(--brand-dark); box-shadow: var(--shadow-md);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .2s ease;
}
.back-to-top .icon-up { width: 20px; height: 20px; transform: rotate(180deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); color: #fff; }
@media (max-width: 600px) { .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }
