/* ==========================================================================
   Sovereign Architect — Главная страница /zashchita-ot-bpla/
   Реестр Гарант (vnesenie-v-reestr.ru) · Brandbook v2.0
   ========================================================================== */

.ah-page {
  --ah-primary: var(--color-primary, #00347f);
  --ah-primary-mid: var(--color-primary-container, #1e4b9e);
  --ah-primary-hover: var(--color-primary-variant, #104295);
  --ah-accent: #8083ff;
  --ah-accent-hover: #6568e0;
  --ah-accent-soft: #eef0ff;
  --ah-bg: var(--color-background, #faf8ff);
  --ah-surface-low: var(--color-surface-low, #f2f3ff);
  --ah-surface-high: var(--color-surface-high, #e2e7ff);
  --ah-white: #ffffff;
  --ah-ink: var(--color-on-surface, #131b2e);
  --ah-muted: var(--color-on-surface-variant, #434652);
  --ah-outline: rgba(195, 198, 211, 0.45);
  --ah-dark-bg: #0b1220;
  --ah-dark-card: #131b2e;
  --ah-dark-line: #1f2a44;
  --ah-dark-muted: #94a3b8;
  --ah-success: #0f8a5f;
  --ah-success-soft: #e6f6f0;
  --ah-warn: #d97706;
  --ah-warn-soft: #fff8eb;
  --ah-font-head: var(--font-accent, 'Manrope', 'Inter', sans-serif);
  --ah-font-body: var(--font-main, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  --ah-shadow-sm: 0 12px 32px rgba(15, 23, 42, 0.05);
  --ah-shadow-md: 0 24px 56px rgba(15, 23, 42, 0.08);
  --ah-shadow-lg: 0 32px 64px rgba(15, 23, 42, 0.14);

  background: var(--ah-bg);
  color: var(--ah-ink);
  font-family: var(--ah-font-body);
}

.ah-page #op-main {
  background: var(--ah-bg);
  color: var(--ah-ink);
  font-family: var(--ah-font-body);
  overflow-x: clip;
}

.ah-page #op-main :focus-visible {
  outline: 3px solid var(--ah-accent);
  outline-offset: 3px;
}

.ah-page .op-shell {
  width: min(100% - 64px, 1320px);
}

.ah-page section[id],
.ah-page #op-main :is(.ah-obj-card, .ah-work-card) {
  scroll-margin-top: 76px;
}

.ah-page .ah-section {
  padding-block: clamp(56px, 6.2vw, 96px);
}

/* Page controls provide an inline route to the quote form. */
.ah-page #vrFloatingConsultBtn,
.ah-page #vrFloatingTooltip { display: none; }

.ah-page .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
}

.ah-nowrap {
  white-space: nowrap;
}

/* ---------- Tonal Section Bands ---------- */
.ah-band-surface { background: var(--ah-bg); }
.ah-band-white   { background: var(--ah-white); }
.ah-band-tinted  { background: var(--ah-surface-low); }
.ah-band-dark    { background: var(--ah-dark-bg); color: #f1f5ff; }

/* ---------- Architect Lead-In & Section Headings ---------- */
.ah-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 3.8vw, 48px);
}

.ah-section-head > p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 56ch;
}

.ah-section-head-light > p {
  color: #cbd5e1;
}

.ah-lead-in {
  border-left: 4px solid var(--ah-primary);
  padding-left: 20px;
}

.ah-lead-in-light {
  border-left-color: var(--ah-accent);
}

.ah-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: var(--ah-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ah-primary);
}

.ah-eyebrow-light {
  color: #b4b6ff;
}

.ah-page .ah-section h2,
.ah-page .op-heading h2 {
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ah-section-title, var(--ah-ink));
  text-wrap: balance;
  max-width: 24ch;
}

.ah-band-dark,
.ah-partner-band,
.ah-contact { --ah-section-title: #ffffff; }

/* ---------- Buttons ---------- */
.ah-btn-primary,
.ah-btn-accent,
.ah-btn-ghost,
.ah-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--ah-font-body);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ah-btn-primary {
  background: var(--ah-primary-mid);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 52, 127, 0.22);
}
.ah-btn-primary:hover {
  background: var(--ah-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 52, 127, 0.3);
}

