/* VibTech theme, styled to match the Vibrant Group of Companies design language:
   Outfit type, deep navy to sky blue, gradient bands, pill buttons, soft-shadow cards. */

@font-face {
	font-family: "Outfit";
	src: url("../fonts/outfit-variable.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #0A1F6E;
	--navy-light: #1A3A8F;
	--sky: #0EA5E9;
	--sky-dark: #0284C7;
	--sky-soft: rgba(14, 165, 233, 0.1);
	--gold: #F59E0B;
	--ink: #0F172A;
	--gray: #64748B;
	--light: #F8FAFC;
	--light-2: #F1F5F9;
	--line: #E2E8F0;
	--white: #FFFFFF;
	--grad: linear-gradient(135deg, #0A1F6E 0%, #0EA5E9 100%);
	--grad-dark: linear-gradient(135deg, #0F172A 0%, #0A1F6E 100%);
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
	--glow: 0 4px 20px rgba(14, 165, 233, 0.3);
	--glow-navy: 0 4px 20px rgba(10, 31, 110, 0.3);
	--r: 16px;
	--r-lg: 20px;
	--r-sm: 12px;
	--pill: 50px;
	--container: 1200px;
	--gutter: 24px;
	--nav-h: 70px;
	--topbar-h: 40px;
	--header-h: var(--nav-h);
	--font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--section: clamp(60px, 8vw, 100px);
	--h1: clamp(2.25rem, 5vw, 3.5rem);
	--h2: clamp(1.75rem, 4vw, 2.75rem);
	--h3: 1.25rem;
	--lede: 1.125rem;
	--text: 1rem;
	--small: 0.9375rem;
}

@media (min-width: 1024px) {
	:root { --header-h: calc(var(--nav-h) + var(--topbar-h)); }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { :where(html) { scroll-behavior: auto; } }
:where(body) { margin: 0; font-family: var(--font); font-size: var(--text); line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(h1, h2, h3, h4) { font-weight: 700; line-height: 1.2; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; text-decoration: none; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { background: none; border: 0; padding: 0; cursor: pointer; }
:where(cite) { font-style: normal; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.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; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--pill); font-weight: 600; }
.skip:focus { left: 12px; }

/* Layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--section); position: relative; }
.sec--light { background: var(--light); }
.sec--dark { background: var(--grad-dark); color: #fff; }
.sec__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__title { font-size: var(--h2); font-weight: 800; line-height: 1.2; color: var(--ink); }
.sec__title .accent { color: var(--sky); }
.sec__title--sm { font-size: 1.5rem; font-weight: 800; }
.sec__lede { margin-top: 14px; font-size: 1.0625rem; color: var(--gray); line-height: 1.7; }
.sec__head--center .sec__lede { margin-inline: auto; max-width: 600px; }
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__lede { color: rgba(255, 255, 255, 0.72); }
.sec__more { margin-top: 40px; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--sky-soft); color: var(--sky-dark); padding: 6px 16px; border-radius: var(--pill); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.img-placeholder { width: 100%; aspect-ratio: 4 / 3; background: var(--light-2); border-radius: var(--r); }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--grad); color: #fff; box-shadow: var(--glow); flex: 0 0 auto; }
.tile .icon { width: 24px; height: 24px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.75rem 1.75rem; border-radius: var(--pill); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.3; border: 2px solid transparent; white-space: nowrap; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow-navy); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(10, 31, 110, 0.4); }
.btn--accent { background: var(--sky); color: #fff; box-shadow: var(--glow); }
.btn--accent:hover { background: var(--sky-dark); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sky); font-size: var(--small); transition: color 0.3s, gap 0.3s; }
.link .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link:hover { color: var(--sky-dark); }
.link:hover .icon { transform: translateX(4px); }

/* Header: top bar plus navbar, fixed over dark heroes */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.site-header.is-scrolled { background: rgba(10, 31, 110, 0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.topbar { display: none; background: rgba(0, 0, 0, 0.22); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.is-scrolled .topbar { display: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); font-size: 0.8125rem; }
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.85); }
.topbar__contact a:hover { color: #fff; }
.topbar__contact .icon { width: 14px; height: 14px; color: var(--sky); }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255, 255, 255, 0.8); transition: background-color 0.3s, color 0.3s; }
.topbar__social a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.topbar__social .icon { width: 15px; height: 15px; }
.navbar { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; transition: transform 0.3s ease; }
.brand:hover { transform: scale(1.04); }
.brand__img { height: 40px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a { position: relative; display: inline-flex; align-items: center; padding: 0.5rem 0.875rem; border-radius: 6px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.9); transition: background-color 0.3s, color 0.3s; }
.nav__list a::after { content: ""; position: absolute; bottom: 2px; left: 50%; right: 50%; height: 2px; background: var(--sky); border-radius: 1px; transition: left 0.3s, right 0.3s; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { left: 0.875rem; right: 0.875rem; }
.site-header__cta { display: none; }
.site-header__cta .btn { box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4); }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.mobile-nav { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: flex; flex-direction: column; padding: 16px var(--gutter) 40px; background: var(--grad-dark); color: #fff; overflow: auto; }
.admin-bar .mobile-nav { top: calc(var(--nav-h) + 46px); }
.mobile-nav[hidden] { display: none; }
.mobile-nav__list a { display: flex; align-items: center; min-height: 58px; font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); }
.mobile-nav__list a:hover { color: var(--sky); }
.mobile-nav__cta { margin-top: 24px; }
.mobile-nav__phone { margin-top: auto; padding-top: 32px; }
.mobile-nav__phone a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.mobile-nav__phone .icon { color: var(--sky); }
html.menu-open { overflow: hidden; }
@media (min-width: 1024px) {
	.topbar { display: block; }
	.nav { display: block; }
	.site-header__cta { display: block; }
	.nav-toggle, .mobile-nav { display: none; }
}

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(64px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 31, 110, 0.7) 100%); }
.hero__orb { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 70%); pointer-events: none; z-index: 1; }
.hero__orb--1 { width: 520px; height: 520px; top: -160px; right: -120px; }
.hero__orb--2 { width: 360px; height: 360px; bottom: -140px; left: 30%; opacity: 0.6; }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.1; color: #fff; }
.hero__title .accent { color: var(--sky); }
.hero__lede { margin-top: 24px; font-size: var(--lede); line-height: 1.7; color: rgba(255, 255, 255, 0.75); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Trust wall */
.sec--trust { padding-block: clamp(40px, 5vw, 64px); background: #fff; border-bottom: 1px solid var(--line); }
.trust__title { font-size: var(--small); font-weight: 500; color: var(--gray); text-align: center; margin-bottom: 32px; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; align-items: center; justify-items: center; }
.logos__item { display: flex; align-items: center; justify-content: center; height: 56px; width: 100%; }
.logos__img { max-height: 46px; max-width: 140px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s, opacity 0.3s, transform 0.3s; }
.logos__item:hover .logos__img { filter: none; opacity: 1; transform: scale(1.05); }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logos { grid-template-columns: repeat(7, 1fr); gap: 28px 24px; } }

/* Cards */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, 0.04); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* Services */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.svc { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; }
.svc__title { font-size: var(--h3); font-weight: 700; }
.svc__title a:hover { color: var(--sky-dark); }
.svc__text { color: var(--gray); font-size: var(--small); line-height: 1.7; }
.svc__list { display: grid; gap: 8px; font-size: var(--small); color: var(--ink); }
.svc__list li { display: flex; gap: 10px; align-items: flex-start; }
.svc__list .icon { width: 18px; height: 18px; color: var(--sky); margin-top: 3px; }
.svc__link { margin-top: auto; padding-top: 8px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid:not(.svc-grid--2) { grid-template-columns: repeat(3, 1fr); } .svc { padding: 36px 32px; } }

/* Solutions: image cards with navy overlay */
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.sol { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--navy); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.sol:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sol__media { position: absolute; inset: 0; }
.sol__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sol:hover .sol__img { transform: scale(1.06); }
.sol__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 31, 110, 0.96) 0%, rgba(10, 31, 110, 0.55) 50%, rgba(10, 31, 110, 0.15) 100%); }
.sol__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.sol__tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--sky); background: rgba(14, 165, 233, 0.15); padding: 4px 10px; border-radius: var(--pill); align-self: flex-start; }
.sol__title { font-size: 1.5rem; font-weight: 700; color: #fff; }
.sol__line { font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); line-height: 1.5; }
.sol__text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.sol .link { color: var(--sky); }
.sol .link:hover { color: #7DD3FC; }
@media (min-width: 768px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } .sol { aspect-ratio: 5 / 4; } .sol__body { padding: 32px; } }
@media (min-width: 1024px) { .sol-grid { gap: 28px; } }

