/* ============================================
   PCVG · Perceiving — Stylesheet
   ============================================ */

:root {
  color-scheme: dark;
  --bg: #090d12;
  --bg-soft: #0c1219;
  --card: #10171f;
  --card-border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --green: #2ee89b;
  --green-dim: #1f9e6c;
  --green-deep: #0f4d38;
  --text: #f2f5f6;
  --text-muted: #9aa7ae;
  --text-faint: #66727a;
  --radius: 14px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection { background: rgba(46, 232, 155, 0.85); color: #06110c; }

[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute;
  top: -52px;
  left: 16px;
  z-index: 200;
  background: var(--green);
  color: #06110c;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dim) 100%);
  color: #06110c;
}
.btn-primary:hover {
  box-shadow: 0 8px 28px -6px rgba(46, 232, 155, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(46, 232, 155, 0.4);
}
.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(46, 232, 155, 0.06);
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo .mark {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo .mark svg.check { width: 19px; height: 35px; stroke-width: 3.6; margin: 0 -2px; }
.logo .sub {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--text-faint);
  margin-top: 4px;
  padding-left: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  border-color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--text);
}

/* ---------- Section shared ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--green);
}

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 440px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.play-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.play-link:hover .play-circle { border-color: var(--green); background: rgba(46,232,155,0.08); }
.play-circle svg { width: 14px; height: 14px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.hero-art svg .bld {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bld-rise 0.9s cubic-bezier(.16,1,.3,1) both;
}
.hero-art svg .bld:nth-of-type(1) { animation-delay: 0.05s; }
.hero-art svg .bld:nth-of-type(2) { animation-delay: 0.15s; }
.hero-art svg .bld:nth-of-type(3) { animation-delay: 0.25s; }
.hero-art svg .bld:nth-of-type(4) { animation-delay: 0.35s; }
.hero-art svg .windows { opacity: 0; animation: windows-fade 0.6s ease forwards 0.85s; }
.hero-art svg .arrow-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: arrow-draw 1.1s cubic-bezier(.65,0,.35,1) forwards;
  animation-delay: 0.5s;
}
.hero-art svg .arrow-pulse {
  opacity: 0;
  stroke-dasharray: 60 760;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(186,255,224,0.6));
  animation: pulse-in 0.3s ease forwards 1.6s, pulse-flow 3.2s linear infinite 1.6s;
}
.hero-art svg .arrow-pulse-2 { display: none; }
.hero-art svg .arrow-tip {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: tip-pop 0.4s cubic-bezier(.34,1.56,.64,1) forwards 1.55s;
}

@keyframes bld-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes windows-fade { to { opacity: 0.15; } }
@keyframes arrow-draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-in { to { opacity: 0.7; } }
@keyframes pulse-flow { to { stroke-dashoffset: -820; } }
@keyframes tip-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-art svg .bld, .hero-art svg .windows, .hero-art svg .arrow-line, .hero-art svg .arrow-pulse, .hero-art svg .arrow-tip {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
  .hero-art svg .arrow-pulse { opacity: 0; }
  .hero-art svg .windows { opacity: 0.15; }
}

/* ---------- Logos strip ---------- */
.logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.logos-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.logos-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex: none;
}
.logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #cfd6da;
  opacity: 0.85;
}
.logo-item span { display: block; font-size: 9px; letter-spacing: 0.3em; font-weight: 500; color: var(--text-faint); }

/* ---------- Solutions / cards ---------- */
.solutions-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.solutions-top h2 {
  font-size: 34px;
  text-transform: uppercase;
  line-height: 1.15;
}
.solutions-top h2 .accent { color: var(--green); }
.solutions-top p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 18px;
  max-width: 420px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cards-row.cards-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(46,232,155,0.35); transform: translateY(-4px); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(46, 232, 155, 0.08);
  border: 1px solid rgba(46, 232, 155, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--green); }
.card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 60px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.card-link svg { width: 13px; height: 13px; transition: transform 0.18s ease; }
.card-link:hover svg { transform: translateX(3px); }
.card-link[aria-expanded="true"] svg { transform: rotate(90deg); }
.card-link[aria-expanded="true"]:hover svg { transform: rotate(90deg) translateX(3px); }

.card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.card-detail-inner { padding-top: 16px; }
.card-detail-inner p { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
.card-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 9px 16px;
}
.card-detail-cta svg { width: 13px; height: 13px; }
.card-detail-cta:hover { border-color: rgba(46,232,155,0.4); color: var(--green); }

