/* =========================================================================
   FANAL SOLUTIONS — main.css
   1. Custom properties
   2. Reset
   3. Base typography
   4. Layout utilities
   5. Buttons
   6. Badges / labels / chips
   7. Header & navigation
   8. Hero
   9. Problem section + cards
   10. Divisions
   11. Digital twin / split visual
   12. Stats counter
   13. Why Texas
   14. GTM roadmap
   15. CTA band
   16. Footer
   17. Solutions page
   18. About page
   19. Contact page + form
   20. Blog (archive, single)
   21. 404
   22. Scroll reveal
   23. Reduced motion
   24. Responsive
   ========================================================================= */

/* ---------------------------- 1. CUSTOM PROPS ---------------------------- */
:root {
	--primary:      #2B2B2B;
	--secondary:    #F79D0B;
	--accent:       #FFA62E;
	--background:   #FFFFFF;
	--ink-soft:     #4A4A4A;
	--gray:         #6E6E6E;
	--surface:      #F6F6F4;
	--line:         #E6E6E3;
	--status-ok:    #1F9D6B;
	--status-fault: #E0401C;
	--brand-grad:   linear-gradient(135deg, #FFA62E 0%, #F79D0B 100%);

	--footer-bg:    #1E1E1E;
	--footer-line:  #333333;

	--container:    1200px;
	--pad-x:        24px;
	--radius-card:  12px;
	--radius-btn:   8px;
	--radius-chip:  6px;

	--shadow-card:  0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);

	--font: "Alexandria", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ------------------------------- 2. RESET -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, ul, ol, blockquote { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img, svg, video { max-width: 100%; height: auto; display: block; }

button { font: inherit; cursor: pointer; border: 0; background: none; }

input, textarea, select { font: inherit; }

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

/* --------------------------- 3. BASE TYPOGRAPHY -------------------------- */
body {
	font-family: var(--font);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--primary);
	background: var(--background);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

h1, h2 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }   /* up to 64px */
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); } /* up to 48px */
h3 { font-size: 1.375rem; }                   /* 22px */
h4 { font-size: 1.125rem; }                   /* 18px */

p { font-size: 1rem; }

strong, .emphasis { font-weight: 500; }

::selection { background: var(--secondary); color: #fff; }

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--secondary);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------- 4. LAYOUT UTILITIES ------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--pad-x);
}

.container.narrow { max-width: 820px; }

.section { padding-block: 96px; }

.section--light   { background: var(--background); color: var(--primary); }
.section--surface { background: var(--surface);    color: var(--primary); }
.section--dark    { background: var(--primary);    color: #fff; position: relative; overflow: hidden; }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .section-lede { color: rgba(255, 255, 255, 0.78); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.flex { display: flex; }

.section-head {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	margin-bottom: 56px;
}
.section-head--left { text-align: left; margin-inline: 0; }

.section-title { margin-top: 16px; }

.section-lede {
	margin-top: 20px;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.rich-text { max-width: 760px; margin-inline: auto; font-size: 1.0625rem; }
.rich-text > * + * { margin-top: 1.25rem; }
.rich-text h2 { margin-top: 2.5rem; }
.rich-text h3 { margin-top: 2rem; }
.rich-text a { color: var(--secondary); text-decoration: underline; }
.rich-text ul, .rich-text ol { padding-left: 1.4rem; }
.rich-text li { list-style: disc; margin-top: 0.5rem; }
.rich-text img { border-radius: var(--radius-card); margin-block: 1.5rem; }

/* ------------------------------ 5. BUTTONS ------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	line-height: 1;
	border-radius: var(--radius-btn);
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
	border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

.btn--sm { height: 36px; padding-inline: 18px; font-size: 0.875rem; }
.btn--md { height: 48px; padding-inline: 26px; font-size: 1rem; }
.btn--lg { height: 56px; padding-inline: 34px; font-size: 1.0625rem; }
.btn--full { width: 100%; height: 48px; }

.btn--primary { background: var(--secondary); color: #fff; }
.btn--primary:hover { background: var(--accent); box-shadow: 0 8px 24px rgba(247, 157, 11, 0.32); }

.btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* On light backgrounds the ghost button reads charcoal */
.section--light .btn--ghost,
.section--surface .btn--ghost {
	color: var(--primary);
	border-color: var(--primary);
}
.section--light .btn--ghost:hover,
.section--surface .btn--ghost:hover {
	background: var(--primary);
	color: #fff;
}

.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--surface); }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--secondary);
	font-weight: 600;
	transition: gap 0.18s ease, color 0.18s ease;
}
.text-link:hover { gap: 12px; color: var(--accent); }

