/*
Theme Name: BIM Audit Institutional
Author: BIM Audit
Description: Tema istituzionale per BIM Audit, ingegneria e servizi BIM per la Pubblica Amministrazione.
Version: 1.1.8
Text Domain: bimaudit
*/

:root {
  --ink: #122033;
  --muted: #5d6876;
  --blue: #174f7c;
  --teal: #087c78;
  --green: #20745a;
  --amber: #d98920;
  --red: #b53d35;
  --paper: #fff;
  --soft: #f3f6f8;
  --line: #d9e0e5;
  --navy: #102235;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }
.focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f3a530;
  outline-offset: 3px;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.78rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand img {
  display: block;
  width: 46px;
  height: auto;
}
.brand > span > span { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a:focus { color: var(--teal); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  border-radius: 6px;
}

.hero {
  min-height: calc(100vh - 72px);
  max-height: 860px;
  display: flex;
  align-items: center;
  position: relative;
  background: url('assets/hero.webp') center/cover no-repeat;
  color: #fff;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 41, .58);
}
.hero-inner {
  position: relative;
  width: min(720px, 72%);
  padding: 80px 0 120px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #a7e0d7;
}
.section .eyebrow { color: var(--teal); }
.software .eyebrow { color: #9fe1d6; }
.hero h1 {
  font-size: 6.1rem;
  line-height: .95;
  margin: 12px 0 22px;
  letter-spacing: 0;
}
.hero .lead {
  font-size: 1.48rem;
  line-height: 1.45;
  margin: 0 0 16px;
  font-weight: 650;
}
.hero p {
  max-width: 670px;
  font-size: 1.05rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
}
.btn-primary { background: #fff; color: var(--ink); }
.btn-secondary {
  border-color: rgba(255,255,255,.65);
  color: #fff;
  background: rgba(8,24,41,.3);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-primary-on-light {
  background: var(--blue);
  color: #fff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover,
.text-link:focus {
  color: var(--teal);
}

.trust {
  margin-top: -62px;
  position: relative;
  z-index: 4;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(18,32,51,.12);
}
.trust-item {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong {
  display: block;
  font-size: 1rem;
}
.trust-item span {
  color: var(--muted);
  font-size: .86rem;
}

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 46px;
}
.section h2 {
  font-size: 3.1rem;
  line-height: 1.08;
  margin: 8px 0;
  letter-spacing: 0;
}
.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 8px 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  min-height: 310px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.service-wide {
  grid-column: 1 / -1;
  min-height: auto;
  background:
    linear-gradient(135deg, rgba(23, 79, 124, .06), rgba(8, 124, 120, .08)),
    #fff;
}
.service-icon,
.capability span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #edf5fb;
  border: 1px solid #d8e9f5;
  border-radius: 8px;
  margin-bottom: 18px;
}
.service-num {
  display: block;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 800;
}
.service h3 {
  font-size: 1.32rem;
  line-height: 1.25;
  margin: 12px 0;
}
.service p {
  margin: 0;
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: method;
}
.method-step {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
  counter-increment: method;
}
.method-step:first-child { border-left: 0; }
.method-step:before {
  content: "0" counter(method);
  display: block;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.method-step strong {
  display: block;
  margin-bottom: 7px;
}
.method-step span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.seo-focus {
  background:
    linear-gradient(135deg, rgba(23,79,124,.06), rgba(8,124,120,.08)),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.seo-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid #d8e6e9;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(18,32,51,.06);
}
.seo-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef6fb;
  margin-bottom: 18px;
}
.seo-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
}
.seo-grid p {
  margin: 0;
  color: #4f5d6a;
}

.acdat {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.acdat-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.acdat p { color: var(--muted); }
.capabilities {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.capability {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.capability span { grid-row: span 2; margin-bottom: 0; }
.capability strong { font-size: 1.02rem; }
.capability p { margin: 4px 0 0; font-size: .95rem; }
.acdat-visual {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.acdat-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-size: .9rem;
  color: var(--muted);
}
.acdat-top strong { color: var(--ink); }
.acdat-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.acdat-flow div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px;
}
.acdat-flow b {
  display: block;
  color: var(--teal);
  font-size: .78rem;
}
.acdat-flow span {
  display: block;
  font-size: .84rem;
  font-weight: 720;
}
.acdat-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.acdat-panels span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font-size: .88rem;
  font-weight: 650;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.gare {
  background:
    radial-gradient(circle at 18% 20%, rgba(8, 124, 120, .12), transparent 28%),
    linear-gradient(135deg, #f7fafb, #fff);
  border-bottom: 1px solid var(--line);
}
.gara-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.gare p {
  color: var(--muted);
}
.gara-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18,32,51,.1);
  overflow: hidden;
}
.gara-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
}
.gara-top span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}
.gara-top strong {
  color: #a7e0d7;
  font-size: .9rem;
}
.gara-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}
.gara-steps div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}
.gara-steps b {
  display: block;
  color: var(--teal);
  font-size: .82rem;
  margin-bottom: 10px;
}
.gara-steps span {
  display: block;
  font-weight: 800;
  line-height: 1.35;
}
.gara-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 20px 20px;
}
.gara-tags span {
  padding: 8px 10px;
  border: 1px solid #d8e9f5;
  border-radius: 999px;
  background: #edf5fb;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
}

