/* ==========================================================================
   SHIVEX Tech — global styles
   Editorial, consultancy look: white + pale-lavender sections, deep royal blue
   accents, faint grid hero, short accent bars under headings, crisp corners.
   ========================================================================== */

:root {
  --blue: #1E3A8A;          /* deep royal blue, primary accent */
  --blue-dark: #142A6B;     /* hover / pressed */
  --blue-50: #EEF1FA;       /* tint backgrounds */
  --blue-100: #D3DAF0;
  --ink: #0B0F1A;           /* headings */
  --text: #5B6478;          /* body copy */
  --muted: #7A8296;
  --line: #E6E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F5FA;
  --grid-line: rgba(30, 58, 138, .045);
  --ok: #138A5B;
  --err: #C62B3C;

  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(11, 15, 26, .04), 0 6px 18px rgba(11, 15, 26, .05);
  --shadow-hover: 0 2px 4px rgba(11, 15, 26, .04), 0 14px 32px rgba(30, 58, 138, .12);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -.012em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
/* Short accent bar under section headings (as on the reference design) */
/* Applied only to two-column (heading beside copy/media) layouts, as on the reference */
.accent::after, .split h2::after, .partner-head h2::after {
  content: ""; display: block; width: 40px; height: 3px; background: var(--blue); margin-top: 22px;
}

.cta h2::after, .highlight h2::after, .no-bar h2::after { display: none; }

/* Sector cards: plain bordered tiles, title + copy */
.card.sector { padding: 26px 24px 30px; }
.card.sector h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card.sector p { font-size: .96rem; }

/* Two-column "heading left, copy right" block */
.duo { display: grid; gap: clamp(28px, 6vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.duo .copy { display: grid; gap: 18px; }

/* Faint grid backdrop used on hero areas */
.gridded {
  background-color: #fff;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 14px 24px; border-radius: 4px; border: 1.5px solid transparent;
  background: var(--blue); color: #fff; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30, 58, 138, .22); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); box-shadow: none; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-dark); }
.btn--sm { padding: 11px 18px; font-size: .88rem; border-radius: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(11, 15, 26, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
/* Wordmark: heavy SHIVEX + light Tech */
.brand { display: inline-flex; align-items: center; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; height: 46px; width: auto; }
@media (max-width: 400px) { .brand-logo { height: 40px; } }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: block; padding: 8px 14px;
  color: var(--ink); font-weight: 500; font-size: .94rem; position: relative;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
.nav-menu a:not(.btn):hover { color: var(--blue); }
.nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"] { color: var(--blue); }
.nav-menu .btn { margin-left: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    box-shadow: 0 16px 30px rgba(11, 22, 51, .08);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 12px; font-size: 1.02rem; }
  .nav-menu a:not(.btn)::after { left: 12px; right: auto; width: 28px; bottom: 8px; }
  .nav-menu .btn { margin: 10px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero .lead { margin: 22px 0 32px; max-width: 560px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: -12px; bottom: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 290px;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 6px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.hero-badge small { color: var(--muted); font-size: .82rem; }
@media (max-width: 520px) { .hero-badge { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

.page-hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
  background-color: #fff;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero h1 { max-width: 760px; }
.page-hero .lead { margin-top: 20px; max-width: 640px; }

/* ---------- Industries strip ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 4px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: .92rem;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--blue-100); background: var(--blue-50); color: var(--blue-dark); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--blue); }
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.strip-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--blue); }
.card h3 { margin: 18px 0 10px; }
.card p { font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 4px; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.icon svg { width: 24px; height: 24px; }
.card:hover .icon { background: var(--blue); color: #fff; }
.card .num { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: .9rem; }

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .5s; }
.card--media:hover img { transform: scale(1.04); }
.card--media .card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card--media .card-body h3 { margin: 0; }
.card--media .card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.step:hover { border-color: var(--blue-100); box-shadow: var(--shadow-hover); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 4px;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.step h3 { margin: 18px 0 8px; }
.step p { font-size: .97rem; }

/* ---------- FAQ accordion ---------- */
/* Narrow, left-aligned column with hairline dividers and a chevron */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-wrap .section-head { margin-bottom: 44px; }
.faq-wrap .section-head h2::after { display: none; }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.02rem; transition: color .2s;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .answer { padding: 0 40px 24px 0; }
.faq .answer p + p { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--blue); color: #fff; border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px); display: grid; gap: 28px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  position: relative; overflow: hidden;
}
.cta::after { display: none; }
.cta h2 { color: #fff; }
.cta p { color: #DCE6FF; margin-top: 12px; }
.cta .btn-row { justify-content: flex-start; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta .btn-row { justify-content: flex-end; } }

/* ---------- Solutions page ---------- */
.subnav { position: sticky; top: 76px; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 9px 16px; border-radius: 4px; color: var(--ink); font-weight: 600; font-size: .92rem; border: 1px solid transparent; }
.subnav a:hover, .subnav a.is-active { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.anchor { scroll-margin-top: 150px; }

.partner-head { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.partner-head img { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.partner-head .lead { margin-top: 16px; }
.partner-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: .92rem; }
.partner-meta span { color: var(--muted); }
.partner-meta b { color: var(--ink); }

.module { display: flex; gap: 16px; align-items: flex-start; }
.module .icon { width: 42px; height: 42px; flex: none; }
.module .icon svg { width: 20px; height: 20px; }
.module h3 { margin: 0 0 6px; font-size: 1.05rem; }
.module p { font-size: .95rem; }

.highlight {
  border-radius: var(--radius); background: var(--blue);
  color: #fff; padding: clamp(28px, 5vw, 56px); display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 32px;
}
.highlight h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.highlight .eyebrow { color: #BFD0FF; }
.highlight p { color: #DCE6FF; }
.highlight ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.highlight li { padding-left: 28px; position: relative; color: #EAF0FF; }
.highlight li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 3px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: .72rem; }
.prompt-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 20px 22px; transition: background .2s; }
.prompt-card:hover { background: rgba(255,255,255,.16); }
.prompt-card small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #BFD0FF; }
.prompt-card q { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.08rem; margin-top: 6px; quotes: "“" "”"; }
.prompt-card p { font-size: .92rem; margin-top: 8px; }
.guardrail { margin-top: 18px; display: inline-block; padding: 10px 16px; border-radius: 6px; background: rgba(255,255,255,.14); font-weight: 600; color: #fff; }

.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.stat { padding: 22px; border-radius: var(--radius); background: var(--blue-50); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--blue); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--text); }

.group-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 48px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-title p { font-size: .95rem; color: var(--muted); max-width: 560px; }

.feature-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.feature-list li { position: relative; padding-left: 20px; font-size: .95rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill { padding: 7px 13px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); transition: border-color .2s, color .2s; }
.pill:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- About ---------- */
.mv { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mv .card { padding: clamp(28px, 4vw, 40px); }
.mv .card--blue { background: var(--blue); border-color: var(--blue); }
.mv .card--blue h3, .mv .card--blue p { color: #fff; }
.mv .card--blue .eyebrow { color: #BFD0FF; }
.mv .card h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; margin: 0; font-weight: 600; }
.media-rounded { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 4px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 2px; }

/* Principles: joined 2×2 panel of white cells with hairline dividers */
.principles {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.principle { background: #fff; padding: clamp(28px, 3.5vw, 36px) clamp(24px, 3vw, 32px); transition: background .2s; }
.principle::before { content: ""; display: block; width: 40px; height: 2px; background: var(--blue); margin-bottom: 26px; transition: width .3s; }
.principle:hover { background: #FBFCFF; }
.principle:hover::before { width: 64px; }
.principle h3 { font-size: 1.15rem; margin-bottom: 12px; }
.principle p { font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line);
  border-radius: 6px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-100); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 79, 224, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field .error { color: var(--err); font-size: .84rem; min-height: 0; display: none; }
.field.has-error .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; grid-column: 1 / -1; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; color: inherit; }
a.info-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-hover); color: inherit; }
.info-item .icon { width: 42px; height: 42px; flex: none; }
.info-item small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.info-item strong { color: var(--ink); font-weight: 600; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-grid p { font-size: .94rem; margin-top: 14px; max-width: 340px; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text); font-size: .95rem; }
.footer-grid ul a:hover { color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
