/* Informetes — shared site styles
   Palette: burnt orange for header, footer and accents; white content areas
   with blue text; white text on any dark or colored background. */

:root {
  --orange: #bf5700;
  --orange-dark: #9c4400;
  --orange-deep: #5e2600;
  --orange-bright: #e8791c;
  --orange-tint: #fff4ea;
  --blue: #0b2a6f;
  --blue-mid: #3a5391;
  --blue-bright: #1b4fd1;
  --blue-soft: #eef3fc;
  --line: #d6e0f5;
  --white: #ffffff;
  --header-h: 76px;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 42, 111, 0.28);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--blue);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.lead { font-size: 1.15rem; color: var(--blue-mid); max-width: 62ch; }
.muted { color: var(--blue-mid); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.97rem;
  border: 2px solid transparent; transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px -12px rgba(191, 87, 0, 0.8); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-light { background: var(--white); color: var(--orange-dark); }
.btn-light:hover { background: var(--orange-tint); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.text-link { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.text-link .arrow { transition: transform 0.2s; }
.text-link:hover { text-decoration: none; }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--orange); color: var(--white);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(60, 24, 0, 0.55); background: var(--orange-dark); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 36px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav > ul { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--white); font-weight: 500; font-size: 0.98rem; text-decoration: none !important;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-menu.open > .nav-link::after { transform: scaleX(1); }
.chev { width: 10px; height: 10px; transition: transform 0.2s; }
.has-menu.open .chev { transform: rotate(180deg); }
.has-menu { position: static; }
.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--blue);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 30px 50px -24px rgba(11, 42, 111, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu-inner { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; padding: 36px 0 40px; }
.menu-intro h3 { font-size: 1.6rem; }
.menu-intro p { color: var(--blue-mid); font-size: 0.98rem; }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.menu-cols.three { grid-template-columns: repeat(3, 1fr); }
.menu-cols h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; }
.menu-cols a { display: block; padding: 7px 0; color: var(--blue); font-weight: 500; border-bottom: 1px solid transparent; }
.menu-cols a:hover { color: var(--orange); text-decoration: none; padding-left: 6px; }
.menu-cols a { transition: padding 0.2s, color 0.2s; }
.nav-cta { padding: 10px 22px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform 0.25s, opacity 0.2s, top 0.25s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(860px, calc(100vh - var(--header-h)));
  display: grid; place-items: center;
  color: var(--white); text-align: center;
  background:
    radial-gradient(120% 90% at 80% 0%, #e8791c 0%, rgba(232, 121, 28, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, #3d1700 0%, rgba(61, 23, 0, 0) 60%),
    linear-gradient(135deg, #7a3200 0%, #bf5700 55%, #a84a00 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 48%, rgba(70, 28, 0, 0.5), rgba(70, 28, 0, 0) 75%);
}
.hero-content { padding: 72px 0 150px; max-width: 980px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow, .on-dark .eyebrow { color: var(--white); }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hero h1 { margin-bottom: 24px; text-wrap: balance; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; border-radius: 99px;
  background: var(--white); transform-origin: left; animation: underline 1.1s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 720px; margin: 0 auto 36px; color: rgba(255, 255, 255, 0.95); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 0; }
.rise { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise:nth-child(2) { animation-delay: 0.1s; } .rise:nth-child(3) { animation-delay: 0.2s; } .rise:nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, #7a3200 0%, #bf5700 60%, #d96a10 100%);
  padding: 84px 0 96px;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%) rotate(-6deg);
  background: url("../assets/mark-white.png") center / contain no-repeat; opacity: 0.14; pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateY(-54%) rotate(4deg) scale(1.06); } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero p { font-size: 1.2rem; max-width: 60ch; margin: 0; color: rgba(255, 255, 255, 0.95); }
.crumbs { font-size: 0.88rem; margin-bottom: 22px; display: flex; gap: 10px; }
.crumbs a { color: var(--white); opacity: 0.9; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-bar { color: var(--white); background: var(--orange); font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.section-bar .container { padding: 13px 0; display: flex; align-items: center; gap: 12px; }
.section-bar .container::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--white); transform: rotate(45deg); }
.section-bar.blue { background: var(--blue); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 0; text-wrap: balance; }
.section-head .lead { margin: 0; }
.soft { background: var(--blue-soft); }

/* Cards */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 28px; color: var(--blue); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0.16); transform-origin: left; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
a.card:hover, .card.hoverable:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; text-decoration: none; }
a.card:hover::before, .card.hoverable:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 18px; }
.card p { color: var(--blue-mid); font-size: 0.98rem; }
.card .text-link { margin-top: auto; padding-top: 8px; }
.card ul.ticks { margin-top: 4px; }
ul.ticks li { position: relative; padding: 5px 0 5px 26px; color: var(--blue-mid); font-size: 0.97rem; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 14px; height: 2px; background: var(--orange); }
ul.ticks li::after { content: ""; position: absolute; left: 8px; top: calc(0.85em - 3px); width: 7px; height: 7px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); }

