:root {
  --black: #050507;
  --ink: #0a0a0d;
  --graphite: #121218;
  --panel: #19181e;
  --panel-2: #211b20;
  --ash: #d8d5d2;
  --text: #f6f3ef;
  --muted: #aaa4a1;
  --muted-2: #777073;
  --red: #d72b2b;
  --red-dark: #7e050b;
  --red-deep: #2b0508;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .08);
  --radius: 8px;
  --container: 1180px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #0a090b;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(215,43,43,.18), transparent 36rem),
    linear-gradient(135deg, #111014 0%, #050507 42%, #140608 100%);
  background-size: 88px 88px, 88px 88px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  width: min(var(--container), calc(100% - 40px));
  margin: 10px auto -84px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,43,43,.18), transparent 28%),
    linear-gradient(135deg, rgba(19,18,23,.82), rgba(6,6,8,.72));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 18px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
}

.header-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 70px;
}

.brand,
.brand img {
  width: 142px;
}

.brand img {
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #d9d5d2;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 0 18px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.header-cta:hover {
  background: rgba(215,43,43,.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255,255,255,.055);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

main {
  overflow: hidden;
}

.legal-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 150px 0 80px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(5,5,7,.98), rgba(5,5,7,.72), rgba(5,5,7,.94)),
    url("/assets/orlime-ai-infra-hero.webp") center / cover no-repeat;
}

.legal-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(10,9,11,.98));
}

.legal-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 440px);
  gap: 48px;
  align-items: end;
}

.legal-title h1 {
  max-width: 820px;
  margin-bottom: 0;
}

.legal-intro {
  margin-bottom: 0;
  color: #d6d0cf;
  font-size: 19px;
}

.legal-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(215,43,43,.16), transparent 28rem),
    linear-gradient(180deg, #111015, #08080a);
}

.legal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-shell.reveal {
  opacity: 1;
  transform: none;
}

.legal-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,43,43,.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 70px rgba(0,0,0,.24);
}

.legal-aside span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-aside strong,
.legal-aside a {
  color: #fff;
}

.legal-content {
  padding: clamp(24px, 4vw, 54px);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02)),
    rgba(10,10,13,.8);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 28px 90px rgba(0,0,0,.32);
}

.legal-content h2 {
  margin: 48px 0 18px;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.16;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 21px;
}

.legal-content p,
.legal-content li {
  color: #c9c2c1;
  font-size: 17px;
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-content strong {
  color: #fff;
}

section {
  position: relative;
  padding: 112px 0;
  scroll-margin-top: 86px;
}

.hero {
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(90deg, rgba(5,5,7,.98) 0%, rgba(5,5,7,.82) 36%, rgba(5,5,7,.2) 68%, rgba(5,5,7,.65) 100%),
    linear-gradient(180deg, rgba(5,5,7,.18), rgba(5,5,7,.78)),
    url("assets/orlime-ai-infra-hero.webp") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(10,9,11,.98));
  pointer-events: none;
}

.hero-mesh {
  display: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(290px, 360px);
  gap: 64px;
  align-items: end;
  padding: 114px 0 48px;
}

.hero-content {
  max-width: 800px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: #ffb8b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 38px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--red);
  content: "";
}

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

h1 {
  max-width: 790px;
  margin: 22px 0 24px;
  font-size: clamp(40px, 4.55vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.25vw, 32px);
  line-height: 1.12;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #d5d0cf;
  font-size: clamp(18px, 1.8vw, 22px);
}

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

.btn {
  padding: 14px 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e23838, #a20710);
  box-shadow: 0 18px 42px rgba(215, 43, 43, .26);
}

.btn-secondary {
  border-color: rgba(255,255,255,.14);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.015)),
    rgba(5,5,7,.52);
  backdrop-filter: blur(10px);
}