.ah-btn-accent {
  background: var(--ah-accent);
  color: #0b1220;
  box-shadow: 0 14px 32px rgba(128, 131, 255, 0.32);
}
.ah-btn-accent:hover {
  background: #979aff;
  color: #0b1220;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(128, 131, 255, 0.42);
}

.ah-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.ah-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.ah-btn-secondary {
  background: var(--ah-surface-high);
  color: var(--ah-primary);
}
.ah-btn-secondary:hover {
  background: #d3dcff;
  color: var(--ah-primary);
  transform: translateY(-1px);
}

.ah-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ah-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 52, 127, 0.25);
  padding-bottom: 2px;
  transition: gap 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ah-inline-link:hover {
  gap: 10px;
  border-bottom-color: var(--ah-primary);
}
.ah-inline-link-light {
  color: #c5c8ff;
  border-bottom-color: rgba(197, 200, 255, 0.35);
}
.ah-inline-link-light:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ---------- 1. SOVEREIGN HERO ---------- */
.ah-hero {
  position: relative;
  background: linear-gradient(135deg, #002359 0%, #00347f 48%, #1a4799 100%);
  color: #ffffff;
  overflow: hidden;
  padding-top: clamp(32px, 4.2vw, 56px);
  padding-bottom: clamp(40px, 5vw, 68px);
}

.ah-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 20%, transparent 80%);
  pointer-events: none;
}

.ah-hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 131, 255, 0.28) 0%, rgba(30, 75, 158, 0.08) 50%, transparent 72%);
  pointer-events: none;
  animation: ah-glow-breathe 9s ease-in-out infinite alternate;
}

.ah-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.ah-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}
.ah-crumb a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}
.ah-crumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ah-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(180, 182, 255, 0.32);
  color: #e6ebff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.ah-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: ah-pulse 2.4s infinite;
  flex-shrink: 0;
}

.ah-hero h1 {
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.ah-h1-accent {
  color: #b4b6ff;
}

.ah-hero-lead {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.64;
  color: rgba(236, 242, 255, 0.9);
}

.ah-trust-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.ah-trust-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  line-height: 1.38;
  color: #e2e8f0;
}

.ah-trust-chip .material-symbols-outlined {
  color: #b4b6ff;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ah-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ah-hero .ah-btn-primary {
  background: var(--ah-accent);
  color: #0b1220;
  box-shadow: 0 16px 36px rgba(128, 131, 255, 0.35);
  font-weight: 800;
}
.ah-hero .ah-btn-primary:hover {
  background: #9699ff;
  color: #0b1220;
}

/* Hero visual card */
.ah-hero-visual {
  min-width: 0;
}

.ah-hero-frame {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 64px rgba(5, 14, 34, 0.48);
  background: #0b1220;
}

.ah-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-hero-frame:hover img {
  transform: scale(1.04);
}

.ah-scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(128, 131, 255, 0.18) 50%, transparent 100%);
  height: 28%;
  pointer-events: none;
  animation: ah-scan 6.5s ease-in-out infinite;
}