/* ---------- Stats bar ---------- */
.stats-bar {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat svg { width: 34px; height: 34px; stroke: var(--green); flex: none; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.stat .label { font-size: 12.5px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(46,232,155,0.10), rgba(46,232,155,0.02) 60%);
  border: 1px solid rgba(46,232,155,0.18);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band-left { display: flex; align-items: center; gap: 20px; }
.cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(46,232,155,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cta-icon svg { width: 24px; height: 24px; stroke: var(--green); }
.cta-band h3 { font-size: 19px; margin-bottom: 6px; }
.cta-band p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---------- Services page hero ---------- */
.services-hero .hero-grid { grid-template-columns: 1.1fr 1fr; }
.services-hero h1 { font-size: 44px; }
.compass-wrap { position: relative; display: flex; justify-content: center; }
.compass-wrap svg { width: 100%; max-width: 460px; height: auto; }
.compass-points {
  position: absolute;
  inset: 0;
}
.point {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 190px;
}
.point-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(46,232,155,0.35);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.point-icon svg { width: 16px; height: 16px; stroke: var(--green); }
.point h4 { font-size: 13px; margin-bottom: 4px; }
.point p { font-size: 12px; color: var(--text-muted); margin: 0; }
.point.pt-1 { top: 6%; left: 2%; }
.point.pt-2 { top: 0%; right: 0%; }
.point.pt-3 { top: 55%; right: -4%; }
.compass-wrap svg .needle-pulse {
  stroke-dasharray: 16 134;
  stroke-dashoffset: 0;
  opacity: 0.8;
  filter: drop-shadow(0 0 3px rgba(186,255,224,0.6));
  animation: needle-flow 2.6s linear infinite;
}
.compass-wrap svg .radar-ping {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: radar-ping 4s ease-out infinite;
}
.compass-wrap svg .radar-ping.ping-2 { display: none; }

@keyframes needle-flow { to { stroke-dashoffset: -150; } }
@keyframes radar-ping {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(26); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .compass-wrap svg .needle-pulse, .compass-wrap svg .radar-ping {
    animation: none;
    opacity: 0;
  }
}

.services-section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.services-section-head .eyebrow { justify-content: center; }
.services-section-head .eyebrow::before { display: none; }
.services-section-head h2 { font-size: 32px; text-transform: uppercase; }

/* ---------- Contact page ---------- */
.contact-hero .hero-grid { grid-template-columns: 1.15fr 1fr; }
.contact-hero h1 { font-size: 46px; }
.map-art { position: relative; }
.map-art svg { width: 100%; height: auto; }

.map-art svg .bubble-pop {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: bubble-pop 0.6s cubic-bezier(.34,1.56,.64,1) both;
  animation-delay: 0.15s;
}
.map-art svg .dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-bounce 1.2s ease-in-out infinite;
  animation-delay: 0.9s;
}
.map-art svg .dot-2 { animation-delay: 1.05s; }
.map-art svg .dot-3 { animation-delay: 1.2s; }
.map-art svg .badge-pop {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: badge-pop 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-delay: 0.65s;
}
.map-art svg .badge-ping {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: badge-ping 3.6s ease-out infinite;
  animation-delay: 0.75s;
}

@keyframes bubble-pop {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes dot-bounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-6px); }
}
@keyframes badge-pop {
  0% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes badge-ping {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-art svg .bubble-pop, .map-art svg .dot, .map-art svg .badge-pop, .map-art svg .badge-ping {
    animation: none;
  }
  .map-art svg .bubble-pop { opacity: 1; transform: none; }
  .map-art svg .dot { opacity: 1; transform: none; }
  .map-art svg .badge-pop { opacity: 1; transform: none; }
  .map-art svg .badge-ping { opacity: 0; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.form-card, .channels-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-card h3, .channels-card h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-card > p, .channels-card > p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.field::placeholder { color: var(--text-faint); }
.field:focus { border-color: var(--green); outline: none; }
textarea.field { resize: vertical; min-height: 110px; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
select.field:invalid { color: var(--text-faint); }
select.field option { color: var(--text); }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.form-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-faint);
  max-width: 220px;
}
.form-secure svg { width: 20px; height: 20px; stroke: var(--text-faint); flex: none; }
.form-status { margin-top: 16px; font-size: 13px; color: var(--green); display: none; }
.form-status.show { display: block; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.channel-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.channel-item:last-child { border-bottom: none; }
.channel-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(46,232,155,0.1);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.channel-icon svg { width: 19px; height: 19px; stroke: var(--green); }
.channel-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.channel-item .main { font-size: 15px; font-weight: 600; margin-bottom: 2px; display: block; }
.channel-item a.main:hover { color: var(--green); }
.channel-item .sub { font-size: 12.5px; color: var(--text-muted); }

.locations-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.location-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
}
.location-card .thumb {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex: none;
  border: 1px solid var(--card-border);
}
.location-card .thumb svg { width: 100%; height: 100%; }
.location-card h4 { font-size: 13px; text-transform: uppercase; margin-bottom: 4px; }
.location-card p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .sub { display: flex; align-items: center; gap: 8px; }
.footer-brand .sub::before,
.footer-brand .sub::after { content: ''; flex: none; width: 14px; height: 1px; background: var(--text-faint); opacity: 0.5; }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 260px; }
.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { border-color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 404 page ---------- */
.error-page { padding: 90px 0; }
.error-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.error-grid h1 { font-size: 46px; }
.error-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 24px; }
.error-links a { font-size: 14px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.error-links a:hover { color: var(--green); }
.error-art svg { width: 100%; height: auto; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: 40px; }
.legal-hero p.lead { margin-top: 14px; max-width: 620px; }
.legal-updated { margin-top: 18px; font-size: 13px; color: var(--text-faint); }
.legal-content { padding: 56px 0 80px; }
.legal-content .wrap { max-width: 820px; }
.legal-content h2 {
  font-size: 22px;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { color: var(--text-muted); margin: 0 0 14px; font-size: 15px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; color: var(--text-muted); font-size: 15px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-content a.inline-link { color: var(--green); text-decoration: underline; }

/* ---------- About / Purpose + Team ---------- */
.about-section { padding: 90px 0; border-top: 1px solid var(--line); }
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-row + .about-row { margin-top: 90px; }
.about-row h2 { font-size: 30px; margin: 12px 0 16px; text-transform: uppercase; }
.about-row h2 .accent { color: var(--green); }
.about-row > div > p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.about-art svg { width: 100%; height: auto; }
.about-art svg .screen-pulse {
  stroke-dasharray: 14 110;
  stroke-dashoffset: 0;
  opacity: 0.85;
  filter: drop-shadow(0 0 3px rgba(186,255,224,0.6));
  animation: screen-pulse-flow 2.4s linear infinite;
}

@keyframes screen-pulse-flow { to { stroke-dashoffset: -124; } }

@media (prefers-reduced-motion: reduce) {
  .about-art svg .screen-pulse { animation: none; opacity: 0; }
}

.about-stats-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 32px 8px;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.about-stat { padding: 0 24px; }
.about-stat:not(:last-child) { border-right: 1px solid var(--line); }
.about-stat svg { width: 26px; height: 26px; stroke: var(--green); margin-bottom: 14px; }
.about-stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
}
.about-stat .label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 4px 0 8px;
}
.about-stat p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #06110d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46,232,155,0.35);
  z-index: 40;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-in 0.4s cubic-bezier(.34,1.56,.64,1) both;
  animation-delay: 0.3s;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(46,232,155,0.45); }

@keyframes wa-in { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
body.has-cookie-banner .whatsapp-float { bottom: 108px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--card);
  border-top: 1px solid var(--card-border);
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-banner-inner a { color: var(--green); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex: none; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: 12px; }

@media (max-width: 620px) {
  .cookie-banner { padding: 16px 20px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
  body.has-cookie-banner .whatsapp-float { bottom: 168px; }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.modal.is-open { visibility: visible; opacity: 1; transition: opacity 0.2s ease, visibility 0s; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 11, 0.75);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close svg { width: 14px; height: 14px; }
.modal-close:hover { border-color: var(--green); color: var(--green); }
.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(46, 232, 155, 0.08);
  border: 1px solid rgba(46, 232, 155, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal-icon svg { width: 24px; height: 24px; }
.modal-card h3 { font-size: 19px; margin-bottom: 10px; }
.modal-card p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 24px; }
.modal-card .btn { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 13, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 32px -12px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    gap: 0;
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s cubic-bezier(.16,1,.3,1), opacity 0.22s ease;
  }
  .nav-links.is-open {
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    padding: 8px 32px 20px;
  }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    font-size: 14px;
  }
  .nav-links a:last-child { border-bottom: none; }
  header.site-header { position: sticky; }
  .nav { position: relative; }
  .nav-toggle { display: flex; }
  .hero-grid, .solutions-top, .contact-grid, .services-hero .hero-grid, .contact-hero .hero-grid, .error-grid, .about-row { grid-template-columns: 1fr; }
  .hero-art, .compass-wrap, .map-art, .error-art { order: -1; }
  .about-row + .about-row { margin-top: 56px; }
  .cards-row, .cards-row.cards-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row, .locations-row { grid-template-columns: 1fr; }
  .compass-points { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .nav-links { padding: 0 20px; }
  .nav-links.is-open { padding: 8px 20px 20px; }
  .hero h1 { font-size: 38px; }
  .cards-row, .cards-row.cards-6 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .logos-row { justify-content: center; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 23px; height: 23px; }
  .about-stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-stat { padding: 0; border-right: none !important; }
  .about-stat:not(:last-child) { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .logo .sub { font-size: 8px; letter-spacing: 0.16em; white-space: nowrap; }
  .nav > .btn-primary { padding: 9px 14px; font-size: 10.5px; gap: 6px; }
  .nav > .btn-primary svg { width: 12px; height: 12px; }
}
