/* ======================================================================
   מיכאל גלוסקר - ייעוץ אבטחת מידע וסייבר
   Trust-advisor system: paper / deep navy / petrol teal.
   Hero kept as-is; body sections follow the reference trust layout.
   ====================================================================== */

:root {
  /* Color */
  --paper:        #F8FAFC;
  --surface:      #FFFFFF;
  --mist:         #EEF4F8;
  --mist-deep:    #E2ECF3;
  --ink:          #0A1B33;
  --ink-muted:    #43597A;
  --ink-soft:     #6B7E9C;
  --hairline:     rgba(10, 27, 51, 0.08);
  --hairline-strong: rgba(10, 27, 51, 0.16);
  --teal-700:     #0E7490;
  --teal-800:     #155E75;
  --teal-100:     #CFEBF2;
  --teal-50:      #E8F5F9;
  --teal-bright:  #22B8CF;
  --navy-card:    #0A1B33;
  --navy-card-2:  #11294D;
  --success:      #1FA971;
  --danger:       #E5484D;

  /* Type */
  --font-he:   'Heebo', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-full: 9999px;

  /* Shadows */
  --shadow-rest:  0 1px 2px rgba(10,27,51,0.04), 0 12px 32px -14px rgba(10,27,51,0.10);
  --shadow-float: 0 2px 4px rgba(10,27,51,0.05), 0 28px 64px -22px rgba(10,27,51,0.16);
  --shadow-cta:   0 8px 24px -8px rgba(14,116,144,0.45), inset 0 1px 0 rgba(255,255,255,0.22);

  /* Motion */
  --t-micro:   180ms cubic-bezier(0.32, 0.72, 0, 1);
  --t-default: 420ms cubic-bezier(0.22, 1, 0.36, 1);
  --t-macro:   700ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1240px;
  --max-w-narrow: 800px;
  --nav-h: 72px;
}

/* ──────────────────────────── Reset / base ──────────────────────────── */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-he);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration: none; transition: color var(--t-micro); }
a:hover { color: var(--teal-800); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 2px;
  border-radius: 8px;
}

.sr-skip {
  position: fixed; top: -64px; inset-inline-start: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  transition: top var(--t-micro);
}
.sr-skip:focus-visible { top: 16px; color: #fff; }

/* ──────────────────────────── Layout primitives ──────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--max-w-narrow); }
.section { padding: var(--s-10) 0; position: relative; }
.section-mist { background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 35%, var(--mist) 65%, var(--paper) 100%); }
@media (max-width: 768px) { .section { padding: var(--s-8) 0; } }

.section-head { text-align: center; margin: 0 auto var(--s-8); max-width: 720px; }
.section-head-start { text-align: start; margin-inline: 0; }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head .lead { color: var(--ink-muted); font-size: 19px; margin-top: var(--s-4); }
.lead-light { color: rgba(255,255,255,0.78) !important; }
@media (max-width: 768px) {
  .section-head { margin-bottom: var(--s-7); }
  .section-head .lead { font-size: 17px; }
}

/* ──────────────────────────── Typography ──────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  color: var(--teal-700);
  margin-bottom: var(--s-4);
}
.sec-label::after {
  content: ''; width: 40px; height: 1px; background: var(--teal-700); opacity: .5;
}
.sec-label-light { color: var(--teal-100); }
.sec-label-light::after { background: var(--teal-100); }

.micro-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin: 0 0 var(--s-4);
}
.micro-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(31,169,113,0.18);
}

.eyebrow {
  display: inline-block;
  font-size: 13.5px; font-weight: 700;
  color: var(--teal-800);
  padding: 6px 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
}

.h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900; line-height: 1.2; letter-spacing: -0.01em;
}
.h2-em { color: var(--teal-700); }
.h2-light { color: #fff; }
.h2-center { text-align: center; }
.h3 { font-size: 20px; font-weight: 800; line-height: 1.35; }

/* accent word on dark backgrounds (navy sections, form card) */
.cta-em { color: #67E8F9; }

/* ──────────────────────────── Buttons ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  padding: 15px 34px;
  border-radius: var(--r-full);
  transition: transform var(--t-micro), box-shadow var(--t-micro), background var(--t-micro), border-color var(--t-micro), color var(--t-micro);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--teal-700); color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--teal-800); color: #fff; transform: translateY(-2px); }
.btn-arrow { display: inline-flex; width: 18px; height: 18px; }
.btn-arrow svg { width: 100%; height: 100%; }
.btn-primary:hover .btn-arrow { animation: arrow-nudge 600ms var(--t-default); }
@keyframes arrow-nudge { 50% { transform: translateX(-4px); } }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ──────────────────────────── Nav ──────────────────────────── */
.nav-wrap {
  position: fixed; top: 14px; inset-inline: 0; z-index: 100;
  padding: 0 var(--s-4);
}
.nav {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-rest);
}
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav-logo:hover { color: var(--ink); }
.nav-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff;
}
.nav-mark svg { width: 22px; height: 22px; }
.nav-word { display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; font-size: 16px; }
.nav-word span { font-weight: 500; font-size: 12px; color: var(--ink-soft); }

