/* ==========================================================================
   Zoob AI Solutions — site styles (light theme)
   Single stylesheet, no external dependencies.

   Accent colours are deliberately deeper than the usual cyan/violet: every
   stop in --grad clears 5:1 against white, so the gradient is safe both as
   text on the page and as a button background carrying white text.
   ========================================================================== */

:root {
  --bg:            #ffffff;
  --bg-alt:        #f5f8fd;
  --surface:       #ffffff;
  --surface-2:     #f7f9fd;
  --line:          #e2e8f3;
  --line-soft:     #edf1f8;

  --text:          #0d1526;
  --text-mid:      #4b5b73;
  --text-dim:      #5f6f8a;

  --cyan:          #0e7490;
  --blue:          #1d4ed8;
  --violet:        #6d28d9;

  --grad:          linear-gradient(115deg, #0e7490 0%, #1d4ed8 52%, #6d28d9 100%);
  --grad-soft:     linear-gradient(115deg, rgba(8,145,178,.10), rgba(109,40,217,.10));

  --radius:        16px;
  --radius-lg:     22px;
  --wrap:          1160px;

  --shadow:        0 14px 36px -14px rgba(13,21,38,.16);
  --shadow-lg:     0 30px 70px -24px rgba(13,21,38,.20);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22,.68,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 700; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 650;
}
.skip-link:focus { left: 16px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent; border-radius: 100px;
  font-size: 15px; font-weight: 620; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(29,78,216,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(29,78,216,.62); }
.btn-ghost {
  background: #fff; color: var(--text);
  border-color: var(--line);
  box-shadow: 0 2px 8px -4px rgba(13,21,38,.10);
}
.btn-ghost:hover { border-color: #c6d2e6; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm    { padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 20px -12px rgba(13,21,38,.18);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 19px; font-weight: 750; letter-spacing: -.03em; }
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: 10.5px; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; font-weight: 550; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  font-size: 15px; color: var(--text-mid); font-weight: 520;
  position: relative; padding-block: 4px;
  transition: color .2s var(--ease);
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--text); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; flex: none;
  background: #fff; border: 1px solid var(--line);
  border-radius: 11px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 17px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 {
  width: 620px; height: 620px; top: -260px; left: -160px;
  background: radial-gradient(circle, rgba(8,145,178,.30), transparent 68%);
  animation: drift 22s var(--ease) infinite alternate;
}
.orb-2 {
  width: 560px; height: 560px; top: -140px; right: -170px;
  background: radial-gradient(circle, rgba(109,40,217,.24), transparent 68%);
  animation: drift 26s var(--ease) infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(40px, 50px, 0) scale(1.12); }
}
.grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,21,38,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,21,38,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 25%, transparent 78%);
}

.hero-inner { position: relative; max-width: 880px; }
.eyebrow {
  font-size: 12.5px; font-weight: 640; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.2rem);
  letter-spacing: -.038em; font-weight: 780; margin-bottom: 26px;
}
.lede { font-size: clamp(1.02rem, 1.75vw, 1.24rem); color: var(--text-mid); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 46px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-mid); }
.tick {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid rgba(8,145,178,.35);
  position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 6px; top: 4.5px;
  width: 5px; height: 9px; border: solid var(--cyan);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- capability strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-inline: 1px solid var(--line);
}
.strip-item {
  background: var(--bg-alt); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 7px;
}
.strip-k {
  font-size: 12px; font-weight: 680; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strip-v { font-size: 14.5px; color: var(--text-mid); line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 118px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 700px; margin-bottom: 58px; }
.section-head h2, .split-text h2, .about-text h2, .contact-text h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -.032em; margin-bottom: 18px;
}
.section-sub { color: var(--text-mid); font-size: 1.04rem; }