/* --------------------- 6. BADGES / LABELS / CHIPS ----------------------- */
.section-label {
	display: inline-block;
	font-size: 0.6875rem;       /* 11px */
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--secondary);
}

.overline-badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--secondary);
	border: 1px solid rgba(247, 157, 11, 0.5);
	border-radius: 100px;
	padding: 7px 16px;
	margin-bottom: 28px;
}

.status-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: var(--radius-chip);
}
.status-chip i { font-size: 0.6rem; }
.status-chip--ok    { background: rgba(31, 157, 107, 0.12); color: var(--status-ok); }
.status-chip--amber { background: rgba(247, 157, 11, 0.14); color: var(--secondary); }
.status-chip--gray  { background: rgba(110, 110, 110, 0.14); color: var(--gray); }

/* ----------------------- 7. HEADER & NAVIGATION ------------------------- */
#scroll-sentinel { position: absolute; top: 60px; height: 1px; width: 1px; }

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
	background: transparent;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
	transition: padding 0.3s ease;
}
.site-header.scrolled {
	background: var(--primary);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.site-header.scrolled .site-header__inner { padding-block: 12px; }

/* Logo color handling — wordmark uses currentColor on .logo-word */
.fanal-logo { height: 36px; width: auto; }
.fanal-logo .logo-word { fill: #fff; transition: fill 0.3s ease; }
/* Front page: dark logo text on transparent header until scrolled (hero is dark, so keep white).
   We keep wordmark white by default since header overlays dark hero / dark scrolled bar. */
.brand-link { display: inline-flex; align-items: center; }

.site-nav { margin-left: auto; }

.nav-menu {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	padding-block: 8px;
	transition: color 0.18s ease;
}
.nav-menu > li > a:hover { color: var(--secondary); }
.nav-menu .ti-chevron-down { font-size: 0.9rem; transition: transform 0.2s ease; }

/* Dropdown */
.menu-item-has-children,
.has-dropdown { position: relative; }
.sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-btn);
	box-shadow: var(--shadow-hover);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.has-dropdown:hover > .sub-menu,
.has-dropdown.open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--primary);
	transition: background 0.16s ease, color 0.16s ease;
}
.sub-menu a:hover { background: var(--surface); color: var(--secondary); }

.site-header__cta { flex-shrink: 0; }

.nav-toggle {
	display: none;
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	padding: 4px;
}

/* Mobile drawer */
.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1100;
	opacity: 0;
	transition: opacity 0.3s ease;
}
body.menu-open .nav-overlay { opacity: 1; }

.mobile-drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(86vw, 360px);
	background: var(--primary);
	z-index: 1200;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	padding: 24px;
	overflow-y: auto;
}
body.menu-open .mobile-drawer { transform: translateX(0); }

