:root {
  --red: #e51d2a;
  --blue: #0098d8;
  --blue-dark: #075e9a;
  --navy: #0b2236;
  --ink: #162432;
  --line: #dbe5ed;
  --shadow: 0 22px 70px rgba(14, 29, 43, .16);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #071521;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.theme-dark,
.legal-body {
  color: #eaf4fa;
  background: #071521;
}

.label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.top-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 10px 46px;
  color: #dbe8ef;
  background: #071521;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 46px;
  color: #dbe8ef;
  background: #071521;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand img {
  width: 184px;
}

.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: #dbe8ef;
  font-size: 15px;
  font-weight: 900;
}

.site-header nav a,
.nav-cta,
.primary-button,
.secondary-button,
.contact-card a {
  text-decoration: none;
}

.nav-cta,
.primary-button,
.secondary-button,
.contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
}

.nav-cta,
.primary-button,
.contact-card a {
  color: #fff;
  background: var(--red);
}

.secondary-button {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 152, 216, .28), transparent 34%), #071521;
}

.hero-bg {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: 78% center;
  opacity: .72;
  clip-path: circle(62% at 67% 45%);
}

.hero-copy {
  align-self: center;
  padding: 70px 46px;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p:not(.label) {
  max-width: 690px;
  margin: 0;
  color: #b8c8d3;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-panel {
  position: absolute;
  left: 46px;
  bottom: 46px;
  width: 330px;
  padding: 22px;
  color: #fff;
  background: rgba(9, 41, 64, .92);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span,
.contact-card span {
  display: block;
  color: #9bdff6;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong,
.contact-card strong {
  display: block;
  margin: 8px 0;
  font-size: 23px;
  line-height: 1.16;
}

.hero-panel p,
.contact-card p {
  margin: 0;
  line-height: 1.5;
}

.contact-card {
  display: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #dbe8ef;
  background: #071521;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.proof-strip article {
  min-width: 0;
  padding: 28px 46px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: #5ec8f4;
  font-size: 24px;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: #d5e4ec;
  line-height: 1.45;
}

.section {
  padding: 78px 46px;
  color: #dbe8ef;
  background: #071521;
  border-color: rgba(255, 255, 255, .1);
}

.about-section {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about-section h2,
.section-head h2,
.contact-section h2 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

.about-section p:not(.label) {
  max-width: 850px;
  margin: 0 0 18px;
  color: #b8c8d3;
  font-size: 18px;
  line-height: 1.62;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.service-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-grid article,
.process-grid article,
.faq-list details {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.service-grid span,
.process-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
  font-weight: 900;
}

.service-grid h3,
.process-grid h3,
.faq-list summary {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.service-grid p,
.process-grid p,
.faq-list p {
  margin: 0;
  color: #b8c8d3;
  line-height: 1.55;
}

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

.faq-list summary {
  cursor: pointer;
  font-size: 20px;
}

.faq-list p {
  max-width: 860px;
  margin-top: 14px;
  line-height: 1.58;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 520px);
  gap: 36px;
  align-items: start;
  padding: 78px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 152, 216, .2), transparent 31%),
    linear-gradient(110deg, rgba(5, 18, 30, .98), rgba(9, 55, 82, .88)),
    url("assets/hero-premium-dark-old-composition-roof-rows.png") center / cover;
}

.contact-section h2 {
  margin-bottom: 14px;
}

.contact-section p:not(.label) {
  max-width: 680px;
  margin: 0;
  color: #d8eaf4;
  font-size: 18px;
  line-height: 1.6;
}

.contact-links {
  display: grid;
  gap: 10px;
  max-width: 370px;
  margin-top: 26px;
  padding: 24px;
  font-style: normal;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
}

.contact-links a {
  color: #fff;
  text-decoration: none;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: #102235;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(94, 200, 244, .26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.request-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #21354a;
  font-size: 14px;
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #0d2033;
  font: inherit;
  font-weight: 600;
  background: #fff;
  border: 1px solid #c7d8e4;
  border-radius: 6px;
}

.request-form textarea {
  resize: vertical;
}

.request-form .primary-button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 3px solid rgba(0, 152, 216, .22);
  border-color: var(--blue);
}

.form-check {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start;
  font-weight: 700 !important;
  line-height: 1.45;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.form-check a {
  color: var(--blue-dark);
}

.privacy-note,
.form-status {
  margin: 0;
  color: #4c6072 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.form-status {
  min-height: 19px;
  color: var(--blue-dark) !important;
  font-weight: 900;
}

.form-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 46px;
  color: #dbe8ef;
  background: #071521;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer span:first-child {
  color: #eaf4fa;
  font-weight: 900;
}

.site-footer a {
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.legal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0, rgba(0, 152, 216, .22), transparent 34%),
    #071521;
}

.legal-header {
  background: rgba(7, 21, 33, .96);
}

.legal-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal-main h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 52px;
  line-height: 1.04;
}

.legal-main h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 25px;
}

.legal-main section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.legal-main p,
.legal-list {
  color: #bfd0db;
  font-size: 17px;
  line-height: 1.65;
}

.legal-main a {
  color: #5ec8f4;
}

.legal-intro {
  max-width: 760px;
  margin: 0;
}

.legal-list {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px 24px;
  margin: 0;
}

.legal-list dt {
  color: #fff;
  font-weight: 900;
}

.legal-list dd {
  margin: 0;
}

.legal-note {
  padding: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(94, 200, 244, .18) !important;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .hero-bg {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  .top-contact,
  .site-header,
  .hero-copy,
  .section,
  .contact-section,
  .site-footer,
  .proof-strip article {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-grid,
  .process-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .top-contact,
  .site-header {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-cta {
    width: 100%;
  }

  .brand img {
    width: 170px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-bg {
    min-height: 300px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
  }

  .hero-actions a {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .site-footer {
    display: grid;
  }

  .contact-links,
  .request-form {
    margin-top: 24px;
  }

  .legal-main {
    padding: 52px 0 68px;
  }

  .legal-main h1 {
    font-size: 40px;
  }

  .legal-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-list dd {
    margin-bottom: 14px;
  }
}
