/* Innova 2026 — design system + homepage */

/* Gilroy is the brand font already shipped with the parent theme */
@font-face { font-family: "Gilroy"; src: url("../../../raft-it/raft/fonts/gilroy-regular-webfont.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../../../raft-it/raft/fonts/gilroy-semibold-webfont.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../../../raft-it/raft/fonts/gilroy-bold-webfont.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	/* Brand */
	--orange: #ff9945;          /* brand orange: fills, icons, on-dark accents */
	--orange-strong: #e8701a;   /* hover + orange text on light backgrounds */
	--ink: #13131e;             /* brand dark */
	--ink-2: #1d212a;
	--mist: #f1f5f8;
	--paper: #ffffff;

	/* Text */
	--text: #13131e;
	--text-muted: #555c6b;
	--text-on-dark: #f4f5f8;
	--text-on-dark-muted: #a9aebb;

	--line: #e2e7ee;
	--line-dark: rgba(255, 255, 255, 0.12);

	--font: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(19, 19, 30, 0.04), 0 8px 24px rgba(19, 19, 30, 0.06);
	--container: 1360px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(32px, 4vw, 48px);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.innova26 {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
/* Base element styles have zero specificity (:where) so any component class overrides them */
:where(.innova26) img { max-width: 100%; height: auto; display: block; }
:where(.innova26) a { color: inherit; }
:where(.innova26) :is(h1, h2, h3) { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
:where(.innova26) h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.02em; }
:where(.innova26) h2 { font-size: clamp(30px, 3.8vw, 46px); }
:where(.innova26) h3 { font-size: 20px; line-height: 1.3; }
:where(.innova26) p { margin: 0; }
:where(.innova26) ul { margin: 0; padding: 0; list-style: none; }
.innova26 :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--orange-strong); }
.section-ink .accent, .hero .accent { color: var(--orange); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin-bottom: 16px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--orange-strong);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-ink .eyebrow, .hero .eyebrow { color: var(--orange); }
.icon { width: 20px; height: 20px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--paper); border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px;
	font: 600 16px/1 var(--font);
	border: 1.5px solid transparent; border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffad69; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--text-on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; color: var(--orange-strong); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	height: var(--header-h);
	color: var(--text-on-dark);
	transition: background-color .25s, box-shadow .25s, color .25s;
}
.site-header.is-solid { background: rgba(255, 255, 255, 0.96); color: var(--text); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; }
.brand img { height: 32px; width: auto; }
.brand-dark, .site-header.is-solid .brand-light { display: none; }
.site-header.is-solid .brand-dark { display: block; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
	display: block; padding: 8px 12px; border-radius: 8px;
	font-size: 15px; font-weight: 600; text-decoration: none; opacity: .9;
}
.nav-list a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle, .nav-cta-mobile { display: none; }
.nav-toggle {
	width: 44px; height: 44px; align-items: center; justify-content: center;
	border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1080px) {
	.header-cta { display: none; }
	.header-actions { margin-left: auto; } /* the nav is out of flow on mobile */
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto; margin: 0;
		padding: 16px var(--gutter) 24px;
		background: var(--paper); color: var(--text);
		box-shadow: 0 16px 32px rgba(19, 19, 30, 0.12);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-cta-mobile { display: flex; width: 100%; margin-top: 20px; }
	.site-header.menu-open { background: var(--paper); color: var(--text); }
	.site-header.menu-open .brand-light { display: none; }
	.site-header.menu-open .brand-dark { display: block; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: calc(var(--header-h) + clamp(16px, 2.5vw, 32px)) 0 0;
	background: var(--ink); color: var(--text-on-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(19, 19, 30, 0.96) 0%, rgba(19, 19, 30, 0.8) 45%, rgba(19, 19, 30, 0.35) 100%),
		linear-gradient(0deg, rgba(19, 19, 30, 0.9) 0%, rgba(19, 19, 30, 0) 40%);
}
.hero-inner { display: grid; gap: 24px; }
.hero-copy { max-width: 760px; }
.hero h1 { margin-bottom: 16px; font-size: clamp(40px, 5.2vw, 64px); }
.hero-lead { max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-partners { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-partners li {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 8px;
	border: 1px solid var(--line-dark); border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 14px; font-weight: 600;
}
.hero-partners img { width: 28px; height: 28px; object-fit: contain; padding: 4px; border-radius: 50%; background: var(--paper); }

.stats {
	display: grid; grid-template-columns: repeat(4, 1fr);
	margin: clamp(28px, 3vw, 40px) 0 0; padding: 20px 0 24px;
	border-top: 1px solid var(--line-dark);
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding-right: 16px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat dd { margin: 0; font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; line-height: 1; color: var(--orange); }
.stat dt { font-size: 15px; color: var(--text-on-dark-muted); }
.hero .stat dd { font-size: clamp(32px, 3.6vw, 44px); }
@media (max-width: 760px) {
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--text-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 32px); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Services */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper);
}
.service-card.is-featured { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.service-card h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.service-lead { color: var(--text-muted); margin-bottom: 24px; }
.is-featured .service-lead { color: var(--text-on-dark-muted); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
	width: 22px; height: 22px; padding: 4px; margin-top: 1px;
	border-radius: 50%; background: rgba(255, 153, 69, 0.18); color: var(--orange-strong); stroke-width: 3;
}
.is-featured .checklist .icon, .section-ink .checklist .icon { color: var(--orange); }

.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.expertise-card { padding: 28px; border-radius: var(--radius); background: var(--mist); }
.expertise-card h3 { margin: 20px 0 8px; font-size: 18px; }
.expertise-card p { font-size: 15px; color: var(--text-muted); }
.icon-badge {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 52px; height: 52px; border-radius: 14px; background: var(--orange);
}
.icon-badge img { width: 28px; height: 28px; object-fit: contain; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-copy p:not(.eyebrow) { margin: 24px 0 28px; font-size: 18px; color: var(--text-muted); }
.areas { padding: 32px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.areas-title { margin-bottom: 20px; font-size: 18px; }
.areas-list { display: grid; gap: 4px; }
.areas-list li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-weight: 600; }
.areas-list li + li { border-top: 1px solid var(--line); }
.areas-list .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.areas-list .icon-badge img { width: 24px; height: 24px; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
	position: relative; display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	background: var(--paper); transition: box-shadow .25s, transform .25s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-media { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-media img { transform: scale(1.03); }
.case-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 28px; }
.case-title a { text-decoration: none; }
.case-title a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.case-card:hover .case-title a { color: var(--orange-strong); }
.case-body p {
	color: var(--text-muted); font-size: 16px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-body .link-arrow { margin-top: auto; padding-top: 8px; }

/* Testimonials */
.slider-nav { display: flex; gap: 12px; }
.slider-btn {
	width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-dark); border-radius: 50%;
	background: transparent; color: var(--text-on-dark); cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.slider-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.slider-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.reviews-slider { overflow: hidden; }
.review-card {
	height: auto !important; display: flex !important; flex-direction: column; gap: 24px;
	color: var(--text-on-dark);
	padding: clamp(28px, 3.5vw, 40px);
	border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2);
}
.review-card > .icon { width: 36px; height: 36px; color: var(--orange); }
.review-card blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-on-dark); }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.review-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; }
.review-role { font-size: 14px; color: var(--text-on-dark-muted); }
/* Client logos are made for light backgrounds */
.review-company { margin-left: auto; max-width: 120px; height: 44px; width: auto; object-fit: contain; padding: 6px 10px; border-radius: 8px; background: var(--paper); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-card {
	display: flex; align-items: center; gap: 16px;
	padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.partner-card:hover { border-color: var(--partner); box-shadow: inset 4px 0 0 var(--partner); }
.partner-logo {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
	background: color-mix(in srgb, var(--partner) 12%, white);
}
.partner-logo img { width: 30px; height: 30px; object-fit: contain; }
.rating-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.rating-card {
	display: flex; align-items: center; gap: 24px;
	padding: 24px 28px; border-radius: var(--radius-sm); background: var(--ink); color: var(--text-on-dark);
}
.rating-card img { height: 36px; width: auto; padding: 6px 10px; border-radius: 8px; background: var(--paper); }
.rating-head { font-size: 22px; font-weight: 700; color: var(--orange); line-height: 1.2; }
.rating-caption { font-size: 15px; color: var(--text-on-dark-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin: 24px 0 20px; font-size: 18px; color: var(--text-muted); }
.contact-meta { display: grid; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-meta li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.contact-meta .icon { color: var(--orange-strong); }
.contact-meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-meta a:hover { color: var(--orange-strong); }
.contact-card { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }

/* Forms */
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
	width: 100%; padding: 13px 16px;
	font: 400 16px/1.4 var(--font); color: var(--text);
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 153, 69, 0.2); }
.field input[aria-invalid="true"] { border-color: #d83a3a; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-strong); }
.consent a { color: var(--text); }
.form-status { min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form-status.is-error { color: #c62f2f; }
.form-status.is-success { color: #1d7a3e; }

/* Dialog */
.contact-dialog {
	width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
	padding: 0; border: 0; border-radius: var(--radius);
	box-shadow: 0 24px 64px rgba(19, 19, 30, 0.3);
}
.contact-dialog::backdrop { background: rgba(19, 19, 30, 0.6); backdrop-filter: blur(2px); }
.dialog-inner { position: relative; padding: clamp(28px, 5vw, 44px); }
.dialog-inner h2 { font-size: 30px; margin-bottom: 8px; }
.dialog-lead { color: var(--text-muted); margin-bottom: 24px; }
.dialog-close {
	position: absolute; top: 16px; right: 16px;
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: var(--mist); color: var(--text); cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding-top: clamp(44px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; margin-bottom: 24px; font-size: 15px; }
.footer-title { margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark); }
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover, .footer-legal a:hover { color: var(--orange); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { text-decoration: none; }

/* =========================================================
   Inner pages
   ========================================================= */

/* Page head: dark band under the transparent header */
.page-head {
	position: relative; isolation: isolate; overflow: hidden;
	padding: calc(var(--header-h) + clamp(28px, 4.5vw, 56px)) 0 clamp(32px, 4.5vw, 56px);
	background: var(--ink); color: var(--text-on-dark);
}
.page-head-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-head::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(19, 19, 30, 0.97) 0%, rgba(19, 19, 30, 0.85) 50%, rgba(19, 19, 30, 0.5) 100%);
}
/* Dark bands (hero + page heads): faint dot grid and an orange glow.
   The glow drifts slowly on its own and follows the pointer once it moves
   over the band (see main.js). Registered properties let it animate. */
@property --fx-x { syntax: "<percentage>"; inherits: true; initial-value: 78%; }
@property --fx-y { syntax: "<percentage>"; inherits: true; initial-value: 22%; }
.hero, .page-head {
	animation: fx-drift 18s ease-in-out infinite alternate;
	transition: --fx-x .6s ease-out, --fx-y .6s ease-out;
}
.hero.fx-live, .page-head.fx-live { animation: none; }
.hero::after, .page-head::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(560px circle at var(--fx-x, 78%) var(--fx-y, 22%), rgba(255, 153, 69, 0.18), transparent 65%),
		radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 24px 24px;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
	mask-image: linear-gradient(180deg, #000 55%, transparent);
}
@keyframes fx-drift {
	0% { --fx-x: 78%; --fx-y: 22%; }
	50% { --fx-x: 58%; --fx-y: 55%; }
	100% { --fx-x: 88%; --fx-y: 70%; }
}

.page-head h1 { max-width: 900px; font-size: clamp(36px, 5.4vw, 64px); }
.page-head-article h1 { font-size: clamp(30px, 4.2vw, 50px); }
.page-head .eyebrow { color: var(--orange); }
.page-head-lead { max-width: 720px; margin-top: 20px !important; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-on-dark-muted); }
.page-head-meta { margin-top: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--text-on-dark-muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current] { color: var(--text-on-dark); max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-head-404 { padding-bottom: clamp(64px, 9vw, 120px); }
.error-code { font-size: clamp(96px, 16vw, 200px); font-weight: 700; line-height: .9; color: var(--orange); letter-spacing: -0.04em; margin-bottom: 16px !important; }

.section-tight { padding: clamp(32px, 4.5vw, 56px) 0; }
.empty-state { padding: 48px 0; font-size: 18px; color: var(--text-muted); }
.empty-state a { color: var(--orange-strong); font-weight: 600; }

/* Current menu item */
.nav-list .current-menu-item > a, .nav-list .current_page_item > a, .nav-list .current-menu-parent > a { opacity: 1; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

/* Stats on a light background */
.stats-light { margin: 0; padding: 0; border-top: 0; }
.stats-light .stat + .stat { border-left-color: var(--line); }
.stats-light dt { color: var(--text-muted); }
.stats-light dd { color: var(--orange-strong); }

/* Tags & chips */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
	display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
	font-size: 13px; font-weight: 600; line-height: 1.3; background: var(--mist); color: var(--text-muted);
}
.tag-list-dark .tag { background: rgba(255, 255, 255, 0.1); color: var(--text-on-dark); }
.filters { display: grid; gap: 20px; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.filter-label { margin-bottom: 10px !important; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
	border: 1.5px solid var(--line); border-radius: 999px;
	font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--orange); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.chip-count { font-size: 12px; color: var(--text-muted); }
.chip.is-active .chip-count { color: var(--orange); }
.filter-reset { justify-self: start; }
.filter-reset .icon { width: 16px; height: 16px; }

/* Cases */
.case-grid-3 { grid-template-columns: repeat(3, 1fr); }
.case-grid-3 .case-body { padding: 24px; }
.case-title { font-size: 20px; line-height: 1.3; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.case-main { min-width: 0; } /* a slider inside must not widen the grid column */
.case-section + .case-section, .gallery + .case-section { margin-top: 48px; }
.case-section h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 16px; }
.case-facts {
	position: sticky; top: calc(var(--header-h) + 24px);
	padding: 28px; border-radius: var(--radius); background: var(--mist);
}
.case-facts dl { margin: 0 0 24px; display: grid; gap: 20px; }
.fact dt { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.fact dd { margin: 0; font-weight: 600; }
.fact .tag { background: var(--paper); color: var(--text); }

/* Galleries */
.gallery { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery-slider { overflow: hidden; }
.gallery-slider img, .gallery-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-slider a { display: block; cursor: zoom-in; }
.gallery-nav { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; }
.slider-btn-light { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.92); border-color: transparent; color: var(--ink); }
.gallery-article { margin-top: 40px; }

/* Blog */
.news-featured {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-bottom: 40px;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.news-featured-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 48px); }
.news-featured-body h2 { font-size: clamp(26px, 2.8vw, 34px); }
.news-featured-body h2 a { text-decoration: none; }
.news-featured-body h2 a:hover { color: var(--orange-strong); }
.news-featured-body > p:not(.news-meta) { color: var(--text-muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
	position: relative; display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper);
	transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.news-title { font-size: 19px; line-height: 1.35; }
.news-title a { text-decoration: none; }
.news-title a::after { content: ""; position: absolute; inset: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.news-meta-dark { color: var(--text-on-dark-muted); }

/* Article */
.article-layout { max-width: calc(780px + var(--gutter) * 2); }
.article-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; }
.article-footer {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
}
.link-back .icon { width: 18px; height: 18px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--text-muted); }
.share a { font-weight: 600; color: var(--text); text-decoration: none; }
.share a:hover { color: var(--orange-strong); }

/* Long-form text (articles, policies, admin rich text) */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.prose-article { font-size: 18px; }
/* Spacing works at any depth: pasted articles wrap paragraphs in <div>s */
.prose :where(p, ul, ol, blockquote, figure, pre, table, .hcb_wrap) { margin: 0 0 1.1em; }
.prose :where(h1, h2, h3, h4) { margin: 1.8em 0 .6em; }
.prose > :first-child, .prose > :first-child > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p:empty { display: none; }
.prose :is(h1, h2) { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; }
.prose h3 { font-size: 21px; line-height: 1.35; }
.prose h4 { font-size: 18px; }
.prose a { color: var(--orange-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose :where(ul, ol) { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-strong); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose figure { margin: 2em 0; }
.prose li > :where(p, ul, ol) { margin-bottom: .4em; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--text-muted); text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-size: 1.1em; color: var(--text-muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--mist); font-size: .9em; }
.prose pre { overflow-x: auto; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; background: var(--mist); }

/* About */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-split-image { border-radius: var(--radius); overflow: hidden; }
.media-split-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-split-copy h2 { margin-bottom: 20px; }
.media-split-copy .prose { color: var(--text-muted); font-size: 18px; }
.video-block {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
}
.video-block img, .video-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-block img { opacity: .75; }
.video-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 88px; height: 88px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); cursor: pointer;
	box-shadow: 0 0 0 12px rgba(255, 153, 69, 0.25); transition: transform .2s;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-play .icon { width: 32px; height: 32px; margin-left: 4px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.team-card { padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.team-role { margin: 4px 0 12px !important; color: var(--orange); font-weight: 600; font-size: 15px; }
.team-card p:last-child { color: var(--text-on-dark-muted); font-size: 15px; }
.careers-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.careers-lead { margin: 20px 0 28px !important; font-size: 18px; color: var(--text-muted); }
.careers-subtitle { margin-bottom: 16px !important; font-weight: 600; }
.accordion { display: grid; gap: 12px; }
.accordion-item { border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow); }
.accordion-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .icon { color: var(--orange-strong); transition: transform .2s; }
.accordion-item[open] summary .icon { transform: rotate(180deg); }
.accordion-body { padding: 0 24px 24px; }
.accordion-body .prose { font-size: 16px; margin-bottom: 20px; }
.file-input { padding: 10px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 15px; }

/* Reviews page */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-grid .review-card { height: auto !important; }

/* Partners page */
.partner-grid-large { gap: 20px; }
.partner-grid-large .partner-card { padding: 28px; font-size: 18px; }
.partner-grid-large .partner-logo { width: 64px; height: 64px; border-radius: 16px; }
.partner-grid-large .partner-logo img { width: 40px; height: 40px; }

/* Contact extras */
.social-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.social-list a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.social-list a:hover { border-color: var(--orange); }
.contact-title { font-size: clamp(30px, 3.8vw, 46px); }

/* Closing CTA band */
.cta-band { padding: clamp(40px, 5vw, 64px) 0; background: var(--orange); color: var(--ink); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-band .accent { color: var(--paper); }
.cta-band p { margin-top: 8px !important; font-size: 18px; }
.cta-band .btn-primary { background: var(--ink); color: var(--paper); }
.cta-band .btn-primary:hover { background: var(--ink-2); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination :is(a, span) {
	min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none;
}
.pagination a:hover { border-color: var(--orange); }
.pagination .is-current, .pagination .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination .icon { width: 18px; height: 18px; }

/* Search / archive */
.result-list { display: grid; gap: 0; max-width: 820px; }
.result-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.result-item h2 { font-size: 22px; margin: 6px 0 8px; }
.result-item h2 a { text-decoration: none; }
.result-item h2 a:hover { color: var(--orange-strong); }
.result-item p:last-child { color: var(--text-muted); }

/* ---------- Responsive ---------- */
/* Wide screens: the whole design reads better ~10% larger (same as 110% browser zoom).
   Narrower laptops keep 100% so the home hero still fits one screen there. */
@media (min-width: 1500px) {
	body.innova26 { zoom: 1.1; }
}
@media (max-width: 1080px) {
	.expertise-grid { grid-template-columns: repeat(2, 1fr); }
	.partner-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.case-grid-3, .news-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
	.case-layout { grid-template-columns: minmax(0, 1fr); }
	.case-facts { position: static; }
}
@media (max-width: 860px) {
	.service-grid, .why-grid, .case-grid, .contact-grid, .rating-grid,
	.media-split, .careers-grid, .review-grid, .news-featured { grid-template-columns: 1fr; }
	.news-featured-media img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
	body.innova26 { font-size: 16px; }
	.expertise-grid, .partner-grid, .footer-grid, .case-grid-3, .news-grid, .team-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; }
	.rating-card { flex-direction: column; align-items: flex-start; gap: 16px; }
	.review-company { display: none; }
	.prose-article { font-size: 17px; }
	.cta-band .btn { width: 100%; }
	.breadcrumbs [aria-current] { max-width: 24ch; }
	/* Filters: one swipeable row per group instead of a wall of chips */
	.chip-list { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
	.chip-list::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