.nav-links { display: flex; gap: var(--s-2); }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: var(--r-full);
  color: var(--ink-muted); font-weight: 500; font-size: 15px;
}
.nav-links a:hover { color: var(--ink); background: var(--mist); }

.nav-cta { display: flex; align-items: center; gap: var(--s-3); }
.nav-btn { padding: 11px 22px; font-size: 15px; }

.menu-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hairline-strong);
}
.menu-toggle span {
  position: absolute; inset-inline: 12px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-default), top var(--t-default);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links, .nav-btn { display: none; }
  .menu-toggle { display: block; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(248,250,252,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid; place-items: center;
  opacity: 0; transition: opacity 420ms var(--t-default);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; gap: var(--s-5); text-align: center; }
.mobile-menu li {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--t-default) var(--d, 0ms), transform 500ms var(--t-default) var(--d, 0ms);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu a { font-size: 26px; font-weight: 700; color: var(--ink); }
.mobile-menu a:hover { color: var(--teal-700); }
.mobile-menu .m-cta { color: var(--teal-700); }

/* ──────────────────────────── Hero (kept as-is) ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 var(--s-8);
  overflow: hidden;
}

/* Faint blueprint grid, fading out radially */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(10,27,51,0.045) 1px, transparent 1px),
    linear-gradient(to left, rgba(10,27,51,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: var(--s-7);
}

.hero-h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 900; line-height: 1.12; letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
}
.h1-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h1-line { display: block; }
.h1-accent { color: var(--teal-700); }

.hero-sub {
  font-size: 19px; color: var(--ink-muted);
  max-width: 460px;
  margin-bottom: var(--s-6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-6); }

.cred-row {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.cred-row li {
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.7);
}

/* Hero visual: WebGL lattice + portrait */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid; place-items: center;
}
#scene-mount {
  position: absolute; inset: -14% -18%;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--t-macro);
}
.hero-visual.has-3d #scene-mount { opacity: 1; }
#scene-mount canvas { width: 100%; height: 100%; display: block; }

.hero-mesh {
  position: absolute; width: min(112%, 620px);
  pointer-events: none;
  transition: opacity 800ms var(--t-macro);
  animation: mesh-spin 90s linear infinite;
}
.hero-visual.has-3d .hero-mesh { opacity: 0; animation-play-state: paused; }
@keyframes mesh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-mesh { animation: none; } }

.portrait-card {
  position: relative; z-index: 2;
  width: min(400px, 86%);
  filter: drop-shadow(0 24px 34px rgba(10, 27, 51, 0.26));
}
.portrait-card img {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.portrait-card::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 4% -8% 0 -8%;
  background:
    radial-gradient(52% 58% at 50% 42%, rgba(14, 116, 144, 0.12), transparent 72%),
    radial-gradient(40% 16% at 50% 99%, rgba(10, 27, 51, 0.22), transparent 78%);
}

