:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #20242a;
  --muted: #666d76;
  --line: #dfe2e6;
  --red: #c4234d;
  --red-dark: #9f173b;
  --soft: #f0f1f3;
  --red-soft: #fff0f3;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 22px 60px rgba(32, 36, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  position: fixed;
  right: -135px;
  bottom: -120px;
  z-index: 0;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  background: url("assets/alterra-watermark.svg") center / contain no-repeat;
  content: "";
  opacity: 0.075;
  pointer-events: none;
}

main > * {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(247, 248, 250, 0.9);
  border-bottom: 1px solid rgba(223, 226, 230, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 216px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--red);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-action {
  background: var(--red);
  color: white;
}

.header-action:hover,
.button.primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: #b9bec5;
  background: var(--soft);
}

a:focus-visible {
  outline: 3px solid rgba(196, 35, 77, 0.24);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  max-width: 1180px;
  min-height: min(780px, calc(100vh - 82px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 40px) 60px;
}

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

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.6vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.65;
}

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

.button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 34px rgba(196, 35, 77, 0.2);
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.delivery-map {
  position: relative;
  min-height: 520px;
  padding: 28px 8px 18px 42px;
  overflow: hidden;
}

.delivery-mark {
  position: absolute;
  z-index: 0;
  right: -150px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  opacity: 0.055;
  pointer-events: none;
}

.delivery-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 20px;
  width: 1px;
  background: var(--line);
  content: "";
}

.delivery-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  min-height: 104px;
}

.delivery-steps li > span {
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.delivery-steps strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 1.08rem;
}

.delivery-steps p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.mini-mark,
.product-icon.text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.mini-mark.red,
.product-icon.text.red {
  background: var(--red-soft);
  color: var(--red);
}


.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 40px);
}

.intro {
  padding-top: 28px;
}

.intro p {
  max-width: 980px;
  color: #3f454d;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.28;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-intro {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card,
.case-row article,
.service-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card {
  min-height: 260px;
  padding: 24px;
}

.product-card.featured {
  border-color: rgba(196, 35, 77, 0.45);
  box-shadow: 0 18px 48px rgba(32, 36, 42, 0.08);
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--soft);
}

.product-category {
  margin: 0 0 10px;
  color: var(--red) !important;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status.available {
  background: var(--red-soft);
  color: var(--red-dark);
}

.status.planned {
  background: var(--soft);
  color: var(--muted);
}

.product-card p,
.case-row p,
.service-list p,
.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.product-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding: 22px;
}

.service-list span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 900;
}

.case-row article {
  min-height: 290px;
  padding: 24px;
}

.project-logo {
  display: block;
  width: min(100%, 280px);
  height: 64px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
}

.project-logo-school {
  width: auto;
  height: 100px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.project-status {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.case-row .project-type {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 800;
}

.project-link::after {
  margin-left: 6px;
  content: "↗";
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 60px auto 90px;
  padding: 38px clamp(24px, 5vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
}

.contact p {
  max-width: 620px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .case-row article:hover,
  .service-list article:hover {
    border-color: rgba(196, 35, 77, 0.42);
    box-shadow:
      0 18px 42px rgba(32, 36, 42, 0.1),
      0 8px 22px rgba(196, 35, 77, 0.08);
    transform: translateY(-3px);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header-action,
  .button,
    .product-card,
  .case-row article,
  .service-list article {
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .delivery-map {
    min-height: 440px;
    padding-left: 8px;
  }

  .product-grid,
  .case-row {
    grid-template-columns: 1fr;
  }

  .contact,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  main::before {
    right: -120px;
    bottom: -85px;
    width: 340px;
    opacity: 0.06;
  }

  .brand img {
    width: 184px;
    height: 42px;
  }

  .header-action {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }
}