.software {
  background: var(--navy);
  color: #fff;
}
.platforms-intro {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}
.platforms-intro h2 {
  margin-top: 10px;
}
.platforms-intro p {
  color: #c4cfda;
  margin: 0;
}
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.platform-card {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 44px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 20px 48px rgba(0,0,0,.18);
}
.platform-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.65rem;
}
.platform-card p {
  color: #d7e0ea;
}
.platform-card-acdat {
  background: linear-gradient(135deg, rgba(238,248,246,.98), rgba(255,255,255,.96));
  color: var(--ink);
}
.platform-card-acdat h3 {
  color: var(--navy);
}
.platform-card-acdat p {
  color: #516071;
}
.platform-card-acdat .feature-list li:before {
  color: var(--teal);
}
.platform-card-acdat .text-link {
  color: var(--blue);
}
.platform-card-gara {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(237,245,251,.96));
  color: var(--ink);
}
.platform-card-gara h3 {
  color: var(--navy);
}
.platform-card-gara p {
  color: var(--muted);
}
.platform-card-gara .feature-list li:before {
  color: var(--blue);
}
.platform-card-gara .text-link {
  color: var(--blue);
}
.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.software h2 { margin-top: 10px; }
.software p { color: #c4cfda; }
.platform-card-egov .feature-list li {
  color: #edf5fb;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li:before {
  content: "✓";
  color: #7dd8c9;
  font-weight: 900;
  margin-right: 9px;
}
.product-ui {
  background: #f7f9fb;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 22px 45px rgba(0,0,0,.24);
}
.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 4px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.product-top span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.status {
  font-size: .74rem;
  color: var(--green);
  background: #dff3e8;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.product-screen {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.screen-bar {
  padding: 16px;
  background: #edf5fb;
  border-bottom: 1px solid var(--line);
}
.screen-bar b,
.screen-bar small {
  display: block;
}
.screen-bar small { color: var(--muted); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
}
.product-module {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 6px;
  background: #fff;
}
.product-module strong {
  display: block;
  font-size: .9rem;
}
.product-module span {
  font-size: .78rem;
  color: var(--muted);
}
.acdat-preview {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfe3e0;
  box-shadow: 0 22px 45px rgba(14, 31, 49, .14);
}
.acdat-dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #0f2a37;
  color: #fff;
}
.acdat-dashboard-top span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}
.acdat-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #eef8f6, #f7fbff);
}
.acdat-dashboard-grid div {
  min-height: 102px;
  padding: 16px;
  border: 1px solid #d5e9e6;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}
.acdat-dashboard-grid b,
.acdat-dashboard-grid span {
  display: block;
}
.acdat-dashboard-grid b {
  color: var(--navy);
}
.acdat-dashboard-grid span {
  margin-top: 7px;
  color: #5d6b7a;
  font-size: .85rem;
  line-height: 1.35;
}
.acdat-dashboard-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 18px 18px;
  background: #f7fbff;
}
.acdat-dashboard-footer span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #e3f4f1;
  color: #0d5d55;
  font-size: .78rem;
  font-weight: 850;
}
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.store-badge {
  display: inline-grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-width: 172px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: #071321;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-badge:hover,
.store-badge:focus {
  transform: translateY(-2px);
  border-color: rgba(125,216,201,.72);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.store-badge span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,.1);
}
.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.05;
}
.store-badge small {
  color: #b9c7d6;
  font-size: .68rem;
  font-weight: 700;
}
.store-badge strong {
  margin-top: 3px;
  color: #fff;
  font-size: .96rem;
}
.gara-preview {
  border-radius: 8px;
  overflow: hidden;
  background: #f7f9fb;
  border: 1px solid #d8e5ef;
  box-shadow: 0 22px 45px rgba(14, 31, 49, .16);
}
.gara-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: #12213a;
  color: #fff;
}
.gara-browser span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}
.gara-browser span:nth-child(2) { background: #ffd166; }
.gara-browser span:nth-child(3) { background: #5bd6a4; }
.gara-browser strong {
  margin-left: 8px;
  font-size: .86rem;
}
.gara-login-shot {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  padding: 18px;
  min-height: 315px;
  background:
    linear-gradient(135deg, rgba(45,92,224,.12), transparent 35%),
    #eef5fb;
}
.shot-card {
  align-self: center;
  background: #fff;
  border: 1px solid #d8e5ef;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(14,31,49,.12);
  text-align: center;
}
.shot-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #edf5ff;
  color: var(--blue);
  margin-bottom: 12px;
}
.shot-card b,
.shot-card small {
  display: block;
}
.shot-card small {
  color: var(--muted);
  margin: 4px 0 16px;
}
.shot-input {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-top: 9px;
  border: 1px solid #d8e5ef;
  border-radius: 6px;
  color: #8a98aa;
  font-size: .82rem;
  text-align: left;
}
.shot-button {
  margin-top: 12px;
  padding: 11px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  font-size: .86rem;
}
.shot-side {
  display: grid;
  gap: 12px;
  align-content: center;
}
.shot-side div {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8e5ef;
}
.shot-side b,
.shot-side span {
  display: block;
}
.shot-side span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .84rem;
}