/* Agentic band */
.band { position: relative; overflow: hidden; background: var(--blue); color: var(--white); }
.band::before { content: ""; position: absolute; left: -140px; bottom: -220px; width: 620px; height: 620px; background: url("../assets/mark-white.png") center / contain no-repeat; opacity: 0.06; }
.band .container { position: relative; }
.band .lead { color: rgba(255, 255, 255, 0.92); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin-top: 12px; }
.step { position: relative; padding: 34px 28px 8px 0; border-top: 2px solid rgba(255, 255, 255, 0.28); counter-increment: step; }
.step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--orange-bright); box-shadow: 0 0 0 5px rgba(232, 121, 28, 0.3); }
.step::after { content: "0" counter(step); position: absolute; top: 30px; right: 28px; font-family: var(--font-head); font-size: 0.85rem; opacity: 0.7; }
.step h3 { margin-bottom: 10px; padding-right: 36px; }
.step p { font-size: 0.97rem; color: rgba(255, 255, 255, 0.9); margin: 0; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; color: var(--blue); background: var(--white);
  transition: background 0.25s, color 0.25s;
}
.industry .arrow { opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s; }
.industry:hover { background: var(--orange); color: var(--white); text-decoration: none; }
.industry:hover .arrow { opacity: 1; transform: none; }
.sector { margin-bottom: 56px; }
.sector > h2 { font-size: 1.6rem; padding-bottom: 16px; border-bottom: 2px solid var(--orange); margin-bottom: 28px; }

/* Tabs (engagement models) */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: stretch; }
.tablist { display: flex; flex-direction: column; gap: 10px; }
.tab {
  text-align: left; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--blue); background: var(--white);
  display: flex; justify-content: space-between; align-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tab small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 4px; }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--white); }
.tab[aria-selected="true"] small { color: var(--white); }
.tabpanel { background: var(--blue-soft); border-radius: var(--radius); padding: 48px; border-left: 5px solid var(--orange); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.9rem; }
.tabpanel p { font-size: 1.1rem; max-width: 58ch; }
.js .tabpanel { animation: rise 0.5s both; }