/* ---------- service cards ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: 0 3px 12px -6px rgba(13,21,38,.10);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: #cdd9ec; box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(29,78,216,.20);
  color: var(--cyan);
}
.card-icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.16rem; margin-bottom: 13px; letter-spacing: -.024em; }
.card > p { color: var(--text-mid); font-size: 14.9px; }

.card-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.card-list li {
  position: relative; padding-left: 20px; font-size: 14px; color: var(--text-dim);
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad);
}

.card-link {
  margin-top: auto; padding-top: 22px;
  font-size: 14.5px; font-weight: 620; color: var(--blue);
  display: inline-flex; align-items: center; gap: 7px;
}
.card-link span { transition: transform .22s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

.card-cta {
  background: var(--grad-soft);
  border-color: rgba(29,78,216,.22);
  justify-content: center; align-items: flex-start;
}
.card-cta h3 { font-size: 1.3rem; }
.card-cta p { color: var(--text-mid); font-size: 14.9px; margin-bottom: 24px; }

/* ---------- split (attendance) ----------
   RETAINED, currently unused. The #attendance section was removed from
   index.html and will be restored later; these rules (.split, .seg, and the
   .panel/.scan/.feed block below) are kept so restoring it is paste-only.
   Do not delete without also dropping the markup plan. See README. */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 76px); align-items: center;
}
.split-text .btn { margin-top: 32px; }
.seg { margin-top: 30px; padding-left: 20px; border-left: 2px solid var(--line); }
.seg h3 {
  font-size: 1.08rem; margin-bottom: 9px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.seg-tag {
  font-size: 10.5px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
  background: rgba(8,145,178,.10); border: 1px solid rgba(8,145,178,.28); color: var(--cyan);
}
.seg p { color: var(--text-mid); font-size: 14.7px; }

/* ---------- attendance visual panel ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.panel-head {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd6e8; }
.panel-title { margin-left: 10px; font-size: 12.5px; color: var(--text-dim); letter-spacing: .05em; }
.panel-body { padding: 24px; }

.scan { display: grid; place-items: center; margin-bottom: 22px; }
.scan-face { width: 150px; height: 150px; }
.scan-box    { fill: rgba(8,145,178,.05); stroke: var(--line); stroke-width: 1.5; }
.scan-corner { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; }
.scan-head   { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; opacity: .55; }
.scan-line   { stroke: var(--cyan); stroke-width: 2; opacity: .9; animation: scanmove 2.8s var(--ease) infinite; }
@keyframes scanmove {
  0%, 100% { transform: translateY(-32px); opacity: 0; }
  15%, 85% { opacity: .9; }
  50%      { transform: translateY(32px); }
}

.feed { display: flex; flex-direction: column; gap: 9px; }
.feed li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line-soft);
}
.av {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 680;
  background: var(--grad-soft); border: 1px solid rgba(29,78,216,.22); color: var(--cyan);
}
.fn { flex: 1; font-size: 14px; color: var(--text); }
.st { font-size: 11.5px; font-weight: 640; padding: 3px 11px; border-radius: 100px; }
.st.ok   { background: rgba(22,163,74,.10);  color: #15803d; border: 1px solid rgba(22,163,74,.26); }
.st.late { background: rgba(217,119,6,.11);  color: #b45309; border: 1px solid rgba(217,119,6,.28); }

.panel-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-dim);
}
.live { color: var(--cyan); font-weight: 600; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.feature {
  padding: 26px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 3px 12px -6px rgba(13,21,38,.10);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { border-color: #cdd9ec; transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.02rem; margin-bottom: 9px; }
.feature p  { color: var(--text-mid); font-size: 14.3px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step {
  position: relative; padding: 28px 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 3px 12px -6px rgba(13,21,38,.10);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { border-color: #cdd9ec; transform: translateY(-3px); box-shadow: var(--shadow); }
.step-n {
  display: block; font-size: 12.5px; font-weight: 720; letter-spacing: .12em; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.04rem; margin-bottom: 8px; }
.step p  { color: var(--text-mid); font-size: 14px; }

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.about-text p { color: var(--text-mid); font-size: 1.01rem; margin-bottom: 18px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.about-tags span {
  font-size: 13px; padding: 7px 15px; border-radius: 100px;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-mid);
}
.about-side {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.about-side h3 { font-size: 1.06rem; margin-bottom: 20px; }
.about-side ul { display: flex; flex-direction: column; gap: 18px; }
.about-side li { display: flex; flex-direction: column; gap: 3px; padding-left: 16px; position: relative; }
.about-side li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad);
}
.about-side strong { font-size: 14.6px; font-weight: 620; }
.about-side span   { font-size: 13.4px; color: var(--text-dim); }

/* ---------- contact ---------- */
.section-contact {
  background: var(--bg-alt); border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.section-contact::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  top: -320px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(29,78,216,.14), transparent 68%);
  filter: blur(70px); pointer-events: none;
}
.contact-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 68px); align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 38px; }
.contact-list li { display: flex; align-items: flex-start; gap: 15px; }
.ci {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--cyan);
  box-shadow: 0 2px 8px -4px rgba(13,21,38,.12);
}
.ci svg { width: 20px; height: 20px; }
.cl { display: flex; flex-direction: column; padding-top: 2px; }
.cl-k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 620; }
.cl a, .cl > span:not(.cl-k) { font-size: 15.4px; color: var(--text); font-weight: 540; }
.cl a:hover { color: var(--blue); }