.hero-badge {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 18px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-rest);
  text-align: center;
}
.hero-badge strong { font-size: 22px; font-weight: 800; color: var(--teal-700); line-height: 1.1; }
.hero-badge span { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.hb-1 { top: 13%; inset-inline-start: 4%; }
.hb-2 { bottom: 11%; inset-inline-end: 3%; }

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .cred-row { justify-content: center; }
  .hero-visual { min-height: auto; padding: var(--s-5) 0; }
  .hero-mesh { width: min(96%, 460px); }
  .portrait-card { width: min(300px, 74vw); }
  .hb-1 { top: 4%; inset-inline-start: 6%; }
  .hb-2 { bottom: 2%; inset-inline-end: 6%; }
}
@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ──────────────────────────── Trust band ──────────────────────────── */
.trust-band { padding: var(--s-7) 0; border-top: 1px solid var(--hairline); background: var(--surface); }
.trust-lead {
  text-align: center; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); margin-bottom: var(--s-5);
}
.trust-marks {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--s-5) var(--s-8);
}
.trust-marks li {
  font-weight: 800; font-size: 19px; color: var(--ink);
  opacity: 0.36;
  transition: opacity var(--t-micro);
}
.trust-marks li:hover { opacity: 0.8; }
@media (max-width: 768px) { .trust-marks { gap: var(--s-4) var(--s-6); } .trust-marks li { font-size: 16px; } }

/* ──────────────────────────── Stats (clean strip) ──────────────────────────── */
.stats-sec { padding: var(--s-8) 0; background: var(--surface); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.stat { text-align: center; padding: var(--s-2) var(--s-4); }
.stat + .stat { border-inline-start: 1px solid var(--hairline); }
.stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 48px); font-weight: 600;
  color: var(--ink); line-height: 1.05;
  direction: ltr;
}
.stat strong span { color: var(--teal-700); }
.stat-label { display: block; margin-top: var(--s-2); font-size: 14.5px; color: var(--ink-muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) 0; }
  .stat:nth-child(3) { border-inline-start: 0; }
}

/* ──────────────────────────── Services (side heading + cards) ──────────────────────────── */
.section-services { background: var(--mist); }
.services-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: var(--s-8); align-items: center;
}
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-rest);
  transition: transform var(--t-default), box-shadow var(--t-default);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.svc-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--teal-50);
  color: var(--teal-800);
  margin-bottom: var(--s-4);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card .h3 { margin-bottom: var(--s-2); }
.svc-card p { color: var(--ink-muted); font-size: 15.5px; }
.services-head h2 { margin-bottom: var(--s-4); }
.services-head .lead { color: var(--ink-muted); font-size: 19px; }
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .services-head { order: -1; text-align: center; }
  .services-head .lead { margin-inline: auto; max-width: 480px; }
}
@media (max-width: 560px) { .svc-cards { grid-template-columns: 1fr; } }