.ah-hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(180, 182, 255, 0.26);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.ah-hero-float-top {
  top: 14px;
  left: 14px;
  right: auto;
  max-width: calc(100% - 28px);
}
.ah-hero-float-top .material-symbols-outlined {
  color: #b4b6ff;
  font-size: 24px;
  flex-shrink: 0;
}
.ah-hero-float-top strong {
  display: block;
  font-family: var(--ah-font-head);
  font-size: 0.88rem;
  font-weight: 700;
}
.ah-hero-float-top span {
  display: block;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.ah-hero-float-bottom {
  bottom: 14px;
  left: 14px;
  right: 14px;
  justify-content: space-between;
  background: rgba(0, 52, 127, 0.9);
  border-color: rgba(180, 182, 255, 0.45);
  transition: transform 0.22s ease, background-color 0.22s ease;
}
.ah-hero-float-bottom:hover {
  background: rgba(16, 66, 149, 0.96);
  transform: translateY(-2px);
  color: #ffffff;
}
.ah-hero-float-bottom small {
  display: block;
  font-size: 0.74rem;
  color: #d6dbff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ah-hero-float-bottom strong {
  display: block;
  font-family: var(--ah-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ah-hero-float-bottom .material-symbols-outlined {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--ah-accent);
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero metrics bar */
.ah-hero-metrics {
  position: relative;
  z-index: 2;
  margin-top: clamp(28px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ah-metric {
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.ah-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--ah-accent);
}
.ah-metric strong {
  display: block;
  font-family: var(--ah-font-head);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.ah-metric span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(226, 234, 255, 0.82);
}

/* ---------- 2. STICKY SECTION NAV + READING PROGRESS ---------- */
.ah-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(19, 27, 46, 0.08), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ah-progress-track {
  height: 3px;
  width: 100%;
  background: rgba(0, 52, 127, 0.08);
}

.ah-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ah-primary) 0%, var(--ah-accent) 100%);
  transition: width 0.1s linear;
}

.ah-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.ah-sticky-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  min-width: 0;
  padding: 6px 4px;
}
.ah-sticky-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ah-muted);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.ah-sticky-links a:hover,
.ah-sticky-links a.is-active {
  background: var(--ah-surface-low);
  color: var(--ah-primary);
}
.ah-sticky-links a.is-active {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ah-primary);
}

.ah-sticky-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--ah-primary);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.ah-sticky-cta:hover {
  background: var(--ah-primary-mid);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- 3. NORMATIVE BENTO ---------- */
.ah-norm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ah-bento-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 12px;
  background: var(--ah-surface-low);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.25), var(--ah-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.ah-bento-card:hover {
  transform: translateY(-4px);
  background: var(--ah-white);
  box-shadow: 0 0 0 1px rgba(0, 52, 127, 0.14), var(--ah-shadow-md);
}

.ah-bento-warning {
  background: var(--ah-white);
  border-left: 4px solid var(--ah-warn);
}
.ah-bento-warning .ah-bento-top .material-symbols-outlined {
  color: var(--ah-warn);
}

.ah-bento-accent {
  --ah-bento-text: #e2e7ff;
  background: linear-gradient(145deg, var(--ah-primary) 0%, var(--ah-primary-mid) 100%);
  color: #ffffff;
  box-shadow: 0 24px 56px rgba(0, 52, 127, 0.22);
}
.ah-bento-accent:hover {
  background: linear-gradient(145deg, #002b6b 0%, var(--ah-primary-mid) 100%);
}
.ah-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.ah-bento-top .material-symbols-outlined {
  font-size: 30px;
  color: var(--ah-primary);
}
.ah-bento-accent .ah-bento-top .material-symbols-outlined {
  color: #b4b6ff;
}

.ah-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 52, 127, 0.08);
  color: var(--ah-primary);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ah-bento-warning .ah-tag {
  background: var(--ah-warn-soft);
  color: #b45309;
}
.ah-tag-light {
  background: rgba(255, 255, 255, 0.14);
  color: #e6e8ff;
}

.ah-bento-card h3 {
  margin: 0 0 12px;
  font-family: var(--ah-font-head);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.ah-bento-card p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ah-bento-text, var(--ah-muted));
}
.ah-bento-card .ah-inline-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- 4. OBJECT TYPES 3x3 GRID ---------- */
.ah-objects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ah-obj-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ah-bg);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.35), var(--ah-shadow-sm);
  text-decoration: none;
  color: var(--ah-ink);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background-color 0.28s ease;
}
.ah-obj-card:hover {
  transform: translateY(-5px);
  background: var(--ah-white);
  box-shadow: 0 0 0 1px rgba(0, 52, 127, 0.24), var(--ah-shadow-md);
}
.ah-obj-card:target {
  box-shadow: 0 0 0 3px var(--ah-accent), var(--ah-shadow-md);
}

.ah-obj-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}
.ah-obj-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-obj-card:hover .ah-obj-media img {
  transform: scale(1.06);
}


.ah-obj-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.ah-obj-body h3 {
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--ah-ink);
  transition: color 0.2s ease;
}
.ah-obj-card:hover .ah-obj-body h3 {
  color: var(--ah-primary);
}
.ah-obj-body p {
  margin: 8px 0 18px;
  font-size: 0.9rem;
  line-height: 1.56;
  color: var(--ah-muted);
}