/* Work panels */
.work-list { display: grid; gap: 20px; }
.work { display: grid; gap: 16px; padding: 28px; }
.work__meta { display: flex; flex-direction: column; gap: 4px; }
.work__client { font-weight: 700; color: var(--navy); }
.work__sector { color: var(--gray); font-size: 0.875rem; }
.work__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.work__body p { color: var(--gray); font-size: var(--small); max-width: 62ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--pill); font-size: 0.8rem; font-weight: 600; background: var(--sky-soft); color: var(--sky-dark); transition: background-color 0.3s, color 0.3s; }
.tags a:hover { background: var(--sky); color: #fff; }
.work__logo img { max-height: 48px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
@media (min-width: 768px) { .work { grid-template-columns: 200px 1fr 150px; gap: 32px; padding: 32px 36px; } .work__logo { display: flex; justify-content: flex-end; align-items: flex-start; } }

/* Why VibTech (dark, glass cards) */
.why-grid { display: grid; gap: 24px; }
.why { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r); padding: 32px 28px; transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease; }
.why:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); border-color: rgba(14, 165, 233, 0.4); }
.why .tile { margin-bottom: 20px; }
.why__title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why__text { color: rgba(255, 255, 255, 0.7); font-size: var(--small); line-height: 1.7; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* Industries */
.ind-grid { display: grid; gap: 20px; }
.ind { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.ind__title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.ind__text { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
@media (min-width: 640px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); text-align: center; }
.quote__mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; background: var(--sky-soft); color: var(--sky); }
.quote__text { font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem); font-weight: 500; line-height: 1.5; color: var(--ink); }
.quote__cite { display: block; margin-top: 20px; color: var(--gray); font-size: var(--small); font-weight: 600; }