.contact-form-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.22rem; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13px; font-weight: 580; color: var(--text-mid); }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
  color: var(--text); font-family: inherit; font-size: 14.6px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
/* 3.7:1 on the input fill — comfortably legible, still clearly lighter than a
   real value so it still reads as a hint. */
.field input::placeholder, .field textarea::placeholder { color: #73829c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.13);
}
.field input.invalid, .field textarea.invalid { border-color: #dc2626; background: rgba(220,38,38,.03); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6f8a' stroke-width='2.4' 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 15px center; padding-right: 40px;
}
/* Honeypot wrapper. Pushed off-screen rather than display:none — bots that
   skip hidden fields still fill this one in, which is the point. */
.hp {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

.contact-form .btn { margin-top: 8px; }
.btn:disabled {
  opacity: .6; cursor: progress;
  transform: none !important; box-shadow: none;
}
.form-note { margin-top: 14px; font-size: 12.8px; color: var(--text-dim); text-align: center; }
.form-note.err { color: #dc2626; }
.form-note.ok  { color: #15803d; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 62px; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-blurb { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin-bottom: 6px; font-weight: 660;
}
.footer-col a, .footer-addr { font-size: 14.2px; color: var(--text-dim); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-block: 22px; border-top: 1px solid var(--line);
  font-size: 13.2px; color: var(--text-dim);
}
.footer-legal { color: var(--text-dim); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(56px, 8vw, 92px) 0; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 12px; letter-spacing: -.032em; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 1.24rem; margin: 38px 0 12px; letter-spacing: -.024em; }
.legal p, .legal li { color: var(--text-mid); font-size: 15.4px; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.legal a { color: var(--blue); }
.legal a:hover { text-decoration: underline; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .strip-grid   { grid-template-columns: repeat(2, 1fr); }
  .split        { grid-template-columns: 1fr; }
  .split-visual { max-width: 500px; margin-inline: auto; }
  .about-inner  { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -20px rgba(13,21,38,.28);
    padding: 10px 24px 26px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .34s var(--ease), opacity .24s var(--ease);
  }
  .nav.open { max-height: 78vh; opacity: 1; pointer-events: auto; overflow-y: auto; }
  .nav > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; align-self: flex-start; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .hide-sm { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .strip-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 12px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .panel-body { padding: 20px 18px; }
}

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

@media print {
  .site-header, .nav-toggle, .hero-bg, .split-visual, .contact-form-wrap { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 20px 0; }
  .card, .feature, .step { box-shadow: none; }
}