.ah-obj-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(195, 198, 211, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}


.ah-obj-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ah-primary);
}
.ah-obj-go .material-symbols-outlined {
  font-size: 17px;
  transition: transform 0.2s ease;
}
.ah-obj-card:hover .ah-obj-go .material-symbols-outlined,
.ah-work-card:hover .ah-obj-go .material-symbols-outlined {
  transform: translate(2px, -2px);
}

/* ---------- 5. INTERACTIVE CALCULATOR ---------- */
.ah-calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ah-white);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.35), var(--ah-shadow-lg);
}

.ah-calc-controls {
  padding: clamp(24px, 3.2vw, 38px);
}

.ah-calc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.ah-calc-header h3 {
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ah-ink);
}
.ah-calc-ver {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ah-primary);
  background: var(--ah-surface-low);
  padding: 5px 10px;
  border-radius: 9999px;
}

.ah-field-group {
  margin-bottom: 18px;
}
.ah-field-group label,
.ah-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ah-ink);
}

.ah-calc-controls select,
.ah-calc-controls input[type="number"] {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c3c6d3;
  border-radius: 6px;
  background: var(--ah-bg);
  color: var(--ah-ink);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.ah-calc-controls select:focus,
.ah-calc-controls input[type="number"]:focus {
  border-color: var(--ah-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 52, 127, 0.12);
  outline: none;
}

.ah-price-method { min-width: 0; border: 0; padding: 0; margin-inline: 0; }

.ah-level-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ah-level-pills button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5e3;
  background: var(--ah-bg);
  color: var(--ah-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ah-level-pills button strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}
.ah-level-pills button span {
  font-size: 0.73rem;
  color: var(--ah-muted);
}
.ah-level-pills button:hover {
  border-color: var(--ah-primary);
  background: var(--ah-surface-low);
}
.ah-level-pills button[aria-pressed="true"] {
  background: var(--ah-primary);
  border-color: var(--ah-primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 52, 127, 0.22);
}
.ah-level-pills button[aria-pressed="true"] span {
  color: #d4daff;
}

.ah-field-row:has([data-region-field][hidden]) { grid-template-columns: 1fr; }

.ah-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ah-slider-wrap {
  margin-top: 6px;
}
.ah-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--ah-primary);
  cursor: pointer;
  margin-bottom: 10px;
}
.ah-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.ah-samples > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ah-muted);
}
.ah-samples button {
  padding: 6px 11px;
  border-radius: 9999px;
  border: 1px solid #c3c6d3;
  background: #ffffff;
  color: var(--ah-ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ah-samples button:hover,
.ah-samples button.is-active {
  background: var(--ah-primary);
  border-color: var(--ah-primary);
  color: #ffffff;
}
.ah-slider-wrap small {
  display: block;
  font-size: 0.82rem;
  color: var(--ah-muted);
}
.ah-slider-wrap small a {
  color: var(--ah-primary);
  font-weight: 600;
}

/* Calc output dark column */
.ah-calc-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3.2vw, 38px);
  background: linear-gradient(155deg, #002763 0%, #00347f 55%, #1e4b9e 100%);
  color: #ffffff;
}
.ah-calc-result .ah-btn-accent {
  font-weight: 800;
}

.ah-res-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b4b6ff;
}

.ah-calc-result output {
  display: block;
  margin-top: 8px;
  font-family: var(--ah-font-head);
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

#ah-formula {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(230, 238, 255, 0.88);
}