/* Why / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.points li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 54px 1fr; gap: 6px; }
.points li:first-child { border-top: 1px solid var(--line); }
.points .n { font-family: var(--font-head); font-weight: 600; color: var(--orange); }
.points h3 { margin-bottom: 4px; font-size: 1.12rem; }
.points p { margin: 0; color: var(--blue-mid); font-size: 0.98rem; }
.art { position: relative; aspect-ratio: 1 / 0.9; border-radius: 24px; overflow: hidden; background: linear-gradient(140deg, #8a3900, #bf5700 55%, #e8791c); display: grid; place-items: center; color: var(--white); }
.art img { width: 62%; animation: float 7s ease-in-out infinite alternate; filter: drop-shadow(0 20px 30px rgba(60, 24, 0, 0.45)); }
.art::before, .art::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; inset: 12%; animation: spin 28s linear infinite; border-left-color: transparent; border-bottom-color: transparent; }
.art::after { inset: 24%; animation-duration: 18s; animation-direction: reverse; border-width: 2px; }
@keyframes float { to { transform: translate(10px, -16px) rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Service detail rows */
.service-row { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-row, .card[id] { scroll-margin-top: 64px; }
.service-row:first-of-type { border-top: 1px solid var(--line); }
.service-row .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--orange); line-height: 1; }
.service-row h3 { font-size: 1.6rem; }
.service-row p { color: var(--blue-mid); margin: 0; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 28px; overflow-x: auto; }
.subnav a { padding: 16px 0; font-weight: 600; font-size: 0.95rem; color: var(--blue); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { border-color: var(--orange); text-decoration: none; }

/* Glossary */
.glossary details { border-bottom: 1px solid var(--line); }
.glossary details:first-child { border-top: 1px solid var(--line); }
.glossary summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--orange); transition: transform 0.25s; }
.glossary details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.glossary details p { color: var(--blue-mid); padding: 0 44px 20px 0; margin: 0; max-width: 70ch; }

/* CTA band */
.cta { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(120deg, #9c4400, #bf5700 50%, #e8791c); border-radius: 28px; padding: 72px 64px; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 460px; height: 460px; background: url("../assets/mark-white.png") center / contain no-repeat; opacity: 0.13; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0; font-size: 1.12rem; max-width: 52ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--blue); margin-bottom: 14px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.contact-card:hover { text-decoration: none; border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.contact-card small { display: block; color: var(--blue-mid); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.contact-card strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--blue); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(191, 87, 0, 0.15); }
.form-note { font-size: 0.88rem; color: var(--blue-mid); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--blue-soft); font-size: 0.95rem; }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--orange-dark); color: var(--white); margin-top: 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 560px; height: 560px; background: url("../assets/mark-white.png") center / contain no-repeat; opacity: 0.07; }
.site-footer .container { position: relative; }
.site-footer a:not(.btn) { color: var(--white); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 64px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.footer-top h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding: 48px 0; }
.footer-cols img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-cols p { font-size: 0.95rem; max-width: 34ch; color: rgba(255, 255, 255, 0.92); }
.footer-cols h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.footer-cols li { padding: 5px 0; font-size: 0.95rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.88rem; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .split { gap: 48px; }
  .tabs { grid-template-columns: 1fr; gap: 24px; }
  .tablist { flex-direction: row; }
  .tab { flex: 1; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--orange-dark);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform 0.3s, visibility 0.3s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; flex: none; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.1rem; }
  .nav-link::after { display: none; }
  .menu { position: static; background: transparent; color: var(--white); box-shadow: none; border: 0; opacity: 1; transform: none; display: none; visibility: visible; }
  .has-menu.open .menu { display: block; }
  .menu .container { width: 100%; }
  .menu-inner { display: block; padding: 0 0 16px; }
  .menu-intro { display: none; }
  .menu-cols, .menu-cols.three { grid-template-columns: 1fr; gap: 0; }
  .menu-cols h4 { color: var(--white); opacity: 0.8; margin-top: 12px; }
  .menu-cols a, .menu-cols a:hover { color: var(--white); padding: 8px 0 8px 10px; }
  .nav-cta { margin-top: 24px; justify-content: center; }
  .section { padding: 68px 0; }
  .section-head, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; gap: 16px; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .cta { padding: 48px 28px; }
  .hero-content { padding: 56px 0 120px; }
  .page-hero { padding: 60px 0 68px; }
  .page-hero::after { width: 320px; height: 320px; right: -90px; }
  .tabpanel { padding: 30px 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .cols-4, .steps, .industry-grid, .footer-cols, .form .row { grid-template-columns: 1fr; }
  .tablist { flex-direction: column; }
  .form { padding: 26px 20px; }
  .hero h1 em { white-space: normal; }
  .footer-top { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