.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}
.nav-close { color: #fff; font-size: 1.6rem; line-height: 1; }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu > li > a,
.mobile-submenu > a {
	display: block;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu > li > a:hover { color: var(--secondary); }
.mobile-submenu { display: flex; flex-direction: column; }
.mobile-submenu > a {
	font-size: 0.95rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
	padding-left: 16px;
}
.mobile-nav .btn { margin-top: 28px; }

/* -------------------------------- 8. HERO ------------------------------- */
.hero {
	position: relative;
	padding-top: 160px;
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(0deg, rgba(247,157,11,0.04) 0 1px, transparent 1px 60px),
		repeating-linear-gradient(90deg, rgba(247,157,11,0.04) 0 1px, transparent 1px 60px);
	pointer-events: none;
	z-index: 0;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 0%, rgba(247,157,11,0.06) 45%, rgba(247,157,11,0.10) 50%, rgba(247,157,11,0.06) 55%, transparent 100%);
	pointer-events: none;
	z-index: 0;
	animation: beam-pulse 6s ease-in-out infinite;
}
@keyframes beam-pulse {
	0%, 100% { opacity: 0.5; }
	50%      { opacity: 1; }
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 58% 42%;
	align-items: center;
	gap: 48px;
	padding-bottom: 80px;
}
.hero__title { margin-bottom: 24px; }
.hero__body {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
	max-width: 560px;
	margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__visual { position: relative; }
.twin-svg { width: 100%; height: auto; border-radius: var(--radius-card); }

/* Hero stat strip */
.hero__stats {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding-block: 40px;
}
.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-stat__num {
	font-size: 3rem;       /* 48px */
	font-weight: 700;
	line-height: 1;
	color: var(--secondary);
}
.hero-stat__label { font-size: 0.8125rem; color: var(--gray); line-height: 1.4; }

/* ------------------------ 9. PROBLEM + CARDS ---------------------------- */
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 32px;
	box-shadow: var(--shadow-card);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card__icon {
	display: inline-flex;
	font-size: 2rem;
	color: var(--secondary);
	margin-bottom: 18px;
}
.card__title { margin-bottom: 10px; }
.card__body { color: var(--ink-soft); }

/* --------------------------- 10. DIVISIONS ------------------------------ */
.division-card {
	position: relative;
	background: #fff;
	border-radius: var(--radius-card);
	padding: 40px;
	box-shadow: var(--shadow-card);
	border-left: 3px solid transparent;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	display: flex;
	flex-direction: column;
}
.division-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
	border-left-color: var(--secondary);
}
.division-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: rgba(247, 157, 11, 0.1);
	color: var(--secondary);
	font-size: 2.2rem;
	margin-bottom: 18px;
}
.division-card__num {
	font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--secondary);
	letter-spacing: 2px;
}
.division-card__title { margin: 6px 0 12px; }
.division-card__body { color: var(--ink-soft); margin-bottom: 22px; }

.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}
.feature-list i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }

.division-card .text-link { margin-top: auto; }

/* ------------------- 11. DIGITAL TWIN / SPLIT VISUAL -------------------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }

.split__copy .section-title { margin: 14px 0 20px; }

.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.85);
}
.section--light .check-list li,
.section--surface .check-list li { color: var(--ink-soft); }
.check-list i {
	color: var(--secondary);
	font-size: 1.1rem;
	margin-top: 3px;
	flex-shrink: 0;
}

.flow-svg { width: 100%; height: auto; }

.visual-tile {
	background: var(--primary);
	border-radius: var(--radius-card);
	padding: 40px;
	color: #fff;
	box-shadow: var(--shadow-card);
}
.section--surface .visual-tile { background: #fff; color: var(--primary); border: 1px solid var(--line); }
.visual-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px; height: 72px;
	border-radius: 16px;
	background: var(--brand-grad);
	color: #fff;
	font-size: 2.4rem;
	margin-bottom: 28px;
}
.visual-tile__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.visual-tile__grid span {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 14px;
	border-radius: var(--radius-btn);
	background: rgba(255, 255, 255, 0.06);
}
.section--surface .visual-tile__grid span { background: var(--surface); }
.visual-tile__grid i { color: var(--secondary); font-size: 1.2rem; }

/* ----------------------- 12. STATS COUNTER ------------------------------ */
.stat-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stat {
	padding: 0 28px;
	border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-number {
	display: block;
	font-size: 3.5rem;     /* 56px */
	font-weight: 700;
	line-height: 1;
	color: var(--secondary);
	margin-bottom: 12px;
}
.stat-caption { font-size: 0.875rem; color: var(--gray); line-height: 1.5; }
.stat-source { display: inline; opacity: 0.8; }

/* The stat dividers should be amber per brief */
.stat { border-left-color: rgba(247, 157, 11, 0.3); }
.stat:first-child { border-left-color: transparent; }

/* --------------------------- 13. WHY TEXAS ------------------------------ */
.feature-rows {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 920px;
	margin-inline: auto;
}
.feature-row {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-row__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px; height: 56px;
	border-radius: 14px;
	background: rgba(247, 157, 11, 0.1);
	color: var(--secondary);
	font-size: 1.7rem;
}
.feature-row__text h3 { margin-bottom: 8px; }
.feature-row__text p { color: var(--ink-soft); }

/* --------------------------- 14. ROADMAP -------------------------------- */
.phase-card {
	position: relative;
	overflow: hidden;
	background: var(--surface);
	border-radius: var(--radius-card);
	padding: 36px;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.phase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.phase-card__watermark {
	position: absolute;
	top: -10px; right: 4px;
	font-size: 7rem;
	font-weight: 700;
	line-height: 1;
	color: var(--secondary);
	opacity: 0.07;
	pointer-events: none;
}
.phase-card__badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--secondary);
}
.phase-card__period {
	display: block;
	font-size: 0.8125rem;
	color: var(--gray);
	margin-top: 6px;
}
.phase-card__title { margin: 14px 0 12px; }
.phase-card__body { color: var(--ink-soft); margin-bottom: 22px; }