.ah-calc-source,
.ah-calc-result .ah-res-footnote {
  font-size: .87rem;
  color: #e2e7ff;
  line-height: 1.5;
}
.ah-calc-source { margin: 12px 0 20px; }
.ah-calc-source a { color: #fff; text-underline-offset: .2em; }
.ah-calc-result .ah-btn-accent { margin-top: 8px; align-self: flex-start; }
.ah-calc-result .ah-res-footnote { margin-top: 14px; }

/* ---------- 6. Public prices ---------- */
.ah-two-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}
.ah-price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.8vw, 38px);
  border: 1px solid var(--ah-outline);
  border-top: 4px solid var(--ah-primary);
  border-radius: 12px;
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-sm);
}
.ah-price-card h3,
.ah-callout-info h3,
.ah-choice-card h3 {
  margin: 0 0 8px;
  font: 800 clamp(1.2rem, 1.8vw, 1.5rem)/1.2 var(--ah-font-head);
}
.ah-price-card p,
.ah-choice-card p {
  line-height: 1.6;
  color: var(--ah-muted);
  margin: 0 0 14px;
}
.ah-price-list {
  width: 100%;
  margin: 2px 0 18px;
  border-block: 1px solid var(--ah-outline);
}
.ah-price-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 7px 12px;
  padding-block: 12px;
}
.ah-price-list > div + div { border-top: 1px solid var(--ah-outline); }
.ah-price-list dt { font-size: .92rem; }
.ah-price-list dd {
  margin: 0;
  font-weight: 800;
  color: var(--ah-primary);
  font-variant-numeric: tabular-nums;
}
.ah-price-card > .ah-inline-link,
.ah-choice-card > .ah-inline-link { margin-top: auto; }
.ah-callout-info {
  display: flex;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  margin-top: 24px;
  border-radius: 10px;
  border-left: 4px solid var(--ah-primary);
  background: var(--ah-surface-low);
}
.ah-callout-icon .material-symbols-outlined { color: var(--ah-primary); font-size: 24px; }
.ah-callout-info p { margin: 0 0 10px; line-height: 1.55; color: var(--ah-muted); }

/* ---------- 7. Examples ---------- */
.ah-ex-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.ah-ex-tabs button {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--ah-outline);
  border-radius: 8px;
  background: var(--ah-white);
  color: var(--ah-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.ah-ex-tabs button span { color: var(--ah-muted); font-size: .85rem; }
.ah-ex-tabs button:hover { border-color: var(--ah-primary); }
.ah-ex-tabs button[aria-selected="true"] { background: var(--ah-primary); color: #fff; }
.ah-ex-tabs button[aria-selected="true"] span { color: #e2e7ff; }
.ah-ex-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--ah-outline);
  border-radius: 12px;
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-sm);
}
.ah-ex-panel + .ah-ex-panel { margin-top: 12px; }
.ah-ex-panel[role="tabpanel"] { margin-top: 0; animation: ah-panel-fade .3s ease; }
.ah-ex-img {
  position: relative;
  margin: 0;
  height: 100%;
  min-width: 0;
}
.ah-ex-img img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ah-ex-img figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #fff;
  background: var(--ah-dark-bg);
  font-size: .78rem;
}
.ah-ex-content { padding: clamp(18px, 3vw, 40px); }
.ah-ex-content h3 { font: 800 clamp(1.3rem, 2vw, 1.65rem)/1.18 var(--ah-font-head); margin: 0 0 12px; }
.ah-ex-amount { display: grid; gap: 4px; }
.ah-ex-amount strong {
  color: var(--ah-primary);
  font: 800 clamp(1.7rem, 3vw, 2.65rem)/1.1 var(--ah-font-head);
  letter-spacing: -.035em;
}
.ah-ex-amount span,
.ah-ex-content p { color: var(--ah-muted); }
.ah-ex-content p { line-height: 1.55; margin: 10px 0 0; }
.ah-ex-math { font-size: .87rem; font-variant-numeric: tabular-nums; }
.ah-ex-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 18px; }

/* ---------- 8. Construction gallery ---------- */
.ah-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ah-switches button {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--ah-dark-line);
  background: var(--ah-dark-card);
  color: #cbd5e1;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ah-switches button:hover {
  border-color: var(--ah-accent);
  color: #ffffff;
}
.ah-switches button[aria-pressed="true"] {
  background: var(--ah-accent);
  border-color: var(--ah-accent);
  color: #0b1220;
}

