:root {
  --navy: #071b30;
  --ink: #101d2a;
  --blue: #1769d2;
  --gray: #66717e;
  --light: #f4f6f8;
  --line: #dce2e7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(195px, 42vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--blue);
  border-color: var(--blue);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: grid;
  align-items: end;
  background: var(--navy);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 48, 0.98) 0%, rgba(7, 27, 48, 0.84) 48%, rgba(7, 27, 48, 0.25) 100%);
}

.hero--pvc {
  background-image: url("https://relancer.ee/assets/pvc-katus-valmis-uldvaade.jpg");
  background-position: center;
  background-size: cover;
}

.hero--blocks {
  background-image:
    linear-gradient(135deg, rgba(23, 105, 210, 0.24), transparent 48%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, 0.055) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(255, 255, 255, 0.045) 86px 88px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8abcfb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Manrope, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 710px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.proof-bar {
  background: var(--blue);
  color: var(--white);
}

.proof-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.proof {
  padding: 25px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.23);
}

.proof:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

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

.proof strong {
  font-family: Manrope, sans-serif;
  font-size: 18px;
}

.proof span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 92px 20px;
}

.section--light {
  background: var(--light);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.section h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: -0.035em;
}

.section h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.lead {
  font-size: 20px;
  color: var(--gray);
}

.section--navy .lead,
.section--navy p {
  color: rgba(255, 255, 255, 0.75);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.card__number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--light);
  color: var(--blue);
  font-weight: 800;
}

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

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.brand-panel {
  min-height: 230px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
}

.brand-panel h3 {
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin-top: 42px;
}

.gallery img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.gallery img:first-child {
  height: 100%;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.faq details p {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--gray);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta h2 {
  margin-bottom: 12px;
}

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

.site-footer {
  padding: 34px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 74px;
  }

  .site-nav a:not(.button) {
    display: none;
  }

  .site-nav .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    min-height: 560px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(7, 27, 48, 0.97), rgba(7, 27, 48, 0.72));
  }

  .proof-bar__inner,
  .cards,
  .brand-grid,
  .gallery,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .proof,
  .proof:first-child {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 66px 20px;
  }

  .gallery img,
  .gallery img:first-child {
    height: 260px;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 145px;
  }

  .site-nav .button {
    font-size: 12px;
  }

  h1 {
    font-size: 42px;
  }
}