/* --------------------------- 15. CTA BAND ------------------------------- */
.cta-band {
	background: var(--primary);
	position: relative;
	overflow: hidden;
	text-align: center;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 0%, rgba(247,157,11,0.06) 45%, rgba(247,157,11,0.10) 50%, rgba(247,157,11,0.06) 55%, transparent 100%);
	animation: beam-pulse 6s ease-in-out infinite;
	pointer-events: none;
}
.cta-band__inner {
	position: relative;
	z-index: 1;
	max-width: 700px;
}
.cta-band__title { color: #fff; }
.cta-band__body {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.125rem;
	margin: 20px 0 32px;
}
.cta-band__sub { color: var(--gray); font-size: 0.875rem; margin-top: 18px; }

/* ---------------------------- 16. FOOTER -------------------------------- */
.site-footer { background: var(--footer-bg); color: #fff; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-block: 72px;
}
.site-footer .fanal-logo .logo-word { fill: #fff; }
.footer-tagline { color: var(--secondary); font-size: 0.9rem; margin: 16px 0 24px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
}
.footer-contact i { color: var(--secondary); }
.footer-contact a:hover { color: var(--secondary); }

.footer-heading {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.16s ease;
}
.footer-links a:hover { color: var(--secondary); }

.footer-cta__title { font-size: 1.05rem; color: #fff; margin-bottom: 18px; }
.footer-cta__sub { color: var(--gray); font-size: 0.8rem; margin-top: 14px; }

.site-footer__bottom { border-top: 1px solid var(--footer-line); }
.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 24px;
}
.footer-copy { color: var(--gray); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--gray); font-size: 0.85rem; transition: color 0.16s ease; }
.footer-legal a:hover { color: var(--secondary); }

/* ------------------------- 17. SOLUTIONS PAGE --------------------------- */
.page-hero {
	position: relative;
	padding-top: 180px;
	padding-bottom: 80px;
	overflow: hidden;
}
.page-hero--compact {
	min-height: 480px;
	display: flex;
	align-items: center;
}
.page-hero .container { position: relative; z-index: 1; width: 100%; }
.page-hero__title { margin: 18px 0; }
.page-hero__body {
	font-size: 1.1875rem;
	color: rgba(255, 255, 255, 0.78);
	max-width: 680px;
	line-height: 1.6;
}
.page-hero__cta { margin-top: 32px; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--line); }
.compare-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	min-width: 640px;
}
.compare-table th,
.compare-table td {
	text-align: left;
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
	font-size: 0.95rem;
}
.compare-table thead th {
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
}
.compare-table thead th:nth-child(2) { color: var(--secondary); }
.compare-table tbody th { font-weight: 600; color: var(--primary); }
.compare-table tbody tr:nth-child(even) { background: var(--surface); }
.cmp-yes { color: var(--status-ok); font-weight: 500; }
.cmp-no  { color: var(--status-fault); font-weight: 500; }
.cmp-yes i, .cmp-no i { margin-right: 6px; }

/* --------------------------- 18. ABOUT PAGE ----------------------------- */
.founder-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	background: var(--surface);
	border-radius: var(--radius-card);
	padding: 48px;
}
.founder-block__name { margin: 12px 0 4px; }
.founder-block__role { color: var(--gray); margin-bottom: 20px; }
.founder-block__contact li { color: var(--ink-soft); }

