:root {
  --sky: #3999df;
  --sky-dark: #2e74a6;
  --header: #2f5672;
  --blue: #126daf;
  --yellow: #ffec3f;
  --text: #122033;
  --muted: #5e6e7f;
  --white: #ffffff;
  --line: rgba(18, 32, 51, 0.16);
  --shadow: 0 18px 48px rgba(7, 37, 64, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    url("assets/images/36df27_f43a74fbc70843a1aae65df3adcbd42d~mv2.png") left 240px / 420px auto no-repeat fixed,
    url("assets/images/36df27_6ea0965c5c31408db76599656a5d1f5f~mv2.png") right 1220px / 360px auto no-repeat fixed,
    var(--sky);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header,
main,
footer {
  width: min(980px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 66px;
  padding: 6px 20px;
  background: var(--header);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 1px 2px 0 #111;
}

.brand img {
  width: 96px;
  height: 50px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 900;
}

.header-contact a,
.header-action {
  color: #fff;
  text-decoration: none;
}

.header-action {
  font-weight: 800;
  text-decoration: underline;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 585px;
  padding: 70px 54px 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(19, 67, 101, 0.58), rgba(19, 67, 101, 0) 38%),
    var(--hero-image, url("assets/images/36df27_59dd6cfffd97487aada37886ac12d7bf~mv2.jpeg")) center / cover;
  overflow: hidden;
  transition: background-image 900ms ease;
}

.hero::before {
  content: "";
  position: absolute;
  left: -150px;
  bottom: 90px;
  width: 360px;
  height: 210px;
  background: url("assets/images/36df27_4c4a334e351043f6be47915755cf1b6d~mv2.png") center / contain no-repeat;
  opacity: 0.82;
  filter: blur(0.2px);
}

.hero-copy {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.hero-copy p {
  max-width: 790px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.55);
}

.socials {
  display: flex;
  gap: 13px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #020a12;
  color: #51a6e8;
  font-weight: 900;
  text-decoration: none;
}

.review-card {
  position: relative;
  width: min(300px, 92%);
  margin-top: 35px;
  padding: 18px;
  background: #fff;
  color: #111;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  color: #746100;
  margin: 4px 0 8px;
}

.review-card p {
  margin: 0;
  line-height: 1.35;
}

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--yellow);
  color: #050505;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.18);
}

.tagline {
  padding: 8px 24px 11px;
  color: #fff;
  text-align: center;
  background: rgba(34, 111, 162, 0.92);
  font-family: Impact, "Arial Narrow", sans-serif;
  text-shadow: 1px 2px 0 #111;
}

.tagline h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
}

.tagline p {
  margin: 2px 0 0;
  font-size: clamp(19px, 2.5vw, 26px);
}

.speed {
  min-height: 235px;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(20, 101, 164, 0.35), rgba(20, 101, 164, 0.35)),
    url("assets/images/36df27_e68befc151dd4929b6c3243a986308e0~mv2.jpg") center / cover;
  text-shadow: 1px 2px 0 #15334c;
}

.speed h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 400;
}

.speed p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.section {
  padding: 34px 22px;
  background: #8dc6ef;
}

.section h2 {
  margin: 0 0 24px;
  color: #fff;
  text-align: center;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.portfolio h2 {
  padding: 14px 0;
  border-top: 6px dotted #2d77c6;
  border-bottom: 6px dotted #2d77c6;
}

.video-feature {
  position: relative;
  display: block;
  margin: 28px 0;
  padding: 0;
  background: #111;
}

.feature-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--poster) center / cover no-repeat;
  border: 7px solid #111;
}

.feature-player::after,
.video-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.feature-player::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2b689c;
  transform: translate(-50%, -50%);
}

.feature-info {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.video-feature h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 42px);
  max-width: 680px;
  line-height: 1.1;
}

.feature-info .button {
  pointer-events: auto;
  min-height: 30px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2c8ad4;
  color: #fff;
  font-size: 12px;
}

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

.video-card,
.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(20, 67, 105, 0.15);
}

.video-card {
  cursor: pointer;
}

.video-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--thumb) center / cover no-repeat;
}

.video-card div {
  padding: 12px;
}

.video-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 12px;
}

.pager button {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-weight: 800;
}

.real-estate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  color: #fff;
  background: var(--sky-dark);
}

.real-estate h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.05;
}

.real-estate img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.28);
}

.services {
  padding-top: 18px;
  background: #73b6e7;
}

.section-label {
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-grid {
  display: block;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 320px;
  margin: 0 0 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.service-card .content {
  position: relative;
  left: -70px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 235px;
  padding: 26px;
  background: #314351;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.service-card h3 {
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 19px;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  color: #fff;
  font-size: 12px;
}

.service-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.service-card .button {
  align-self: flex-start;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 11px;
  background: #d2a12b;
}

.seo-copy {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
}

.seo-copy img {
  position: sticky;
  top: 90px;
}

.seo-copy p {
  margin: 0 0 16px;
  color: #233245;
}

footer {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--header);
  color: #fff;
}

footer img {
  width: 150px;
  height: auto;
  mix-blend-mode: multiply;
}

footer div {
  display: grid;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
}

footer a {
  color: #fff;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    position: static;
  }

  .brand {
    font-size: 16px;
  }

  .header-contact {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .hero {
    min-height: 620px;
    padding: 34px 20px 0;
  }

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

  .hero-actions {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .real-estate,
  .seo-copy,
  footer {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 210px;
  }

  .service-card .content {
    left: 0;
    margin: -40px 20px 0;
  }

  .seo-copy img {
    position: static;
    width: 170px;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .site-header {
    border-left: 0;
    border-right: 0;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }
}
