:root {
  --ap-navy: #0A1A33;
  --ap-navy-2: #0B2D5C;
  --ap-blue: #1478FF;
  --ap-blue-2: #0055D9;
  --ap-cyan: #38BDF8;
  --ap-line: rgba(15, 40, 78, .10);
  --ap-bg: #F4F7FB;
  --ap-text: #0F1B2D;
  --ap-muted: #5B6472;
  --ap-radius: 18px;
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ap-text); background: #fff; }
a { color: inherit; text-decoration: none; }
.ap-container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

/* NAV */
.ap-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--ap-line); }
.ap-nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ap-brand { display: flex; align-items: center; color: var(--ap-navy); }
.ap-brand img { height: 44px; width: auto; object-fit: contain; }
.ap-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: #4B5668; }
.ap-nav-links a:hover, .ap-nav-links a.active { color: var(--ap-blue); }
.ap-nav-links a.active { position: relative; }
.ap-nav-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:-22px; height:2px; background: var(--ap-blue); }
.ap-actions { display: flex; align-items: center; gap: 18px; }
.ap-lang { font-size: 13px; font-weight: 700; color: #4B5668; display: inline-flex; align-items: center; gap: 0; }
.ap-lang button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; padding: 0; font-weight: 700; }
.ap-lang button:hover { color: var(--ap-blue); }
.ap-lang button.ap-lang-active { color: var(--ap-blue); }
.ap-lang i { color: #C9D0DA; font-style: normal; margin: 0 4px; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 20px; font-weight: 700; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 14px; transition: .2s ease; }
.ap-btn-primary { color: #fff; background: linear-gradient(135deg, #1478FF, #0055D9); box-shadow: 0 8px 20px rgba(20,120,255,.28); }
.ap-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(20,120,255,.36); }
.ap-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ap-btn-outline { color: var(--ap-navy); background: #fff; border-color: #DCE3EE; }
.ap-btn-outline:hover { border-color: var(--ap-blue); color: var(--ap-blue); }

/* HERO */
.ap-hero { position: relative; overflow: hidden; padding: 60px 0 80px; }
.ap-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ap-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(244,248,255,.94) 0%, rgba(244,248,255,.82) 38%, rgba(255,255,255,.62) 62%, rgba(255,255,255,.45) 100%),
    linear-gradient(rgba(20,120,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,120,255,.05) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.ap-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.ap-hero-text h1 { font-family: Sora, Inter, sans-serif; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.03em; color: var(--ap-navy); margin: 0 0 22px; font-weight: 800; }
.ap-blue-text { color: var(--ap-blue); }
.ap-hero-text p { color: #4F5A6D; line-height: 1.65; font-size: 16px; max-width: 540px; margin: 0; }
.ap-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.ap-lang-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 18px; background: #fff; border: 1px solid var(--ap-line); border-radius: 14px; box-shadow: 0 6px 18px rgba(8,26,51,.06); }
.ap-lang-pill small { display:block; font-size: 11px; color: #8A95A6; font-weight: 600; }
.ap-lang-pill strong { font-size: 13px; color: var(--ap-navy); }
.ap-globe { color: var(--ap-blue); flex-shrink: 0; }
.ap-globe svg { width: 20px; height: 20px; display: block; }
.ap-flag { font-size: 14px; }

/* HERO VISUAL */
.ap-hero-visual { position: relative; min-height: 520px; }
.ap-hero-img { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 20px 60px rgba(8,26,51,.18); }
.ap-hud { position: absolute; background: rgba(8, 24, 48, .82); backdrop-filter: blur(8px); border: 1px solid rgba(56,189,248,.35); border-radius: 10px; padding: 10px 14px; color: #CFE6FF; font-size: 11px; font-weight: 600; letter-spacing: .05em; min-width: 140px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ap-hud-label { font-size: 9px; color: #6EA8E4; letter-spacing: .15em; margin-bottom: 4px; }
.ap-hud-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; }
.ap-hud-row b { color: #fff; font-weight: 800; }
.ap-hud-pair { position: static; }
.ap-hud-1 { top: 12%; left: 4%; }
.ap-hud-2 { top: 44%; left: 2%; }
.ap-hud-3 { top: 8%; right: 2%; min-width: 180px; padding: 14px; }

@media (min-width: 1021px) {
  .ap-hud-pair {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .ap-hud-pair .ap-hud { pointer-events: auto; }
}
.ap-bar { display:flex; align-items:center; gap:8px; font-size: 10px; margin: 4px 0; color:#8FB6E4; }
.ap-bar span { width: 56px; }
.ap-bar i { flex:1; height: 4px; border-radius: 4px; background: rgba(110,168,228,.2); }
.ap-bar .b1 { background: linear-gradient(90deg, #38BDF8 30%, rgba(110,168,228,.2) 30%); }
.ap-bar .b2 { background: linear-gradient(90deg, #38BDF8 60%, rgba(110,168,228,.2) 60%); }
.ap-bar .b3 { background: linear-gradient(90deg, #ef4444 95%, rgba(110,168,228,.2) 95%); }
.ap-bar-active { color: #ff6b6b; }
.ap-hud-divider { height: 1px; background: rgba(110,168,228,.2); margin: 8px 0; }
.ap-hud-status { display: inline-block; padding: 3px 10px; border-radius: 4px; background: rgba(34,197,94,.18); color: #4ade80; font-weight: 800; font-size: 11px; margin-top: 2px; }
.ap-green { color: #4ade80; display: inline-flex; align-items: center; }
.ap-green svg { width: 14px; height: 14px; }

/* SECTIONS */
.ap-pad { padding: 80px 0; }
main h1, main h2, main h3, main h4 { font-family: Sora, Inter, sans-serif; color: var(--ap-navy); margin: 0; letter-spacing: -.02em; }
main p { color: var(--ap-muted); line-height: 1.65; margin: 0; }
.ap-section-title { text-align: center; font-size: clamp(26px, 3vw, 34px); position: relative; padding-bottom: 14px; margin: 0 auto 50px; display:block; }
.ap-underline { display: block; width: 50px; height: 3px; background: var(--ap-blue); margin: 14px auto 0; border-radius: 2px; }

/* GRIDS */
.ap-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ap-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* CARDS */
.ap-card { background: #fff; border: 1px solid var(--ap-line); border-radius: 14px; padding: 28px; box-shadow: 0 4px 14px rgba(8,26,51,.04); transition: .2s; display: flex; flex-direction: column; }
.ap-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(8,26,51,.10); border-color: rgba(20,120,255,.3); }
.ap-card h3, .ap-card h4 { font-size: 18px; color: var(--ap-navy); margin-bottom: 12px; line-height: 1.25; }
.ap-card p { font-size: 14px; flex: 1; }
.ap-svc-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid var(--ap-blue); color: var(--ap-blue); font-size: 22px; margin-bottom: 18px; background: rgba(20,120,255,.05); }
.ap-svc-icon.sm { width: 42px; height: 42px; font-size: 18px; margin-bottom: 14px; }
.ap-learn { display: inline-block; margin-top: 16px; color: var(--ap-blue); font-weight: 700; font-size: 13px; }
.ap-learn:hover { text-decoration: underline; }

/* WHY */
.ap-why { background: #fff; border: 1px solid var(--ap-line); border-radius: 14px; padding: 28px 22px; text-align: center; }
.ap-why-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,120,255,.08); color: var(--ap-blue); font-size: 26px; margin: 0 auto 18px; }
.ap-why h4 { font-size: 16px; margin-bottom: 10px; }
.ap-why p { font-size: 13px; }

.ap-training-card { text-align: center; }
.ap-training-card .ap-svc-icon.sm { margin: 0 auto 18px; }

/* PANOPTES */
.ap-dark { background: linear-gradient(135deg, #061226 0%, #0A2050 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.ap-dark::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 50%, rgba(56,189,248,.15), transparent 50%); }
.ap-dark h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.ap-dark p { color: rgba(255,255,255,.7); margin-bottom: 26px; max-width: 520px; }
.ap-panoptes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.ap-panoptes-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.panoptes-logo-mark {
  display: block;
  height: 56px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: screen;
}
.panoptes-logo-text {
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}
.panoptes-logo-ai {
  color: #f97316;
}
.ap-eye { color: var(--ap-cyan); display: inline-flex; align-items: center; }
.ap-eye svg { width: 26px; height: 26px; }
.ap-panoptes-frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(56,189,248,.3); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.ap-panoptes-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: rgba(0,10,30,.9); color: var(--ap-cyan); font-size: 12px; font-weight: 700; }
.ap-panoptes-frame img { display: block; width: 100%; height: auto; }
.ap-dot-green { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.ap-panoptes-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.ap-panoptes-features > div { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; display:flex; align-items:center; gap:10px; justify-content:center; }
.ap-panoptes-features svg { width: 18px; height: 18px; color: var(--ap-cyan); flex-shrink: 0; }
.ap-svc-icon svg { width: 22px; height: 22px; display: block; }
.ap-service-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}
.ap-service-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ap-svc-icon--img {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  display: block;
  margin-bottom: 0;
  flex-shrink: 0;
}
.ap-svc-icon--img img { width: 120px; height: 120px; display: block; object-fit: contain; }
.ap-why-icon--img {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  margin: 0 auto 18px;
}
.ap-why-icon--img img { width: 120px; height: 120px; display: block; object-fit: contain; margin: 0 auto; }
.ap-svc-icon.sm svg { width: 18px; height: 18px; }
.ap-why-icon svg { width: 26px; height: 26px; display: block; }
.ap-btn svg { width: 16px; height: 16px; display: inline-block; flex-shrink: 0; }
.ap-cta-icon svg { width: 24px; height: 24px; display: block; }
.ap-contact-panel-title svg { width: 22px; height: 22px; }
.ap-contact-card-icon svg { width: 18px; height: 18px; }
.ap-contact-form-icon svg { width: 22px; height: 22px; }
.ap-socials svg { width: 16px; height: 16px; display: block; }
/* LOCATIONS */
.ap-loc { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--ap-line); box-shadow: 0 6px 18px rgba(8,26,51,.06); display: grid; grid-template-columns: 220px 1fr; }
.ap-loc img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.ap-loc-body { padding: 22px; }
.ap-loc-body h3 { font-size: 17px; margin-bottom: 10px; display:flex; align-items:center; gap:8px; }
.ap-loc-body p { font-size: 14px; margin-bottom: 12px; }

/* CTA BAR */
.ap-cta-section { padding: 30px 0 60px; }
.ap-cta-bar { display: flex; align-items: center; gap: 24px; background: #F4F7FB; border: 1px solid var(--ap-line); border-radius: 16px; padding: 24px 32px; }
.ap-cta-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ap-blue); color: #fff; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.ap-cta-text { flex: 1; }
.ap-cta-text h3 { font-size: 18px; color: var(--ap-navy); margin: 0 0 4px; }
.ap-cta-text p { font-size: 13px; margin: 0; }

/* CONTACT */
.ap-contact-section {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F4F8FF 0%, #EEF4FC 100%);
}
.ap-contact-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,120,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(20,120,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,.5), transparent 75%);
}
.ap-contact-lead {
  text-align: center; max-width: 620px; margin: -34px auto 40px; color: var(--ap-muted);
  font-size: 16px; line-height: 1.65; position: relative;
}
.ap-contact-shell {
  position: relative; display: grid; grid-template-columns: .95fr 1.05fr;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--ap-line);
  box-shadow: 0 24px 60px rgba(8,26,51,.12);
}
.ap-contact-panel {
  position: relative; padding: 36px 32px;
  background: linear-gradient(160deg, #061226 0%, #0A2050 55%, #0B2D5C 100%);
  color: #fff; display: flex; flex-direction: column; gap: 24px;
}
.ap-contact-panel-glow {
  position: absolute; top: -40%; right: -30%; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 65%);
  pointer-events: none;
}
.ap-contact-panel-head { position: relative; display: flex; flex-direction: column; gap: 12px; }
.ap-contact-panel-title { display: flex; align-items: center; gap: 10px; }
.ap-contact-panel-title h3 { font-size: 22px; color: #fff; margin: 0; }
.ap-contact-panel-title svg { color: var(--ap-cyan); flex-shrink: 0; }
.ap-contact-badge {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.28); color: #CFE6FF;
}
.ap-contact-cards { position: relative; display: grid; gap: 12px; }
.ap-contact-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  border-radius: 12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); transition: .2s ease;
}
.ap-contact-card-link:hover {
  background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.35);
  transform: translateX(3px);
}
.ap-contact-card-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(20,120,255,.15); color: var(--ap-cyan);
  border: 1px solid rgba(56,189,248,.25);
}
.ap-contact-card small {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(207,230,255,.65); margin-bottom: 4px;
}
.ap-contact-card strong {
  display: block; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.45;
}
.ap-contact-legal {
  position: relative; margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.ap-contact-legal > div {
  padding: 10px 12px; border-radius: 8px; background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.06);
}
.ap-contact-legal span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(207,230,255,.5); margin-bottom: 3px; }
.ap-contact-legal b { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); font-family: ui-monospace, monospace; }
.ap-contact-form-wrap {
  padding: 36px 38px; background: #fff;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 100%;
}
.ap-contact-form-head { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ap-contact-form-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.ap-contact-form-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--ap-blue);
  background: rgba(20,120,255,.08); border: 1px solid rgba(20,120,255,.18);
}
.ap-contact-form-head h3 { font-size: 22px; margin: 0 0 4px; color: var(--ap-navy); }
.ap-contact-form-head p { font-size: 13px; margin: 0; color: var(--ap-muted); }
.ap-form { display:flex; flex-direction:column; gap:14px; }
.ap-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ap-form label { display:flex; flex-direction:column; gap:6px; font-size:12px; font-weight:700; color:var(--ap-navy); }
.ap-form input, .ap-form textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #DCE3EE; background: #F8FAFD; color: var(--ap-text); resize: vertical;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ap-form input:hover, .ap-form textarea:hover { background: #fff; border-color: #C5D0E0; }
.ap-form input:focus, .ap-form textarea:focus { outline:none; border-color: var(--ap-blue); background: #fff; box-shadow: 0 0 0 3px rgba(20,120,255,.12); }
.ap-form-submit { width: 100%; margin-top: 4px; }
.ap-form-success.hidden { display: none; }
.ap-form-success {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 4px;
  padding: 16px 42px 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,197,94,.12) 0%, rgba(16,185,129,.06) 100%);
  border: 1px solid rgba(34,197,94,.28);
  box-shadow: 0 8px 24px rgba(34,197,94,.12);
  animation: ap-success-in .45s ease both;
}
.ap-form-success-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,.35);
}
.ap-form-success-icon svg { width: 22px; height: 22px; display: block; }
.ap-form-success-content { flex: 1; min-width: 0; }
.ap-form-success-title {
  margin: 0 0 6px;
  font-family: Sora, Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #14532d;
  letter-spacing: -.01em;
}
.ap-form-success-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #166534;
}
.ap-form-success-divider {
  height: 1px;
  margin: 10px 0;
  background: linear-gradient(90deg, rgba(34,197,94,.35), rgba(34,197,94,.08));
  border: 0;
}
.ap-form-success-fr { color: #15803d; font-style: italic; }
.ap-form-success-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #166534;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, background .2s;
}
.ap-form-success-close:hover {
  opacity: 1;
  background: rgba(34,197,94,.14);
}
.ap-form-success-close svg { width: 16px; height: 16px; display: block; }
@keyframes ap-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.ap-footer { background: #061226; color: #fff; padding: 60px 0 24px; }
.ap-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ap-footer h5 { font-size: 14px; color: #fff; margin: 0 0 16px; font-family: Sora; font-weight: 700; }
.ap-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.ap-footer ul a, .ap-footer ul li { color: rgba(255,255,255,.6); font-size: 13px; }
.ap-footer ul a:hover { color: var(--ap-cyan); }
.ap-footer-tag { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .15em; margin: 12px 0 18px; }
.ap-socials { display: flex; gap: 10px; }
.ap-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.ap-socials a:hover { background: var(--ap-blue); }
.ap-footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .ap-nav-links { display: none; }
  .ap-hero-inner, .ap-panoptes-grid, .ap-contact-shell { grid-template-columns: 1fr; }
  .ap-hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .ap-hero-img {
    width: 100%;
    max-width: 100%;
  }
  .ap-hud {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ap-hud-1, .ap-hud-2, .ap-hud-3 {
    top: auto;
    left: auto;
    right: auto;
  }
  .ap-hud-pair {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .ap-hud-3 {
    min-width: 0;
    padding: 14px;
  }
  .ap-hud-row span {
    min-width: 0;
    word-break: break-word;
  }
  .ap-contact-form-wrap { min-height: auto; }
  .ap-contact-form-body { flex: none; justify-content: flex-start; }
  .ap-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ap-footer-grid { grid-template-columns: 1fr 1fr; }
  .ap-loc { grid-template-columns: 1fr; }
  .ap-loc img { min-height: 180px; }
}
@media (max-width: 640px) {
  .ap-grid-3, .ap-grid-4, .ap-grid-2, .ap-form-row, .ap-panoptes-features, .ap-contact-legal { grid-template-columns: 1fr; }
  .ap-contact-form-wrap, .ap-contact-panel { padding: 28px 22px; }
  .ap-contact-lead { margin-top: -24px; font-size: 15px; }
  .ap-footer-grid { grid-template-columns: 1fr; }
  .ap-pad, .ap-dark { padding: 56px 0; }
  .ap-cta-bar { flex-direction: column; text-align: center; }
  .ap-actions .ap-lang { display: none; }
}