.ah-plate {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 12px;
  background: var(--ah-dark-card);
  border: 1px solid var(--ah-dark-line);
  animation: ah-panel-fade 0.3s ease;
}
.ah-plate + .ah-plate { margin-top: 12px; }
.ah-switches:not([hidden]) ~ .ah-plate { margin-top: 0; }
.ah-plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.ah-plate-num {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(128, 131, 255, 0.16);
  color: #b4b6ff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.ah-plate figcaption h3 {
  margin: 0 0 12px;
  font-family: var(--ah-font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}
.ah-plate figcaption p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* ---------- 9. STANDALONE WORK STAGES ---------- */
.ah-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ah-work-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ah-surface-low);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.35), var(--ah-shadow-sm);
  text-decoration: none;
  color: var(--ah-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.ah-work-card:hover {
  transform: translateY(-5px);
  background: var(--ah-white);
  box-shadow: 0 0 0 1px rgba(0, 52, 127, 0.22), var(--ah-shadow-md);
}
.ah-work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ah-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ah-work-card:hover .ah-work-media img {
  transform: scale(1.05);
}
.ah-work-when {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 52, 127, 0.9);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
}
.ah-work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.ah-work-body h3 {
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ah-ink);
}
.ah-work-body p {
  margin: 10px 0 18px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--ah-muted);
}
.ah-work-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ah-white);
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: var(--ah-muted);
}
.ah-work-card:hover .ah-work-meta {
  background: var(--ah-surface-low);
}
.ah-work-meta span {
  font-family: var(--ah-font-head);
  color: var(--ah-primary);
  font-weight: 800;
}

/* ---------- 10. Order options ---------- */
.ah-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 26px);
}
.ah-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--ah-outline);
  border-radius: 12px;
  background: var(--ah-white);
}
.ah-choice-card > .material-symbols-outlined { margin-bottom: 15px; color: var(--ah-primary); }
.ah-choice-featured { background: var(--ah-primary); color: #fff; }
.ah-choice-featured > .material-symbols-outlined,
.ah-choice-featured p { color: #e2e7ff; }

/* ---------- 11. ESTIMATE TRANSPARENCY ---------- */
.ah-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.ah-sticky-col {
  position: sticky;
  top: 88px;
}
.ah-quote-grid p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ah-muted);
}
.ah-quote-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.ah-ledger {
  margin: 0;
  display: grid;
  gap: 12px;
}
.ah-ledger-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--ah-surface-low);
  border-left: 4px solid var(--ah-primary);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.ah-ledger-item:hover {
  transform: translateX(4px);
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-sm);
}
.ah-ledger-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ah-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ah-font-head);
  font-size: 0.84rem;
  font-weight: 800;
}
.ah-ledger-item dt {
  font-family: var(--ah-font-head);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ah-ink);
}
.ah-ledger-item dd {
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.56;
  color: var(--ah-muted);
}

.ah-buyers-guide {
  margin-top: 36px;
  border-radius: 12px;
  background: var(--ah-bg);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.45);
  overflow: hidden;
}
.ah-buyers-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--ah-font-head);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ah-primary);
}
.ah-buyers-guide summary::-webkit-details-marker { display: none; }
.ah-buyers-guide[open] summary .material-symbols-outlined {
  transform: rotate(180deg);
}
.ah-buyers-guide .op-prose {
  padding: 0 24px 28px;
  max-width: 960px;
}
.ah-page .ah-buyers-guide .op-prose h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  margin: 1.25em 0 .55em;
  max-width: none;
  text-wrap: initial;
}