/* ──────────────────────────── Process (dark alternating timeline) ──────────────────────────── */
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, #0d2748 100%);
  color: #fff;
}
.process-sec .section-head { margin-bottom: var(--s-9); }
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.tl-line {
  position: absolute; top: 8px; bottom: 8px; right: 50%; width: 3px;
  transform: translateX(50%);
  background: rgba(255,255,255,0.28); border-radius: 3px;
}
.tl-fill {
  position: absolute; inset: 0;
  background: var(--teal-700); border-radius: 3px;
  transform: scaleY(var(--line-progress, 1)); transform-origin: top;
  box-shadow: 0 0 12px rgba(14,116,144,0.7);
}
.tl-step { position: relative; width: calc(50% - 54px); margin-bottom: var(--s-7); }
.tl-step.side-r { margin-left: auto; margin-right: 0; }
.tl-step.side-l { margin-right: auto; margin-left: 0; }
.tl-card {
  position: relative;
  background: var(--surface); border-radius: 12px;
  padding: 24px 26px 26px; text-align: center;
  box-shadow: 0 0 0 1px rgba(14,116,144,0.18), 0 14px 34px rgba(14,116,144,0.42);
}
.tl-time {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--teal-800);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 3px 10px; border-radius: var(--r-full);
  margin-bottom: 10px;
}
.tl-card h3 { color: var(--ink); margin-bottom: var(--s-2); }
.tl-card p { color: var(--ink-muted); font-size: 15.5px; }
.tl-num {
  position: absolute; top: 20px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy-card-2); color: #fff;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
  border: 3px solid rgba(255,255,255,0.92);
  z-index: 3;
}
.tl-step.side-r .tl-num { left: -77px; }
.tl-step.side-l .tl-num { right: -77px; }
.tl-step.side-r .tl-card::after {
  content: ''; position: absolute; top: 28px; left: -11px;
  border: 11px solid transparent; border-right-color: var(--surface); border-left: 0;
}
.tl-step.side-l .tl-card::after {
  content: ''; position: absolute; top: 28px; right: -11px;
  border: 11px solid transparent; border-left-color: var(--surface); border-right: 0;
}
@media (max-width: 768px) {
  .tl-line { right: 22px; transform: none; }
  .tl-step { width: calc(100% - 66px); margin: 0 66px 40px auto !important; }
  .tl-num { right: -64px !important; left: auto !important; width: 44px; height: 44px; font-size: 14px; top: 18px; }
  .tl-step .tl-card::after { right: -11px !important; left: auto !important; border: 11px solid transparent !important; border-left-color: var(--surface) !important; border-right: 0 !important; }
}

/* ──────────────────────────── About ──────────────────────────── */
.about-sec { background: var(--surface); }
.about-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: var(--s-8);
  align-items: center;
}
.about-copy h2 { margin-bottom: var(--s-5); }
.about-text p { color: var(--ink-muted); margin-bottom: var(--s-4); max-width: 60ch; }
.about-text p:first-child { color: var(--ink); font-weight: 500; }
.about-checks { display: grid; gap: var(--s-3); margin: var(--s-5) 0 var(--s-6); }
.about-checks li { display: flex; align-items: center; gap: var(--s-3); font-weight: 500; }
.check {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-800);
  border: 1px solid var(--teal-100);
}
.check svg { width: 14px; height: 14px; }
.about-creds {
  display: block; margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--teal-800); font-weight: 500;
}
.about-img { display: flex; justify-content: center; }
.about-photo {
  position: relative;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--hairline);
}
.about-photo img { width: min(100%, 420px); height: auto; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .about-copy { text-align: center; }
  .about-checks { text-align: start; max-width: 420px; margin-inline: auto; }
}

/* ──────────────────────────── Testimonials (light-teal cards) ──────────────────────────── */
.testimonials-sec { background: var(--teal-50); }
.testimonials-sec .h2-center { margin-bottom: var(--s-8); }
.tst-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); align-items: start;
}
.tst-card {
  position: relative;
  background: var(--surface);
  border-radius: 14px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-rest);
}
.tst-mark {
  position: absolute; top: 12px; inset-inline-start: 22px;
  font-size: 56px; line-height: 1; font-weight: 900;
  color: var(--teal-100);
}
.tst-card blockquote {
  position: relative;
  font-size: 16px; color: var(--ink); line-height: 1.7;
  padding-top: var(--s-4);
  margin-bottom: var(--s-5);
}
.tst-cite { display: flex; flex-direction: column; line-height: 1.4; }
.tst-cite strong { font-size: 15.5px; color: var(--ink); }
.tst-cite span { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .tst-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ──────────────────────────── FAQ (bordered rows) ──────────────────────────── */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--t-default), border-color var(--t-micro);
}
.faq-item.is-open { box-shadow: var(--shadow-rest); border-color: var(--teal-100); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 20px 24px;
  font-weight: 700; font-size: 18px; color: var(--ink);
  text-align: start;
}
.faq-chev {
  flex: none;
  color: var(--teal-700); font-size: 26px; font-weight: 400; line-height: 1;
  transition: transform var(--t-default);
}
.faq-item.is-open .faq-chev { transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-default);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  color: var(--ink-muted);
  padding: 0 24px;
}
.faq-item.is-open .faq-a > p { padding-bottom: 22px; }

