:root {
  --amr-bg: #15191d;
  --amr-bg-soft: #1e2429;
  --amr-surface: #242b31;
  --amr-light: #f4f3ef;
  --amr-muted: #a8b0b7;
  --amr-line: rgba(255,255,255,.12);
  --amr-green: #43c463;
  --amr-green-dark: #2fa84c;
  --amr-radius: 18px;
  --amr-shadow: 0 18px 50px rgba(0,0,0,.22);
  --amr-width: 1200px;
}

.amr-section {
  position: relative;
  overflow: hidden;
}

.amr-shell {
  width: min(var(--amr-width), calc(100% - 40px));
  margin-inline: auto;
}

.amr-dark {
  color: var(--amr-light);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(67,196,99,.14), transparent 34%),
    var(--amr-bg);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.amr-light {
  color: #1d2328;
  background: var(--amr-light);
}

.amr-eyebrow {
  margin: 0 0 18px;
  color: var(--amr-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.amr-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.amr-title strong { color: var(--amr-green); }

.amr-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--amr-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.amr-hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 110px 0 90px;
}

.amr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 64px;
  align-items: center;
}

.amr-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:36px; }

.amr-btn .wp-block-button__link,
.wp-block-button.amr-btn .wp-block-button__link {
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}

.amr-btn-primary .wp-block-button__link { background: var(--amr-green); color:#0d1710; }
.amr-btn-outline .wp-block-button__link { background: transparent; border:1px solid var(--amr-line); color:var(--amr-light); }
.amr-btn .wp-block-button__link:hover { transform: translateY(-2px); }

.amr-schematic {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--amr-line);
  border-radius: var(--amr-radius);
  background: rgba(15,18,21,.65);
  box-shadow: var(--amr-shadow);
  padding: 34px;
}

.amr-schematic::before {
  content: '';
  position:absolute;
  inset:20px;
  border:1px dashed rgba(255,255,255,.12);
  border-radius: 12px;
}

.amr-flow { position:relative; z-index:1; display:grid; gap:18px; }
.amr-node {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border:1px solid var(--amr-line);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}
.amr-node span:last-child { color:var(--amr-green); font-weight:900; }
.amr-flow-line { height:24px; width:1px; background:var(--amr-green); margin:auto; opacity:.75; }
.amr-led { width:10px; height:10px; border-radius:50%; background:var(--amr-green); box-shadow:0 0 0 0 rgba(67,196,99,.6); animation:amrPulse 2s infinite; }

.amr-block { padding: 100px 0; }
.amr-section-title { margin:0; font-size:clamp(2rem, 4vw, 4.2rem); line-height:1; letter-spacing:-.04em; }
.amr-section-copy { color:#667078; max-width:720px; font-size:1.08rem; line-height:1.75; }
.amr-dark .amr-section-copy { color:var(--amr-muted); }

.amr-grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.amr-grid-4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }

.amr-card {
  height:100%;
  border:1px solid rgba(20,30,36,.12);
  border-radius:var(--amr-radius);
  padding:30px;
  background:#fff;
  box-shadow:0 10px 30px rgba(20,30,36,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.amr-dark .amr-card { background:rgba(255,255,255,.035); border-color:var(--amr-line); box-shadow:none; }
.amr-card:hover { transform:translateY(-5px); box-shadow:var(--amr-shadow); border-color:rgba(67,196,99,.55); }
.amr-card-number { color:var(--amr-green); font-size:.84rem; font-weight:900; letter-spacing:.12em; }
.amr-card h3 { margin:16px 0 12px; font-size:1.5rem; }
.amr-card p { margin:0; color:#68727a; line-height:1.65; }
.amr-dark .amr-card p { color:var(--amr-muted); }

.amr-process { counter-reset:amrstep; }
.amr-step { position:relative; padding-top:64px; }
.amr-step::before {
  counter-increment:amrstep;
  content:'0' counter(amrstep);
  position:absolute;
  top:0; left:0;
  color:var(--amr-green);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.12em;
}
.amr-step::after { content:''; position:absolute; top:35px; left:0; right:0; height:1px; background:rgba(20,30,36,.14); }
.amr-dark .amr-step::after { background:var(--amr-line); }

.amr-project-placeholder {
  min-height:260px;
  border-radius:var(--amr-radius);
  border:1px solid var(--amr-line);
  background:
    linear-gradient(135deg, transparent 0 49%, rgba(67,196,99,.22) 50%, transparent 51%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    var(--amr-bg-soft);
  background-size:auto, 30px 30px, 30px 30px, auto;
  display:flex;
  align-items:flex-end;
  padding:26px;
  color:var(--amr-light);
}

.amr-cta {
  padding:70px;
  border-radius:24px;
  border:1px solid var(--amr-line);
  background:linear-gradient(135deg, rgba(67,196,99,.16), rgba(255,255,255,.025));
}

.amr-reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.amr-reveal.is-visible { opacity:1; transform:none; }

@keyframes amrPulse {
  0% { box-shadow:0 0 0 0 rgba(67,196,99,.55); }
  70% { box-shadow:0 0 0 14px rgba(67,196,99,0); }
  100% { box-shadow:0 0 0 0 rgba(67,196,99,0); }
}

@media (prefers-reduced-motion: reduce) {
  .amr-led { animation:none; }
  .amr-reveal { opacity:1; transform:none; transition:none; }
}

@media (max-width: 900px) {
  .amr-hero-grid { grid-template-columns:1fr; }
  .amr-schematic { min-height:auto; }
  .amr-grid-3, .amr-grid-4 { grid-template-columns:1fr 1fr; }
  .amr-hero { min-height:auto; padding-top:88px; }
}

@media (max-width: 620px) {
  .amr-shell { width:min(100% - 28px, var(--amr-width)); }
  .amr-grid-3, .amr-grid-4 { grid-template-columns:1fr; }
  .amr-block { padding:72px 0; }
  .amr-cta { padding:38px 24px; }
  .amr-title { font-size:clamp(2.5rem, 15vw, 4.2rem); }
}