/* ---------- 12. PARTNER & ROADMAP ---------- */
.ah-partner-band {
  background: linear-gradient(135deg, #0b1220 0%, #002b6b 60%, #104295 100%);
  color: #ffffff;
}
.ah-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.ah-partner-copy p {
  margin: 16px 0 0;
  color: rgba(235, 241, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
}
.ah-partner-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ah-roadmap {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.55);
  border: 1px solid rgba(180, 182, 255, 0.22);
  backdrop-filter: blur(8px);
}
.ah-roadmap h3 {
  margin: 0 0 20px;
  font-family: var(--ah-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}
.ah-roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.ah-roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ah-step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ah-accent);
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ah-font-head);
  font-weight: 800;
  font-size: 0.92rem;
}
.ah-roadmap-list strong {
  display: block;
  font-family: var(--ah-font-head);
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.ah-roadmap-list p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* ---------- 13. MATERIALS, GUIDES & INTERLINKING ---------- */
.ah-materials {
  background: var(--ah-surface-low);
}
.ah-guides {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.ah-guide-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--ah-white);
  box-shadow: 0 0 0 1px rgba(195, 198, 211, 0.35);
  color: var(--ah-ink);
  text-decoration: none;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ah-guide-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--ah-primary), var(--ah-shadow-sm);
  color: var(--ah-primary);
}
.ah-guide-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ah-primary);
}
.ah-guide-chip strong {
  font-family: var(--ah-font-head);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.32;
  padding-right: 22px;
}
.ah-guide-chip .material-symbols-outlined {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 18px;
  color: var(--ah-primary);
  opacity: 0.65;
}
.ah-guide-chip:hover .material-symbols-outlined {
  opacity: 1;
}
.ah-page .op-posts {
  margin-top: 22px;
  gap: 20px;
}
.ah-page .op-post {
  border-radius: 12px;
  border-color: rgba(195, 198, 211, 0.4);
  box-shadow: var(--ah-shadow-sm);
}
.ah-page .op-post:hover {
  transform: translateY(-3px);
  border-color: var(--ah-primary);
  box-shadow: var(--ah-shadow-md);
}
.ah-source-sep {
  color: #94a3b8;
}

/* ---------- 14. FAQ SECTION ---------- */
.ah-faq-section {
  background: var(--ah-white);
}
.ah-faq-cta {
  margin-top: 22px;
}
.ah-page .op-faq {
  border-top: 0;
  display: grid;
  gap: 10px;
}
.ah-page .op-faq details {
  border: 1px solid rgba(195, 198, 211, 0.45);
  border-radius: 10px;
  background: var(--ah-bg);
  padding: 0 clamp(14px, 2vw, 22px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ah-page .op-faq details[open] {
  background: var(--ah-white);
  border-color: var(--ah-primary);
  box-shadow: var(--ah-shadow-sm);
}
.ah-page .op-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  font-family: var(--ah-font-head);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 18px 0;
  color: var(--ah-ink);
}
.ah-page .op-faq summary::-webkit-details-marker { display: none; }
.ah-page .op-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ah-primary), var(--ah-primary)) center / 10px 2px no-repeat,
    linear-gradient(var(--ah-primary), var(--ah-primary)) center / 2px 10px no-repeat,
    var(--ah-surface-high);
}
.ah-page .op-faq details[open] summary::after {
  background:
    linear-gradient(var(--ah-primary), var(--ah-primary)) center / 10px 2px no-repeat,
    var(--ah-surface-high);
}
.ah-page .op-faq details p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ah-muted);
  margin: 0 0 18px;
}

/* ---------- 15. SOVEREIGN CONTACT SECTION ---------- */
.ah-contact {
  background: linear-gradient(135deg, #002359 0%, #00347f 55%, #1e4b9e 100%);
}
.ah-contact .op-heading p {
  color: rgba(235, 241, 255, 0.88);
}
.ah-contact-perks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ah-contact-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e6ebff;
}
.ah-contact-perks .material-symbols-outlined {
  color: #b4b6ff;
  font-size: 20px;
  flex-shrink: 0;
}
.ah-contact-direct {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ah-contact .op-phone {
  margin-top: 0;
  font-family: var(--ah-font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: #b4b6ff;
  text-decoration: none;
}
.ah-contact .op-phone:hover {
  color: #ffffff;
}
.ah-contact-email {
  font-size: 0.88rem;
  color: rgba(226, 234, 255, 0.8);
}
.ah-contact-email a {
  color: #ffffff;
  font-weight: 600;
}

.ah-contact .op-form {
  background: var(--ah-white);
  color: var(--ah-ink);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 32px 64px rgba(5, 14, 34, 0.35);
}
.ah-contact .op-form :is(input, textarea, select):not([type="checkbox"]) {
  border-color: #8a94ac;
  border-radius: 6px;
  background: var(--ah-bg);
  color: var(--ah-ink);
}
.ah-contact .op-form :is(input, textarea, select):not([type="checkbox"]):focus {
  border-color: var(--ah-primary);
  background: #ffffff;
  color: var(--ah-ink);
  box-shadow: 0 0 0 3px rgba(0, 52, 127, 0.12);
}
.ah-request-head { margin-bottom: 18px; }
.ah-request-head h3 { margin: 0 0 6px; font: 800 1.3rem/1.2 var(--ah-font-head); }
.ah-request-head p { margin: 0; font-size: .92rem; color: var(--ah-muted); line-height: 1.5; }
.ah-contact .op-form label { color: var(--ah-ink); }
.ah-contact .op-form label :is(input, textarea, select):not([type="checkbox"]) {
  margin-top: 6px;
  min-height: 45px;
  font-weight: 500;
}
.ah-contact .op-form ::placeholder { color: var(--ah-muted); opacity: 1; }
.ah-contact .op-form .op-consent { align-items: flex-start; line-height: 1.45; }
.ah-contact .op-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--ah-primary);
}
.ah-contact .op-consent a { color: var(--ah-primary); text-underline-offset: .2em; }
.ah-contact .op-status { padding: 10px 12px; border-radius: 6px; background: var(--ah-surface-low); color: var(--ah-ink); }