.iso-band {
  border-top: 5px solid var(--teal);
  background: #fbfcfd;
}
.iso-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 58px;
  align-items: start;
}
.iso-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(18,32,51,.08);
}
.iso-card img { display: block; width: 100%; }
.iso-meta {
  display: grid;
  gap: 5px;
  padding: 18px;
}
.iso-meta strong {
  color: var(--blue);
  font-size: 1.1rem;
}
.iso-meta span {
  color: var(--muted);
  font-size: .88rem;
}
.iso-copy p { color: var(--muted); }
.certificate-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}
.certificate-preview {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.certificate-preview img {
  display: block;
  width: 100%;
}
.certificate-preview span {
  display: block;
  padding: 12px;
  color: var(--blue);
  font-weight: 800;
  font-size: .88rem;
}
.iso-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.iso-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.iso-points li:before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  margin-right: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
}
.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.contact-row {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.contact-row span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}
.contact-row a {
  text-decoration: none;
  font-weight: 750;
}
.contact-note {
  background: var(--soft);
  border-left: 4px solid var(--amber);
  padding: 28px;
}

.footer {
  background: #0c1a29;
  color: #c9d2db;
  padding: 42px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer a { color: #fff; }
.footer small { display: block; }
.footer-brand {
  display: grid;
  gap: 8px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 850;
}
.footer-logo img {
  width: 46px;
  max-width: 100%;
}
.footer-logo > span > span { color: #42c5b6; }

@media (max-width: 1020px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .84rem; }
  .section h2 { font-size: 2.65rem; }
  .acdat-grid,
  .software-grid,
  .platforms-intro,
  .platform-card,
  .gara-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 740px; }
  .hero-inner { width: 90%; padding-top: 60px; }
  .hero h1 { font-size: 4.7rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .method { grid-template-columns: 1fr 1fr; }
  .method-step:nth-child(odd) { border-left: 0; }
  .iso-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .iso-card { max-width: 390px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .brand { font-size: 1.4rem; }
  .brand img { width: 40px; }
  .hero {
    min-height: 690px;
    max-height: none;
    background-position: 62% center;
  }
  .hero:before { background: rgba(8,24,41,.75); }
  .hero-inner {
    width: 100%;
    padding: 60px 0 105px;
  }
  .hero h1 { font-size: 3.55rem; }
  .hero .lead { font-size: 1.18rem; }
  .hero p { font-size: 1rem; }
  .trust { margin-top: -45px; }
  .trust-grid,
  .services,
  .method,
  .seo-grid,
  .product-grid,
  .gara-steps,
  .gara-login-shot,
  .feature-list,
  .acdat-flow,
  .acdat-panels,
  .certificate-layout {
    grid-template-columns: 1fr;
  }
  .platform-card { padding: 22px; }
  .trust-item { border-right: 0; }
  .service { min-height: auto; padding: 27px; }
  .method-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .method-step:first-child { border-top: 0; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 2rem; }
  .capability { grid-template-columns: 1fr; }
  .capability span { margin-bottom: 12px; }
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