/* Closing call to action */
.sec--cta { background: var(--grad); color: #fff; text-align: center; overflow: hidden; }
.sec--cta::before { content: ""; position: absolute; top: -40%; right: -10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%); pointer-events: none; }
.cta { position: relative; max-width: 760px; margin: 0 auto; }
.cta__title { font-size: var(--h2); font-weight: 800; line-height: 1.15; color: #fff; }
.cta__lede { margin-top: 16px; font-size: var(--lede); color: rgba(255, 255, 255, 0.8); line-height: 1.7; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.cta__phone { display: inline-flex; align-items: center; gap: 8px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--grad-dark); color: rgba(255, 255, 255, 0.8); padding: clamp(56px, 7vw, 80px) 0 0; font-size: 0.875rem; }
.site-footer::before { content: ""; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; gap: 40px; margin-bottom: 48px; }
.brand--footer .brand__img { height: 48px; }
.site-footer__tagline { margin-top: 20px; max-width: 34ch; line-height: 1.7; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.site-footer__heading { position: relative; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 24px; }
.site-footer__heading::after { content: ""; position: absolute; bottom: -8px; left: 0; width: 30px; height: 2px; background: var(--sky); border-radius: 1px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { color: rgba(255, 255, 255, 0.6); transition: color 0.3s, padding-left 0.3s; }
.site-footer__col a:hover { color: #fff; padding-left: 4px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, 0.6); }
.site-footer__contact .icon { width: 16px; height: 16px; color: var(--sky); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 0.3s, transform 0.3s; }
.social a:hover { background: var(--sky); transform: translateY(-3px); }
.social .icon { width: 18px; height: 18px; }
.social--dark { margin-top: 0; }
.social--dark a { background: var(--sky-soft); border-color: transparent; color: var(--sky-dark); }
.social--dark a:hover { background: var(--sky); color: #fff; }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.site-footer__bottom ul { display: flex; gap: 20px; }
.site-footer__bottom a:hover { color: #fff; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; } }

/* Back to top */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: #fff; box-shadow: var(--glow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop .icon { transform: rotate(-90deg); }

/* Inner page header */
.page-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; text-align: center; padding: calc(var(--header-h) + clamp(40px, 6vw, 64px)) 0 clamp(56px, 7vw, 80px); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E"); pointer-events: none; }
.page-hero__text { position: relative; max-width: 760px; margin: 0 auto; }
.page-hero__title { font-size: var(--h1); font-weight: 800; line-height: 1.15; color: #fff; }
.page-hero__title .accent { color: var(--sky); }
.page-hero__lede { margin: 16px auto 0; font-size: var(--lede); color: rgba(255, 255, 255, 0.75); max-width: 600px; line-height: 1.7; }
.page-hero__meta { margin-top: 12px; color: rgba(255, 255, 255, 0.6); font-size: var(--small); }
.page-hero__media { position: relative; margin-top: clamp(32px, 4vw, 48px); }
.page-hero__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
@media (min-width: 1024px) { .page-hero__img { aspect-ratio: 21 / 9; } }
.crumb { font-size: 0.875rem; font-weight: 600; color: var(--gray); margin-bottom: 12px; }
.page-hero .crumb { color: rgba(255, 255, 255, 0.7); }
.crumb a:hover { color: var(--sky); }

/* Detail sections */
.split { display: grid; gap: 24px; }
.lede-text { font-size: var(--lede); line-height: 1.7; color: var(--ink); max-width: 64ch; }
@media (min-width: 1024px) { .split { grid-template-columns: 240px 1fr; gap: 64px; } }
.caps { display: grid; gap: 20px; }
.cap { padding: 28px; }
.cap .tile { margin-bottom: 16px; width: 44px; height: 44px; }
.cap .tile .icon { width: 20px; height: 20px; }
.cap__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.cap__text { color: var(--gray); font-size: var(--small); line-height: 1.7; }
@media (min-width: 768px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, 1fr); } .caps--4 { grid-template-columns: repeat(4, 1fr); } }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .icon { width: 22px; height: 22px; color: var(--sky); margin-top: 3px; }
@media (min-width: 768px) { .checks { grid-template-columns: repeat(2, 1fr); gap: 16px 32px; } }
.other { display: grid; gap: 16px; }
.other a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; }
.other a .tile { width: 42px; height: 42px; }
.other a .tile .icon { width: 20px; height: 20px; }
.other__arrow { margin-left: auto; color: var(--sky); transition: transform 0.3s var(--ease); }
.other a:hover .other__arrow { transform: translateX(4px); }
@media (min-width: 768px) { .other { grid-template-columns: repeat(2, 1fr); } }

/* Process and steps */
.process { display: grid; gap: 20px; counter-reset: step; }
.process__step { padding: 28px; counter-increment: step; }
.process__step::before { content: counter(step, decimal-leading-zero); display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--sky); margin-bottom: 12px; }
.process__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.process__text { color: var(--gray); font-size: var(--small); line-height: 1.7; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.steps { display: grid; gap: 18px; margin-top: 24px; }
.steps li { padding-left: 20px; border-left: 3px solid var(--sky); }
.steps__title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.steps__text { color: var(--gray); font-size: var(--small); margin-top: 4px; line-height: 1.7; }

/* About */
.who { display: grid; gap: 40px; align-items: center; }
.who__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.who__text .sec__title { margin-bottom: 8px; }
.who__text > p { margin-top: 16px; color: var(--gray); line-height: 1.75; }
@media (min-width: 1024px) { .who { grid-template-columns: 1fr 1fr; gap: 72px; } .who--reverse .who__media { order: 2; } .who__img { aspect-ratio: 4 / 5; } }
.beliefs { display: grid; gap: 24px; }
.belief { padding: 32px 28px; }
.belief .tile { margin-bottom: 18px; }
.belief__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.belief__text { color: var(--gray); font-size: var(--small); line-height: 1.7; }
@media (min-width: 768px) { .beliefs { grid-template-columns: repeat(3, 1fr); } }
.story { display: grid; gap: 24px; }
.story__item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r); padding: 32px 28px; }
.story__year { display: inline-block; font-size: 1.75rem; font-weight: 800; color: var(--sky); margin-bottom: 8px; }
.story__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.story__text { color: rgba(255, 255, 255, 0.7); font-size: var(--small); line-height: 1.7; }
@media (min-width: 768px) { .story { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact { display: grid; gap: 40px; }
.contact__form { padding: clamp(24px, 4vw, 40px); }
.contact__aside { display: grid; gap: 24px; align-content: start; }
.contact__block { padding: 24px; }
.contact__block h3 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-dark); margin-bottom: 10px; }
.contact__block p + p { margin-top: 10px; }
.contact__phone { font-size: 1.375rem; font-weight: 700; color: var(--navy); }
.contact__phone:hover { color: var(--sky-dark); }
@media (min-width: 1024px) { .contact { grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: start; } }

/* Form */
.form { display: grid; gap: 18px; margin-top: 20px; }
.form__row--2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--light); transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field :is(input, select, textarea):focus { outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.field :is(input, select, textarea):user-invalid { border-color: #DC2626; }
.form__actions { display: grid; gap: 12px; justify-items: start; }
.form__note { font-size: 0.8125rem; color: var(--gray); max-width: 54ch; }
.form__note a { color: var(--sky-dark); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-top: 20px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.notice--ok { background: #D1FAE5; border-color: #A7F3D0; color: #065F46; }
.notice--ok .icon { color: #065F46; }
.notice--err { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; font-weight: 800; line-height: 1.25; margin-top: 2.2em; color: var(--navy); }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.8em; }
.prose p, .prose li { line-height: 1.75; color: #334155; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--sky-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose em { color: var(--gray); }
.prose img { border-radius: var(--r); }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--sky); color: var(--gray); }

/* Insights */
.posts { display: grid; gap: 28px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { display: block; overflow: hidden; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card__date { font-size: 0.8rem; font-weight: 600; color: var(--sky-dark); }
.post-card__title { font-size: 1.2rem; font-weight: 700; }
.post-card__title a:hover { color: var(--sky-dark); }
.post-card__excerpt { color: var(--gray); font-size: var(--small); }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--pill); font-weight: 600; }
.pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }

/* Empty states and 404 */
.empty { max-width: 640px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) 0; text-align: center; }
.empty__title { font-size: var(--h2); font-weight: 800; line-height: 1.15; color: var(--navy); }
.empty__text { margin: 16px 0 24px; color: var(--gray); font-size: var(--lede); }
.empty .hero__actions { justify-content: center; margin-top: 8px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.card, .sol, .why, .btn, .sol__img, .post-card__img, .link .icon, .other__arrow, .brand { transition: none; }
}