.ah-contact .op-btn-main {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  border-radius: 6px;
  background: var(--ah-primary);
  font-size: 1rem;
  margin-top: 8px;
}
.ah-contact .op-btn-main:hover {
  background: var(--ah-primary-mid);
}

.ah-request-context {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--ah-surface-low);
  border-left: 4px solid var(--ah-primary);
}
.ah-request-context p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--ah-ink);
  font-weight: 600;
}
.ah-request-context button {
  flex-shrink: 0;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--ah-primary);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Scroll Reveal & Keyframes ---------- */
.ah-reveal.is-visible {
  animation: ah-panel-fade .4s ease-out;
}

@keyframes ah-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@keyframes ah-glow-breathe {
  from { transform: scale(1) translate(0, 0); opacity: 0.85; }
  to   { transform: scale(1.08) translate(-20px, 16px); opacity: 1; }
}

@keyframes ah-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  15%  { opacity: 0.85; }
  85%  { opacity: 0.85; }
  100% { transform: translateY(360%); opacity: 0; }
}

@keyframes ah-panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1140px) {
  .ah-page .op-shell { width: min(100% - 40px, 1320px); }
  .ah-hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .ah-hero-inner,
  .ah-section-head,
  .ah-calc-shell,
  .ah-two-tables,
  .ah-ex-panel,
  .ah-plate,
  .ah-quote-grid,
  .ah-partner-grid {
    grid-template-columns: 1fr;
  }
  .ah-sticky-col { position: static; }
  .ah-norm-grid,
  .ah-objects-grid,
  .ah-work-grid,
  .ah-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ah-ex-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ah-page .op-shell { width: calc(100% - 32px); }
  .ah-trust-chips,
  .ah-norm-grid,
  .ah-objects-grid,
  .ah-work-grid,
  .ah-field-row,
  .ah-guides,
  .ah-hero-metrics {
    grid-template-columns: 1fr;
  }
  .ah-choice-grid { grid-template-columns: 1fr; }
  .ah-sticky-inner { gap: 8px; }
  .ah-sticky-cta { font-size: .76rem; padding-inline: 9px; }
  .ah-sticky-links a { padding-inline: 9px; }
  .ah-hero-float-top { display: none; }
  .ah-hero-float-bottom { position: static; margin: 10px 12px 12px; }
  .ah-request-context { flex-direction: column; }
  .ah-price-list > div { align-items: start; }
  .ah-switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-switches button { min-height: 44px; padding-inline: 9px; }
  .ah-contact .op-form { padding: 18px; }
  .ah-page .ah-section { padding-block: 50px; }
  .ah-bento-card { padding: 22px; }
  .ah-hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-trust-chip { min-height: 0; padding-block: 7px; }
  .ah-hero-actions .ah-btn-primary,
  .ah-hero-actions .ah-btn-ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-pulse-dot, .ah-hero-glow, .ah-scan-line, .ah-ex-panel, .ah-plate, .ah-reveal { animation: none !important; }
  .ah-page #op-main * { transition: none !important; }
}