/* -------------------------- 19. CONTACT PAGE ---------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 56px;
	align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.req { color: var(--status-fault); }
.form-field input,
.form-field textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-btn);
	padding: 14px 16px;
	font-size: 1rem;
	color: var(--primary);
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--secondary);
	box-shadow: 0 0 0 3px rgba(247, 157, 11, 0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-submit { position: relative; align-self: flex-start; }
.form-submit__spinner {
	display: none;
	width: 18px; height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}
.form-submit.is-loading .form-submit__label { opacity: 0.6; }
.form-submit.is-loading .form-submit__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
	font-size: 0.9rem;
	font-weight: 500;
	padding: 14px 16px;
	border-radius: var(--radius-btn);
}
.form-status.is-success { background: rgba(31, 157, 107, 0.12); color: var(--status-ok); }
.form-status.is-error   { background: rgba(224, 64, 28, 0.1);  color: var(--status-fault); }

.contact-details__heading { margin-bottom: 24px; }
.contact-details__list li { color: var(--ink-soft); font-size: 0.95rem; }
.contact-details__list i { color: var(--secondary); }
.reassurance-list {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.reassurance-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	color: var(--primary);
}
.reassurance-list i { color: var(--status-ok); }

/* ------------------------------ 20. BLOG -------------------------------- */
.blog-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	align-items: start;
}
.blog-layout:has(.blog-sidebar:empty),
.single-post .blog-layout { /* keep grid even without sidebar */ }

.post-list { display: flex; flex-direction: column; gap: 32px; }
.post-card {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card__thumb img { height: 100%; object-fit: cover; }
.post-card__body { padding: 28px 28px 28px 0; }
.post-card__meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 10px; }
.post-card__title { margin-bottom: 12px; }
.post-card__title a:hover { color: var(--secondary); }
.post-card__excerpt { color: var(--ink-soft); margin-bottom: 16px; }

.blog-sidebar .widget { margin-bottom: 32px; }
.widget-title {
	font-size: 1rem;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--secondary);
}
.blog-sidebar ul li { margin-bottom: 10px; }
.blog-sidebar a:hover { color: var(--secondary); }

.single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 18px;
}
.single-post__meta i { color: var(--secondary); margin-right: 4px; }
.single-post__thumb { margin-bottom: 32px; border-radius: var(--radius-card); overflow: hidden; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags li a {
	display: inline-block;
	font-size: 0.8rem;
	padding: 5px 12px;
	background: var(--surface);
	border-radius: 100px;
	color: var(--ink-soft);
}
.post-tags li a:hover { background: var(--secondary); color: #fff; }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.post-nav a { font-weight: 500; color: var(--secondary); }

.pagination { margin-top: 48px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.pagination a, .pagination .current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-btn);
	font-weight: 500;
}
.pagination .current { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.pagination a:hover { border-color: var(--secondary); color: var(--secondary); }

.no-results { color: var(--gray); font-size: 1.1rem; }

/* ------------------------------- 21. 404 -------------------------------- */
.error-404 { text-align: center; }
.error-404__inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.error-404__code {
	display: block;
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 700;
	line-height: 1;
	color: var(--secondary);
	margin-bottom: 12px;
}
.error-404__cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 32px;
}

/* -------------------------- 22. SCROLL REVEAL --------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* --------------------------- 23. REDUCED MOTION ------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* ---------------------------- 24. RESPONSIVE ---------------------------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__visual { max-width: 520px; }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.split--reverse .split__copy,
	.split--reverse .split__visual { order: 0; }
	.contact-layout { grid-template-columns: 1fr; gap: 40px; }
	.blog-layout { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
	.section { padding-block: 64px; }
	.site-nav, .site-header__cta { display: none; }
	.nav-toggle { display: inline-flex; }

	.grid--3, .grid--2 { grid-template-columns: 1fr; }

	.hero { padding-top: 120px; }
	.hero__stats-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
	.hero-stat__num { font-size: 2.4rem; }

	.stat-row { grid-template-columns: 1fr 1fr; gap: 32px 0; }
	.stat { padding: 0 20px; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat-number { font-size: 2.6rem; }

	.post-card { grid-template-columns: 1fr; }
	.post-card__thumb img { height: 200px; width: 100%; }
	.post-card__body { padding: 0 24px 24px; }

	.founder-block { padding: 32px; }
	.section-head { margin-bottom: 40px; }

	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.page-hero { padding-top: 140px; }
}

@media (max-width: 480px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__cta .btn, .error-404__cta .btn { width: 100%; }
	.stat-row { grid-template-columns: 1fr; }
	.stat { border-left: 0 !important; padding-left: 0; padding-bottom: 24px; }
}

@media (min-width: 1280px) {
	.section-head { margin-bottom: 64px; }
}