.hero-panel {
  padding: 20px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(215,43,43,.2), transparent 34%),
    linear-gradient(180deg, rgba(28,27,34,.84), rgba(11,10,14,.9));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 30px 100px rgba(0,0,0,.48);
  backdrop-filter: blur(18px);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #a9a1a0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.signal-row strong {
  color: #ffb9b9;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.panel-grid div {
  min-height: 116px;
  padding: 17px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(215,43,43,.14), rgba(255,255,255,.025)),
    rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.panel-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1;
}

.panel-grid span {
  color: #a9a3a2;
  font-size: 13px;
}

.products-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(215,43,43,.18), transparent 28rem),
    linear-gradient(180deg, #111015 0%, #17151a 55%, #0b0a0c 100%);
}

.products-section::before,
.timeline-section::before,
.contacts::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 100%;
  opacity: .7;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 460px);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

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

.section-heading p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.products-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
  min-height: 520px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(215,43,43,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 28px 90px rgba(0,0,0,.34);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.product-card:hover {
  background: linear-gradient(180deg, rgba(215,43,43,.13), rgba(255,255,255,.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 34px 110px rgba(0,0,0,.44),
    0 0 54px rgba(215,43,43,.12);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  aspect-ratio: 1.88;
  object-fit: cover;
  background: #111;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  color: #ffd4d4;
  background: linear-gradient(135deg, rgba(215,43,43,.28), rgba(215,43,43,.08));
  font-size: 12px;
  font-weight: 800;
}

.index {
  color: rgba(255,255,255,.36);
  font-size: 13px;
  font-weight: 900;
}

.product-card p {
  margin-bottom: 26px;
  color: #c9c2c1;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: #fff;
  font-weight: 900;
  transition: color .2s ease;
}

.text-link::after {
  margin-left: 8px;
  color: var(--red);
  content: "→";
}

.text-link:hover {
  color: #ffb8b8;
}

.evolution {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(110deg, #281014 0%, #151217 46%, #0b0a0d 100%);
}

.evolution-layout,
.company-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.evolution-copy {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,43,43,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
    rgba(11,10,13,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    var(--shadow);
}

.evolution-copy p {
  margin-bottom: 0;
  color: #ded8d6;
  font-size: 18px;
}

.timeline-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(215,43,43,.16), transparent 24rem),
    linear-gradient(180deg, #111015 0%, #0c0b0e 100%);
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 144px;
  width: 1px;
  background: linear-gradient(180deg, rgba(215,43,43,.85), rgba(255,255,255,.12), rgba(215,43,43,.35));
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  column-gap: 56px;
  row-gap: 0;
  min-height: 0;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
}

.timeline-item::before {
  position: absolute;
  left: 144px;
  top: 24px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid #151217;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 28px rgba(215,43,43,.85);
  content: "";
  transform: translateX(-50%);
}

.timeline-item time {
  display: block;
  margin: 16px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item > h3,
.timeline-item > p {
  grid-column: 2;
}

.timeline-item h3 {
  padding: 20px 22px 10px;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    rgba(18,17,21,.82);
  font-size: 23px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.timeline-item p {
  padding: 22px 22px 22px;
  border: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)),
    rgba(18,17,21,.82);
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.055),
    0 18px 52px rgba(0,0,0,.22);
}

.directions {
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    #17151a;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

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

.direction-card {
  min-height: 300px;
  padding: 26px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 0%, rgba(215,43,43,.18), transparent 38%),
    linear-gradient(150deg, rgba(215,43,43,.12), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 22px 70px rgba(0,0,0,.22);
}

.direction-card span {
  display: block;
  margin-bottom: 54px;
  color: #ff9d9d;
  font-size: 13px;
  font-weight: 900;
}

.direction-card h3 {
  font-size: 25px;
}

.direction-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.company {
  background:
    radial-gradient(circle at 76% 20%, rgba(215,43,43,.14), transparent 28rem),
    linear-gradient(180deg, #0d0c0f, #151116);
}

.company-card,
.contact-form {
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,43,43,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    var(--shadow);
}

.company-card {
  padding: 36px;
}

.company-card > p {
  color: #ded8d6;
  font-size: 21px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.company-facts div {
  padding: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025)),
    rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.company-facts strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.company-facts span {
  color: var(--muted);
  font-size: 14px;
}

.contacts {
  background:
    linear-gradient(90deg, rgba(5,5,7,.95), rgba(39,6,10,.56), rgba(5,5,7,.96)),
    url("assets/orlime-ai-infra-hero.webp") center / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.1);
}

.contacts-info > p:not(.section-kicker) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.contacts-info {
  display: flex;
  min-height: 100%;
  padding: 34px;
  border-radius: var(--radius);
  flex-direction: column;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,43,43,.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
    rgba(7,7,9,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}

.contacts-info h2 {
  margin-bottom: 24px;
}

.contacts-info > p:not(.section-kicker) {
  margin-bottom: 38px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.contact-list a {
  display: block;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 0%, rgba(215,43,43,.17), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
    rgba(8,8,10,.72);
  font-weight: 900;
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 18px 58px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-list a:hover {
  background: rgba(215,43,43,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 28px 82px rgba(0,0,0,.34),
    0 0 50px rgba(215,43,43,.16);
  transform: translateY(-2px);
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215,43,43,.16), transparent 34%),
    rgba(12,12,15,.82);
  backdrop-filter: blur(14px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #ddd8d6;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  outline: none;
  color: #fff;
  background: rgba(2,2,4,.68);
  padding: 14px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

textarea {
  min-height: 156px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(215,43,43,.86);
  background: rgba(8,8,11,.95);
  box-shadow: 0 0 0 4px rgba(215,43,43,.17);
}

.consent {
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.consent a {
  color: #ffb8b8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent a:hover {
  text-decoration: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 34px;
  color: var(--muted);
  background:
    radial-gradient(circle at 84% 0%, rgba(215,43,43,.2), transparent 28rem),
    linear-gradient(180deg, #0d0b0e, #050507 70%);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
}

.footer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(220px, .45fr);
  gap: 42px;
  align-items: start;
}

.footer-layout p {
  margin-bottom: 0;
}

.footer-brand img {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 440px;
  color: #c8c1c0;
  font-size: 18px;
}

.footer-nav {
  display: grid;
  gap: 10px;
  min-width: 150px;
}

.footer-nav a,
.footer-contact a,
.footer-bottom a {
  transition: color .2s ease, transform .2s ease;
}

.footer-nav a {
  color: #d8d2d0;
  font-weight: 760;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(255,255,255,.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 70px rgba(0,0,0,.22);
}

.footer-contact span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-contact a {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .evolution-layout,
  .company-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: center;
  }

  .hero-panel {
    max-width: 560px;
  }

  .directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .header-layout {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 66px;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    background: rgba(8,8,10,.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: center;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    display: none;
  }

  section {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5,5,7,.55), rgba(5,5,7,.95) 66%),
      url("assets/orlime-ai-infra-hero.webp") center top / cover no-repeat;
  }

  .hero-layout {
    gap: 34px;
    padding: 92px 0 58px;
  }

  .legal-hero {
    min-height: auto;
    padding: 112px 0 68px;
  }

  .legal-hero-layout,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: relative;
    top: auto;
  }

  .legal-content {
    padding: 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .products-grid,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    max-width: none;
  }

  .timeline::before {
    left: 32px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 18px 76px;
  }

  .timeline-item::before {
    left: 32px;
    top: 9px;
  }

  .timeline-item time {
    margin: 0 0 14px;
    font-size: 20px;
  }

  .timeline-item > h3,
  .timeline-item > p {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 44px);
  }

  .hero-actions,
  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .panel-grid,
  .form-grid,
  .company-facts {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-body,
  .evolution-copy,
  .company-card,
  .contact-form,
  .direction-card {
    padding: 20px;
  }

  .direction-card {
    min-height: auto;
  }

  .direction-card span {
    margin-bottom: 32px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand img {
    width: 220px;
  }

  .footer-bottom {
    display: grid;
  }
}
