:root {
  --ink: #101214;
  --ink-soft: #202428;
  --muted: #667078;
  --line: #d9dde0;
  --paper: #f5f5f2;
  --white: #ffffff;
  --red: #e21c25;
  --red-dark: #b9141d;
  --silver: #eceff1;
  --shadow: 0 22px 70px rgba(16, 18, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 18, 20, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  color: #252a2f;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(226, 28, 37, 0.1);
  outline: none;
}

.site-nav .nav-phone {
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.site-nav .nav-phone:hover,
.site-nav .nav-phone:focus-visible {
  background: var(--red);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(80svh, 790px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-bg {
  background: url("assets/hero-ajot-panel-smart-2026-v4.jpg?v=20260426-4") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.94), rgba(16, 18, 20, 0.72) 48%, rgba(16, 18, 20, 0.16)),
    linear-gradient(0deg, rgba(16, 18, 20, 0.55), transparent 36%);
}

.hero-content {
  align-self: center;
  max-width: 980px;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff6b72;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff2d36;
  outline: 3px solid rgba(226, 28, 37, 0.25);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 24px clamp(20px, 5vw, 56px);
  background: var(--white);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  margin-bottom: 3px;
  font-size: clamp(1.45rem, 3.2vw, 2.65rem);
  line-height: 1;
}

.facts span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 10vw, 116px) clamp(20px, 6vw, 72px);
}

.section-muted {
  background: var(--silver);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  min-height: 245px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 28, 37, 0.35);
  box-shadow: 0 16px 45px rgba(16, 18, 20, 0.1);
}

.service-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--red);
  font-weight: 900;
}

.service-card p,
.timeline-item p,
.copy-block p,
.proof-grid p,
.contact-panel p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.copy-block {
  font-size: 1.05rem;
}

.registry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin: clamp(34px, 6vw, 58px) 0 0;
  background: rgba(16, 18, 20, 0.16);
}

.registry div {
  min-height: 130px;
  padding: 18px;
  background: var(--white);
}

.registry dt {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registry dd {
  margin: 0;
  font-weight: 900;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(16, 18, 20, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-item {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.contact-section {
  padding: clamp(48px, 8vw, 94px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(226, 28, 37, 0.16), transparent 32%),
    var(--ink);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.contact-panel h2 {
  max-width: 680px;
}

.contact-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list li.contact-emails {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-emails div {
  display: grid;
  gap: 2px;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--white);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #293139;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd2cf;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(226, 28, 37, 0.14);
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note a {
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 6vw, 72px);
  color: #d8dedb;
  background: #07090b;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(16, 18, 20, 0.92), rgba(16, 18, 20, 0.58));
  }

  .facts,
  .split,
  .contact-panel,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .site-nav a {
    padding-inline: 8px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 5.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 11vw, 3.4rem);
  }

  .button,
  .hero-actions,
  .service-grid,
  .proof-grid,
  .contact-list li.contact-emails {
    grid-template-columns: 1fr;
  }

  .facts div,
  .service-card,
  .registry div,
  .timeline-item,
  .proof-grid article {
    padding: 20px;
  }
}