/* ──────────────────────────── Contact (navy form + quick) ──────────────────────────── */
.contact-sec { background: var(--surface); padding-bottom: var(--s-10); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8); align-items: start;
}
.form-card {
  background: linear-gradient(180deg, var(--ink) 0%, #0d2748 100%);
  border-radius: 22px;
  padding: 44px 46px 40px;
  border-bottom: 7px solid var(--teal-700);
  box-shadow: 0 24px 50px rgba(10,27,51,0.25);
}
.form-card .cta-head { margin-bottom: var(--s-6); }
.form-card .h2-light { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.form-sub { color: rgba(255,255,255,0.72); font-size: 16px; margin-top: var(--s-3); }

.cta-form {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-5);
}
.cta-field { display: flex; flex-direction: column; gap: 8px; }
.cta-field span { font-size: 15px; font-weight: 600; color: #fff; }
.cta-field input, .cta-field select {
  height: 50px;
  padding: 0 15px;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: #1f2937;
  transition: outline var(--t-micro), box-shadow var(--t-micro);
}
.cta-field input::placeholder { color: #9aa4b2; }
.cta-field select { appearance: none; }
.cta-field select option { color: var(--ink); background: #fff; }
.cta-field input:focus-visible, .cta-field select:focus-visible {
  outline: 3px solid rgba(14,116,144,0.55); outline-offset: 0;
}
.cta-field input.is-error { outline: 2px solid var(--danger); }

.cta-actions {
  grid-column: 1 / -1;
  margin-top: var(--s-2);
}
.cta-actions .btn { width: 100%; }

.cta-success { text-align: center; padding: var(--s-6) 0; color: #fff; }
.cta-success-mark {
  display: grid; place-items: center; margin: 0 auto var(--s-4);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(31,169,113,0.15); color: #4ADE80;
}
.cta-success-mark svg { width: 40px; height: 40px; }
.cta-success h3 { font-size: 26px; font-weight: 800; margin-bottom: var(--s-2); color: #fff; }
.cta-success p { color: rgba(255,255,255,0.75); margin-bottom: var(--s-5); }

.quick { padding-top: var(--s-4); }
.quick-head { text-align: center; margin-bottom: var(--s-7); }
.q-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; margin-bottom: var(--s-6);
}
.q-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid var(--teal-100);
}
.q-icon svg { width: 27px; height: 27px; }
.q-item h4 { font-size: 20px; font-weight: 800; color: var(--ink); }
.q-item a, .q-static { font-size: 16px; color: var(--ink-muted); transition: color var(--t-micro); }
.q-item a:hover { color: var(--teal-700); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}
@media (max-width: 560px) {
  .cta-form { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px 28px; }
}

/* ──────────────────────────── Footer (dark) ──────────────────────────── */
.footer { background: var(--ink); color: #fff; padding: var(--s-8) 0 var(--s-6); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; margin-bottom: var(--s-3); }
.footer-logo:hover { color: #fff; }
.footer-logo .nav-mark { width: 36px; height: 36px; background: var(--teal-700); }
.footer-logo .nav-mark svg { width: 19px; height: 19px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 280px; }
.footer-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-top: var(--s-3); }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: var(--s-3); color: #fff; }
.footer ul { display: grid; gap: var(--s-2); }
.footer ul a, .footer-static { color: rgba(255,255,255,0.7); font-size: 15px; }
.footer ul a:hover { color: #67E8F9; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.footer-bottom small { font-size: 13px; }
.footer-bottom small[dir="ltr"] { font-family: var(--font-mono); letter-spacing: 0.14em; font-size: 11px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ──────────────────────────── Floating quick-contact buttons ──────────────────────────── */
.floaters {
  position: fixed; left: 0; top: 60%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px; z-index: 80;
}
.f-btn {
  width: 48px; height: 48px;
  border-radius: 0 10px 10px 0;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(10,27,51,0.28);
  transition: transform var(--t-micro);
}
.f-btn:hover { transform: translateX(4px); }
.f-btn svg { width: 24px; height: 24px; fill: #fff; }
.f-phone { background: var(--teal-700); }
.f-wa { background: #25d366; }
.f-mail { background: var(--navy-card-2); }
@media (max-width: 768px) { .f-btn { width: 44px; height: 44px; } }

/* ──────────────────────────── Accessibility widget ──────────────────────────── */
.a11y-toggle {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 200;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-float);
  transition: transform var(--t-micro);
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-toggle svg { width: 24px; height: 24px; }
.a11y-panel {
  position: fixed; bottom: 80px; inset-inline-start: 20px; z-index: 200;
  width: 260px; padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.a11y-panel h2 { font-size: 16px; margin: 0 0 var(--s-4); }
.a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); font-size: 14px; }
.a11y-btns { display: flex; gap: 6px; }
.a11y-btns button {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  font-weight: 700;
}
.a11y-btns button:hover { background: var(--mist); }
.a11y-tog {
  display: block; width: 100%; text-align: start;
  padding: 9px 12px; margin-bottom: 6px;
  border: 1px solid var(--hairline);
  border-radius: 8px; font-size: 14px;
}
.a11y-tog:hover { background: var(--mist); }
.a11y-tog[aria-pressed="true"] { background: var(--teal-50); border-color: var(--teal-700); color: var(--teal-800); font-weight: 700; }
.a11y-reset { width: 100%; padding: 9px; margin-top: 4px; font-size: 13px; color: var(--danger); border-radius: 8px; }
.a11y-reset:hover { background: rgba(229,72,77,0.08); }
.a11y-foot { font-size: 11.5px; color: var(--ink-soft); margin: var(--s-3) 0 0; line-height: 1.5; }

/* a11y body classes */
body.a11y-contrast {
  --paper: #ffffff;
  --surface: #ffffff;
  --mist: #ffffff;
  --ink: #000000;
  --ink-muted: #000000;
  --ink-soft: #222222;
  --teal-700: #005a73;
  --teal-800: #00485c;
  --teal-50: #ffffff;
  --teal-100: #000000;
  --navy-card-2: #000000;
  --hairline: rgba(0,0,0,0.4);
  --hairline-strong: rgba(0,0,0,0.6);
}
/* Force the dark sections to solid white/black in high-contrast mode */
body.a11y-contrast .section-dark,
body.a11y-contrast .form-card,
body.a11y-contrast .footer { background: #ffffff !important; color: #000000 !important; }
body.a11y-contrast .section-dark .h2-light,
body.a11y-contrast .section-dark .lead-light,
body.a11y-contrast .form-card .h2-light,
body.a11y-contrast .form-card .cta-em,
body.a11y-contrast .form-card .form-sub,
body.a11y-contrast .form-card .cta-field span,
body.a11y-contrast .cta-em,
body.a11y-contrast .cta-success h3,
body.a11y-contrast .cta-success p,
body.a11y-contrast .footer-logo,
body.a11y-contrast .footer h4,
body.a11y-contrast .footer ul a,
body.a11y-contrast .footer-static,
body.a11y-contrast .footer-mono,
body.a11y-contrast .footer-bottom,
body.a11y-contrast .footer-bottom small { color: #000000 !important; }
body.a11y-contrast .tl-num { background: #000000 !important; color: #ffffff !important; border-color: #000000 !important; }
body.a11y-contrast .tl-card { box-shadow: 0 0 0 1px #000000 !important; }
body.a11y-contrast .form-card { border-bottom-color: #000000 !important; }
body.a11y-contrast .footer-logo .nav-mark,
body.a11y-contrast .nav-mark { background: #000000 !important; }

body.a11y-links a:not(.btn):not(.nav-logo):not(.footer-logo):not(.f-btn) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700;
}
body.a11y-motion *, body.a11y-motion *::before, body.a11y-motion *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
body.a11y-readable { letter-spacing: 0.02em; word-spacing: 0.06em; }

/* ──────────────────────────── Scroll reveals ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 200ms ease; }
}

/* No-JS: content must be visible */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}
